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.
|
edu.mit.jmwe.index |
Provides the MWE index interfaces and default implementations, which allow one to look up an MWE given one of its parts.
|
Modifier and Type | Class and Description |
---|---|
class |
InfMWEDesc
Default implementation of the
IInfMWEDesc interface. |
Modifier and Type | Method and Description |
---|---|
IInfMWEDesc |
InfMWEDesc.InfPart.getParent() |
IInfMWEDesc |
IInfMWEDesc.IInfPart.getParent()
Returns the MWE description of which this part is a part.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,? extends IInfMWEDesc> |
RootMWEDesc.getInflected() |
java.util.Map<java.lang.String,? extends IInfMWEDesc> |
IRootMWEDesc.getInflected()
Returns an unmodifiable set of MWE descriptions corresponding to the
inflected versions of this form.
|
Modifier and Type | Method and Description |
---|---|
static <T extends IToken> |
InflectionLookup.getSurfaceFormDescription(IRootMWEDesc root,
IMWE<T> mwe)
Returns a multi-word expression description with a lemma that is
constructed by concatenating the tokens of the MWE exactly as they appear
in the sentence with underscores.
|
Modifier and Type | Class and Description |
---|---|
static class |
IndexBuilder.MutableInfMWEDesc |
Modifier and Type | Method and Description |
---|---|
IInfMWEDesc |
InMemoryMWEIndex.getInflectedMWEDesc(java.lang.String lemma,
MWEPOS pos,
java.lang.String inflected) |
IInfMWEDesc |
IMWEIndex.getInflectedMWEDesc(java.lang.String lemma,
MWEPOS pos,
java.lang.String inflected)
Returns the inflected MWE description for the specified root lemma, part
of speech, and inflected form, or
null if this index does
not contain said description. |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IInfMWEDesc> |
MWEDescSet.getInflectedMWEDescs() |
java.util.Set<IInfMWEDesc> |
IMWEDescSet.getInflectedMWEDescs()
Returns the set of inflected MWE desc objects contained herein.
|
Constructor and Description |
---|
MWEDescSet(java.util.Set<IRootMWEDesc> rootDescs,
java.util.Set<IInfMWEDesc> infDescs)
Creates a new mutable MWE desc set that contains the specified elements
|
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.