| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public abstract int | |
| public abstract int | Returns: The number of characters in text that were matched.A CharacterIterator representing the text. The iterator is
left after the longest prefix match in the dictionary. text, int The maximum number of code units to match. maxLength, int[] An array that is filled with the lengths of words that matched. lengths, int[] Filled with the number of elements output in lengths. count, int The maximum amount of words to output. Must be less than or equal to lengths.length. limit, int[] Filled with the weight values associated with the various words. values)Find dictionary words that match the text. |
| public int |
| DictionaryMatcher | back to summary |
|---|---|
| pack-priv DictionaryMatcher() | |
| getType | back to summary |
|---|---|
public abstract int getType()
| |
| matches | back to summary |
|---|---|
| public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, int[] count, int limit, int[] values) Find dictionary words that match the text.
| |
| matches | back to summary |
|---|---|
| public int matches(CharacterIterator text, int maxLength, int[] lengths, int[] count, int limit) | |