Package | Description |
---|---|
edu.mit.jmwe.detect |
Provides MWE detector API, a baseline detector, plus numerous other detector implementations.
|
edu.mit.jmwe.harness.result.error |
Provides error detectors to evaluate the results of a test harness run
|
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 |
---|---|
protected static IMWEIndex |
StopWords.getStopWordIndex()
Creates, opens, and returns a new stop word index.
|
Constructor and Description |
---|
Baseline(IMWEIndex index)
Constructs the BaselineDetector from a
Exhaustive and
ProperNouns . |
Consecutive(IMWEIndex index)
Constructs the detector from the given index.
|
Exhaustive(IMWEIndex index)
Constructs the simple lookup detector from the given index of multi-word
expressions.
|
StopWords(IMWEIndex index)
Constructs this detector from the given stop word MWE index.
|
TrulyExhaustive(IMWEIndex index)
Constructs a new detector that looks up everything, stop words included.
|
Modifier and Type | Field and Description |
---|---|
protected IMWEIndex |
MissingFromIndex.index |
Modifier and Type | Method and Description |
---|---|
static <T extends IToken> |
MissingFromIndex.isProblem(IMWE<T> mwe,
IMWEIndex index)
Determines if the specified MWE is a problem, relative to the specified
index, according to this error class.
|
Constructor and Description |
---|
MissingFromIndex(IMWEIndex index)
Constructs a new error detector that looks in the specified index for
missing MWEs
|
Modifier and Type | Class and Description |
---|---|
class |
InMemoryMWEIndex
The default abstract implementation of
IMWEIndex . |
class |
MWEIndex
Simple implementation of
IMWEIndex that reads an index, possibly with internal comments
prefixed by '//' or ';;', from a URL. |
Modifier and Type | Method and Description |
---|---|
IMWEIndex |
IHasMWEIndex.getMWEIndex()
Returns the index this object wraps.
|
IMWEIndex |
HasMWEIndex.getMWEIndex() |
Modifier and Type | Method and Description |
---|---|
protected IMWEDetector |
IndexBuilder.getUmarkedDetector(IMWEIndex index)
Creates a detector that can be used to find sequences of tokens
(inflected or not) that match an MWE description, but are not marked as
an MWE.
|
static void |
IndexBuilder.writeDataFile(IMWEIndex index,
java.io.OutputStream out,
java.lang.Iterable<java.lang.String> headerLines)
Writes the MWEIndex data to the specified file.
|
static void |
IndexBuilder.writeIndexFile(IMWEIndex index,
java.io.OutputStream out,
java.lang.Iterable<java.lang.String> headerLines)
Writes the MWEIndex index to the specified file.
|
Constructor and Description |
---|
HasMWEIndex(IMWEIndex index)
Constructs a new object that has a pointer to an MWE index
|
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.