public class TreeGazetteers extends Object implements Gazetteers
Modifier and Type | Method and Description |
---|---|
void |
annotate(NEWord startword)
Search each gazetteer for a contiguous set of matching words to form the longest possible
expression (up to 5 words) matching an entry in any gazetteer.
|
public void annotate(NEWord startword)
annotate
in interface Gazetteers
startword
- the word to match around.Copyright © 2017. All rights reserved.