ipipan.spejd.actions
Class WordBasePart

java.lang.Object
  extended by ipipan.spejd.actions.WordBasePart

public class WordBasePart
extends java.lang.Object


Constructor Summary
WordBasePart()
           
WordBasePart(int segno, int attrid)
           
WordBasePart(java.lang.String text)
           
 
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
 

Constructor Detail

WordBasePart

public WordBasePart()

WordBasePart

public WordBasePart(java.lang.String text)

WordBasePart

public WordBasePart(int segno,
                    int attrid)
Method Detail

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 Entities
start - start of the sequence to concatenate
end - 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