Package | Description |
---|---|
edu.mit.jmwe.data.concordance |
Provides interfaces and classes for accessing data taken Semcor-formatted concordances, useful for benchmarking detectors.
|
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 |
---|---|
protected static class |
ConcordanceTagger.TaggerToken
Represents a semcor token that is not yet tagged.
|
class |
ConcordanceToken
Default implementation of
IConcordanceToken . |
Modifier and Type | Method and Description |
---|---|
IConcordanceToken |
ConcordanceSentence.get(int index) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ConcordanceToken.toString(IConcordanceToken token)
Returns the String representation of the given token.
|
Constructor and Description |
---|
ConcordanceSentence(edu.mit.jsemcor.element.IContextID cid,
int sentNum,
java.util.List<? extends IConcordanceToken> tokens)
Constructs a new semcor sentence from the list of tokens.
|
Modifier and Type | Method and Description |
---|---|
protected <T extends IConcordanceToken> |
IndexBuilder.isSplit(IMWE<T> mwe)
Returns
true if this MWE is not continuous - if it has
interstitial tokens that are not a part of it; false
otherwise. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
IndexBuilder.contains(java.util.List<IMWE<IConcordanceToken>> list,
IMWE<IConcordanceToken> mwe)
Whether the specified MWE is contained in the specified list
|
protected boolean |
IndexBuilder.contains(java.util.List<IMWE<IConcordanceToken>> list,
IMWE<IConcordanceToken> mwe)
Whether the specified MWE is contained in the specified list
|
void |
IndexBuilder.countMarked(java.util.List<IMWE<IConcordanceToken>> answers,
java.util.Map<IMWEDescID,IndexBuilder.MutableRootMWEDesc> index)
Counts instances of marked MWEs
|
void |
IndexBuilder.countUnmarked(IMWEDetector detector,
IConcordanceSentence sent,
java.util.List<IMWE<IConcordanceToken>> answers)
Counts the number of MWEs that are detected by the specified detected,
but not marked in the answer set as being MWEs.
|
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.