public interface MutableTagDictionary extends TagDictionary
TagDictionary
entries to be added and removed.
This can be used to induce the dictionary from training data.Modifier and Type | Method and Description |
---|---|
boolean |
isCaseSensitive()
Whether if the dictionary is case sensitive or not
|
String[] |
put(String word,
String... tags)
Associates the specified tags with the specified word.
|
getTags
String[] put(String word, String... tags)
word
- word with which the specified tags is to be associatedtags
- tags to be associated with the specified wordboolean isCaseSensitive()
Copyright © 2020 The Apache Software Foundation. All rights reserved.