public class MultiWordChunker extends Object implements Disambiguator
| Constructor and Description |
|---|
MultiWordChunker(String filename) |
MultiWordChunker(String filename,
boolean allowFirstCapitalized) |
| Modifier and Type | Method and Description |
|---|---|
AnalyzedSentence |
disambiguate(AnalyzedSentence input)
Implements multiword POS tags, e.g., <ELLIPSIS> for ellipsis (...)
|
public MultiWordChunker(String filename)
filename - file text with multiwords and tagspublic MultiWordChunker(String filename, boolean allowFirstCapitalized)
filename - file text with multiwords and tagsallowFirstCapitalized - if set to true, first word of the multiword can be capitalizedpublic final AnalyzedSentence disambiguate(AnalyzedSentence input)
disambiguate in interface Disambiguatorinput - The tokens to be chunked.