MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.datamodel.adm
Class Phrase

java.lang.Object
  extended by ch.ethz.mxquery.datamodel.adm.Phrase
All Implemented Interfaces:
FTToken

public class Phrase
extends java.lang.Object
implements FTToken

implementation of a Phrase containing several Matchs (for each Linguistic Token that matches a word of the phrase)


Constructor Summary
Phrase()
           
Phrase(LinguisticToken token)
           
Phrase(Phrase p)
           
 
Method Summary
 void addLightLinguisticToken(LinguisticToken token)
           
 LinguisticToken getFirstElement()
           
 LinguisticToken getLastInsertedElement()
           
 java.util.Vector getPhrase()
           
 int phraseSize()
           
 void removeElements(int posInPhrase)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Phrase

public Phrase(LinguisticToken token)

Phrase

public Phrase()

Phrase

public Phrase(Phrase p)
Method Detail

addLightLinguisticToken

public void addLightLinguisticToken(LinguisticToken token)

getLastInsertedElement

public LinguisticToken getLastInsertedElement()

phraseSize

public int phraseSize()

getPhrase

public java.util.Vector getPhrase()

getFirstElement

public LinguisticToken getFirstElement()

removeElements

public void removeElements(int posInPhrase)

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich