Package | Description |
---|---|
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 | Method and Description |
---|---|
java.util.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. |
Modifier and Type | Method and Description |
---|---|
protected IndexBuilder.MutableInfMWEDesc |
IndexBuilder.getInflectedForm(IndexBuilder.MutableRootMWEDesc root,
java.lang.String form)
Returns an inflected form that matches the specified surface form,
attached to the root description.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexBuilder.countMarked(java.util.List<IMWE<IConcordanceToken>> answers,
java.util.Map<IMWEDescID,IndexBuilder.MutableRootMWEDesc> index)
Counts instances of marked MWEs
|
<T extends IToken> |
IndexBuilder.findMissingMWEs(java.util.List<IMWE<T>> mwes,
java.util.Map<IMWEDescID,IndexBuilder.MutableRootMWEDesc> index,
java.util.Set<IndexBuilder.MutableRootMWEDesc> missing)
Finds MWEs that are marked in the the specified list, but not in the
index.
|
<T extends IToken> |
IndexBuilder.findMissingMWEs(java.util.List<IMWE<T>> mwes,
java.util.Map<IMWEDescID,IndexBuilder.MutableRootMWEDesc> index,
java.util.Set<IndexBuilder.MutableRootMWEDesc> missing)
Finds MWEs that are marked in the the specified list, but not in the
index.
|
void |
IndexBuilder.printTotals(java.util.Map<IMWEDescID,IndexBuilder.MutableRootMWEDesc> entries)
Sums all the counts of the MWEs in the given map and prints the totals.
|
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.