public class CombiningTagger extends Object implements WordTagger
| Constructor and Description |
|---|
CombiningTagger(WordTagger tagger1,
WordTagger tagger2,
boolean overwriteWithSecondTagger) |
public CombiningTagger(WordTagger tagger1, WordTagger tagger2, boolean overwriteWithSecondTagger)
tagger1 - typically the tagger that takes its data from the binary filetagger2 - typically the tagger that takes its data from the plain text file added.txtoverwriteWithSecondTagger - if set to true, only the second tagger's result will be
used if both taggers can tag that wordpublic List<TaggedWord> tag(String word)
tag in interface WordTaggerword - the word to be tagged