edu.mit.jmwe.data
Interface IInfMWEDesc

All Superinterfaces:
Comparable<IMWEDesc>, IHasForm, IHasMWEPOS, IMWEDesc
All Known Implementing Classes:
IndexBuilder.MutableInfMWEDesc, InfMWEDesc

public interface IInfMWEDesc
extends IMWEDesc

A description of an inflected form of a multi-word expression (MWE). Included are IRootMWEDesc of the multi-word expression and a list of inflected parts that comprise this form.

Since:
jMWE 1.0.0
Version:
$Id: IInfMWEDesc.java 568 2011-05-05 19:36:38Z markaf $
Author:
M.A. Finlayson

Nested Class Summary
static interface IInfMWEDesc.IInfPart
          A part of an inflected multi-word expression.
 
Nested classes/interfaces inherited from interface edu.mit.jmwe.data.IMWEDesc
IMWEDesc.IPart
 
Field Summary
static int EXPECTED_COUNT_LENGTH
          Expected number of counts associated with an index entry that implements this interface.
 
Fields inherited from interface edu.mit.jmwe.data.IMWEDesc
boundaryUnderscores, comma, underscore, underscores
 
Method Summary
 int getMarkedPattern()
          The number of times this description occurs in the reference concordance being marked as an occurrence of the MWE, while matching one of the known inflection patterns.
 List<? extends IInfMWEDesc.IInfPart> getParts()
          Returns an unmodifiable list of parts that comprise the MWE.
 IRootMWEDesc getRootMWEDesc()
          Returns the root description of the multi-word expression (MWE).
 
Methods inherited from interface edu.mit.jmwe.data.IMWEDesc
getCounts, getID, getMarkedContinuous, getMarkedSplit, getUnmarkedExact, getUnmarkedPattern
 
Methods inherited from interface edu.mit.jmwe.data.IHasForm
getForm
 
Methods inherited from interface edu.mit.jmwe.data.IHasMWEPOS
getPOS
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

EXPECTED_COUNT_LENGTH

static final int EXPECTED_COUNT_LENGTH
Expected number of counts associated with an index entry that implements this interface.

Since:
jMWE 1.0.0
See Also:
Constant Field Values
Method Detail

getRootMWEDesc

IRootMWEDesc getRootMWEDesc()
Returns the root description of the multi-word expression (MWE). IThis description includes the lemma, a list of parts, and part of speech of the multi-word expression.

Returns:
the description of the non-inflected form of this multi-word expression (MWE).
Since:
jMWE 1.0.0

getParts

List<? extends IInfMWEDesc.IInfPart> getParts()
Returns an unmodifiable list of parts that comprise the MWE.

Specified by:
getParts in interface IMWEDesc
Returns:
an unmodifiable list of parts that comprise the MWE.
Since:
jMWE 1.0.0

getMarkedPattern

int getMarkedPattern()
The number of times this description occurs in the reference concordance being marked as an occurrence of the MWE, while matching one of the known inflection patterns. To be counted as a pattern-inflected unmarked occurrence, there must be a continuous run of tokens whose forms or stems match, in order, the forms of the parts (ignoring case) of this MWE description, and whose inflection pattern matches one of reference inflection patterns. Will always zero or a positive number.

Returns:
the number of inflected unmarked occurrences of this MWE in the reference concordance.
Since:
jMWE 1.0.0


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