Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 

A

AbstractErrorDetector - Class in edu.mit.jmwe.harness.result.error
Abstract base class implementation of the error detector interface that takes care of the ID boilerplate.
AbstractErrorDetector(String) - Constructor for class edu.mit.jmwe.harness.result.error.AbstractErrorDetector
Constructs a new abstract error detector with the specified id.
AbstractFileSelector - Class in edu.mit.jmwe.util
Abstract base class that allows interaction with the user, saving and selecting files and directories.
AbstractFileSelector() - Constructor for class edu.mit.jmwe.util.AbstractFileSelector
 
AbstractIndexComparator<T,C> - Class in edu.mit.jmwe.util
Base class for constructing a Comparator from a map of tokens in a list to their positions in the list.
AbstractIndexComparator(List<T>) - Constructor for class edu.mit.jmwe.util.AbstractIndexComparator
Constructs the comparator from the given list of objects by mapping each object in the list to its index in the list.
AbstractIndexComparator(Map<T, Integer>) - Constructor for class edu.mit.jmwe.util.AbstractIndexComparator
Constructs the comparator from the given index map of each object in a list to its index in the list.
AbstractMWEDesc<P extends IMWEDesc.IPart> - Class in edu.mit.jmwe.data
A base class for MWE descriptions that can be used to construct a description from some combination of: a surface form, a list of parts, and counts relating to the MWE's appearance in a reference concordance.
AbstractMWEDesc(String) - Constructor for class edu.mit.jmwe.data.AbstractMWEDesc
Constructs a new MWE description object from the specified surface form that has no inflected forms.
AbstractMWEDesc(String, int...) - Constructor for class edu.mit.jmwe.data.AbstractMWEDesc
Constructs a new MWE description object that has no inflected forms from the specified surface form and counts relating to the MWE's appearance in a reference concordance.
AbstractMWEDesc(List<String>) - Constructor for class edu.mit.jmwe.data.AbstractMWEDesc
Constructs a new MWE description object from the list of parts.
AbstractMWEDesc(List<String>, int...) - Constructor for class edu.mit.jmwe.data.AbstractMWEDesc
Constructs a new MWE description object from the list of parts and counts relating to the MWE's appearance in a reference concordance.
AbstractMWEDesc.AbstractPart - Class in edu.mit.jmwe.data
Default implementation of the IPart interface.
AbstractPart(String, int) - Constructor for class edu.mit.jmwe.data.AbstractMWEDesc.AbstractPart
Constructs a new part.
AbstractScorer<T> - Class in edu.mit.jmwe.detect.score
Base class for scorers that provides the comparator functionality.
AbstractScorer() - Constructor for class edu.mit.jmwe.detect.score.AbstractScorer
 
add(IMWEDesc) - Method in class edu.mit.jmwe.index.MWEDescSet
 
