|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Lexicon
A mono-lingual lexicon object composed of a set of lexical entries
Method Summary | |
---|---|
boolean |
addEntry(LexicalEntry entry)
Add an entry to the lexicon |
boolean |
addPattern(MorphPattern pattern)
Add a pattern to this lexicon |
boolean |
addTopic(LexicalTopic topic)
Add a topic to the lexicon |
int |
countEntrys()
Get the number of entries. |
Collection<LexicalEntry> |
getEntrys()
Get the entries that compose this lexicon |
String |
getLanguage()
Get the language of the lexicon |
LemonModel |
getModel()
Get the model this lexicon is contained in |
Collection<MorphPattern> |
getPatterns()
Get all patterns used by this lexicon |
Collection<LexicalTopic> |
getTopics()
Get the topics of the lexicon |
boolean |
hasEntry(LexicalEntry entry)
Check if the lexicon contains an entry. |
boolean |
removeEntry(LexicalEntry entry)
Remove an entry from the lexicon |
boolean |
removePattern(MorphPattern pattern)
Remove a pattern from this lexicon |
boolean |
removeTopic(LexicalTopic topic)
Remove a topic from the lexicon |
void |
setLanguage(String language)
Set the language of the lexicon |
Methods inherited from interface eu.monnetproject.lemon.model.LemonElement |
---|
addAnnotation, addProperty, addType, getAnnotations, getAnnotations, getID, getProperty, getPropertys, getTypes, removeAnnotation, removeProperty, removeType |
Methods inherited from interface eu.monnetproject.lemon.model.LemonElementOrPredicate |
---|
getURI |
Method Detail |
---|
String getLanguage()
void setLanguage(String language)
Collection<LexicalEntry> getEntrys()
boolean addEntry(LexicalEntry entry)
boolean removeEntry(LexicalEntry entry)
boolean hasEntry(LexicalEntry entry)
int countEntrys()
Collection<LexicalTopic> getTopics()
boolean addTopic(LexicalTopic topic)
boolean removeTopic(LexicalTopic topic)
LemonModel getModel()
Collection<MorphPattern> getPatterns()
boolean addPattern(MorphPattern pattern)
boolean removePattern(MorphPattern pattern)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |