public class FlatGazetteers extends Object implements Gazetteers
| Constructor and Description |
|---|
FlatGazetteers(String pathToDictionaries) |
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(NEWord w)
This method, given a word for any gazetteer manager will annotate that word..
|
String |
annotateConstituent(Constituent c,
boolean isBIO) |
String |
annotatePhrase(Constituent phrase) |
public FlatGazetteers(String pathToDictionaries) throws IOException
IOExceptionpublic void annotate(NEWord w)
Gazetteersannotate in interface Gazetteersw - the word to match around.public String annotateConstituent(Constituent c, boolean isBIO)
public String annotatePhrase(Constituent phrase)
Copyright © 2017. All rights reserved.