|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IRootMWEDesc | |
---|---|
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. |
Uses of IRootMWEDesc in edu.mit.jmwe.data |
---|
Classes in edu.mit.jmwe.data that implement IRootMWEDesc | |
---|---|
class |
RootMWEDesc
Default implementation of the IRootMWEDesc interface. |
Methods in edu.mit.jmwe.data that return IRootMWEDesc | |
---|---|
IRootMWEDesc |
RootMWEDesc.Part.getParent()
|
IRootMWEDesc |
IRootMWEDesc.IRootPart.getParent()
Returns the MWE description of which this part is a part. |
static IRootMWEDesc |
AbstractMWEDesc.getRoot(IMWEDesc desc)
Returns the root mwe description associated with this object. |
IRootMWEDesc |
InfMWEDesc.getRootMWEDesc()
|
IRootMWEDesc |
IInfMWEDesc.getRootMWEDesc()
Returns the root description of the multi-word expression (MWE). |
static IRootMWEDesc |
RootMWEDesc.parse(String descStr)
Parses the given description string into a root mwe description object. |
Methods in edu.mit.jmwe.data with parameters of type IRootMWEDesc | |
---|---|
InfMWEDesc |
InfMWEDesc.InfMWEDescBuilder.toInfMWEDesc(IRootMWEDesc root)
Constructs an inflected MWE description from the root description of the MWE. |
static String |
RootMWEDesc.toString(IRootMWEDesc mweDesc)
Returns the String representation of the given description. |
static void |
RootMWEDesc.toString(IRootMWEDesc root,
Appendable buf)
Returns the String representation of the given description as: |
Constructors in edu.mit.jmwe.data with parameters of type IRootMWEDesc | |
---|---|
InfMWEDesc(IRootMWEDesc root,
List<String> parts)
Constructs a new inflected MWE description object from the specified list of parts and root description |
|
InfMWEDesc(IRootMWEDesc root,
List<String> parts,
int... counts)
Constructs a new MWE description object from the list of parts. |
|
InfMWEDesc(IRootMWEDesc root,
String inflectedForm)
Constructs a new MWE description object from the specified root description and inflected form. |
|
InfMWEDesc(IRootMWEDesc root,
String inflectedForm,
int... counts)
Constructs a new inflected MWE description object from the specified inflected form, root description, and counts relating to the MWE's appearance in the reference concordance. |
Uses of IRootMWEDesc in edu.mit.jmwe.detect |
---|
Methods in edu.mit.jmwe.detect with parameters of type IRootMWEDesc | ||
---|---|---|
static
|
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. |
Uses of IRootMWEDesc in edu.mit.jmwe.index |
---|
Classes in edu.mit.jmwe.index that implement IRootMWEDesc | |
---|---|
static class |
IndexBuilder.MutableRootMWEDesc
A root MWE description object whose counts can be incremented. |
Methods in edu.mit.jmwe.index that return IRootMWEDesc | |
---|---|
IRootMWEDesc |
InMemoryMWEIndex.getRootMWEDesc(String lemma,
MWEPOS pos)
|
IRootMWEDesc |
IMWEIndex.getRootMWEDesc(String lemma,
MWEPOS pos)
Returns the root MWE description for the specified lemma and part of speech, or null if this index does not contain said
description. |
Methods in edu.mit.jmwe.index that return types with arguments of type IRootMWEDesc | |
---|---|
protected Map<IMWEDescID,? extends IRootMWEDesc> |
MWEIndex.createData()
|
protected abstract Map<IMWEDescID,? extends IRootMWEDesc> |
InMemoryMWEIndex.createData()
|
static Map<IMWEDescID,IRootMWEDesc> |
InMemoryMWEIndex.createData(Iterable<String> descStrs)
Utility method that assembles a MWE index data map from a list of multi-word expression string descriptions. |
static Map<IMWEDescID,IRootMWEDesc> |
InMemoryMWEIndex.createData(Reader r)
Utility method that assembles a MWE index data map from a stream of characters that contains a whitespace-delimited list of multi-word expressions. |
Set<? extends IRootMWEDesc> |
InMemoryMWEIndex.get(String part)
|
Set<? extends IRootMWEDesc> |
IMWEIndex.get(String part)
Returns a set of IRootMWEDesc objects whose MWEs contain the
specified part. |
Iterator<IRootMWEDesc> |
InMemoryMWEIndex.getRootIterator()
|
Iterator<IRootMWEDesc> |
IMWEIndex.getRootIterator()
Returns an iterator that will iterate over all root MWE descriptions in the index, in order. |
Set<IRootMWEDesc> |
MWEDescSet.getRootMWEDescs()
|
Set<IRootMWEDesc> |
IMWEDescSet.getRootMWEDescs()
Returns the set of root MWE desc objects contained herein. |
Method parameters in edu.mit.jmwe.index with type arguments of type IRootMWEDesc | |
---|---|
protected Map<String,? extends IMWEDescSet> |
InMemoryMWEIndex.createIndex(Map<IMWEDescID,? extends IRootMWEDesc> data)
Uses the given map of description IDs to root descriptions in order to create the index. |
Constructors in edu.mit.jmwe.index with parameters of type IRootMWEDesc | |
---|---|
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. |
Constructor parameters in edu.mit.jmwe.index with type arguments of type IRootMWEDesc | |
---|---|
MWEDescSet(Set<IRootMWEDesc> rootDescs,
Set<IInfMWEDesc> infDescs)
Creates a new mutable MWE desc set that contains the specified elements |
|
MWEIndex(Map<IMWEDescID,? extends IRootMWEDesc> rootDescs)
Constructs the index from a map of IMWEDescIDs to IRootMWEDescs. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |