Uses of Interface
edu.mit.jmwe.data.IMarkedSentence

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
<T extends IToken,S extends IMarkedSentence<T>>
void
TestHarness.run(IMWEDetector detector, IResultBuilder<T,S> result, Iterator<S> itr, IAnswerKey answers, IProgressBar pb)
           
<T extends IToken,S extends IMarkedSentence<T>>
void
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.
<T extends IToken,S extends IMarkedSentence<T>>
void
TestHarness.run(Map<IMWEDetector,IResultBuilder<T,S>> detectors, Iterator<S> itr, IAnswerKey answers, IProgressBar pb)
           
<T extends IToken,S extends IMarkedSentence<T>>
void
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
<T extends IToken,S extends IMarkedSentence<T>>
List<IMWE<T>>
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
<T extends IToken,S extends IMarkedSentence<T>>
void
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
<T extends IToken>
List<IMWE<T>>
IAnswerKey.getAnswers(IMarkedSentence<T> sentence)
          Gets the answer multi-word expressions from the given sentence.
<T extends IToken>
List<IMWE<T>>
ConcordanceAnswerKey.getAnswers(IMarkedSentence<T> sent)
           
<T extends IToken>
List<IMWE<T>>
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
<T extends IToken>
List<IMWE<T>>
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
<T extends IToken>
List<IMWE<T>>
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
 

Classes in edu.mit.jmwe.harness.result with type parameters of type IMarkedSentence
 interface IOverallResult<T extends IToken,S extends IMarkedSentence<T>>
          Contains results collected from running a test harness over a group of IMarkedSentence objects.
 interface IResultBuilder<T extends IToken,S extends IMarkedSentence<T>>
          Classes implementing this interface build an IOverallResult object.
 interface ISentenceResult<T extends IToken,S extends IMarkedSentence<T>>
          Contains results for one IMarkedSentence object.
 class MWEResult<T extends IToken,S extends IMarkedSentence<T>>
          Default implementation of IOverallResult interface.
 class MWEResultBuilder<T extends IToken,S extends IMarkedSentence<T>>
          Builds an MWEResult by processing the data in ISentenceResult objects.
 class SentenceResult<T extends IToken,S extends IMarkedSentence<T>>
          Default implementation of the ISentenceResult interface.
 class TokenResultBuilder<T extends IToken,U extends IMarkedSentence<T>>
          A result builder that keeps track of token-level results.
 

Methods in edu.mit.jmwe.harness.result with type parameters of type IMarkedSentence
static
<T extends IToken,S extends IMarkedSentence<T>>
void
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
<T extends IToken,S extends IMarkedSentence<T>>
String
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
<T extends IToken,U extends IMarkedSentence<T>>
String
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
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
VBDVBN.detect(ISentenceResult<T,S> result)
           
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
UntaggedPNoun.detect(ISentenceResult<T,S> result)
           
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
MissingFromIndex.detect(ISentenceResult<T,S> result)
           
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
InflectionPatternError.detect(ISentenceResult<T,S> result)
           
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
InflectionError.detect(ISentenceResult<T,S> result)
           
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
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.
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
ExtraPrep.detect(ISentenceResult<T,S> result)
           
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
ExtraPOS.detect(ISentenceResult<T,S> result)
           
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
DetectorDisagreement.detect(ISentenceResult<T,S> result)
           
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
CompositeErrorDetector.detect(ISentenceResult<T,S> result)
           
<T extends IToken,S extends IMarkedSentence<T>>
IErrorResult<T>
AllStopWords.detect(ISentenceResult<T,S> result)
           
<T extends IToken,U extends IMarkedSentence<T>>
IErrorResult<T>
WrongPOS.detect(ISentenceResult<T,U> result)
           
<T extends IToken,U extends IMarkedSentence<T>>
IErrorResult<T>
PNounShort.detect(ISentenceResult<T,U> result)
           
<T extends IToken,U extends IMarkedSentence<T>>
IErrorResult<T>
PNounLong.detect(ISentenceResult<T,U> result)
           
<T extends IToken,U extends IMarkedSentence<T>>
IErrorResult<T>
OutOfOrder.detect(ISentenceResult<T,U> result)
           
<T extends IToken,U extends IMarkedSentence<T>>
IErrorResult<T>
InterstitialTokens.detect(ISentenceResult<T,U> result)
           
static
<T extends IToken,S extends IMarkedSentence<T>>
boolean
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.
 



Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.