public interface CogrooTagDictionary
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String word,
boolean cs) |
String[] |
getInflectedPrimitive(String primitive,
TagMask tagMask,
boolean cs)
Given a
lexeme, returns its inflected form as determined by the tagMask. |
String[] |
getPrimitive(String lexeme,
MorphologicalTag morphologicalTag,
boolean cs)
Given a lexeme and its morphological tag, returns the possible primitives of the lexeme or an array
with an empty string, if none is found.
|
String[] |
getPrimitive(String lexeme,
TagMask tagMask,
boolean cs)
Given a
lexeme and its inflected form as determined by the tagMask,
returns its primitive. |
TagInterpreter |
getTagInterpreter() |
MorphologicalTag[] |
getTags(String word)
Returns a list of valid tags for the specified word.
|
MorphologicalTag[] |
getTags(String word,
boolean cs)
Returns a list of valid tags for the specified word.
|
boolean |
match(String lexeme,
TagMask tagMask,
boolean cs)
Tells if a lexeme inflected as determined by the tagMask, exists in the dictionary.
|
MorphologicalTag[] getTags(String word)
word - The word.caseSensitive - Specifies whether the tag dictionary is case sensitive or not.MorphologicalTag[] getTags(String word, boolean cs)
word - The word.caseSensitive - Specifies whether the tag dictionary is case sensitive or not.boolean match(String lexeme, TagMask tagMask, boolean cs)
lexeme - the lexeme to be searchedtagMask - the inflection of the lexemecs - case sensitive?String[] getInflectedPrimitive(String primitive, TagMask tagMask, boolean cs)
lexeme, returns its inflected form as determined by the tagMask.
Returns an array with an empty string if the inflection could not be found.tokens - the lexeme to be inflectedtagMask - the tag mask will determine the inflectioncs - case sensitive?String[] getPrimitive(String lexeme, TagMask tagMask, boolean cs)
lexeme and its inflected form as determined by the tagMask,
returns its primitive.lexeme - the lexeme of which the primitive will be searchedtagMask - the mask that represents the inflection of the lexemecs - case sensitive?String[] getPrimitive(String lexeme, MorphologicalTag morphologicalTag, boolean cs)
lexeme - a lexememorphologicalTag - a morphological tagcs - tells whether the match of the lexeme must be case sensitive or notboolean exists(String word, boolean cs)
TagInterpreter getTagInterpreter()
Copyright © 2012–2017 CoGrOO. All rights reserved.