| Modifier and Type | Method and Description |
|---|---|
String |
applyRules(String text)
Implementations of this interface must implement this method to translate text based on rules.
|
static GrammarRules |
getInstance()
Returns the sole instance of this class.
|
String |
reverseRules(String text)
This method can be used to reverse the rules which have been applied in
RuleGroup.applyRules(String). |
public static GrammarRules getInstance()
public String applyRules(String text)
RuleGroupapplyRules in interface RuleGrouptext - The text to be translated.public String reverseRules(String text)
RuleGroupRuleGroup.applyRules(String).reverseRules in interface RuleGrouptext - The text to be translated.Copyright © 2013 EMBL-EBI. All rights reserved.