public class SimpleTagger extends Object implements DictionaryTagger
| Constructor and Description |
|---|
SimpleTagger(InputStream dictionary,
String aLang)
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 SimpleTagger(InputStream dictionary, String aLang)
dictionary - the input dictionary via inputstreamaLang - the languagepublic String tag(String word, String postag)
DictionaryTaggertag in interface DictionaryTaggerword - the surface form wordpostag - the posTag to be post-processedCopyright © 2016 IXA pipes. All rights reserved.