Method | Description | |
---|---|---|
PreTag ( |
Performs various actions that should occur prior to further tagging. This method tags any digits in the name, identifies and removes any preamble, and tags any prepositions remaining in the name.
|
|
TagDigits ( |
Tags any word nodes in the given phrase that contain digits.
|
|
TagNounPhrase ( |
Assigns part-of-speech tags to the word nodes in the given phrase, assuming it is a noun phrase.
|
|
TagNounPhrase ( |
Assigns part-of-speech tags to the word nodes in the given phrase, assuming it is a noun phrase. Only the words between startIndex and stopIndex, inclusive, are tagged.
|
|
TagPrepostions ( |
Tags any word nodes in the given phrase that are prepositions.
|
|
TagType ( |
Assigns part-of-speech tags to the word nodes in the given type name.
|
|
TagVariableName ( |
Assigns part-of-speech tags to the word nodes in the given variable name.
|
|
UnigramTagger ( ) : System |
Creates a new UnigramTagger object. The default values are used for necessary data sets.
|
|
UnigramTagger ( |
Creates a new UnigramTagger object, using the specified part-of-speech data.
|
|
UnigramTagger ( |
Creates a new UnigramTagger object, using the supplied data sets.
|
public PreTag ( |
||
node | The node to be tagged. | |
return | void |
public TagDigits ( |
||
phrase | The phrase to tag. | |
return | void |
public TagNounPhrase ( |
||
phrase | The noun phrase to tag. | |
return | void |
public TagNounPhrase ( |
||
phrase | The noun phrase to tag. | |
startIndex | int | The index of the first word to tag. |
stopIndex | int | The index of the last word to tag. |
return | void |
public TagPrepostions ( |
||
phrase | The phrase to tag. | |
return | void |
public TagType ( |
||
parsedName | The parsed type name to tag. | |
return | void |
public TagVariableName ( |
||
parsedName | The parsed variable name to tag. | |
return | void |
public UnigramTagger ( |
||
posData | The part-of-speech data to use. | |
return | System |
public UnigramTagger ( |
||
posData | The part-of-speech data to use. | |
frequencies | The positional frequency data to use. | |
return | System |