public void addKeyword(String keyword, byte token)(Code)
lookup
public byte lookup(Segment text, int offset, int length)(Code)
Looks up a key.
Parameters: text - The text segment Parameters: offset - The offset of the substring within the text segment Parameters: length - The length of the substring