addDetail(IErrorResult<T>) - Method in class edu.mit.jmwe.harness.result.ErrorResult.ErrorResultBuilder
Adds the specified error detail to this builder
addDetail(String, ISentenceResult<T, S>) - Method in interface edu.mit.jmwe.harness.result.IResultBuilder
Stores the results for a unit under its ID.
addDetail(String, ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.MWEResultBuilder
 
addWords(IWordform, int, List<ConcordanceTagger.TaggerToken>, IStemmer) - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Stems each of the words in the provided wordform, adding the tagger tokens created from these stems, words and token number to the given results list.
advance() - Method in class edu.mit.jmwe.data.concordance.TaggedConcordanceIterator
Internal method used to advance the iterator to the next element in the list.
AllStopWords - Class in edu.mit.jmwe.harness.result.error
Finds the multi-word expressions the detector failed to identify whose parts are all stop words.
AllStopWords() - Constructor for class edu.mit.jmwe.harness.result.error.AllStopWords
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
answerData - Variable in class edu.mit.jmwe.harness.result.MWEResultBuilder
 
approveSelection() - Method in class edu.mit.jmwe.util.ConfirmingJFileChooser
 
AtomicDouble<T,S> - Class in edu.mit.jmwe.util
A double value that may be updated atomically.
AtomicDouble() - Constructor for class edu.mit.jmwe.util.AtomicDouble
Create a new AtomicDouble with initial value 0.
AtomicDouble(double) - Constructor for class edu.mit.jmwe.util.AtomicDouble
Create a new AtomicInteger with the given initial value.
available() - Method in class edu.mit.jmwe.util.StreamAdapter
 

B

Baseline - Class in edu.mit.jmwe.detect
A baseline implementation of the IMWEDetector interface.
Baseline(IMWEIndex) - Constructor for class edu.mit.jmwe.detect.Baseline
Constructs the BaselineDetector from a Exhaustive and ProperNouns.
boundaryUnderscores - Static variable in interface edu.mit.jmwe.data.IMWEDesc
The pattern consisting of one or more underscores that occur at the beginning or end of the input.

C

calcF1Score(double, double) - Static method in class edu.mit.jmwe.harness.result.MWEResult
Calculates the f1 score.
calcPartialPrecision(MWEPOS) - Method in class edu.mit.jmwe.harness.result.MWEResult
Calculates the precision over the specified part of speech, taking into account partial credit for the specified MWE part of speech.
calcPartialRecall(MWEPOS) - Method in class edu.mit.jmwe.harness.result.MWEResult
Calculates the recall over the specified part of speech, taking into account partial credit for the specified MWE part of speech.
calcPrecision(MWEPOS) - Method in class edu.mit.jmwe.harness.result.MWEResult
Calculates the precision over the specified parts of speech, or all parts of speech if the specified part of speech is null
calcPrecision(double, double) - Static method in class edu.mit.jmwe.harness.result.MWEResult
Given the total number of MWEs retrieved and the number of MWEs that are correct, calculates precision.
calcRecall(MWEPOS) - Method in class edu.mit.jmwe.harness.result.MWEResult
Calculates the recall over the specified parts of speech, or all parts of speech if the specified part of speech is null
calcRecall(double, double) - Static method in class edu.mit.jmwe.harness.result.MWEResult
Given the total number of answer MWEs and the number of MWEs that are correct, calculates recall.
checkCount(int) - Static method in class edu.mit.jmwe.data.AbstractMWEDesc
Checks that each passed in count is non-negative.
checkOpen() - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
Throws an IllegalStateException if the index is closed.
checkStems(String[]) - Static method in class edu.mit.jmwe.data.Token
Checks the specified array of strings to ensure each one is non- null, and, once trimmed, is not empty and does not contain whitespace or an underscore.
checkString(String) - Static method in class edu.mit.jmwe.data.Token
Checks the specified string to see that, once trimmed, it is not empty and does not contain whitespace.
choose(String, Class<?>, int, int) - Method in class edu.mit.jmwe.util.AbstractFileSelector
Choose a file, opening a file chooser at the location already associated with the class (if any), and saving the selected location with the class.
chooseDirectory(String, Class<?>) - Method in class edu.mit.jmwe.util.AbstractFileSelector
Chooses a directory, showing the specified message, associated with the specified key.
chooseFile(String, Class<?>) - Method in class edu.mit.jmwe.util.AbstractFileSelector
Chooses a file for opening, showing the specified message, associated with the specified key.
chooseFileForWriting(String, Class<?>) - Method in class edu.mit.jmwe.util.AbstractFileSelector
Chooses a file for writing, showing the specified message, associated with the specified key.
chooseLargest - Variable in class edu.mit.jmwe.detect.ResolveByScore
 
clone() - Method in class edu.mit.jmwe.detect.MWEBuilder
 
close() - Method in interface edu.mit.jmwe.index.IMWEIndex
Closes the index if open.
close() - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
close() - Method in class edu.mit.jmwe.util.StreamAdapter
 
comma - Static variable in interface edu.mit.jmwe.data.IMWEDesc
The pattern consisting of a single underscore.
commentDoubleSemicolon - Static variable in interface edu.mit.jmwe.index.IMWEIndex
Denotes that the following text is a comment.
commentDoubleSlash - Static variable in interface edu.mit.jmwe.index.IMWEIndex
Denotes that the following text is a comment.
CommonErrorDetector - Class in edu.mit.jmwe.harness.result.error
This error detector looks for several types of common errors made by MWE detectors.
CommonErrorDetector() - Constructor for class edu.mit.jmwe.harness.result.error.CommonErrorDetector
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
compare(IMWE<T>, IMWE<T>) - Method in class edu.mit.jmwe.data.MWEComparator
 
compare(T, T) - Method in class edu.mit.jmwe.detect.score.AbstractScorer
 
compare(T, T) - Method in class edu.mit.jmwe.util.CompositeComparator
 
compare(T, T) - Method in class edu.mit.jmwe.util.ListComparator
 
compareTo(IMWEDesc.IPart) - Method in class edu.mit.jmwe.data.AbstractMWEDesc.AbstractPart
 
compareTo(IMWEDesc) - Method in class edu.mit.jmwe.data.AbstractMWEDesc
 
compareTo(IMWEDescID) - Method in class edu.mit.jmwe.data.MWEDescID
 
CompositeCollection<E> - Class in edu.mit.jmwe.util
A collection that is composed of several subsets of elements.
CompositeCollection(Collection<? extends E>...) - Constructor for class edu.mit.jmwe.util.CompositeCollection
Constructs this composite collection from the given array of subsets.
CompositeCollection(Iterable<Collection<? extends E>>) - Constructor for class edu.mit.jmwe.util.CompositeCollection
Constructs this composite collection from the given collection of subsets.
CompositeCollection.CompositeCollectionItr - Class in edu.mit.jmwe.util
An iterator over the elements of this composite collection.
CompositeCollectionItr() - Constructor for class edu.mit.jmwe.util.CompositeCollection.CompositeCollectionItr
 
CompositeComparator<T> - Class in edu.mit.jmwe.util
A comparator constructed out of multiple comparators.
CompositeComparator(Comparator<T>, Comparator<T>) - Constructor for class edu.mit.jmwe.util.CompositeComparator
Constructs a composite comparator from two of comparators.
CompositeComparator(Comparator<T>, Comparator<T>, Comparator<T>) - Constructor for class edu.mit.jmwe.util.CompositeComparator
Constructs a composite comparator from three of comparators.
CompositeComparator(Comparator<T>...) - Constructor for class edu.mit.jmwe.util.CompositeComparator
Constructs a composite comparator from an array of comparators.
CompositeComparator(List<? extends Comparator<T>>) - Constructor for class edu.mit.jmwe.util.CompositeComparator
Constructs a composite comparator from an array of comparators.
CompositeDetector - Class in edu.mit.jmwe.detect
A detector composed of multiple simpler detectors.
CompositeDetector(IMWEDetector...) - Constructor for class edu.mit.jmwe.detect.CompositeDetector
Constructs a composite detector from an array of detectors.
CompositeDetector(List<? extends IMWEDetector>) - Constructor for class edu.mit.jmwe.detect.CompositeDetector
Constructs a composite detector from a list of detectors.
CompositeErrorDetector - Class in edu.mit.jmwe.harness.result.error
Error detectors extending this class are composed of multiple simpler error detectors.
CompositeErrorDetector(IErrorDetector...) - Constructor for class edu.mit.jmwe.harness.result.error.CompositeErrorDetector
Constructs a composite error detector from an array of error detectors.
CompositeErrorDetector(List<? extends IErrorDetector>) - Constructor for class edu.mit.jmwe.harness.result.error.CompositeErrorDetector
Constructs a composite error detector from a list of error detectors.
concatenate(Iterable<String>, String) - Static method in class edu.mit.jmwe.data.AbstractMWEDesc
Utility method for concatenating collections of strings into a single string using a specified separator.
ConcordanceAnswerKey - Class in edu.mit.jmwe.harness
Default implementation of the IAnswerKey interface.
ConcordanceAnswerKey(IConcordance) - Constructor for class edu.mit.jmwe.harness.ConcordanceAnswerKey
Constructs an answer key from a single concordance
ConcordanceAnswerKey(Iterable<? extends IConcordance>) - Constructor for class edu.mit.jmwe.harness.ConcordanceAnswerKey
Constructs an answer key from the given semcor concordance set.
ConcordanceAnswerKey(Map<String, IConcordance>) - Constructor for class edu.mit.jmwe.harness.ConcordanceAnswerKey
Constructs an answer key from the given semcor concordance set.
ConcordanceSentence - Class in edu.mit.jmwe.data.concordance
Default implementation of ISemcorSentence
ConcordanceSentence(IContextID, ISentence) - Constructor for class edu.mit.jmwe.data.concordance.ConcordanceSentence
Constructs a new semcor sentence from the specified context id and JSemcor sentence object.
ConcordanceSentence(IContextID, int, List<? extends IConcordanceToken>) - Constructor for class edu.mit.jmwe.data.concordance.ConcordanceSentence
Constructs a new semcor sentence from the list of tokens.
ConcordanceTagger - Class in edu.mit.jmwe.data.concordance
Tags with parts of speech all words in all contexts provided in a given concordance set.
ConcordanceTagger() - Constructor for class edu.mit.jmwe.data.concordance.ConcordanceTagger
 
ConcordanceTagger.TaggerToken - Class in edu.mit.jmwe.data.concordance
Represents a semcor token that is not yet tagged.
ConcordanceToken - Class in edu.mit.jmwe.data.concordance
Default implementation of IConcordanceToken.
ConcordanceToken(String, String, int, int, String...) - Constructor for class edu.mit.jmwe.data.concordance.ConcordanceToken
Constructs a new semcor token object with the specified text, tag, token number, part number and stems.
condordanceSentenceIDPattern - Static variable in class edu.mit.jmwe.harness.ConcordanceAnswerKey
A compiled regular expression pattern that captures the string representation of a Semcor sentence ID.
confirmFileReplace(Component, File) - Static method in class edu.mit.jmwe.util.ConfirmingJFileChooser
Confirms with the user the replacement of a file
ConfirmingJFileChooser - Class in edu.mit.jmwe.util
A file chooser that confirms with the user before selecting a file for overwriting.
ConfirmingJFileChooser() - Constructor for class edu.mit.jmwe.util.ConfirmingJFileChooser
 
Consecutive - Class in edu.mit.jmwe.detect
Detector that uses an index to detect the MWEs whose parts appear continuously in the sentence.
Consecutive(IMWEIndex) - Constructor for class edu.mit.jmwe.detect.Consecutive
Constructs the detector from the given index.
ConstrainLength - Class in edu.mit.jmwe.detect
A detector filter that constrains MWEs by length.
ConstrainLength(IMWEDetector, int, boolean) - Constructor for class edu.mit.jmwe.detect.ConstrainLength
Construct a new filter on top of the specified detector
contains(List<IMWE<IConcordanceToken>>, IMWE<IConcordanceToken>) - Method in class edu.mit.jmwe.index.IndexBuilder
Whether the specified MWE is contained in the specified list
containsDuplicate(Collection<? extends IMWE<T>>, IMWE<T>) - Method in class edu.mit.jmwe.detect.Exhaustive
Returns true if the given collection of MWEs already contains a particular MWE.
contextWords - Variable in class edu.mit.jmwe.detect.score.LeskScore
 
Continuous - Class in edu.mit.jmwe.detect
A detector that filters the results of its backing detector to return only those MWEs whose parts are continuous in the sentence.
Continuous(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.Continuous
Constructs the detector from the given backing detector.
correctData - Variable in class edu.mit.jmwe.harness.result.MWEResultBuilder
 
countMarked(List<IMWE<IConcordanceToken>>, Map<IMWEDescID, IndexBuilder.MutableRootMWEDesc>) - Method in class edu.mit.jmwe.index.IndexBuilder
Counts instances of marked MWEs
counts - Variable in class edu.mit.jmwe.data.AbstractMWEDesc
 
counts - Variable in class edu.mit.jmwe.data.InfMWEDesc.InfMWEDescBuilder
 
countUnmarked(IMWEDetector, IConcordanceSentence, List<IMWE<IConcordanceToken>>) - Method in class edu.mit.jmwe.index.IndexBuilder
Counts the number of MWEs that are detected by the specified detected, but not marked in the answer set as being MWEs.
create() - Method in class edu.mit.jmwe.harness.result.ErrorResult.ErrorResultBuilder
Creates a new error result, or throws an exception if it cannot create a valid result.
createData() - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
createData(Iterable<String>) - Static method in class edu.mit.jmwe.index.InMemoryMWEIndex
Utility method that assembles a MWE index data map from a list of multi-word expression string descriptions.
createData(Reader) - Static method in class edu.mit.jmwe.index.InMemoryMWEIndex
Utility method that assembles a MWE index data map from a stream of characters that contains a whitespace-delimited list of multi-word expressions.
createData() - Method in class edu.mit.jmwe.index.MWEIndex
 
createIndex(Map<IMWEDescID, ? extends IRootMWEDesc>) - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
Uses the given map of description IDs to root descriptions in order to create the index.
createIndexMap(List<T>) - Static method in class edu.mit.jmwe.util.AbstractIndexComparator
Returns a map of each object in the list mapped to its index in the list.
createResult() - Method in interface edu.mit.jmwe.harness.result.IResultBuilder
Creates a result from the data stored in this builder.
createResult() - Method in class edu.mit.jmwe.harness.result.MWEResultBuilder
 

D

d - Variable in class edu.mit.jmwe.harness.result.error.DetectorDisagreement
 
DEFAULT_TICKS - Static variable in class edu.mit.jmwe.util.ProgressBar
Default number of ticks for a progress bar.
defaultIndex - Static variable in class edu.mit.jmwe.detect.StopWords
A list of MWEs whose parts consist entirely of stop words.
deleteFile(File, IndexBuilder.FileGetter) - Static method in class edu.mit.jmwe.index.IndexBuilder
Gets a pointer to a file that does not exist.
details - Variable in class edu.mit.jmwe.harness.result.MWEResultBuilder
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.CompositeDetector
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.Consecutive
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.Continuous
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.Exhaustive
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.FilterByScore
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.HasMWEDetector
 
detect(List<T>) - Method in interface edu.mit.jmwe.detect.IMWEDetector
Given a list of tokens, the detector searches for the MWEs in the list.
detect(List<T>) - Method in class edu.mit.jmwe.detect.InflectionLookup
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.InflectionPattern
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.InOrder
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.LMLR
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.NoInflection
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.NoProperNouns
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.Perfect
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.ProperNouns
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.ResolveByScore
 
detect(List<T>) - Method in class edu.mit.jmwe.detect.StopWords
 
detect(ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.error.AllStopWords
 
detect(ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.error.CompositeErrorDetector
 
detect(ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.error.DetectorDisagreement
 
detect(ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.error.ExtraPOS
 
detect(ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.error.ExtraPrep
 
detect(ISentenceResult<T, S>) - Method in interface edu.mit.jmwe.harness.result.error.IErrorDetector
Identifies the multi-word expressions in a unit result that fall under the specific error class this detector identifies.
detect(ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.error.InflectionError
 
detect(ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.error.InflectionPatternError
 
detect(ISentenceResult<T, U>) - Method in class edu.mit.jmwe.harness.result.error.InterstitialTokens
 
detect(ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.error.MissingFromIndex
 
detect(ISentenceResult<T, U>) - Method in class edu.mit.jmwe.harness.result.error.OutOfOrder
 
detect(ISentenceResult<T, U>) - Method in class edu.mit.jmwe.harness.result.error.PNounLong
 
detect(ISentenceResult<T, U>) - Method in class edu.mit.jmwe.harness.result.error.PNounShort
 
detect(ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.error.UntaggedPNoun
 
detect(ISentenceResult<T, S>) - Method in class edu.mit.jmwe.harness.result.error.VBDVBN
 
detect(ISentenceResult<T, U>) - Method in class edu.mit.jmwe.harness.result.error.WrongPOS
 
DetectorDisagreement - Class in edu.mit.jmwe.harness.result.error
Counts and stores those MWEs that were not found by the backing detector.
DetectorDisagreement(IMWEDetector) - Constructor for class edu.mit.jmwe.harness.result.error.DetectorDisagreement
Constructs a new error detector that uses the specified MWE detector for backing.
dict - Variable in class edu.mit.jmwe.detect.LeskAtLeast
 
dict - Variable in class edu.mit.jmwe.detect.score.LeskScore
 
disambiguatePOS(List<IWordform>) - Method in class edu.mit.jmwe.harness.ConcordanceAnswerKey
Attempts to disambiguate the part of speech of a multi-expression that does not have a semantic tag and whose parts are labeled with different part of speech tags.
doubleValue() - Method in class edu.mit.jmwe.util.AtomicDouble
 

E

earlier(IMWE<T>, IMWE<T>) - Method in class edu.mit.jmwe.data.MWEComparator
Internal method used to determine if one multi-word expression appears in the sentence before another.
edu.mit.jmwe.data - package edu.mit.jmwe.data
Provides the basic data structures used by the library and their default implementations.
edu.mit.jmwe.data.concordance - package edu.mit.jmwe.data.concordance
Provides interfaces and classes for accessing data taken Semcor-formatted concordances, useful for benchmarking detectors.
edu.mit.jmwe.detect - package edu.mit.jmwe.detect
Provides MWE detector API, a baseline detector, plus numerous other detector implementations.
edu.mit.jmwe.detect.score - package edu.mit.jmwe.detect.score
Provides various scoring mechanisms that can be used by subclasses of the FilterByScore and ResolveByScore detectors.
edu.mit.jmwe.harness - package edu.mit.jmwe.harness
Provides testing harness infrastructure
edu.mit.jmwe.harness.result - package edu.mit.jmwe.harness.result
Provides objects that encapsulate the results of a test harness run
edu.mit.jmwe.harness.result.error - package edu.mit.jmwe.harness.result.error
Provides error detectors to evaluate the results of a test harness run
edu.mit.jmwe.index - package 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.
edu.mit.jmwe.util - package edu.mit.jmwe.util
Provides utility classes used by many classes across the library
emptySet() - Static method in class edu.mit.jmwe.index.MWEDescSet
Returns an unmodifiable empty description set.
equals(Object) - Method in class edu.mit.jmwe.data.AbstractMWEDesc.AbstractPart
 
equals(Object) - Method in class edu.mit.jmwe.data.concordance.ConcordanceToken
 
equals(Object) - Method in class edu.mit.jmwe.data.MWE
 
equals(IMWE<?>, IMWE<?>) - Static method in class edu.mit.jmwe.data.MWE
Returns true if the two MWEs use the same tokens and are assigned the same root entries.
equals(Object) - Method in class edu.mit.jmwe.data.MWEDescID
 
equals(Object) - Method in class edu.mit.jmwe.data.RootMWEDesc
 
equals(Object) - Method in class edu.mit.jmwe.detect.MWEBuilder
 
equalsRoots(IMWEDesc, IMWEDesc) - Static method in class edu.mit.jmwe.data.AbstractMWEDesc
Returns true if the root descriptions associated with each of this MWE descriptions are the same; false otherwise.
ErrorResult<T extends IToken> - Class in edu.mit.jmwe.harness.result
Default implementation of IErrorResult interface.
ErrorResult(String, List<IMWE<T>>) - Constructor for class edu.mit.jmwe.harness.result.ErrorResult
Constructs the error result that stores the given multi-word expressions under the given ID of the error class that they belong to.
ErrorResult(Map<String, List<IMWE<T>>>) - Constructor for class edu.mit.jmwe.harness.result.ErrorResult
Constructs the error result from a map that stores MWEs under the ID of the error class that they belong to.
ErrorResult(Map<String, List<IMWE<T>>>, boolean) - Constructor for class edu.mit.jmwe.harness.result.ErrorResult
Constructs the error result from a Map that stores multi-word expressions under the ID of the error class that they belong to.This constructor may or may not allocate a new internal map, depending on the value of the reallocation flag.
ErrorResult.ErrorResultBuilder<T extends IToken> - Class in edu.mit.jmwe.harness.result
An object that builds an error result.
ErrorResultBuilder() - Constructor for class edu.mit.jmwe.harness.result.ErrorResult.ErrorResultBuilder
 
Exhaustive - Class in edu.mit.jmwe.detect
Implements an exhaustive algorithm that detects all possible non-stop-word MWEs in a sentence, including MWEs that are out of order or discontinuous.
Exhaustive(IMWEIndex) - Constructor for class edu.mit.jmwe.detect.Exhaustive
Constructs the simple lookup detector from the given index of multi-word expressions.
EXPECTED_COUNT_LENGTH - Static variable in interface edu.mit.jmwe.data.IInfMWEDesc
Expected number of counts associated with an index entry that implements this interface.
EXPECTED_COUNT_LENGTH - Static variable in interface edu.mit.jmwe.data.IRootMWEDesc
Expected number of counts associated with an index entry that implements this interface.
extractMWEs(IDictionary) - Method in class edu.mit.jmwe.index.IndexBuilder
Retrieves multi-word expressions from the specified IDictionary object and returns them as a map.
ExtraPOS - Class in edu.mit.jmwe.harness.result.error
Finds the proper noun multi-word expressions that were truncated incorrectly because of a token with a possessive ending tag.
ExtraPOS() - Constructor for class edu.mit.jmwe.harness.result.error.ExtraPOS
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
ExtraPrep - Class in edu.mit.jmwe.harness.result.error
Finds the proper noun multi-word expressions that were truncated incorrectly because of a token with a prepositional tag.
ExtraPrep() - Constructor for class edu.mit.jmwe.harness.result.error.ExtraPrep
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.

F

FILE_PROTOCOL - Static variable in class edu.mit.jmwe.util.StreamAdapter
The string that indicates the file protocol.
fillNextSlot(MWEBuilder<T>, T) - Method in class edu.mit.jmwe.detect.Consecutive
Fills the first non-null (empty) slot in the given builder.
fillNextSlot(MWEBuilder<T>, T) - Static method in class edu.mit.jmwe.detect.MWEBuilder
Fills the first non-null (empty) slot in the given builder.
fillSlots(Set<MWEBuilder<T>>, T) - Static method in class edu.mit.jmwe.detect.MWEBuilder
Given a set of MWE builders, fills all the slots in the records that can be filled by the given token.
FilterByScore - Class in edu.mit.jmwe.detect
Removes all MWEs from the wrapped detector's results whose score is "no good", where "no good" is implementation dependent.
FilterByScore(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.FilterByScore
Constructs a new MWE detector constraint that wraps the specified MWE Detector.
findMissingMWEs(List<IMWE<T>>, Map<IMWEDescID, IndexBuilder.MutableRootMWEDesc>, Set<IndexBuilder.MutableRootMWEDesc>) - Method in class edu.mit.jmwe.index.IndexBuilder
Finds MWEs that are marked in the the specified list, but not in the index.
findTag(IMWE<T>, String) - Static method in class edu.mit.jmwe.harness.result.error.ExtraPrep
Returns the index of the first token in the MWE with the specified tag.
finish() - Method in interface edu.mit.jmwe.util.IProgressBar
Stops the progress bar and prints the total time that the progress bar ran.
finish() - Method in class edu.mit.jmwe.util.NullProgressBar
 
finish() - Method in class edu.mit.jmwe.util.ProgressBar
 
floatValue() - Method in class edu.mit.jmwe.util.AtomicDouble
 
form - Variable in class edu.mit.jmwe.data.InfMWEDesc.InfMWEDescBuilder
 
formPattern - Static variable in interface edu.mit.jmwe.data.IMWEDescID
Captures the format of a well-formed form associated with this ID.
foundData - Variable in class edu.mit.jmwe.harness.result.MWEResultBuilder
 
FractionAsMWEScore<T extends IToken> - Class in edu.mit.jmwe.detect.score
A scorer that scores with the fraction of times it appears marked as an MWE, as opposed to a run of unmarked tokens.
FractionAsMWEScore() - Constructor for class edu.mit.jmwe.detect.score.FractionAsMWEScore
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
fromChar(char) - Static method in enum edu.mit.jmwe.data.MWEPOS
This convenience method allows retrieval of the MWEPOS object given the part of speech character.

G

get(int) - Method in class edu.mit.jmwe.data.concordance.ConcordanceSentence
 
get() - Static method in class edu.mit.jmwe.data.StopWords
Returns a set of some common English words that are not usually useful for searching.
get(int) - Method in class edu.mit.jmwe.detect.CompositeDetector
 
get(int) - Method in class edu.mit.jmwe.harness.result.error.CompositeErrorDetector
 
get(IMWEDescID) - Method in interface edu.mit.jmwe.index.IMWEIndex
Returns the MWE description for the specified ID, or null if this index does not contain said description.
get(String) - Method in interface edu.mit.jmwe.index.IMWEIndex
Returns a set of IRootMWEDesc objects whose MWEs contain the specified part.
get() - Method in interface edu.mit.jmwe.index.IndexBuilder.FileGetter
 
get(IMWEDescID) - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
get(String) - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
get() - Method in class edu.mit.jmwe.util.AtomicDouble
Get the current value.
get(int) - Method in class edu.mit.jmwe.util.CompositeComparator
 
getAll(String) - Method in interface edu.mit.jmwe.index.IMWEIndex
Returns a set containing both IRootMWEDesc and IInfMWEDesc objects that the given string is a part of.
getAll(String) - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
getAnswerData() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the number of answer multi-word expressions for each part of speech.
getAnswerData() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getAnswers(IMarkedSentence<T>) - Method in class edu.mit.jmwe.harness.ConcordanceAnswerKey
 
getAnswers(IMarkedSentence<T>, ISentence) - Method in class edu.mit.jmwe.harness.ConcordanceAnswerKey
Extracts a set of MWE answers from a sentence and its corresponding answer sentence.
getAnswers(IMarkedSentence<T>) - Method in interface edu.mit.jmwe.harness.IAnswerKey
Gets the answer multi-word expressions from the given sentence.
getAnswers() - Method in interface edu.mit.jmwe.harness.result.ISentenceResult
Returns the answer multi-word expression in the sentence.
getAnswers() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getConcordance() - Method in class edu.mit.jmwe.index.IndexBuilder
Gets the concordance set that will be used to interface with Semcor.
getConcordanceDir() - Method in class edu.mit.jmwe.index.IndexBuilder
Returns the location of the concordance data; may be overridden by subclasses to provide a different manner of locating the concordance.
getContentWords(String) - Method in class edu.mit.jmwe.detect.score.LeskScore
Given a string representation of a sentence, removes all punctuation and stop words.
getContextID() - Method in class edu.mit.jmwe.data.concordance.ConcordanceSentence
 
getContextID() - Method in interface edu.mit.jmwe.data.concordance.IConcordanceSentence
Returns the context id from which this sentence was drawn.
getContinuousMWEs(IMarkedSentence<T>, ISentence, Set<IWordform>) - Method in class edu.mit.jmwe.harness.ConcordanceAnswerKey
Gets the multi-word expressions from the given sentence that are marked as single tokens.
getCorrectData() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the number of multi-word expressions correctly found by the detector for each part of speech.
getCorrectData() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getCount() - Method in interface edu.mit.jmwe.util.IProgressBar
Returns the current state of the progress bar, that is, the number of units of progress that have been reported to it.
getCount() - Method in class edu.mit.jmwe.util.NullProgressBar
 
getCount() - Method in class edu.mit.jmwe.util.ProgressBar
 
getCounts() - Method in class edu.mit.jmwe.data.AbstractMWEDesc
 
getCounts() - Method in interface edu.mit.jmwe.data.IMWEDesc
Returns an array containing the marked split, marked continuous, unmarked exact, and unmarked pattern occurrences of this MWE in the reference concordance.
getDataFile() - Method in class edu.mit.jmwe.index.IndexBuilder
Prompts the user to select the file to which the MWE descriptions will be written along with their counts relating to their occurrences in the reference concordance.
getDataHeaderLines() - Method in class edu.mit.jmwe.index.IndexBuilder
Returns the set of lines to be included as a header in the data file.
getDetails() - Method in class edu.mit.jmwe.harness.result.ErrorResult
 
getDetails() - Method in interface edu.mit.jmwe.harness.result.IErrorResult
Returns a Map that stores multi-word expressions under the ID of the error class they belong to.
getDetails() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the results for a unit under its ID.
getDetails() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getDetector() - Method in class edu.mit.jmwe.harness.result.error.DetectorDisagreement
Returns the MWE detector for this error detector.
getDictionary() - Method in class edu.mit.jmwe.index.IndexBuilder
Gets the IDictionary that will be used to interface with Wordnet.
getDictionaryDir() - Method in class edu.mit.jmwe.index.IndexBuilder
Returns the location of the wordnet dictionary; may be overridden by subclasses to provide a different manner of locating the dictionary.
getEndTime() - Method in interface edu.mit.jmwe.util.IProgressBar
Returns the date and time on which this progress bar was finished.
getEndTime() - Method in class edu.mit.jmwe.util.NullProgressBar
 
getEndTime() - Method in class edu.mit.jmwe.util.ProgressBar
 
getEntry() - Method in interface edu.mit.jmwe.data.IMWE
Gets the MWE description object corresponding to this multi-word expression.
getEntry() - Method in class edu.mit.jmwe.data.MWE
 
getEntry() - Method in class edu.mit.jmwe.detect.MWEBuilder
Returns the multi-word expression description object corresponding to the record.
getEstimatedSentenceCount() - Method in class edu.mit.jmwe.index.IndexBuilder
Returns the estimated number of sentences being used from the reference concordance (Semcor).
getExpected() - Method in interface edu.mit.jmwe.util.IProgressBar
Returns the expected number of units of progress.
getExpected() - Method in class edu.mit.jmwe.util.NullProgressBar
 
getExpected() - Method in class edu.mit.jmwe.util.ProgressBar
 
getExpectedCountLength() - Method in class edu.mit.jmwe.data.AbstractMWEDesc
Subclasses should implement this method to return the number of counts relating to the MWE's appearance in a reference concordance that are expected in the implementation.
getExpectedCountLength() - Method in class edu.mit.jmwe.data.InfMWEDesc
 
getExpectedCountLength() - Method in class edu.mit.jmwe.data.RootMWEDesc
 
getExpectedTicks() - Method in interface edu.mit.jmwe.util.IProgressBar
Returns the expected number of ticks.
getExpectedTicks() - Method in class edu.mit.jmwe.util.NullProgressBar
 
getExpectedTicks() - Method in class edu.mit.jmwe.util.ProgressBar
 
getF1Scores() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the f1 measures of the detector for each part of speech.
getF1Scores() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getFalseNegatives() - Method in interface edu.mit.jmwe.harness.result.ISentenceResult
Returns a list of the false negatives.
getFalseNegatives() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getFalsePositives() - Method in interface edu.mit.jmwe.harness.result.ISentenceResult
Returns a list of the false positives.
getFalsePositives() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getFileChooser() - Method in class edu.mit.jmwe.util.AbstractFileSelector
Returns the file chooser for this instance.
getFirstToken(Iterable<? extends T>, Comparator<T>) - Static method in class edu.mit.jmwe.detect.LMLR
Returns the token that is the first in a given iterable collection of tokens.
getForm() - Method in class edu.mit.jmwe.data.AbstractMWEDesc.AbstractPart
 
getForm() - Method in class edu.mit.jmwe.data.AbstractMWEDesc
 
getForm() - Method in interface edu.mit.jmwe.data.IHasForm
Returns the object's surface form text, exactly as it appears in its original context, with capitalization intact.
getForm() - Method in class edu.mit.jmwe.data.MWE
 
getForm() - Method in class edu.mit.jmwe.data.MWEDescID
 
getForm() - Method in class edu.mit.jmwe.data.Token
 
getFound() - Method in interface edu.mit.jmwe.harness.result.ISentenceResult
Returns the multi-word expression found by the detector in the sentence.
getFound() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getFoundData() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the number of multi-word expressions found by the detector for each part of speech.
getFoundData() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getFScore() - Method in interface edu.mit.jmwe.harness.result.IBaseResult
Returns the F1 score, a double between zero and 1, inclusive.
getFScore() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getFScore() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getGlosses(String, MWEPOS) - Method in class edu.mit.jmwe.detect.score.LeskScore
Returns a list of the glosses of a word or MWE by looking up its lemma and part of speech in the dictionary.
getID() - Method in class edu.mit.jmwe.data.concordance.ConcordanceSentence
 
getID() - Method in interface edu.mit.jmwe.data.IHasID
Returns an ID string that uniquely identifies this object or object type.
getID() - Method in interface edu.mit.jmwe.data.IMWEDesc
Returns the IMWEDescID associated with this description.
getID() - Method in class edu.mit.jmwe.data.InfMWEDesc
 
getID() - Method in class edu.mit.jmwe.data.RootMWEDesc
 
getID() - Method in class edu.mit.jmwe.harness.result.error.AbstractErrorDetector
 
getID() - Method in class edu.mit.jmwe.harness.result.error.CommonErrorDetector
 
getID() - Method in class edu.mit.jmwe.harness.result.error.CompositeErrorDetector
 
getIdentifier() - Method in enum edu.mit.jmwe.data.MWEPOS
Returns the character identifier for the part-of-speech.
getIndex() - Method in class edu.mit.jmwe.data.AbstractMWEDesc.AbstractPart
 
getIndex() - Method in interface edu.mit.jmwe.data.IMWEDesc.IPart
Returns the index of this part in the multi-word expression, always zero or greater.
getIndexFile() - Method in class edu.mit.jmwe.index.IndexBuilder
Prompts the user to select the file to which the index will be written.
getIndexHeaderLines() - Method in class edu.mit.jmwe.index.IndexBuilder
Returns the set of lines to be included as a header in the index file.
getIndexIterator() - Method in interface edu.mit.jmwe.index.IMWEIndex
Returns an iterator that will iterate over all MWE parts in the index, in order.
getIndexIterator() - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
getIndexMap() - Method in class edu.mit.jmwe.util.AbstractIndexComparator
Returns the index map on which this comparator is based.
getInflected() - Method in interface edu.mit.jmwe.data.IRootMWEDesc
Returns an unmodifiable set of MWE descriptions corresponding to the inflected versions of this form.
getInflected() - Method in class edu.mit.jmwe.data.RootMWEDesc
 
getInflected() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableRootMWEDesc
 
getInflectedForm() - Method in interface edu.mit.jmwe.data.IMWEDescID
Returns an inflected form of the MWE associated with this ID.
getInflectedForm() - Method in class edu.mit.jmwe.data.MWEDescID
 
getInflectedForm(IndexBuilder.MutableRootMWEDesc, String) - Method in class edu.mit.jmwe.index.IndexBuilder
Returns an inflected form that matches the specified surface form, attached to the root description.
getInflectedMWEDesc(String, MWEPOS, String) - Method in interface edu.mit.jmwe.index.IMWEIndex
Returns the inflected MWE description for the specified root lemma, part of speech, and inflected form, or null if this index does not contain said description.
getInflectedMWEDesc(String, MWEPOS, String) - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
getInflectedMWEDescs() - Method in interface edu.mit.jmwe.index.IMWEDescSet
Returns the set of inflected MWE desc objects contained herein.
getInflectedMWEDescs() - Method in class edu.mit.jmwe.index.MWEDescSet
 
getInstance() - Static method in class edu.mit.jmwe.detect.ProperNouns
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.detect.score.FractionAsMWEScore
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.detect.score.LengthScore
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.AllStopWords
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.CommonErrorDetector
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.ExtraPOS
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.ExtraPrep
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.InflectionError
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.InflectionPatternError
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.InterstitialTokens
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.OutOfOrder
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.PNounLong
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.PNounShort
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.UntaggedPNoun
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.VBDVBN
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.result.error.WrongPOS
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.harness.TestHarness
Returns the singleton instance of this class, instantiating if necessary.
getInstance() - Static method in class edu.mit.jmwe.util.NullProgressBar
Returns the singleton instance of this class, creating it if necessary.
getLocation(Class<?>) - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Utility method for getting a location that has a default stored in the Java preferences.
getLocation(Class<?>) - Method in class edu.mit.jmwe.util.AbstractFileSelector
Gets a location indexed by the specified class as a key.
getMarkedContinuous() - Method in class edu.mit.jmwe.data.AbstractMWEDesc
 
getMarkedContinuous() - Method in interface edu.mit.jmwe.data.IMWEDesc
Returns the number of times this MWE was marked on a continuous run of tokens in the reference concordance.
getMarkedPattern() - Method in interface edu.mit.jmwe.data.IInfMWEDesc
The number of times this description occurs in the reference concordance being marked as an occurrence of the MWE, while matching one of the known inflection patterns.
getMarkedPattern() - Method in class edu.mit.jmwe.data.InfMWEDesc
 
getMarkedSplit() - Method in class edu.mit.jmwe.data.AbstractMWEDesc
 
getMarkedSplit() - Method in interface edu.mit.jmwe.data.IMWEDesc
Returns the number of times this MWE was marked on a non-continuous run of tokens in the reference concordance.
getMWEDescs(IToken) - Method in class edu.mit.jmwe.detect.Consecutive
Returns all the MWE entries in the index that contain the given token or one of its stems as a part.
getMWEIndex() - Method in class edu.mit.jmwe.index.HasMWEIndex
 
getMWEIndex() - Method in interface edu.mit.jmwe.index.IHasMWEIndex
Returns the index this object wraps.
getMWEPOS(String) - Method in class edu.mit.jmwe.harness.ConcordanceAnswerKey
Given the lexical sense of a word form, extracts the one digit decimal integer representing the synset type of the sense and returns the corresponding part of speech.
getNonContinuousMWEs(IMarkedSentence<T>, ISentence, Set<IWordform>) - Method in class edu.mit.jmwe.harness.ConcordanceAnswerKey
Gets the multi-word expressions from the given sentence that are non-contiguous (e.g., have a distance value not equal to zero).
getNumErrors(String) - Method in class edu.mit.jmwe.harness.result.ErrorResult
 
getNumErrors(String) - Method in interface edu.mit.jmwe.harness.result.IErrorResult
Gets the number of MWEs that fall under the given error class.
getParent() - Method in class edu.mit.jmwe.data.AbstractMWEDesc.AbstractPart
 
getParent() - Method in interface edu.mit.jmwe.data.IInfMWEDesc.IInfPart
Returns the MWE description of which this part is a part.
getParent() - Method in interface edu.mit.jmwe.data.IMWEDesc.IPart
Returns the MWE description of which this part is a part.
getParent() - Method in class edu.mit.jmwe.data.InfMWEDesc.InfPart
 
getParent() - Method in interface edu.mit.jmwe.data.IRootMWEDesc.IRootPart
Returns the MWE description of which this part is a part.
getParent() - Method in class edu.mit.jmwe.data.RootMWEDesc.Part
 
getPartialF1Score() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns the total F score earned by the detector, taking into account partial credit.
getPartialF1Score() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getPartialF1Scores() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the f1 measure of the detector for each part of speech after adding the partial credit to its correct score.
getPartialF1Scores() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getPartialPrecision() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns the total precision of the detector after counting partial credit.
getPartialPrecision() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getPartialPrecisionScores() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the precision of the detector for each part of speech after adding the partial credit to its correct score.
getPartialPrecisionScores() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getPartialRecall() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns the total recall of the detector after counting partial credit.
getPartialRecall() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getPartialRecallScores() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the recall of the detector for each part of speech after adding the partial credit to its correct score.
getPartialRecallScores() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getPartialScore() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns the total partial credit earned by the detector.
getPartialScore() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getPartialScores() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the partial credit for the partially correct multi-word expressions found by the detector for each part of speech.
getPartialScores() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getPartMap() - Method in interface edu.mit.jmwe.data.IMWE
Gets the mapping from tokens to parts in this multi-word expression.
getPartMap() - Method in class edu.mit.jmwe.data.MWE
 
getPartNumber() - Method in class edu.mit.jmwe.data.concordance.ConcordanceToken
 
getPartNumber() - Method in interface edu.mit.jmwe.data.concordance.IConcordanceToken
Returns the index of the part in the Semcor token from which this part was extracted.
getParts() - Method in class edu.mit.jmwe.data.AbstractMWEDesc
 
getParts() - Method in interface edu.mit.jmwe.data.IInfMWEDesc
Returns an unmodifiable list of parts that comprise the MWE.
getParts() - Method in interface edu.mit.jmwe.data.IMWEDesc
Returns an unmodifiable list of parts that comprise the MWE.
getParts() - Method in interface edu.mit.jmwe.data.IRootMWEDesc
Returns an unmodifiable list of parts that comprise the MWE.
getPOS() - Method in interface edu.mit.jmwe.data.IHasMWEPOS
Returns the part of speech of this object.
getPOS() - Method in class edu.mit.jmwe.data.InfMWEDesc
 
getPOS() - Method in class edu.mit.jmwe.data.MWEDescID
 
getPOS() - Method in class edu.mit.jmwe.data.RootMWEDesc
 
getPOSTagger() - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Returns a maximum entropy tagger using a Stanford NLP tagging model selected by the user.
getPrecision() - Method in interface edu.mit.jmwe.harness.result.IBaseResult
Returns the precision, a double between zero and 1, inclusive.
getPrecision() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getPrecision() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getPrecisionScores() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the precision of the detector for each part of speech.
getPrecisionScores() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getPrefixes() - Method in enum edu.mit.jmwe.data.MWEPOS
Returns the set of prefixes for the part-of-speech.
getRecall() - Method in interface edu.mit.jmwe.harness.result.IBaseResult
Returns the recall, a double between zero and 1, inclusive.
getRecall() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getRecall() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getRecallScores() - Method in interface edu.mit.jmwe.harness.result.IOverallResult
Returns a map that stores the recall of the detector for each part of speech.
getRecallScores() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getRoot(IMWEDesc) - Static method in class edu.mit.jmwe.data.AbstractMWEDesc
Returns the root mwe description associated with this object.
getRootID() - Method in interface edu.mit.jmwe.data.IMWEDescID
Returns the root ID of this decription ID.
getRootID() - Method in class edu.mit.jmwe.data.MWEDescID
 
getRootIterator() - Method in interface edu.mit.jmwe.index.IMWEIndex
Returns an iterator that will iterate over all root MWE descriptions in the index, in order.
getRootIterator() - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
getRootMWEDesc() - Method in interface edu.mit.jmwe.data.IInfMWEDesc
Returns the root description of the multi-word expression (MWE).
getRootMWEDesc() - Method in class edu.mit.jmwe.data.InfMWEDesc
 
getRootMWEDesc(String, MWEPOS) - Method in interface edu.mit.jmwe.index.IMWEIndex
Returns the root MWE description for the specified lemma and part of speech, or null if this index does not contain said description.
getRootMWEDesc(String, MWEPOS) - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
getRootMWEDescs() - Method in interface edu.mit.jmwe.index.IMWEDescSet
Returns the set of root MWE desc objects contained herein.
getRootMWEDescs() - Method in class edu.mit.jmwe.index.MWEDescSet
 
getRules() - Method in class edu.mit.jmwe.detect.InflectionPattern
Returns the set of inflection rules to be used by this detector.
getScorer(List<T>) - Method in class edu.mit.jmwe.detect.ConstrainLength
 
getScorer(List<T>) - Method in class edu.mit.jmwe.detect.FilterByScore
Returns a scoring function for the specified sentence.
getScorer(List<T>) - Method in class edu.mit.jmwe.detect.Leftmost
 
getScorer(List<T>) - Method in class edu.mit.jmwe.detect.LeskAtLeast
 
getScorer(List<T>) - Method in class edu.mit.jmwe.detect.Longest
 
getScorer(List<T>) - Method in class edu.mit.jmwe.detect.MoreFrequentAsMWE
 
getScorer(List<T>) - Method in class edu.mit.jmwe.detect.ResolveByScore
Returns the scoring function for this filter.
getScorer(List<T>) - Method in class edu.mit.jmwe.detect.SmallestVariance
 
getSemcor() - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Returns the Semcor concordance set or null if the directory cannot be found.
getSentence(Map<String, IConcordance>, IMarkedSentence<?>) - Static method in class edu.mit.jmwe.harness.ConcordanceAnswerKey
Returns the concordance sentence that corresponds to the specified marked sentence
getSentence() - Method in interface edu.mit.jmwe.harness.result.ISentenceResult
Returns the sentence corresponding to this result.
getSentence() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getSentenceNumber() - Method in class edu.mit.jmwe.data.concordance.ConcordanceSentence
 
getSentenceNumber() - Method in interface edu.mit.jmwe.data.concordance.IConcordanceSentence
Returns the sentence number of this sentence in the specified Semcor context.
getSlots() - Method in class edu.mit.jmwe.detect.MWEBuilder
Returns the slots of this record.
getSource() - Method in class edu.mit.jmwe.index.MWEIndex
Returns the URL used by this index.
getStartTime() - Method in interface edu.mit.jmwe.util.IProgressBar
Returns the date and time on which this progress bar was started.
getStartTime() - Method in class edu.mit.jmwe.util.NullProgressBar
 
getStartTime() - Method in class edu.mit.jmwe.util.ProgressBar
 
getStemmedWords(Collection<String>) - Method in class edu.mit.jmwe.detect.score.LeskScore
Returns a set of string containing all the string in the specified list, as well as all the stemmed versions of those strings.
getStemmer() - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Returns a stemmer that requires Wordnet or null if the Wordnet directory cannot be found.
getStems() - Method in interface edu.mit.jmwe.data.IToken
Returns an unmodifiable list of stems, all in lowercase.
getStems() - Method in class edu.mit.jmwe.data.Token
 
getStepSize() - Method in interface edu.mit.jmwe.util.IProgressBar
Returns the number of units of progress that are represented by one tick.
getStepSize() - Method in class edu.mit.jmwe.util.NullProgressBar
 
getStepSize() - Method in class edu.mit.jmwe.util.ProgressBar
 
getStopWordIndex() - Static method in class edu.mit.jmwe.detect.StopWords
Creates, opens, and returns a new stop word index.
getStopWords() - Method in class edu.mit.jmwe.detect.Exhaustive
Returns the stop words used by this detector.
getStopWords() - Method in class edu.mit.jmwe.detect.score.LeskScore
Returns the set of stop words for this scorer.
getSurfaceFormDescription(IRootMWEDesc, IMWE<T>) - Static method in class edu.mit.jmwe.detect.InflectionLookup
Returns a multi-word expression description with a lemma that is constructed by concatenating the tokens of the MWE exactly as they appear in the sentence with underscores.
getTag() - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger.TaggerToken
 
getTag() - Method in interface edu.mit.jmwe.data.IToken
Returns the part of speech tag for this token, or null if the token is not tagged.
getTag() - Method in class edu.mit.jmwe.data.Token
 
getTaggedConcordanceFile() - Method in class edu.mit.jmwe.index.IndexBuilder
Returns the location of the tagged concordance file; may be overridden by subclasses to provide a different manner of locating the concordance.
getTaggedIterator() - Method in class edu.mit.jmwe.index.IndexBuilder
Gets an iterator over the tagged semcor sentences.
getTagPattern(IMWE<T>) - Method in enum edu.mit.jmwe.detect.InflectionRule
Concatenates the tags of each token in the MWE, separating each by underscores.
getTickCount() - Method in interface edu.mit.jmwe.util.IProgressBar
Returns the number of current progress bar ticks that have been used.
getTickCount() - Method in class edu.mit.jmwe.util.NullProgressBar
 
getTickCount() - Method in class edu.mit.jmwe.util.ProgressBar
 
getTokenNumber() - Method in class edu.mit.jmwe.data.concordance.ConcordanceToken
 
getTokenNumber() - Method in interface edu.mit.jmwe.data.concordance.IConcordanceToken
Returns the index of the token in the Semcor sentence from which it was extracted.
getTokens() - Method in interface edu.mit.jmwe.data.IMWE
Gets the list of tokens identified as comprising the multi-word expression.
getTokens() - Method in class edu.mit.jmwe.data.MWE
 
getTotalAnswers() - Method in interface edu.mit.jmwe.harness.result.IBaseResult
Returns the total number of answers.
getTotalAnswers() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getTotalAnswers() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getTotalCorrect() - Method in interface edu.mit.jmwe.harness.result.IBaseResult
Returns the total number of items correctly identified.
getTotalCorrect() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getTotalCorrect() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getTotalErrors() - Method in class edu.mit.jmwe.harness.result.ErrorResult
 
getTotalErrors() - Method in interface edu.mit.jmwe.harness.result.IErrorResult
Returns the total number of errors for the result.
getTotalFound() - Method in interface edu.mit.jmwe.harness.result.IBaseResult
Returns the total number items found.
getTotalFound() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
getTotalFound() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getTruePositives() - Method in interface edu.mit.jmwe.harness.result.ISentenceResult
Returns a list of the true positives.
getTruePositives() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
getUmarkedDetector(IMWEIndex) - Method in class edu.mit.jmwe.index.IndexBuilder
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.
getUnmarkedExact() - Method in class edu.mit.jmwe.data.AbstractMWEDesc
 
getUnmarkedExact() - Method in interface edu.mit.jmwe.data.IMWEDesc
Returns the number of times the exact surface form of this MWE description occurs in the reference concordance without being marked as an occurrence of the MWE.
getUnmarkedInflected() - Method in interface edu.mit.jmwe.data.IRootMWEDesc
Returns the number of times an inflected form of this MWE description occurs in the reference concordance without being marked as an occurrence of the MWE, and without being an exact match to a known inflected form of this root.
getUnmarkedInflected() - Method in class edu.mit.jmwe.data.RootMWEDesc
 
getUnmarkedPattern() - Method in class edu.mit.jmwe.data.AbstractMWEDesc
 
getUnmarkedPattern() - Method in interface edu.mit.jmwe.data.IMWEDesc
Returns the number of times a this MWE description occurs in the reference concordance without being marked as an occurrence of the MWE, and whose form matches a known inflection pattern.
getWrappedDetector() - Method in class edu.mit.jmwe.detect.HasMWEDetector
 
getWrappedDetector() - Method in interface edu.mit.jmwe.detect.IHasMWEDetector
Returns the MWE detector associated with this contraint detector.
getWriter() - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Returns a writer for the file to which the tagged concordance will be written.

H

hasAllStopWords(Collection<? extends IHasForm>) - Static method in class edu.mit.jmwe.data.StopWords
Returns true if each form in the list is a stop word; false otherwise.
hasEmptyMatchingSlots(Map.Entry<IMWEDesc.IPart, T>) - Method in class edu.mit.jmwe.detect.MWEBuilder
Returns true if the matching slots after the given slot in this record are empty.
hashCode() - Method in class edu.mit.jmwe.data.AbstractMWEDesc.AbstractPart
 
hashCode() - Method in class edu.mit.jmwe.data.concordance.ConcordanceToken
 
hashCode() - Method in class edu.mit.jmwe.data.MWE
 
hashCode() - Method in class edu.mit.jmwe.data.MWEDescID
 
hashCode() - Method in class edu.mit.jmwe.data.RootMWEDesc
 
hashCode() - Method in class edu.mit.jmwe.detect.MWEBuilder
 
hasMultiple() - Method in class edu.mit.jmwe.detect.MWEBuilder
Returns true if the record contains two or more slots whose index parts have the same part lemma.
HasMWEDetector - Class in edu.mit.jmwe.detect
Abstract base class for MWE Detectors that wrap, and constraint the output of, other MWE detectors.
HasMWEDetector(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.HasMWEDetector
Constructs a new MWE detector constraint that wraps the specified MWE Detector.
HasMWEIndex - Class in edu.mit.jmwe.index
An object that wraps an MWE index.
HasMWEIndex(IMWEIndex) - Constructor for class edu.mit.jmwe.index.HasMWEIndex
Constructs a new object that has a pointer to an MWE index
hasNext() - Method in class edu.mit.jmwe.data.concordance.TaggedConcordanceIterator
 
hasNext() - Method in class edu.mit.jmwe.util.CompositeCollection.CompositeCollectionItr
 
hasNext() - Method in class edu.mit.jmwe.util.LimitedIterator
 
hasParticle(IMWE<T>, List<T>) - Static method in class edu.mit.jmwe.harness.result.error.InterstitialTokens
Returns true if the given MWE contains a token that is a particle and is separated from the previous token in the MWE by one or more non-MWE tokens in the sentence.

I

IAnswerKey - Interface in edu.mit.jmwe.harness
Classes implementing this interface find the correct multi-word expressions for an IMarkedSentence object.
IBaseResult - Interface in edu.mit.jmwe.harness.result
Results store, at a minimum, f-measure, precision, and recall scores and the values used to calculate them.
IConcordanceSentence - Interface in edu.mit.jmwe.data.concordance
A sentence drawn from the Semcor corpus.
IConcordanceToken - Interface in edu.mit.jmwe.data.concordance
A token from a Semcor sentence.
ID - Static variable in class edu.mit.jmwe.harness.result.error.AllStopWords
The ID for this error detector, "edu.mit.jmwe.error.AllStopWords"
ID - Static variable in class edu.mit.jmwe.harness.result.error.CommonErrorDetector
The ID for this error detector, "edu.mit.jmwe.error.common"
ID - Static variable in class edu.mit.jmwe.harness.result.error.CompositeErrorDetector
The ID for this error detector, "edu.mit.jmwe.error.composite"
ID - Static variable in class edu.mit.jmwe.harness.result.error.DetectorDisagreement
The ID for this error detector, "edu.mit.jmwe.error.Disagree"
ID - Static variable in class edu.mit.jmwe.harness.result.error.ExtraPOS
The ID for this error detector, "edu.mit.jmwe.error.ExtraPOS"
ID - Static variable in class edu.mit.jmwe.harness.result.error.ExtraPrep
The ID for this error detector, "edu.mit.jmwe.error.ExtraPrep"
ID - Static variable in class edu.mit.jmwe.harness.result.error.InflectionError
The ID for this error detector, "edu.mit.jmwe.error.Inflection"
ID - Static variable in class edu.mit.jmwe.harness.result.error.InflectionPatternError
The ID for this error detector, "edu.mit.jmwe.error.PAT"
ID - Static variable in class edu.mit.jmwe.harness.result.error.InterstitialTokens
The ID for this error detector, "edu.mit.jmwe.error.Interstitial"
ID - Static variable in class edu.mit.jmwe.harness.result.error.MissingFromIndex
The ID for this error detector, "edu.mit.jmwe.error.Miss"
ID - Static variable in class edu.mit.jmwe.harness.result.error.OutOfOrder
The ID for this error detector, "edu.mit.jmwe.error.OutOfOrder"
ID - Static variable in class edu.mit.jmwe.harness.result.error.PNounLong
The ID for this error detector, "edu.mit.jmwe.error.PNounLong"
ID - Static variable in class edu.mit.jmwe.harness.result.error.PNounShort
The ID for this error detector, "edu.mit.jmwe.error.PNounShort"
ID - Static variable in class edu.mit.jmwe.harness.result.error.UntaggedPNoun
The ID for this error detector, "edu.mit.jmwe.error.UntaggedPNoun"
ID - Static variable in class edu.mit.jmwe.harness.result.error.VBDVBN
The ID for this error detector, "edu.mit.jmwe.error.VBDVBN"
ID - Static variable in class edu.mit.jmwe.harness.result.error.WrongPOS
The ID for this error detector, "edu.mit.jmwe.error.WrongPOS"
idxMap - Variable in class edu.mit.jmwe.detect.score.StartingIndexScore
 
idxMap - Variable in class edu.mit.jmwe.detect.score.VarianceScore
 
IErrorDetector - Interface in edu.mit.jmwe.harness.result.error
Error detectors look for errors made by an IMWEDetector by analyzing the ISentenceResult obtained by running the detector over a marked sentence using a test harness.
IErrorResult<T extends IToken> - Interface in edu.mit.jmwe.harness.result
Stores MWEs under the type of error they make.
ignoreLine(String) - Method in class edu.mit.jmwe.data.concordance.TaggedConcordanceIterator
Indicates whether the specified line is to be ignored.
IHasForm - Interface in edu.mit.jmwe.data
Items that have a textual surface form implement this interface.
IHasID - Interface in edu.mit.jmwe.data
An object with a unique id.
IHasMWEDetector - Interface in edu.mit.jmwe.detect
A MWE Detector that wraps another MWE detector.
IHasMWEIndex - Interface in edu.mit.jmwe.index
Classes implementing this interface use a IMWEIndex.
IHasMWEPOS - Interface in edu.mit.jmwe.data
An object that is one of the parts of speech enumerated in MWEPOS.
IInflectionRule - Interface in edu.mit.jmwe.detect
Represents a pattern according to which the parts of a multi-word expression may be inflected.
IInfMWEDesc - Interface in edu.mit.jmwe.data
A description of an inflected form of a multi-word expression (MWE).
IInfMWEDesc.IInfPart - Interface in edu.mit.jmwe.data
A part of an inflected multi-word expression.
IMarkedSentence<T extends IToken> - Interface in edu.mit.jmwe.data
A marked sentence is a sentence (i.e., a list of tokens) that has been tagged with a unique id.
IMWE<T extends IToken> - Interface in edu.mit.jmwe.data
A multi-word expression found in a list of tokens.
IMWEDesc - Interface in edu.mit.jmwe.data
An MWE description consisting of an IMWEDescID, list of parts, and counts relating to the MWE's appearance in a reference concordance.
IMWEDesc.IPart - Interface in edu.mit.jmwe.data
A part of a multi-word expression.
IMWEDescID - Interface in edu.mit.jmwe.data
A MWE description ID that can be used to retrieve the MWE's lemma, part of speech, and inflected form.
IMWEDescSet - Interface in edu.mit.jmwe.index
A set of MWE description objects that provides methods to retrieve the root and inflected MWE descriptions it contains.
IMWEDetector - Interface in edu.mit.jmwe.detect
A detector for multi-word expressions.
IMWEDetectorFilter - Interface in edu.mit.jmwe.detect
An interface for MWE detectors that act as filters for other MWE detectors
IMWEDetectorResolver - Interface in edu.mit.jmwe.detect
An interface for MWE detectors that resolve conflicts between identified MWEs from other detectors.
IMWEIndex - Interface in edu.mit.jmwe.index
An index of multi-word expressions (MWEs).
increment(double) - Method in class edu.mit.jmwe.util.AtomicDouble
Increments the current value by the specified amount.
increment() - Method in interface edu.mit.jmwe.util.IProgressBar
Increments the progress bar by 1.
increment(int) - Method in interface edu.mit.jmwe.util.IProgressBar
Increments the progress bar by a given amount.
increment() - Method in class edu.mit.jmwe.util.NullProgressBar
 
increment(int) - Method in class edu.mit.jmwe.util.NullProgressBar
 
increment() - Method in class edu.mit.jmwe.util.ProgressBar
 
increment(int) - Method in class edu.mit.jmwe.util.ProgressBar
 
incrementMarkedContinuous() - Method in interface edu.mit.jmwe.index.IndexBuilder.IMutableMWEDesc
 
incrementMarkedContinuous() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableInfMWEDesc
 
incrementMarkedContinuous() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableRootMWEDesc
 
incrementMarkedPattern() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableInfMWEDesc
 
incrementMarkedSplit() - Method in interface edu.mit.jmwe.index.IndexBuilder.IMutableMWEDesc
 
incrementMarkedSplit() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableInfMWEDesc
 
incrementMarkedSplit() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableRootMWEDesc
 
incrementUnmarkedExact() - Method in interface edu.mit.jmwe.index.IndexBuilder.IMutableMWEDesc
 
incrementUnmarkedExact() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableInfMWEDesc
 
incrementUnmarkedExact() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableRootMWEDesc
 
incrementUnmarkedInflected() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableRootMWEDesc
 
incrementUnmarkedPattern() - Method in interface edu.mit.jmwe.index.IndexBuilder.IMutableMWEDesc
 
incrementUnmarkedPattern() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableInfMWEDesc
 
incrementUnmarkedPattern() - Method in class edu.mit.jmwe.index.IndexBuilder.MutableRootMWEDesc
 
index - Variable in class edu.mit.jmwe.harness.result.error.MissingFromIndex
 
IndexBuilder - Class in edu.mit.jmwe.index
Builds a MWE index that can be loaded into memory from Wordnet, using Semcor as the reference concordance for obtaining frequencies relating to an MWE's occurrence as marked, unmarked, etc.
IndexBuilder() - Constructor for class edu.mit.jmwe.index.IndexBuilder
 
IndexBuilder.FileGetter - Interface in edu.mit.jmwe.index
Wouldn't it be nice to have first-class functions in Java?
IndexBuilder.IMutableMWEDesc - Interface in edu.mit.jmwe.index
 
IndexBuilder.MutableInfMWEDesc - Class in edu.mit.jmwe.index
 
IndexBuilder.MutableRootMWEDesc - Class in edu.mit.jmwe.index
A root MWE description object whose counts can be incremented.
indexMap - Variable in class edu.mit.jmwe.util.AbstractIndexComparator
 
InflectionError - Class in edu.mit.jmwe.harness.result.error
Finds the MWEs that do not have the same form as the MWE description they are marked with.
InflectionError() - Constructor for class edu.mit.jmwe.harness.result.error.InflectionError
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
InflectionLookup - Class in edu.mit.jmwe.detect
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.
InflectionLookup(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.InflectionLookup
Constructs the detector from the given backing detector.
InflectionPattern - Class in edu.mit.jmwe.detect
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.
InflectionPattern(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.InflectionPattern
Constructs the detector from the given backing detector.
InflectionPatternError - Class in edu.mit.jmwe.harness.result.error
Identifies those multi-word expressions that do not follow the inflection patterns listed in the InflectionRule enum.
InflectionPatternError() - Constructor for class edu.mit.jmwe.harness.result.error.InflectionPatternError
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
InflectionRule - Enum in edu.mit.jmwe.detect
Enumerates the ways in which MWEs with certain parts of speech are allowed to inflect.
inflects(T, IMWE<T>) - Static method in enum edu.mit.jmwe.detect.InflectionRule
Returns true if a the text of a token from an MWE does not equal the corresponding part lemma.
InfMWEDesc - Class in edu.mit.jmwe.data
Default implementation of the IInfMWEDesc interface.
InfMWEDesc(IRootMWEDesc, String) - Constructor for class edu.mit.jmwe.data.InfMWEDesc
Constructs a new MWE description object from the specified root description and inflected form.
InfMWEDesc(IRootMWEDesc, String, int...) - Constructor for class edu.mit.jmwe.data.InfMWEDesc
Constructs a new inflected MWE description object from the specified inflected form, root description, and counts relating to the MWE's appearance in the reference concordance.
InfMWEDesc(IRootMWEDesc, List<String>) - Constructor for class edu.mit.jmwe.data.InfMWEDesc
Constructs a new inflected MWE description object from the specified list of parts and root description
InfMWEDesc(IRootMWEDesc, List<String>, int...) - Constructor for class edu.mit.jmwe.data.InfMWEDesc
Constructs a new MWE description object from the list of parts.
InfMWEDesc.InfMWEDescBuilder - Class in edu.mit.jmwe.data
A builder for inflected MWE description objecgts
InfMWEDesc.InfPart - Class in edu.mit.jmwe.data
Default implementation of the IInfMWEDesc.IInfPart interface.
InfMWEDescBuilder() - Constructor for class edu.mit.jmwe.data.InfMWEDesc.InfMWEDescBuilder
 
InfPart(String, int) - Constructor for class edu.mit.jmwe.data.InfMWEDesc.InfPart
Constructs the part from its text and index in the MWE.
initDoubleMap() - Method in class edu.mit.jmwe.harness.result.MWEResultBuilder
Provides a new, empty map for double values.
initIntegerMap() - Method in class edu.mit.jmwe.harness.result.MWEResultBuilder
Provides a new map for integer values.
InMemoryMWEIndex - Class in edu.mit.jmwe.index
The default abstract implementation of IMWEIndex.
InMemoryMWEIndex() - Constructor for class edu.mit.jmwe.index.InMemoryMWEIndex
 
InOrder - Class in edu.mit.jmwe.detect
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.
InOrder(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.InOrder
Constructs the detector from the given backing detector.
insert(String, IMWEDesc, Map<String, IMWEDescSet>) - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
Adds the specified object to the set indexed under the specified key in the given map.
InterstitialTokens - Class in edu.mit.jmwe.harness.result.error
Counts and stores the multi-word expressions that have tokens that are separated by one or more tokens in the sentence that are not also a part of the MWE.
InterstitialTokens() - Constructor for class edu.mit.jmwe.harness.result.error.InterstitialTokens
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
intValue() - Method in class edu.mit.jmwe.util.AtomicDouble
 
IOverallResult<T extends IToken,S extends IMarkedSentence<T>> - Interface in edu.mit.jmwe.harness.result
Contains results collected from running a test harness over a group of IMarkedSentence objects.
IProgressBar - Interface in edu.mit.jmwe.util
Progress bars allow operations to report progress.
IResultBuilder<T extends IToken,S extends IMarkedSentence<T>> - Interface in edu.mit.jmwe.harness.result
Classes implementing this interface build an IOverallResult object.
IRootMWEDesc - Interface in edu.mit.jmwe.data
A description of a multi-word expression (MWE).
IRootMWEDesc.IRootPart - Interface in edu.mit.jmwe.data
A part of a root multi-word expression.
isComment(String) - Static method in class edu.mit.jmwe.index.InMemoryMWEIndex
Returns true if the given string is a comment; that is, if it starts with '//' or ';;'.
isContentFull() - Method in class edu.mit.jmwe.detect.MWEBuilder
Returns true if the all of the content words in this record are full.
IScorer<T> - Interface in edu.mit.jmwe.detect.score
A scorer provides a score for an object.
isDiscontinuous(IMWE<T>, List<T>) - Static method in class edu.mit.jmwe.detect.Continuous
Determines if the specified MWE is continuous, i.e., there are no interstitial tokens inside its boundaries that are not a part of the MWE.
isDiscontinuous(IMWE<T>, Map<T, Integer>) - Static method in class edu.mit.jmwe.detect.Continuous
Determines if the specified MWE is continuous, i.e., there are no interstitial tokens inside its boundaries that are not a part of the MWE.
ISentenceResult<T extends IToken,S extends IMarkedSentence<T>> - Interface in edu.mit.jmwe.harness.result
Contains results for one IMarkedSentence object.
isFillerForSlot(IToken, IMWEDesc.IPart) - Static method in class edu.mit.jmwe.data.AbstractMWEDesc
Returns true if the part's lemma matches either the surface form of the given token or any of the token's stems, regardless of case.
isFull() - Method in class edu.mit.jmwe.detect.MWEBuilder
Returns true if all the slots in this record contain a token.
isGoodScore(double) - Method in class edu.mit.jmwe.detect.ConstrainLength
 
isGoodScore(double) - Method in class edu.mit.jmwe.detect.FilterByScore
Returns true if the score passes the filter (i.e., the scored MWE should be kept); false otherwise
isGoodScore(double) - Method in class edu.mit.jmwe.detect.LeskAtLeast
 
isGoodScore(double) - Method in class edu.mit.jmwe.detect.MoreFrequentAsMWE
 
isIgnoringProperNouns() - Method in class edu.mit.jmwe.harness.ConcordanceAnswerKey
Returns true if this answer key includes proper nouns in its results; false otherwise
isIllformattedLemma(ISemanticTag) - Static method in class edu.mit.jmwe.harness.ConcordanceAnswerKey
Returns true if the semantic tag of a multi-word expression is null, tags a proper noun, or if the lemma encoded in the semantic tag is not formatted properly, that is, with underscores separating the parts of the multi-word expression.
isInflected() - Method in interface edu.mit.jmwe.data.IMWE
Returns true if this MWE is inflected relative to its associated MWE description; false otherwise.
isInflected() - Method in class edu.mit.jmwe.data.MWE
 
isInflectedByPattern(IMWE<?>) - Static method in enum edu.mit.jmwe.detect.InflectionRule
Returns true if and only if (1) the given multi-word expressions syntactically matches a rule listed in the enumeration InflectionRule and (2) parts inflect according to that rule
isInflectedByPattern(IMWE<?>, Collection<? extends IInflectionRule>) - Static method in enum edu.mit.jmwe.detect.InflectionRule
Returns true if the specified MWE inflects according to some rule in the specified collection; false otherwise.
isMaxLength - Variable in class edu.mit.jmwe.detect.ConstrainLength
 
isMWE(IIndexWord) - Method in class edu.mit.jmwe.index.IndexBuilder
Returns true if the given word is an MWE.
isOpen() - Method in interface edu.mit.jmwe.index.IMWEIndex
Returns whether the index is open.
isOpen() - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
isOutOfOrder(IMWE<T>) - Static method in class edu.mit.jmwe.detect.InOrder
Determines if the constituents of the specified MWE are out of order.
isParticle(T) - Static method in class edu.mit.jmwe.harness.result.error.InterstitialTokens
Returns true if the specified token is tagged as a particle; false otherwise
isPartOfSpeechSatisfied() - Method in class edu.mit.jmwe.detect.MWEBuilder
Returns true if at least one token in one slot matches the part of speech of the MWE description; false otherwise.
isProblem(IMWE<T>, ISentenceResult<T, S>, IMWEDetector) - Static method in class edu.mit.jmwe.harness.result.error.DetectorDisagreement
Determines if the specified MWE is a problem relative to the specified sentence according to this error class.
isProblem(IMWE<T>, IMWEIndex) - Static method in class edu.mit.jmwe.harness.result.error.MissingFromIndex
Determines if the specified MWE is a problem, relative to the specified index, according to this error class.
isProblem(IMWE<T>) - Static method in class edu.mit.jmwe.harness.result.error.VBDVBN
Determines if the specified MWE is a problem according to this error class.
isProperNoun(T) - Static method in class edu.mit.jmwe.detect.ProperNouns
Checks if the token represents a proper noun by checking its part of speech tag.
isSplit(IMWE<T>) - Method in class edu.mit.jmwe.index.IndexBuilder
Returns true if this MWE is not continuous - if it has interstitial tokens that are not a part of it; false otherwise.
isStopWord() - Method in class edu.mit.jmwe.data.AbstractMWEDesc.AbstractPart
 
isStopWord(String) - Method in class edu.mit.jmwe.data.AbstractMWEDesc
Helper method that calculates, for efficiency's sake, whether this MWE part is a stop word.
isStopWord() - Method in interface edu.mit.jmwe.data.IMWEDesc.IPart
Returns true if the part is a stop word, that is, a word that is not usually useful for searching.
isStopWord(String) - Static method in class edu.mit.jmwe.data.StopWords
Returns true if the given lemma is a stop word.
isValid(IMWE<T>) - Method in interface edu.mit.jmwe.detect.IInflectionRule
Returns true if this MWE follows the rule; false otherwise.
isValid(IMWE<T>) - Method in enum edu.mit.jmwe.detect.InflectionRule
 
isValidInterstitial(T, LinkedList<T>) - Method in class edu.mit.jmwe.detect.ProperNouns
Checks if a token that is not a proper noun may still be a part of a proper noun MWE.
iterator() - Method in class edu.mit.jmwe.util.CompositeCollection
 
ITestHarness - Interface in edu.mit.jmwe.harness
Classes implementing this interface test an IMWEDetector by comparing the multi-word expressions it finds to those found in an IAnswerKey object.
IToken - Interface in edu.mit.jmwe.data
A token that is a constituent of an sentence.

J

JWIPOS - Class in edu.mit.jmwe.util
Utility class used to translate part of speech tags into JWI POS objects as well as translate between jMWE, JWI and jSemcor part of speech objects.
JWIPOS() - Constructor for class edu.mit.jmwe.util.JWIPOS
 

L

Leftmost - Class in edu.mit.jmwe.detect
A resolver that chooses the leftmost MWE.
Leftmost(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.Leftmost
Constructs a new resolver that wraps the specified detector
length - Variable in class edu.mit.jmwe.detect.ConstrainLength
 
LengthScore<T extends IToken> - Class in edu.mit.jmwe.detect.score
Scores a MWE with its length
LengthScore() - Constructor for class edu.mit.jmwe.detect.score.LengthScore
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
LeskAtLeast - Class in edu.mit.jmwe.detect
A filter detector that throws out MWEs whose lesk score is less than some value.
LeskAtLeast(IMWEDetector, IDictionary, int) - Constructor for class edu.mit.jmwe.detect.LeskAtLeast
Constructs a new filter that filters out MWEs whose lesk score is not at least some value.
LeskScore<T extends IToken> - Class in edu.mit.jmwe.detect.score
Scores an object with its lesk-score overlap with dictionary glosses.
LeskScore(List<T>, IDictionary) - Constructor for class edu.mit.jmwe.detect.score.LeskScore
Constructs a new lesk scorer for the specified sentence and dictionary.
lexSensePattern - Static variable in class edu.mit.jmwe.harness.ConcordanceAnswerKey
A compiled regular expression pattern that captures the string representation of sense key.
lifecycleLock - Variable in class edu.mit.jmwe.index.InMemoryMWEIndex
 
LimitedIterator<T> - Class in edu.mit.jmwe.util
Wrapper for a given iterator that will return a limited number of elements from that iterator.
LimitedIterator(Iterator<? extends T>, int) - Constructor for class edu.mit.jmwe.util.LimitedIterator
Constructs the limited iterator from a backing iterator and a limit that determines how many of the backing iterator's elements will be returned by the limited iterator.
ListComparator<T> - Class in edu.mit.jmwe.util
Compares two elements from a list based on their order of appearance in the list.
ListComparator(List<T>) - Constructor for class edu.mit.jmwe.util.ListComparator
Constructs the comparator from the given list of objects by mapping each object in the list to its index in the list.
ListComparator(Map<T, Integer>) - Constructor for class edu.mit.jmwe.util.ListComparator
Constructs the comparator from the given index map of each object in a list to its index in the list.
LMLR - Class in edu.mit.jmwe.detect
Stands for "Longest Match, Left to Right".
LMLR(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.LMLR
Constructs the detector from the backing detector.
longest(IMWE<T>, IMWE<T>, Comparator<T>) - Static method in class edu.mit.jmwe.detect.LMLR
Compares two MWEs and returns the longest MWE.
Longest - Class in edu.mit.jmwe.detect
A detector resolver that chooses the longest MWEs in a set of conflicts.
Longest(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.Longest
Constructs a new instance of this detector.
longValue() - Method in class edu.mit.jmwe.util.AtomicDouble
 

M

main(String[]) - Static method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Tags the Semcor corpus.
main(String[]) - Static method in class edu.mit.jmwe.index.IndexBuilder
Constructs the MWE index from Wordnet and Semcor and writes it to a file.
make(URL) - Static method in class edu.mit.jmwe.util.StreamAdapter
Returns an input stream for the specified URL.
make(File) - Static method in class edu.mit.jmwe.util.StreamAdapter
Returns an input stream on the specified file that is backed by a mapped byte buffer, making it much faster than a normal FileInputStream.
makeID(IContextID, int) - Static method in class edu.mit.jmwe.data.concordance.ConcordanceSentence
Returns a string ID constructed from the given IContextID and sentence number.
makePart(String, int) - Method in class edu.mit.jmwe.data.AbstractMWEDesc
Subclasses should implement this method to construct an IMWEDesc.IPart given the form and index of a part of an MWE.
makePart(String, int) - Method in class edu.mit.jmwe.data.InfMWEDesc
 
makePart(String, int) - Method in class edu.mit.jmwe.data.RootMWEDesc
 
makeSentence(ISentence, IStemmer) - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Returns a Stanford parser sentence that contains all the tokens from the specified JSemcor sentence, with MWE expressions broken into their constituent tokens.
makeUnmodifiable() - Method in interface edu.mit.jmwe.index.IMWEDescSet
Makes this set unmodifiable.
makeUnmodifiable() - Method in class edu.mit.jmwe.index.MWEDescSet
 
makeUnmodifiable(Set<E>) - Static method in class edu.mit.jmwe.index.MWEDescSet
Returns an unmodifiable view of the given set.
mark(int) - Method in class edu.mit.jmwe.util.StreamAdapter
 
markSupported() - Method in class edu.mit.jmwe.util.StreamAdapter
 
matches(IMWE<T>) - Method in interface edu.mit.jmwe.detect.IInflectionRule
Returns true if the given MWE has the same syntax as this rule.
matches(IMWE<T>) - Method in enum edu.mit.jmwe.detect.InflectionRule
 
minScore - Variable in class edu.mit.jmwe.detect.LeskAtLeast
 
MissingFromIndex - Class in edu.mit.jmwe.harness.result.error
Finds those MWEs that were not found because they do not appear in the given index.
MissingFromIndex(IMWEIndex) - Constructor for class edu.mit.jmwe.harness.result.error.MissingFromIndex
Constructs a new error detector that looks in the specified index for missing MWEs
MoreFrequentAsMWE - Class in edu.mit.jmwe.detect
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.
MoreFrequentAsMWE(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.MoreFrequentAsMWE
Constructs the detector from the given backing detector.
MutableInfMWEDesc(IRootMWEDesc, String) - Constructor for class edu.mit.jmwe.index.IndexBuilder.MutableInfMWEDesc
Constructs a new MWE description object from the specified root description and inflected form, initialized to zero for all counts.
MutableRootMWEDesc(String, MWEPOS) - Constructor for class edu.mit.jmwe.index.IndexBuilder.MutableRootMWEDesc
Constructs the mutable root description that has no inflected forms with the given surface form and pos, initialized with zero for all 5 counts
MWE<T extends IToken> - Class in edu.mit.jmwe.data
Default implementation of the IMWE interface.
MWE(Map<T, IMWEDesc.IPart>) - Constructor for class edu.mit.jmwe.data.MWE
Constructs a new multi-word expression from a map of tokens to parts.
MWE(Map<T, IMWEDesc.IPart>, boolean) - Constructor for class edu.mit.jmwe.data.MWE
Constructs a new multi-word expression from a map of tokens to parts.
MWEBuilder<T extends IToken> - Class in edu.mit.jmwe.detect
A record that is used to hold tokens as the detector passes over a sentence.
MWEBuilder(IMWEDesc, List<T>) - Constructor for class edu.mit.jmwe.detect.MWEBuilder
Constructs an empty record from the given MWE description and sentence.
MWEBuilder(IMWEDesc, Comparator<T>) - Constructor for class edu.mit.jmwe.detect.MWEBuilder
Constructs an empty record from an IRootMWEDesc object.
MWEComparator<T extends IToken> - Class in edu.mit.jmwe.data
A comparator that compares IMWEs by checking which MWE starts earlier in the list of tokens used to construct this comparator.
MWEComparator(List<T>) - Constructor for class edu.mit.jmwe.data.MWEComparator
Constructs the comparator from the given list of tokens by mapping each token in the list to its index in the list.
MWEComparator(Map<T, Integer>) - Constructor for class edu.mit.jmwe.data.MWEComparator
Constructs the comparator from the given index map of each token in a list to its index in the list.
MWEDescID - Class in edu.mit.jmwe.data
Default implementation of IMWEDescID.
MWEDescID(String, MWEPOS) - Constructor for class edu.mit.jmwe.data.MWEDescID
Constructs this description ID from the MWE's root (non inflected) form and part of speech.
MWEDescID(IMWEDescID, String) - Constructor for class edu.mit.jmwe.data.MWEDescID
Constructs this description ID from the MWE's root ID and inflected form.
MWEDescSet - Class in edu.mit.jmwe.index
Default implementation of the IMWEDescSet interface.
MWEDescSet() - Constructor for class edu.mit.jmwe.index.MWEDescSet
Creates a new empty, mutable MWE desc set.
MWEDescSet(Set<IRootMWEDesc>, Set<IInfMWEDesc>) - Constructor for class edu.mit.jmwe.index.MWEDescSet
Creates a new mutable MWE desc set that contains the specified elements
MWEIndex - Class in edu.mit.jmwe.index
Simple implementation of IMWEIndex that reads an index, possibly with internal comments prefixed by '//' or ';;', from a URL.
MWEIndex(String...) - Constructor for class edu.mit.jmwe.index.MWEIndex
Constructs this index from an array of multi-word expression strings.
MWEIndex(Iterable<String>) - Constructor for class edu.mit.jmwe.index.MWEIndex
Constructs the index from a String of multi-word expressions.
MWEIndex(Map<IMWEDescID, ? extends IRootMWEDesc>) - Constructor for class edu.mit.jmwe.index.MWEIndex
Constructs the index from a map of IMWEDescIDs to IRootMWEDescs.
MWEIndex(File) - Constructor for class edu.mit.jmwe.index.MWEIndex
Constructs the index from the given source file pointing to a list of multi-word expressions.
MWEIndex(URL) - Constructor for class edu.mit.jmwe.index.MWEIndex
Constructs a new MWE index that uses the data from the specified URL to construct its index.
MWEPOS - Enum in edu.mit.jmwe.data
Represents the part of speech of a multi-word expression.
MWEResult<T extends IToken,S extends IMarkedSentence<T>> - Class in edu.mit.jmwe.harness.result
Default implementation of IOverallResult interface.
MWEResult(Map<MWEPOS, Integer>, Map<MWEPOS, Integer>, Map<MWEPOS, Integer>, Map<MWEPOS, Double>, Map<String, ISentenceResult<T, S>>) - Constructor for class edu.mit.jmwe.harness.result.MWEResult
Constructs the result from the answer, found and correct data, and the precision, recall and partial credit scores.
MWEResultBuilder<T extends IToken,S extends IMarkedSentence<T>> - Class in edu.mit.jmwe.harness.result
Builds an MWEResult by processing the data in ISentenceResult objects.
MWEResultBuilder() - Constructor for class edu.mit.jmwe.harness.result.MWEResultBuilder
Constructs a new builder that stores the detailed results obtained from individual sentences.
MWEResultBuilder(boolean) - Constructor for class edu.mit.jmwe.harness.result.MWEResultBuilder
Constructs a new builder that, if the captureDetials flag is true, will stores the detailed results obtained from individual sentences.

N

next - Variable in class edu.mit.jmwe.data.concordance.TaggedConcordanceIterator
 
next() - Method in class edu.mit.jmwe.data.concordance.TaggedConcordanceIterator
 
next() - Method in class edu.mit.jmwe.util.CompositeCollection.CompositeCollectionItr
 
next() - Method in class edu.mit.jmwe.util.LimitedIterator
 
NoInflection - Class in edu.mit.jmwe.detect
A detector that filters the results of its backing detector to return only those MWEs that are not inflected.
NoInflection(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.NoInflection
Constructs the detector from the given backing detector.
NoProperNouns - Class in edu.mit.jmwe.detect
A detector that filters all proper noun MWEs from the results of its backing detector.
NoProperNouns(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.NoProperNouns
Constructs the detector from the given backing detector.
NullProgressBar - Class in edu.mit.jmwe.util
Creates a progress bar that does nothing and prints nothing.
NullProgressBar() - Constructor for class edu.mit.jmwe.util.NullProgressBar
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.

O

open() - Method in interface edu.mit.jmwe.index.IMWEIndex
Prepares the index for use.
open() - Method in class edu.mit.jmwe.index.InMemoryMWEIndex
 
OutOfOrder - Class in edu.mit.jmwe.harness.result.error
Finds the proper noun multi-word expressions with one or more parts tagged as something other than a proper noun that the IMWEDetector failed to identify
OutOfOrder() - Constructor for class edu.mit.jmwe.harness.result.error.OutOfOrder
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
overlap(IMWE<?>, IMWE<?>) - Static method in class edu.mit.jmwe.data.MWE
Returns a score which is the ratio of the number of tokens shared between the two MWEs and the total number of unique tokens in both MWEs together.
overlap(String) - Method in class edu.mit.jmwe.detect.score.LeskScore
Returns the number of elements the gloss has in common with the stemmed word list

P

parse(String) - Static method in class edu.mit.jmwe.data.concordance.ConcordanceSentence
Parses a string formed from the a string of the form
parse(String) - Static method in class edu.mit.jmwe.data.concordance.ConcordanceToken
Parses a string of the form "test_NN_stem1_stem2_..._stemN_1_0" into a ConcordanceToken instance.
parse(String) - Static method in class edu.mit.jmwe.data.RootMWEDesc
Parses the given description string into a root mwe description object.
parseCounts(String) - Static method in class edu.mit.jmwe.data.RootMWEDesc
Parses a string of counts separated by commas into an array of integers.
parseList(String) - Static method in class edu.mit.jmwe.data.concordance.ConcordanceToken
Parses a string formed from the concatenation of strings of the form "test-1-0-NN-stem1:stem2 " into a list of corresponding ConcordanceToken instances.
Part(String, int) - Constructor for class edu.mit.jmwe.data.RootMWEDesc.Part
Constructs the part from its text and index in the MWE.
partialScores - Variable in class edu.mit.jmwe.harness.result.MWEResultBuilder
 
Perfect - Class in edu.mit.jmwe.detect
A detector that finds all of the MWEs in a sentence by using an answer key.
Perfect(IAnswerKey) - Constructor for class edu.mit.jmwe.detect.Perfect
Constructs a new detector that uses the specified answer key
PNounLong - Class in edu.mit.jmwe.harness.result.error
Finds the proper noun multi-word expressions detected by the MWE Detector that are longer than they should be.
PNounLong() - Constructor for class edu.mit.jmwe.harness.result.error.PNounLong
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
PNounShort - Class in edu.mit.jmwe.harness.result.error
Finds the proper noun multi-word expressions detected by the MWE detector that are shorter than they should be.
PNounShort() - Constructor for class edu.mit.jmwe.harness.result.error.PNounShort
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
printTable(StringBuilder, ISentenceResult<T, S>, Formatter) - Static method in class edu.mit.jmwe.harness.result.SentenceResult
Prints a table of the correct, false negative and false positive expressions found by the detector in columns.
printTotals(Map<IMWEDescID, IndexBuilder.MutableRootMWEDesc>) - Method in class edu.mit.jmwe.index.IndexBuilder
Sums all the counts of the MWEs in the given map and prints the totals.
process(Iterable<? extends IConcordance>, SentenceProcessor<HasWord, ? extends TaggedWord>, IStemmer, Writer, IProgressBar) - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Tags the all contexts provided by the concordance set, using the specified tagger, writing the data to the specified writer.
process(IContextID, int, Iterable<? extends IConcordance>, SentenceProcessor<HasWord, ? extends TaggedWord>, IStemmer, Writer, IProgressBar) - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Tags the all contexts provided by the concordance set, using the specified tagger, writing the data to the specified writer.
process(IContextID, ISentence, SentenceProcessor<HasWord, ? extends TaggedWord>, IStemmer, Writer) - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Tags the provided sentence, using the specified tagger, writing the data to the specified writer.
process(List<IMWE<T>>, List<IMWE<T>>) - Method in interface edu.mit.jmwe.harness.result.IResultBuilder
Updates the internal data stored in this builder by comparing the multi-word expressions found by an MWE detector to the answer multi-word expressions.
process(List<IMWE<T>>, List<IMWE<T>>) - Method in class edu.mit.jmwe.harness.result.MWEResultBuilder
 
process(List<IMWE<T>>, List<IMWE<T>>) - Method in class edu.mit.jmwe.harness.result.TokenResultBuilder
 
process(IDictionary, Iterable<? extends IConcordanceSentence>, IConcordanceSet, File, File) - Method in class edu.mit.jmwe.index.IndexBuilder
Constructs the index in five steps:
ProgressBar - Class in edu.mit.jmwe.util
Default implementation of IProgressBar.
ProgressBar(int) - Constructor for class edu.mit.jmwe.util.ProgressBar
Creates a progress bar that expects the specified number of increments.
ProgressBar(int, int) - Constructor for class edu.mit.jmwe.util.ProgressBar
Creates a progress bar that expects the specified number of increments, and reports progress across a bar the specified number of ticks wide.
ProgressBar(int, int, boolean) - Constructor for class edu.mit.jmwe.util.ProgressBar
Constructs a new progress bar that has an expected number of observations compressed into a specified number of ticks, and optionally prints the time and memory delta between instantiation and calling the ProgressBar.finish() method.
ProperNouns - Class in edu.mit.jmwe.detect
Detects the proper nouns in an ISentence.
ProperNouns() - Constructor for class edu.mit.jmwe.detect.ProperNouns
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
punctuation - Static variable in class edu.mit.jmwe.detect.score.LeskScore
 

R

read() - Method in class edu.mit.jmwe.util.StreamAdapter
 
remove() - Method in class edu.mit.jmwe.data.concordance.TaggedConcordanceIterator
 
remove(Object) - Method in class edu.mit.jmwe.index.MWEDescSet
 
remove() - Method in class edu.mit.jmwe.util.CompositeCollection.CompositeCollectionItr
 
remove() - Method in class edu.mit.jmwe.util.LimitedIterator
 
removeAll(Collection<?>) - Method in class edu.mit.jmwe.index.MWEDescSet
 
removeIncorrectInterstitials(LinkedList<T>) - Method in class edu.mit.jmwe.detect.ProperNouns
Removes all the tokens from the end of the given list that are not proper nouns.
replaceNull(Set<E>) - Static method in class edu.mit.jmwe.index.MWEDescSet
If the given set is null, returns the empty set.
reset() - Method in class edu.mit.jmwe.util.StreamAdapter
 
ResolveByScore - Class in edu.mit.jmwe.detect
Abstract base class for MWE detector resolvers that use a simple score to resolve conflicts.
ResolveByScore(IMWEDetector, boolean) - Constructor for class edu.mit.jmwe.detect.ResolveByScore
Constructs a new MWE detector constraint that wraps the specified MWE Detector.
RootMWEDesc - Class in edu.mit.jmwe.data
Default implementation of the IRootMWEDesc interface.
RootMWEDesc(String, MWEPOS) - Constructor for class edu.mit.jmwe.data.RootMWEDesc
Constructs a new MWE description object from the specified surface form and part of speech, that has no inflected forms
RootMWEDesc(String, MWEPOS, Collection<? extends InfMWEDesc.InfMWEDescBuilder>, int...) - Constructor for class edu.mit.jmwe.data.RootMWEDesc
Constructs a new MWE description object from the specified surface form, inflected forms, part of speech, and counts relating to the MWE's appearance in the reference concordance.
RootMWEDesc(List<String>, MWEPOS) - Constructor for class edu.mit.jmwe.data.RootMWEDesc
Constructs a new MWE description object from the specified list of parts and part of speech, that has no inflected forms
RootMWEDesc(List<String>, MWEPOS, Collection<? extends InfMWEDesc.InfMWEDescBuilder>, int...) - Constructor for class edu.mit.jmwe.data.RootMWEDesc
Constructs a new MWE description object from the specified list of parts, inflected forms, part of speech, and counts relating to the MWE's appearance in the reference concordance.
RootMWEDesc.Part - Class in edu.mit.jmwe.data
Default implementation of IRootMWEDesc.IRootPart.
run() - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
 
run(IMWEDetector, IResultBuilder<T, S>, Iterator<S>, IAnswerKey, IProgressBar) - Method in interface edu.mit.jmwe.harness.ITestHarness
Runs the detector in the test harness and stores the results in the provided result builder.
run(Map<IMWEDetector, IResultBuilder<T, S>>, Iterator<S>, IAnswerKey, IProgressBar) - Method in interface edu.mit.jmwe.harness.ITestHarness
Runs the detectors in the test harness and stores the results in the associated result builder.
run(IMWEDetector, IResultBuilder<T, S>, Iterator<S>, IAnswerKey, IProgressBar) - Method in class edu.mit.jmwe.harness.TestHarness
 
run(Map<IMWEDetector, IResultBuilder<T, S>>, Iterator<S>, IAnswerKey, IProgressBar) - Method in class edu.mit.jmwe.harness.TestHarness
 
run() - Method in class edu.mit.jmwe.index.IndexBuilder
 
runDetector(IMWEDetector, IResultBuilder<T, S>, S, List<IMWE<T>>) - Method in class edu.mit.jmwe.harness.TestHarness
Runs the detector over a single sentence, storing the result as an ISentenceResult in the given result builder.
runDetectors(Map<IMWEDetector, IResultBuilder<T, S>>, S, List<IMWE<T>>) - Method in class edu.mit.jmwe.harness.TestHarness
Runs a set of detectors on the specified sentence, comparing the results to the specified answers.

S

score(IMWE<T>) - Method in class edu.mit.jmwe.detect.score.FractionAsMWEScore
 
score(T) - Method in interface edu.mit.jmwe.detect.score.IScorer
Score the specified object.
score(IMWE<T>) - Method in class edu.mit.jmwe.detect.score.LengthScore
 
score(IMWE<T>) - Method in class edu.mit.jmwe.detect.score.LeskScore
 
score(IMWE<T>) - Method in class edu.mit.jmwe.detect.score.StartingIndexScore
 
score(IMWE<T>) - Method in class edu.mit.jmwe.detect.score.VarianceScore
 
semcorTokenPattern - Static variable in class edu.mit.jmwe.data.concordance.ConcordanceToken
A compiled regular expression pattern that captures the string representation of tagged tokens.
SentenceResult<T extends IToken,S extends IMarkedSentence<T>> - Class in edu.mit.jmwe.harness.result
Default implementation of the ISentenceResult interface.
SentenceResult(List<IMWE<T>>, List<IMWE<T>>, S) - Constructor for class edu.mit.jmwe.harness.result.SentenceResult
Constructs a sentence result from a list of answer multi-word expressions and a list of multi-word expressions found by the detector.
SentenceResult(List<IMWE<T>>, List<IMWE<T>>, S, boolean) - Constructor for class edu.mit.jmwe.harness.result.SentenceResult
Constructs a sentence result from a list of answer multi-word expressions and a list of multi-word expressions found by the detector.
set(double) - Method in class edu.mit.jmwe.util.AtomicDouble
Set to the given value.
setIgnoreProperNouns(boolean) - Method in class edu.mit.jmwe.harness.ConcordanceAnswerKey
Sets the flag that, if true, determines that the answer key will include proper nouns in its results.
setLocation(Class<?>, File) - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Sets a default location into the Java Preferences.
setLocation(Class<?>, File) - Method in class edu.mit.jmwe.util.AbstractFileSelector
Sets a location indexed by the specified class as a key.
setTag(String) - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger.TaggerToken
Sets the tag field of this tagger token to the specified tag.
setWord(String) - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger.TaggerToken
 
size() - Method in class edu.mit.jmwe.data.concordance.ConcordanceSentence
 
size() - Method in class edu.mit.jmwe.detect.CompositeDetector
 
size() - Method in class edu.mit.jmwe.harness.result.error.CompositeErrorDetector
 
size() - Method in class edu.mit.jmwe.util.CompositeCollection
 
size() - Method in class edu.mit.jmwe.util.CompositeComparator
 
SmallestVariance - Class in edu.mit.jmwe.detect
A detector resolver that chooses the MWE with the smallest variance.
SmallestVariance(IMWEDetector) - Constructor for class edu.mit.jmwe.detect.SmallestVariance
A new resolver that wraps the specified detector.
source - Variable in class edu.mit.jmwe.data.concordance.TaggedConcordanceIterator
 
splitOnUnderscores(String) - Static method in class edu.mit.jmwe.data.AbstractMWEDesc
Splits a specified string into constituent strings that are separated by underscores.
StartingIndexScore<T extends IToken> - Class in edu.mit.jmwe.detect.score
Scores an MWE with its starting index.
StartingIndexScore(List<T>) - Constructor for class edu.mit.jmwe.detect.score.StartingIndexScore
Constructs a new index scorer for the specified sentence.
stem(String, IWordform, IStemmer) - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger
Stems the given token.
stemmer - Variable in class edu.mit.jmwe.detect.score.LeskScore
 
StopWords - Class in edu.mit.jmwe.data
Standard list of stop words, taken from Apache Lucene library.
StopWords() - Constructor for class edu.mit.jmwe.data.StopWords
 
StopWords - Class in edu.mit.jmwe.detect
Uses the exhaustive strategy specified in Exhaustive to find the MWEs that consist entirely of stop words in a sentence.
StopWords() - Constructor for class edu.mit.jmwe.detect.StopWords
Constructs this detector from the default stop word MWE index.
StopWords(IMWEIndex) - Constructor for class edu.mit.jmwe.detect.StopWords
Constructs this detector from the given stop word MWE index.
StreamAdapter - Class in edu.mit.jmwe.util
An adapter that makes a ByteBuffer look like an InputStream.
StreamAdapter(ByteBuffer) - Constructor for class edu.mit.jmwe.util.StreamAdapter
Creates a new instance of this class that wraps the specified buffer as an InputStream.
subsets - Variable in class edu.mit.jmwe.util.CompositeCollection
 
sumDbl(Iterable<? extends Double>) - Static method in class edu.mit.jmwe.harness.result.MWEResult
Return the sum of all the values stored in the map.
sumInt(Iterable<? extends Integer>) - Static method in class edu.mit.jmwe.harness.result.MWEResult
Return the sum of all the values stored in the map.

T

TaggedConcordanceIterator - Class in edu.mit.jmwe.data.concordance
An iterator over a list of tagged concodrance sentences.
TaggedConcordanceIterator(File) - Constructor for class edu.mit.jmwe.data.concordance.TaggedConcordanceIterator
Constructs the iterator form the given source file.
TaggedConcordanceIterator(URL) - Constructor for class edu.mit.jmwe.data.concordance.TaggedConcordanceIterator
Constructs the iterator from a URL pointing to a list of tagged semcor sentences.
TaggedConcordanceIterator(Reader) - Constructor for class edu.mit.jmwe.data.concordance.TaggedConcordanceIterator
Constructs the iterator from a reader.
taggedSemcorSentencePattern - Static variable in class edu.mit.jmwe.data.concordance.ConcordanceSentence
A compiled regular expression pattern that captures the string representation of a Semcor sentence.
TaggerToken(String, int, int, List<String>) - Constructor for class edu.mit.jmwe.data.concordance.ConcordanceTagger.TaggerToken
Constructs a new tagger token object with the specified word, token number, part number and stems.
TestHarness - Class in edu.mit.jmwe.harness
Runs an IMWEDetector over a corpus and compares the multi-word expressions the detector finds to the multi-word expressions found in the answer key.
TestHarness() - Constructor for class edu.mit.jmwe.harness.TestHarness
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
toDblMap(Map<MWEPOS, AtomicDouble<T, S>>) - Method in class edu.mit.jmwe.harness.result.MWEResultBuilder
Converts a map of AtomicDoubles to a map of Doubles.
toFile(URL) - Static method in class edu.mit.jmwe.util.StreamAdapter
Transforms the specified URL into a File object, if in fact the URL points to a file.
toInfMWEDesc(IRootMWEDesc) - Method in class edu.mit.jmwe.data.InfMWEDesc.InfMWEDescBuilder
Constructs an inflected MWE description from the root description of the MWE.
toIntMap(Map<MWEPOS, AtomicInteger>) - Method in class edu.mit.jmwe.harness.result.MWEResultBuilder
Converts a map of AtomicIntegers to a map of Integers.
Token - Class in edu.mit.jmwe.data
Default implementation of the IToken interface.
Token(String, String) - Constructor for class edu.mit.jmwe.data.Token
Constructs a new token object with the specified text and tag, with no stems yet assigned.
Token(String, String, String...) - Constructor for class edu.mit.jmwe.data.Token
Constructs a new token object with the specified text, tag, and stems.
TokenResultBuilder<T extends IToken,U extends IMarkedSentence<T>> - Class in edu.mit.jmwe.harness.result
A result builder that keeps track of token-level results.
TokenResultBuilder() - Constructor for class edu.mit.jmwe.harness.result.TokenResultBuilder
 
toMWE() - Method in class edu.mit.jmwe.detect.MWEBuilder
Converts the tokens in a full record into an IMWE object.
toMWEPOS(String) - Static method in enum edu.mit.jmwe.data.MWEPOS
This convenience method allows retrieval of the MWEPOS object given the part of speech tag as a String.
toMWEPOS(ISemanticTag) - Static method in class edu.mit.jmwe.index.IndexBuilder
Translates the JSemcor ISemanticTag to a jMWE MWEPOS object.
toMWEPOS(POS) - Static method in class edu.mit.jmwe.util.JWIPOS
Translates a JWI POS object into a jMWE MWEPOS object.
toPOS(MWEPOS) - Static method in class edu.mit.jmwe.util.JWIPOS
Translates a jMWE MWEPOS object into a JWI POS object.
toPOS(IPOSTag) - Static method in class edu.mit.jmwe.util.JWIPOS
Translates a JSemcor IPOSTag object into a JWI POS object.
toPOS(String) - Static method in class edu.mit.jmwe.util.JWIPOS
Translates a pos tag into a JWI POS object.
toString() - Method in class edu.mit.jmwe.data.AbstractMWEDesc.AbstractPart
 
toString() - Method in class edu.mit.jmwe.data.AbstractMWEDesc
 
toString() - Method in class edu.mit.jmwe.data.concordance.ConcordanceSentence
 
toString() - Method in class edu.mit.jmwe.data.concordance.ConcordanceToken
 
toString(IConcordanceToken) - Static method in class edu.mit.jmwe.data.concordance.ConcordanceToken
Returns the String representation of the given token.
toString() - Method in class edu.mit.jmwe.data.MWE
 
toString() - Method in class edu.mit.jmwe.data.MWEDescID
 
toString(IMWEDescID) - Static method in class edu.mit.jmwe.data.MWEDescID
Returns the String representation of the given id.
toString(IMWEDescID, Appendable) - Static method in class edu.mit.jmwe.data.MWEDescID
Returns the String representation of the given id as: form_POS/infform
toString(IRootMWEDesc) - Static method in class edu.mit.jmwe.data.RootMWEDesc
Returns the String representation of the given description.
toString(IRootMWEDesc, Appendable) - Static method in class edu.mit.jmwe.data.RootMWEDesc
Returns the String representation of the given description as:
toString(int[], Appendable) - Static method in class edu.mit.jmwe.data.RootMWEDesc
Returns a string containing the given counts as
toString() - Method in class edu.mit.jmwe.data.Token
 
toString() - Method in enum edu.mit.jmwe.detect.InflectionRule
 
toString() - Method in class edu.mit.jmwe.detect.MWEBuilder
 
toString() - Method in class edu.mit.jmwe.harness.result.ErrorResult
 
toString(IErrorResult<T>) - Static method in class edu.mit.jmwe.harness.result.ErrorResult
Creates a table displaying the number of instances of each error class.
toString() - Method in class edu.mit.jmwe.harness.result.MWEResult
 
toString(IOverallResult<?, ?>) - Static method in class edu.mit.jmwe.harness.result.MWEResult
Creates a table displaying the number of answer, found and correct multi-word expressions and the precision, recall and partial credit scores of the detector for each part of speech.
toString() - Method in class edu.mit.jmwe.harness.result.MWEResultBuilder
 
toString() - Method in class edu.mit.jmwe.harness.result.SentenceResult
 
toString(ISentenceResult<T, U>, U) - Static method in class edu.mit.jmwe.harness.result.SentenceResult
Creates a graphical representation of the multi-word expressions found by the detector for a given sentence.
toString(ISentenceResult<T, S>, S, boolean) - Static method in class edu.mit.jmwe.harness.result.SentenceResult
Creates a graphical representation of the multi-word expressions found by the detector for a given sentence.
toString() - Method in class edu.mit.jmwe.util.AtomicDouble
 
toToken(int, int, IWordform, ISentence) - Static method in class edu.mit.jmwe.data.concordance.ConcordanceToken
Constructs a semcor token object from the given token number, part number, IWordform, and sentence drawn from the semcor corpus.
toTokens(IToken, int, ISentence) - Static method in class edu.mit.jmwe.data.concordance.ConcordanceToken
Returns a list of Concordance token objects if the token specified by the token number in the sentence is a continuous MWE.
toURL(File) - Static method in class edu.mit.jmwe.util.StreamAdapter
Transforms a file into a URL
TrulyExhaustive - Class in edu.mit.jmwe.detect
Returns a composite detector backed by the Exhaustive and StopWords detection strategies.
TrulyExhaustive(IMWEIndex) - Constructor for class edu.mit.jmwe.detect.TrulyExhaustive
Constructs a new detector that looks up everything, stop words included.

U

underscore - Static variable in interface edu.mit.jmwe.data.IMWEDesc
The pattern consisting of a single underscore.
underscores - Static variable in interface edu.mit.jmwe.data.IMWEDesc
The pattern consisting of one or more underscores.
UntaggedPNoun - Class in edu.mit.jmwe.harness.result.error
Finds the proper noun multi-word expressions with one or more parts tagged as something other than a proper noun that the IMWEDetector failed to identify
UntaggedPNoun() - Constructor for class edu.mit.jmwe.harness.result.error.UntaggedPNoun
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
UTF8 - Static variable in class edu.mit.jmwe.util.StreamAdapter
The string that indicates the UTF8 character encoding.

V

valueOf(String) - Static method in enum edu.mit.jmwe.data.MWEPOS
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum edu.mit.jmwe.detect.InflectionRule
Returns the enum constant of this type with the specified name.
values() - Static method in enum edu.mit.jmwe.data.MWEPOS
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum edu.mit.jmwe.detect.InflectionRule
Returns an array containing the constants of this enum type, in the order they are declared.
VarianceScore<T extends IToken> - Class in edu.mit.jmwe.detect.score
Scores each MWE with its index variance.
VarianceScore(List<T>) - Constructor for class edu.mit.jmwe.detect.score.VarianceScore
Constructs a new variance scorer for the specified sentence
VBDVBN - Class in edu.mit.jmwe.harness.result.error
Finds the two-token MWEs that have the tag sequence VBD_VBN.
VBDVBN() - Constructor for class edu.mit.jmwe.harness.result.error.VBDVBN
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.

W

whitespace - Static variable in class edu.mit.jmwe.detect.score.LeskScore
 
whitespaceDelimited - Static variable in class edu.mit.jmwe.data.concordance.ConcordanceToken
A compiled regular expression a non-empty run of whitespace.
word() - Method in class edu.mit.jmwe.data.concordance.ConcordanceTagger.TaggerToken
 
writeDataFile(IMWEIndex, OutputStream, Iterable<String>) - Static method in class edu.mit.jmwe.index.IndexBuilder
Writes the MWEIndex data to the specified file.
writeIndexFile(IMWEIndex, OutputStream, Iterable<String>) - Static method in class edu.mit.jmwe.index.IndexBuilder
Writes the MWEIndex index to the specified file.
WrongPOS - Class in edu.mit.jmwe.harness.result.error
Finds the multi-word expressions detected by the IMWEDetector that have the right tokens but the wrong part of speech.
WrongPOS() - Constructor for class edu.mit.jmwe.harness.result.error.WrongPOS
This constructor is marked protected so that this class may be subclassed, but not directly instantiated.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links

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