- All Implemented Interfaces:
- org.apache.uima.resource.SharedResourceObject
public class SimpleWordSet
extends java.lang.Object
implements org.apache.uima.resource.SharedResourceObject
A simple list of words (one per line), but also provides
a dictionary API if ","-separated strings are associated (translations)
with the word after a tab.
For example, allowed lines cane be:
word1 # a simple entry, with no word associated
word2 # another word with comment after "#" char
the expression1 # still considered as one simple entry since not tab-separation
word3 word4 # word4 is considered the associated word for entry word3
word6 word7, word8 # word7 and word8 are considered as associated words for entry word6