|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ebi.intenz.tools.sib.translator.rules.GrammarRules
public class GrammarRules
GrammarRules
Developer | Date | Description |
---|---|---|
P.de Matos | 15-Jul-2005 | Created class |
Method Summary | |
---|---|
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) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GrammarRules getInstance()
public String applyRules(String text)
RuleGroup
applyRules
in interface RuleGroup
text
- The text to be translated.
public String reverseRules(String text)
RuleGroup
RuleGroup.applyRules(String)
.
reverseRules
in interface RuleGroup
text
- The text to be translated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |