|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectipipan.spejd.entities.Entity
ipipan.spejd.entities.Group
public class Group
A representation of syntactic group.
| Field Summary |
|---|
| Fields inherited from class ipipan.spejd.entities.Entity |
|---|
ARRAY, GROUP, NOSPACE, NULL, SEGMENT, TOKEN, WORD |
| Constructor Summary | |
|---|---|
Group(java.lang.String type,
Entity synh,
Entity semh,
Entity[] match)
|
|
| Method Summary | |
|---|---|
void |
delete(java.util.regex.Pattern pattern,
boolean neg)
Delete all interpretations matching / not matching specified pattern. |
java.lang.String |
getAttr(int id)
Get orthographic or base form of an entity. |
java.lang.String |
getGroupType()
Get group type. |
Segment |
getSemHead()
Get semantic head of an entity. |
Segment |
getSynHead()
Get syntactic head of an entity. |
void |
printXML(java.io.PrintStream out)
Prints the XML (XCES) representation of entity on the given PrintStream. |
| Methods inherited from class ipipan.spejd.entities.Entity |
|---|
add, concatAttr, concatAttr, getCommonValues, getId, getInterpretationArray, getInterpretations, getReplacement, setReplacement, setRule, toTxt, unify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Group(java.lang.String type,
Entity synh,
Entity semh,
Entity[] match)
| Method Detail |
|---|
public java.lang.String getAttr(int id)
Entity
getAttr in class Entityid - Attribute.ORTH or Attribute.BASE
public Segment getSynHead()
Entity
getSynHead in class Entitypublic Segment getSemHead()
Entity
getSemHead in class Entitypublic java.lang.String getGroupType()
Entity
getGroupType in class Entity
public void delete(java.util.regex.Pattern pattern,
boolean neg)
Entity
delete in class Entitypublic void printXML(java.io.PrintStream out)
Entity
printXML in class Entity
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||