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
IOException
public void annotate(NEWord w)
Gazetteers
annotate
in interface Gazetteers
w
- the word to match around.public String annotateConstituent(Constituent c, boolean isBIO)
public String annotatePhrase(Constituent phrase)
Copyright © 2017. All rights reserved.