edu.mit.jmwe.index
Class IndexBuilder.MutableInfMWEDesc

java.lang.Object
  extended by edu.mit.jmwe.data.AbstractMWEDesc<IInfMWEDesc.IInfPart>
      extended by edu.mit.jmwe.data.InfMWEDesc
          extended by edu.mit.jmwe.index.IndexBuilder.MutableInfMWEDesc
All Implemented Interfaces:
IHasForm, IHasMWEPOS, IInfMWEDesc, IMWEDesc, IndexBuilder.IMutableMWEDesc, Comparable<IMWEDesc>
Enclosing class:
IndexBuilder

public static class IndexBuilder.MutableInfMWEDesc
extends InfMWEDesc
implements IndexBuilder.IMutableMWEDesc


Nested Class Summary
 
Nested classes/interfaces inherited from class edu.mit.jmwe.data.InfMWEDesc
InfMWEDesc.InfMWEDescBuilder, InfMWEDesc.InfPart
 
Nested classes/interfaces inherited from class edu.mit.jmwe.data.AbstractMWEDesc
AbstractMWEDesc.AbstractPart
 
Nested classes/interfaces inherited from interface edu.mit.jmwe.data.IMWEDesc
IMWEDesc.IPart
 
Nested classes/interfaces inherited from interface edu.mit.jmwe.data.IInfMWEDesc
IInfMWEDesc.IInfPart
 
Field Summary
 
Fields inherited from class edu.mit.jmwe.data.AbstractMWEDesc
counts
 
Fields inherited from interface edu.mit.jmwe.data.IMWEDesc
boundaryUnderscores, comma, underscore, underscores
 
Fields inherited from interface edu.mit.jmwe.data.IInfMWEDesc
EXPECTED_COUNT_LENGTH
 
Constructor Summary
IndexBuilder.MutableInfMWEDesc(IRootMWEDesc root, String inflectedForm)
          Constructs a new MWE description object from the specified root description and inflected form, initialized to zero for all counts.
 
Method Summary
 void incrementMarkedContinuous()
           
 void incrementMarkedPattern()
           
 void incrementMarkedSplit()
           
 void incrementUnmarkedExact()
           
 void incrementUnmarkedPattern()
           
 
Methods inherited from class edu.mit.jmwe.data.InfMWEDesc
getExpectedCountLength, getID, getMarkedPattern, getPOS, getRootMWEDesc, makePart
 
Methods inherited from class edu.mit.jmwe.data.AbstractMWEDesc
checkCount, compareTo, concatenate, equalsRoots, getCounts, getForm, getMarkedContinuous, getMarkedSplit, getParts, getRoot, getUnmarkedExact, getUnmarkedPattern, isFillerForSlot, isStopWord, splitOnUnderscores, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.mit.jmwe.data.IMWEDesc
getCounts, getID, getMarkedContinuous, getMarkedSplit, getParts, 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
 
Methods inherited from interface edu.mit.jmwe.data.IInfMWEDesc
getParts
 

Constructor Detail

IndexBuilder.MutableInfMWEDesc

public IndexBuilder.MutableInfMWEDesc(IRootMWEDesc root,
                                      String inflectedForm)
Constructs a new MWE description object from the specified root description and inflected form, initialized to zero for all counts.

Parameters:
root - the root description of the MWE
inflectedForm - A string representing the inflected MWE with its words separated by underscores
Throws:
NullPointerException - if either argument is null
IllegalArgumentException - if the inflected form does not contain underscores
Since:
jMWE 1.0.0
Method Detail

incrementMarkedContinuous

public void incrementMarkedContinuous()
Specified by:
incrementMarkedContinuous in interface IndexBuilder.IMutableMWEDesc

incrementMarkedSplit

public void incrementMarkedSplit()
Specified by:
incrementMarkedSplit in interface IndexBuilder.IMutableMWEDesc

incrementUnmarkedExact

public void incrementUnmarkedExact()
Specified by:
incrementUnmarkedExact in interface IndexBuilder.IMutableMWEDesc

incrementUnmarkedPattern

public void incrementUnmarkedPattern()
Specified by:
incrementUnmarkedPattern in interface IndexBuilder.IMutableMWEDesc

incrementMarkedPattern

public void incrementMarkedPattern()


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