public static class IndexBuilder.MutableInfMWEDesc extends InfMWEDesc implements IndexBuilder.IMutableMWEDesc
InfMWEDesc.InfMWEDescBuilder, InfMWEDesc.InfPart
AbstractMWEDesc.AbstractPart
IMWEDesc.IPart
IInfMWEDesc.IInfPart
counts
boundaryUnderscores, comma, underscore, underscores
EXPECTED_COUNT_LENGTH
Constructor and Description |
---|
MutableInfMWEDesc(IRootMWEDesc root,
java.lang.String inflectedForm)
Constructs a new MWE description object from the specified root
description and inflected form, initialized to zero for all counts.
|
Modifier and Type | Method and Description |
---|---|
void |
incrementMarkedContinuous() |
void |
incrementMarkedPattern() |
void |
incrementMarkedSplit() |
void |
incrementUnmarkedExact() |
void |
incrementUnmarkedPattern() |
getExpectedCountLength, getID, getMarkedPattern, getPOS, getRootMWEDesc, makePart
checkCount, compareTo, concatenate, equalsRoots, getCounts, getForm, getMarkedContinuous, getMarkedSplit, getParts, getRoot, getUnmarkedExact, getUnmarkedPattern, isFillerForSlot, isStopWord, splitOnUnderscores, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCounts, getID, getMarkedContinuous, getMarkedSplit, getParts, getUnmarkedExact, getUnmarkedPattern
getPOS
getParts
public MutableInfMWEDesc(IRootMWEDesc root, java.lang.String inflectedForm)
root
- the root description of the MWEinflectedForm
- A string representing the inflected MWE with its words
separated by underscoresjava.lang.NullPointerException
- if either argument is null
java.lang.IllegalArgumentException
- if the inflected form does not contain underscorespublic void incrementMarkedContinuous()
incrementMarkedContinuous
in interface IndexBuilder.IMutableMWEDesc
public void incrementMarkedSplit()
incrementMarkedSplit
in interface IndexBuilder.IMutableMWEDesc
public void incrementUnmarkedExact()
incrementUnmarkedExact
in interface IndexBuilder.IMutableMWEDesc
public void incrementUnmarkedPattern()
incrementUnmarkedPattern
in interface IndexBuilder.IMutableMWEDesc
public void incrementMarkedPattern()
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.