Modifier and Type | Field and Description |
---|---|
UCDWord[] |
UCDWord.closest
This attribute is set by
UCDParser.parse(String) when a UCD word
can not be recognised. |
protected UCDWord[] |
UCD.deprecatedWords
List of all
isDeprecated() deprecated} words in this UCD. |
protected UCDWord[] |
UCD.words
UCD words composing this UCD.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.TreeSet<UCDWord> |
UCDWordList.words
List of all known UCD words.
|
Modifier and Type | Method and Description |
---|---|
UCDWord |
UCDWordList.get(java.lang.String ucdWord)
Search for an exact match with the given UCD word but while
ignoring their namespace.
|
UCDWord |
UCDWordList.get(java.lang.String ucdWord,
boolean checkNamespace)
Search for an exact match with the given supposed UCD word.
|
UCDWord[] |
UCDWordList.getClosest(java.lang.String wrongWord)
Search for a UCD word the closest as possible from the given one.
|
UCDWord |
UCD.getWord(int indWord)
Get the specified UCD words of this UCD.
|
UCDWord |
UCD.DeprecatedIterator.next() |
UCDWord |
UCD.WordsIterator.next() |
static UCDWord |
UCDParser.parsePSVLine(java.lang.String psvLine,
boolean recommended)
Parse a line of a PSV (Pipe Separated Value) file as the definition of a
UCD word.
|
UCDWord |
UCDWordList.remove(java.lang.String ucdWord)
Remove the UCD word matching the given one.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<UCDWord> |
UCD.getDeprecated()
Get all UCD words composing this UCD that are considered as
deprecated . |
java.util.Iterator<UCDWord> |
UCDWordList.iterator()
Let iterate (by alphabetic order) over the whole list of UCD words.
|
java.util.Iterator<UCDWord> |
UCD.iterator()
Let iterate over the list of all UCD words composing this UCD.
|
java.util.Set<UCDWord> |
UCDWordList.search(java.lang.String keywords)
Search for all UCD words whose the description matches the given keywords.
|
protected java.util.LinkedHashSet<UCDWord> |
UCD.searchByPattern(java.lang.String pattern)
Search all UCD words composing this UCD which match the given regular
expression.
|
java.util.SortedSet<UCDWord> |
UCDWordList.startingWith(java.lang.String startStr)
Search for all UCD words starting with the given string.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DeprecatedUCDWordList.add(UCDWord newWord)
Add the given deprecated UCD word.
|
boolean |
UCDWordList.add(UCDWord newWord)
Add the given UCD word.
|
int |
UCDWordList.addAll(UCDWord[] newWords)
Add all the UCD words listed in the given array.
|
int |
UCDWordList.UCDWordComparator.compare(UCDWord o1,
UCDWord o2) |
Modifier and Type | Method and Description |
---|---|
int |
UCDWordList.addAll(java.util.Collection<UCDWord> newWords)
Add all the UCD words listed in the given collection.
|
protected java.lang.String |
UCD.concat(java.util.Collection<UCDWord> set)
Concatenate each part of the given collection using
UCD.append(StringBuffer, String) . |
Constructor and Description |
---|
UCD(UCDWord[] words)
Create a UCD with the given words.
|
UCDWord(java.lang.String word,
UCDWord[] closestMatches)
Create a NON
recommended and NON
recognised UCD word. |
Constructor and Description |
---|
UCD(java.util.Collection<UCDWord> words)
Create a UCD with the given words.
|