|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IMWEDescID | |
---|---|
edu.mit.jmwe.data | Provides the basic data structures used by the library and their default 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 IMWEDescID in edu.mit.jmwe.data |
---|
Classes in edu.mit.jmwe.data that implement IMWEDescID | |
---|---|
class |
MWEDescID
Default implementation of IMWEDescID . |
Methods in edu.mit.jmwe.data that return IMWEDescID | |
---|---|
IMWEDescID |
RootMWEDesc.getID()
|
IMWEDescID |
InfMWEDesc.getID()
|
IMWEDescID |
IMWEDesc.getID()
Returns the IMWEDescID associated with this description. |
IMWEDescID |
MWEDescID.getRootID()
|
IMWEDescID |
IMWEDescID.getRootID()
Returns the root ID of this decription ID. |
Methods in edu.mit.jmwe.data with parameters of type IMWEDescID | |
---|---|
int |
MWEDescID.compareTo(IMWEDescID id)
|
static String |
MWEDescID.toString(IMWEDescID id)
Returns the String representation of the given id. |
static void |
MWEDescID.toString(IMWEDescID id,
Appendable buf)
Returns the String representation of the given id as: form_POS/infform |
Constructors in edu.mit.jmwe.data with parameters of type IMWEDescID | |
---|---|
MWEDescID(IMWEDescID rootID,
String infForm)
Constructs this description ID from the MWE's root ID and inflected form. |
Uses of IMWEDescID in edu.mit.jmwe.index |
---|
Methods in edu.mit.jmwe.index that return types with arguments of type IMWEDescID | |
---|---|
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. |
Map<IMWEDescID,IndexBuilder.MutableRootMWEDesc> |
IndexBuilder.extractMWEs(edu.mit.jwi.IDictionary dict)
Retrieves multi-word expressions from the specified IDictionary
object and returns them as a map. |
Methods in edu.mit.jmwe.index with parameters of type IMWEDescID | |
---|---|
IMWEDesc |
InMemoryMWEIndex.get(IMWEDescID id)
|
IMWEDesc |
IMWEIndex.get(IMWEDescID id)
Returns the MWE description for the specified ID, or null if
this index does not contain said description. |
Method parameters in edu.mit.jmwe.index with type arguments of type IMWEDescID | ||
---|---|---|
void |
IndexBuilder.countMarked(List<IMWE<IConcordanceToken>> answers,
Map<IMWEDescID,IndexBuilder.MutableRootMWEDesc> index)
Counts instances of marked MWEs |
|
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. |
|
|
IndexBuilder.findMissingMWEs(List<IMWE<T>> mwes,
Map<IMWEDescID,IndexBuilder.MutableRootMWEDesc> index,
Set<IndexBuilder.MutableRootMWEDesc> missing)
Finds MWEs that are marked in the the specified list, but not in the index. |
|
void |
IndexBuilder.printTotals(Map<IMWEDescID,IndexBuilder.MutableRootMWEDesc> entries)
Sums all the counts of the MWEs in the given map and prints the totals. |
Constructor parameters in edu.mit.jmwe.index with type arguments of type IMWEDescID | |
---|---|
MWEIndex(Map<IMWEDescID,? extends IRootMWEDesc> rootDescs)
Constructs the index from a map of IMWEDescIDs to IRootMWEDescs. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |