edu.mit.jmwe.index
Class IndexBuilder.MutableInfMWEDesc
java.lang.Object
edu.mit.jmwe.data.AbstractMWEDesc<IInfMWEDesc.IInfPart>
edu.mit.jmwe.data.InfMWEDesc
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
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 |
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 MWEinflectedForm
- 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
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.