Uses of Interface
edu.mit.jmwe.detect.IMWEDetector

Packages that use IMWEDetector
edu.mit.jmwe.detect Provides MWE detector API, a baseline detector, plus numerous other detector implementations. 
edu.mit.jmwe.harness Provides testing harness infrastructure 
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. 
 

Uses of IMWEDetector in edu.mit.jmwe.detect
 

Subinterfaces of IMWEDetector in edu.mit.jmwe.detect
 interface IMWEDetectorFilter
          An interface for MWE detectors that act as filters for other MWE detectors
 interface IMWEDetectorResolver
          An interface for MWE detectors that resolve conflicts between identified MWEs from other detectors.
 

Classes in edu.mit.jmwe.detect that implement IMWEDetector
 class Baseline
          A baseline implementation of the IMWEDetector interface.
 class CompositeDetector
          A detector composed of multiple simpler detectors.
 class Consecutive
          Detector that uses an index to detect the MWEs whose parts appear continuously in the sentence.
 class ConstrainLength
          A detector filter that constrains MWEs by length.
 class Continuous
          A detector that filters the results of its backing detector to return only those MWEs whose parts are continuous in the sentence.
 class Exhaustive
          Implements an exhaustive algorithm that detects all possible non-stop-word MWEs in a sentence, including MWEs that are out of order or discontinuous.
 class FilterByScore
          Removes all MWEs from the wrapped detector's results whose score is "no good", where "no good" is implementation dependent.
 class InflectionLookup
          Uses a given MWE detector to find multi-word expressions in a sentence but discards inflected multi-word expressions whose form is not listed as a valid inflected form by its associated IMWEDesc.
 class InflectionPattern
          Uses a given IMWEDetector to find multi-word expressions in a sentence but discards inflected multi-word expressions if the inflected form does not correspond to an inflection pattern give by a set of inflection rules.
 class InOrder
          Filters the output of a given MWE detector, removing those MWEs whose parts appear do not appear in the sentence in the same order as they appear in the MWE description.
 class Leftmost
          A resolver that chooses the leftmost MWE.
 class LeskAtLeast
          A filter detector that throws out MWEs whose lesk score is less than some value.
 class LMLR
          Stands for "Longest Match, Left to Right".
 class Longest
          A detector resolver that chooses the longest MWEs in a set of conflicts.
 class MoreFrequentAsMWE
          Filters the results of its backing detector to include only those MWEs whose parts, in a continuous run of tokens, are more often marked as an MWE than as individual tokens.
 class NoInflection
          A detector that filters the results of its backing detector to return only those MWEs that are not inflected.
 class NoProperNouns
          A detector that filters all proper noun MWEs from the results of its backing detector.
 class Perfect
          A detector that finds all of the MWEs in a sentence by using an answer key.
 class ProperNouns
          Detects the proper nouns in an ISentence.
 class ResolveByScore
          Abstract base class for MWE detector resolvers that use a simple score to resolve conflicts.
 class SmallestVariance
          A detector resolver that chooses the MWE with the smallest variance.
 class StopWords
          Uses the exhaustive strategy specified in Exhaustive to find the MWEs that consist entirely of stop words in a sentence.
 class TrulyExhaustive
          Returns a composite detector backed by the Exhaustive and StopWords detection strategies.
 

Methods in edu.mit.jmwe.detect that return IMWEDetector
 IMWEDetector CompositeDetector.get(int index)
           
 IMWEDetector IHasMWEDetector.getWrappedDetector()
          Returns the MWE detector associated with this contraint detector.
 IMWEDetector HasMWEDetector.getWrappedDetector()
           
 

Constructors in edu.mit.jmwe.detect with parameters of type IMWEDetector
CompositeDetector(IMWEDetector... ds)
          Constructs a composite detector from an array of detectors.
ConstrainLength(IMWEDetector detector, int length, boolean isMaxLength)
          Construct a new filter on top of the specified detector
Continuous(IMWEDetector d)
          Constructs the detector from the given backing detector.
FilterByScore(IMWEDetector detector)
          Constructs a new MWE detector constraint that wraps the specified MWE Detector.
HasMWEDetector(IMWEDetector detector)
          Constructs a new MWE detector constraint that wraps the specified MWE Detector.
InflectionLookup(IMWEDetector d)
          Constructs the detector from the given backing detector.
InflectionPattern(IMWEDetector d)
          Constructs the detector from the given backing detector.
InOrder(IMWEDetector d)
          Constructs the detector from the given backing detector.
Leftmost(IMWEDetector detector)
          Constructs a new resolver that wraps the specified detector
LeskAtLeast(IMWEDetector detector, edu.mit.jwi.IDictionary dict, int minScore)
          Constructs a new filter that filters out MWEs whose lesk score is not at least some value.
LMLR(IMWEDetector detector)
          Constructs the detector from the backing detector.
Longest(IMWEDetector detector)
          Constructs a new instance of this detector.
MoreFrequentAsMWE(IMWEDetector detector)
          Constructs the detector from the given backing detector.
NoInflection(IMWEDetector detector)
          Constructs the detector from the given backing detector.
NoProperNouns(IMWEDetector detector)
          Constructs the detector from the given backing detector.
ResolveByScore(IMWEDetector detector, boolean chooseLargest)
          Constructs a new MWE detector constraint that wraps the specified MWE Detector.
SmallestVariance(IMWEDetector detector)
          A new resolver that wraps the specified detector.
 

Constructor parameters in edu.mit.jmwe.detect with type arguments of type IMWEDetector
CompositeDetector(List<? extends IMWEDetector> ds)
          Constructs a composite detector from a list of detectors.
 

Uses of IMWEDetector in edu.mit.jmwe.harness
 

Methods in edu.mit.jmwe.harness with parameters of type IMWEDetector
<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.
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.
 

Method parameters in edu.mit.jmwe.harness with type arguments of type IMWEDetector
<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>>
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.
 

Uses of IMWEDetector in edu.mit.jmwe.harness.result.error
 

Fields in edu.mit.jmwe.harness.result.error declared as IMWEDetector
protected  IMWEDetector DetectorDisagreement.d
           
 

Methods in edu.mit.jmwe.harness.result.error that return IMWEDetector
 IMWEDetector DetectorDisagreement.getDetector()
          Returns the MWE detector for this error detector.
 

Methods in edu.mit.jmwe.harness.result.error with parameters of type IMWEDetector
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.
 

Constructors in edu.mit.jmwe.harness.result.error with parameters of type IMWEDetector
DetectorDisagreement(IMWEDetector d)
          Constructs a new error detector that uses the specified MWE detector for backing.
 

Uses of IMWEDetector in edu.mit.jmwe.index
 

Methods in edu.mit.jmwe.index that return IMWEDetector
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.
 

Methods in edu.mit.jmwe.index with parameters of type IMWEDetector
 void IndexBuilder.countUnmarked(IMWEDetector detector, IConcordanceSentence sent, 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.