public class SimpleDictionaryTagger extends Object implements DictionaryTagger
| Constructor and Description |
|---|
SimpleDictionaryTagger(InputStream dictionary)
Construct a hashmap from the input tab separated dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
String |
tag(String word,
String postag)
Postag by dictionary lookup.
|
public SimpleDictionaryTagger(InputStream dictionary)
dictionary - the input dictionary via inputstreampublic String tag(String word, String postag)
DictionaryTaggertag in interface DictionaryTaggerword - the surface form wordpostag - the posTag to be post-processedCopyright © 2017 IXA pipes. All rights reserved.