public interface RuleGroup
RuleGroup implementations.
A rule group is a set of regular expression rules to translate text.| Modifier and Type | Method and Description |
|---|---|
String |
applyRules(String text)
Implementations of this interface must implement this method to translate text based on rules.
|
String |
reverseRules(String text)
This method can be used to reverse the rules which have been applied in
applyRules(String). |
String applyRules(String text)
text - The text to be translated.String reverseRules(String text)
applyRules(String).text - The text to be translated.Copyright © 2013 EMBL-EBI. All rights reserved.