|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IMarkedSentence | |
---|---|
edu.mit.jmwe.data.concordance | Provides interfaces and classes for accessing data taken Semcor-formatted concordances, useful for benchmarking detectors. |
edu.mit.jmwe.harness | Provides testing harness infrastructure |
edu.mit.jmwe.harness.result | Provides objects that encapsulate the results of a test harness run |
edu.mit.jmwe.harness.result.error | Provides error detectors to evaluate the results of a test harness run |
Uses of IMarkedSentence in edu.mit.jmwe.data.concordance |
---|
Subinterfaces of IMarkedSentence in edu.mit.jmwe.data.concordance | |
---|---|
interface |
IConcordanceSentence
A sentence drawn from the Semcor corpus. |
Classes in edu.mit.jmwe.data.concordance that implement IMarkedSentence | |
---|---|
class |
ConcordanceSentence
Default implementation of ISemcorSentence |
Uses of IMarkedSentence in edu.mit.jmwe.harness |
---|
Methods in edu.mit.jmwe.harness with type parameters of type IMarkedSentence | ||
---|---|---|
|
TestHarness.run(IMWEDetector detector,
IResultBuilder<T,S> result,
Iterator<S> itr,
IAnswerKey answers,
IProgressBar pb)
|
|
|
ITestHarness.run(IMWEDetector detector,
IResultBuilder<T,S> results,
Iterator<S> itr,
IAnswerKey answers,
IProgressBar pb)
Runs the detector in the test harness and stores the results in the provided result builder. |
|
|
TestHarness.run(Map<IMWEDetector,IResultBuilder<T,S>> detectors,
Iterator<S> itr,
IAnswerKey answers,
IProgressBar pb)
|
|
|
ITestHarness.run(Map<IMWEDetector,IResultBuilder<T,S>> detectors,
Iterator<S> itr,
IAnswerKey answers,
IProgressBar pb)
Runs the detectors in the test harness and stores the results in the associated result builder. |
|
protected
|
TestHarness.runDetector(IMWEDetector detector,
IResultBuilder<T,S> builder,
S sent,
List<IMWE<T>> answers)
Runs the detector over a single sentence, storing the result as an ISentenceResult in the given result builder. |
|
protected
|
TestHarness.runDetectors(Map<IMWEDetector,IResultBuilder<T,S>> detectors,
S sent,
List<IMWE<T>> answers)
Runs a set of detectors on the specified sentence, comparing the results to the specified answers. |
Methods in edu.mit.jmwe.harness with parameters of type IMarkedSentence | ||
---|---|---|
|
IAnswerKey.getAnswers(IMarkedSentence<T> sentence)
Gets the answer multi-word expressions from the given sentence. |
|
|
ConcordanceAnswerKey.getAnswers(IMarkedSentence<T> sent)
|
|
|
ConcordanceAnswerKey.getAnswers(IMarkedSentence<T> sent,
edu.mit.jsemcor.element.ISentence answers)
Extracts a set of MWE answers from a sentence and its corresponding answer sentence. |
|
protected
|
ConcordanceAnswerKey.getContinuousMWEs(IMarkedSentence<T> sent,
edu.mit.jsemcor.element.ISentence answer,
Set<edu.mit.jsemcor.element.IWordform> used)
Gets the multi-word expressions from the given sentence that are marked as single tokens. |
|
protected
|
ConcordanceAnswerKey.getNonContinuousMWEs(IMarkedSentence<T> sent,
edu.mit.jsemcor.element.ISentence answer,
Set<edu.mit.jsemcor.element.IWordform> used)
Gets the multi-word expressions from the given sentence that are non-contiguous (e.g., have a distance value not equal to zero). |
|
static edu.mit.jsemcor.element.ISentence |
ConcordanceAnswerKey.getSentence(Map<String,edu.mit.jsemcor.main.IConcordance> concords,
IMarkedSentence<?> sent)
Returns the concordance sentence that corresponds to the specified marked sentence |
Uses of IMarkedSentence in edu.mit.jmwe.harness.result |
---|
Methods in edu.mit.jmwe.harness.result with type parameters of type IMarkedSentence | ||
---|---|---|
static
|
SentenceResult.printTable(StringBuilder sb,
ISentenceResult<T,S> result,
Formatter f)
Prints a table of the correct, false negative and false positive expressions found by the detector in columns. |
|
static
|
SentenceResult.toString(ISentenceResult<T,S> result,
S sentence,
boolean table)
Creates a graphical representation of the multi-word expressions found by the detector for a given sentence. |
|
static
|
SentenceResult.toString(ISentenceResult<T,U> result,
U sentence)
Creates a graphical representation of the multi-word expressions found by the detector for a given sentence. |
Uses of IMarkedSentence in edu.mit.jmwe.harness.result.error |
---|
Methods in edu.mit.jmwe.harness.result.error with type parameters of type IMarkedSentence | ||
---|---|---|
|
VBDVBN.detect(ISentenceResult<T,S> result)
|
|
|
UntaggedPNoun.detect(ISentenceResult<T,S> result)
|
|
|
MissingFromIndex.detect(ISentenceResult<T,S> result)
|
|
|
InflectionPatternError.detect(ISentenceResult<T,S> result)
|
|
|
InflectionError.detect(ISentenceResult<T,S> result)
|
|
|
IErrorDetector.detect(ISentenceResult<T,S> result)
Identifies the multi-word expressions in a unit result that fall under the specific error class this detector identifies. |
|
|
ExtraPrep.detect(ISentenceResult<T,S> result)
|
|
|
ExtraPOS.detect(ISentenceResult<T,S> result)
|
|
|
DetectorDisagreement.detect(ISentenceResult<T,S> result)
|
|
|
CompositeErrorDetector.detect(ISentenceResult<T,S> result)
|
|
|
AllStopWords.detect(ISentenceResult<T,S> result)
|
|
|
WrongPOS.detect(ISentenceResult<T,U> result)
|
|
|
PNounShort.detect(ISentenceResult<T,U> result)
|
|
|
PNounLong.detect(ISentenceResult<T,U> result)
|
|
|
OutOfOrder.detect(ISentenceResult<T,U> result)
|
|
|
InterstitialTokens.detect(ISentenceResult<T,U> result)
|
|
static
|
DetectorDisagreement.isProblem(IMWE<T> mwe,
ISentenceResult<T,S> result,
IMWEDetector detector)
Determines if the specified MWE is a problem relative to the specified sentence according to this error class. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |