ipipan.spejd.ruleparser
Class TokenRequirement
java.lang.Object
ipipan.spejd.ruleparser.EntityRequirement
ipipan.spejd.ruleparser.TokenRequirement
public class TokenRequirement
- extends EntityRequirement
Representation of a token specification, like
[case~"acc|gen"]
or [base~~woda/i &&
number~sg]
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenRequirement
public TokenRequirement()
add
public void add(Requirement r)
toHeadRegexp
public java.lang.String toHeadRegexp()
toRegexp
public java.lang.String toRegexp()
- Specified by:
toRegexp
in class EntityRequirement
toLexRegexp
public java.lang.String toLexRegexp()