ipipan.spejd.actions
Class WordBasePart
java.lang.Object
ipipan.spejd.actions.WordBasePart
public class WordBasePart
- extends java.lang.Object
Method Summary |
java.lang.String |
concatAttr(int id,
Entity[] s)
This is an exact copy of Entity's method - to get rid of "static"
Concatenate orth or base of a sequence of entities, adding
space or not with respect to ns special entities. |
java.lang.String |
concatAttr(int id,
Entity[] s,
int start,
int end)
This is an exact copy of Entity's method - to get rid of "static"
Concatenate orth or base of a sequence of entities, adding
space or not with respect to ns special entities. |
java.lang.String |
eval(Match matcher)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WordBasePart
public WordBasePart()
WordBasePart
public WordBasePart(java.lang.String text)
WordBasePart
public WordBasePart(int segno,
int attrid)
concatAttr
public java.lang.String concatAttr(int id,
Entity[] s,
int start,
int end)
- This is an exact copy of Entity's method - to get rid of "static"
Concatenate orth or base of a sequence of entities, adding
space or not with respect to ns special entities.
- Parameters:
id
- attribute to concatenate (Attribute.ORTH or Attribute.BASE)s
- an array of Entitiesstart
- start of the sequence to concatenateend
- end of the sequence to concatenate
concatAttr
public java.lang.String concatAttr(int id,
Entity[] s)
- This is an exact copy of Entity's method - to get rid of "static"
Concatenate orth or base of a sequence of entities, adding
space or not with respect to ns special entities.
- Parameters:
id
- attribute to concatenate (Attribute.ORTH or Attribute.BASE)s
- an array of Entities
eval
public java.lang.String eval(Match matcher)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object