Package | Description |
---|---|
edu.mit.jmwe.data |
Provides the basic data structures used by the library and their default implementations.
|
edu.mit.jmwe.detect |
Provides MWE detector API, a baseline detector, plus numerous other detector implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMWEDesc<P extends IMWEDesc.IPart>
A base class for MWE descriptions that can be used to construct a description
from some combination of: a surface form, a list of parts, and counts
relating to the MWE's appearance in a reference concordance.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
IInfMWEDesc.IInfPart
A part of an inflected multi-word expression.
|
static interface |
IRootMWEDesc.IRootPart
A part of a root multi-word expression.
|
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractMWEDesc.AbstractPart
Default implementation of the
IPart interface. |
protected class |
InfMWEDesc.InfPart
Default implementation of the
IInfMWEDesc.IInfPart interface. |
protected class |
RootMWEDesc.Part
Default implementation of
IRootMWEDesc.IRootPart . |
Modifier and Type | Method and Description |
---|---|
java.util.Map<T,IMWEDesc.IPart> |
MWE.getPartMap() |
java.util.Map<T,IMWEDesc.IPart> |
IMWE.getPartMap()
Gets the mapping from tokens to parts in this multi-word expression.
|
java.util.List<? extends IMWEDesc.IPart> |
IMWEDesc.getParts()
Returns an unmodifiable list of parts that comprise the MWE.
|
Modifier and Type | Method and Description |
---|---|
int |
AbstractMWEDesc.AbstractPart.compareTo(IMWEDesc.IPart o) |
static boolean |
AbstractMWEDesc.isFillerForSlot(IToken token,
IMWEDesc.IPart part)
Returns true if the part's lemma matches either the surface form of the
given token or any of the token's stems, regardless of case.
|
Constructor and Description |
---|
MWE(java.util.Map<T,IMWEDesc.IPart> partMap)
Constructs a new multi-word expression from a map of tokens to parts.
|
MWE(java.util.Map<T,IMWEDesc.IPart> partMap,
boolean reallocate)
Constructs a new multi-word expression from a map of tokens to parts.
|
Modifier and Type | Method and Description |
---|---|
java.util.SortedMap<IMWEDesc.IPart,T> |
MWEBuilder.getSlots()
Returns the slots of this record.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MWEBuilder.hasEmptyMatchingSlots(java.util.Map.Entry<IMWEDesc.IPart,T> slot)
Returns true if the matching slots after the given slot in this record are empty.
|
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.