public class GazetteerTree extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
GazetteerTree.StringSplitterInterface
instances of this interface can be passed in to control how strings are split.
|
Modifier and Type | Method and Description |
---|---|
void |
match(NEWord word)
return true if a match is found.
|
String |
toString()
to string prints a representation of every string contained in the gazetteer.
|
void |
trimToSize()
trim off excess size dead space.
|
public String toString()
public final void match(NEWord word)
word
- the token to match.public final void trimToSize()
Copyright © 2017. All rights reserved.