Package | Description |
---|---|
it.uniroma1.lcl.babelfy.commons |
Modifier and Type | Method and Description |
---|---|
static PosTag |
PosTag.fromUniversal(java.lang.String universalTag)
Utility method to convert from the universal pos tags set to our pos tags set.
|
PosTag |
BabelfyToken.getPosTag() |
static PosTag |
PosTag.getTag(char c) |
static PosTag |
PosTag.getTag(java.lang.String s) |
static PosTag |
PosTag.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PosTag[] |
PosTag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
BabelfyToken.setPostag(PosTag postag) |
Constructor and Description |
---|
BabelfyToken(java.lang.String word,
PosTag tag)
Initializes a new Token with a word and
PosTag |
BabelfyToken(java.lang.String word,
java.lang.String lemma,
PosTag tag)
Initializes a new Token with a word, lemma and
PosTag |
BabelfyToken(java.lang.String word,
java.lang.String lemma,
PosTag tag,
it.uniroma1.lcl.jlt.util.Language lang)
Initializes a new Token with a word, lemma,
PosTag and a Language . |