edu.mit.jmwe.data
Interface IMWEDesc.IPart

All Superinterfaces:
Comparable<IMWEDesc.IPart>, IHasForm
All Known Subinterfaces:
IInfMWEDesc.IInfPart, IRootMWEDesc.IRootPart
All Known Implementing Classes:
AbstractMWEDesc.AbstractPart, InfMWEDesc.InfPart, RootMWEDesc.Part
Enclosing interface:
IMWEDesc

public static interface IMWEDesc.IPart
extends IHasForm, Comparable<IMWEDesc.IPart>

A part of a multi-word expression.

Since:
jMWE 1.0.0
Version:
$Id: IMWEDesc.java 571 2011-05-05 19:40:04Z markaf $
Author:
M.A. Finlayson, N. Kulkarni

Method Summary
 int getIndex()
          Returns the index of this part in the multi-word expression, always zero or greater.
 IMWEDesc getParent()
          Returns the MWE description of which this part is a part.
 boolean isStopWord()
          Returns true if the part is a stop word, that is, a word that is not usually useful for searching.
 
Methods inherited from interface edu.mit.jmwe.data.IHasForm
getForm
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getParent

IMWEDesc getParent()
Returns the MWE description of which this part is a part. Will never return null.

Returns:
the MWE description that contains this part.
Since:
jMWE 1.0.0

getIndex

int getIndex()
Returns the index of this part in the multi-word expression, always zero or greater.

Returns:
the non-negative index of this part in the multi-word expression.
Since:
jMWE 1.0.0

isStopWord

boolean isStopWord()
Returns true if the part is a stop word, that is, a word that is not usually useful for searching.

Returns:
true if the part is a stop word; false otherwise.
Since:
jMWE 1.0.0.


Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.