ipipan.spejd.ruleparser
Class GroupRequirement

java.lang.Object
  extended by ipipan.spejd.ruleparser.EntityRequirement
      extended by ipipan.spejd.ruleparser.GroupRequirement

public class GroupRequirement
extends EntityRequirement

Representation of a groups specification, like [type=NG] or [synh=[number~sg]].


Field Summary
static int BOTH
           
static int SEMH
           
static int SYNH
           
static int TYPE
           
 
Fields inherited from class ipipan.spejd.ruleparser.EntityRequirement
NQ
 
Constructor Summary
GroupRequirement()
           
 
Method Summary
static int attribute(java.lang.String s)
           
 void setHead(int flags, TokenRequirement head)
           
 void setType(java.lang.String type)
           
 java.lang.String toRegexp()
           
 
Methods inherited from class ipipan.spejd.ruleparser.EntityRequirement
setQuantifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYNH

public static final int SYNH
See Also:
Constant Field Values

SEMH

public static final int SEMH
See Also:
Constant Field Values

BOTH

public static final int BOTH
See Also:
Constant Field Values

TYPE

public static final int TYPE
See Also:
Constant Field Values
Constructor Detail

GroupRequirement

public GroupRequirement()
Method Detail

attribute

public static int attribute(java.lang.String s)

setHead

public void setHead(int flags,
                    TokenRequirement head)

setType

public void setType(java.lang.String type)

toRegexp

public java.lang.String toRegexp()
Specified by:
toRegexp in class EntityRequirement