|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.uzh.ifi.attempto.acewiki.aceowl.ACEOWLLexicon
public class ACEOWLLexicon
This class manages the lexical entries for AceWiki.
Constructor Summary | |
---|---|
ACEOWLLexicon()
Creates a new lexicon manager. |
Method Summary | |
---|---|
java.util.Collection<LexicalRule> |
getLexRules(AbstractOption option)
This method should return the lexical rules for the given abstract option. |
java.util.Collection<LexicalRule> |
getLexRules(java.lang.String word)
This method should return the lexical rules with the given word (terminal category). |
void |
init(Ontology ontology)
This is the first method to be called and provides the ontology object. |
static boolean |
isValidWordOrEmpty(java.lang.String s)
Returns true if the string represents a valid word form. |
static java.lang.String |
normalize(java.lang.String s)
Normalizes the string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ACEOWLLexicon()
Method Detail |
---|
public void init(Ontology ontology)
ontology
- The ontology object.public java.util.Collection<LexicalRule> getLexRules(AbstractOption option)
DynamicLexicon
getLexRules
in interface DynamicLexicon
option
- The abstract option.
public java.util.Collection<LexicalRule> getLexRules(java.lang.String word)
DynamicLexicon
getLexRules
in interface DynamicLexicon
word
- The word.
public static boolean isValidWordOrEmpty(java.lang.String s)
s
- The string.
public static java.lang.String normalize(java.lang.String s)
s
- The input string.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |