public class LayeredPatternTokenizer extends Object
LayeredTokenPattern class. A pattern consists of two types of tokens:
layer/symbol pairs like The_pos, and meta-characters defined by
rexex.Pattern. This class takes a string consisting of
these and breaks them into tokens.| Constructor and Description |
|---|
LayeredPatternTokenizer()
Constructs a new tokenizer.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getSymbolLayerName(String text) |
boolean |
isSymbolLayerName(String text) |
String[] |
tokenize(String text)
Tokenizes the given text
|
public LayeredPatternTokenizer()
public String[] tokenize(String text) throws SequenceException
text - SequenceException - if unable to tokenize the textpublic boolean isSymbolLayerName(String text)
text - Copyright © 2010-2013 University of Washington CSE. All Rights Reserved.