public static class IndexBuilder.MutableRootMWEDesc extends RootMWEDesc implements IndexBuilder.IMutableMWEDesc
RootMWEDesc.PartAbstractMWEDesc.AbstractPartIMWEDesc.IPartIRootMWEDesc.IRootPartcountsboundaryUnderscores, comma, underscore, underscoresEXPECTED_COUNT_LENGTH| Constructor and Description |
|---|
MutableRootMWEDesc(java.lang.String surfaceForm,
MWEPOS pos)
Constructs the mutable root description that has no inflected forms
with the given surface form and pos, initialized with zero for all 5
counts
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,IndexBuilder.MutableInfMWEDesc> |
getInflected()
Returns an unmodifiable set of MWE descriptions corresponding to the
inflected versions of this form.
|
void |
incrementMarkedContinuous() |
void |
incrementMarkedSplit() |
void |
incrementUnmarkedExact() |
void |
incrementUnmarkedInflected() |
void |
incrementUnmarkedPattern() |
equals, getExpectedCountLength, getID, getPOS, getUnmarkedInflected, hashCode, makePart, parse, parseCounts, toString, toString, toStringcheckCount, compareTo, concatenate, equalsRoots, getCounts, getForm, getMarkedContinuous, getMarkedSplit, getParts, getRoot, getUnmarkedExact, getUnmarkedPattern, isFillerForSlot, isStopWord, splitOnUnderscores, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCounts, getID, getMarkedContinuous, getMarkedSplit, getParts, getUnmarkedExact, getUnmarkedPatterngetPOSgetPartspublic MutableRootMWEDesc(java.lang.String surfaceForm,
MWEPOS pos)
surfaceForm - A string representing the MWE with its words separated by
underscorespos - The part of speech object representing the part of speech
of the MWEjava.lang.NullPointerException - if either argument is nulljava.lang.IllegalArgumentException - if the surface form does not contain underscorespublic void incrementMarkedContinuous()
incrementMarkedContinuous in interface IndexBuilder.IMutableMWEDescpublic void incrementMarkedSplit()
incrementMarkedSplit in interface IndexBuilder.IMutableMWEDescpublic void incrementUnmarkedExact()
incrementUnmarkedExact in interface IndexBuilder.IMutableMWEDescpublic void incrementUnmarkedPattern()
incrementUnmarkedPattern in interface IndexBuilder.IMutableMWEDescpublic void incrementUnmarkedInflected()
public java.util.Map<java.lang.String,IndexBuilder.MutableInfMWEDesc> getInflected()
IRootMWEDescnull, this means the no inflected forms have yet been
assigned.getInflected in interface IRootMWEDescgetInflected in class RootMWEDescnull, possibly empty set of inflected MWE
descriptions.Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.