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

A

accept(File) - Method in class edu.mit.jsemcor.main.FileConcordance.SemcorContextFileFilter
 
AMPERSAND - Static variable in class edu.mit.jsemcor.element.Punc
 
APOSTROPHE - Static variable in class edu.mit.jsemcor.element.Punc
 
apostropheS - Static variable in class edu.mit.jsemcor.detokenize.ApostropheSRule
The apostrophe-s String.
ApostropheSRule - Class in edu.mit.jsemcor.detokenize
A separator rule encoding the fact that the string separating a word and it's following apostrophe-s ('s) should not be separated by whitespace.
ApostropheSRule() - Constructor for class edu.mit.jsemcor.detokenize.ApostropheSRule
This constructor is marked protected so that this class may be sub-classed, but not directly instantiated.
ATTR - Static variable in interface edu.mit.jsemcor.term.INote
The attribute tag used in SGML-like format context files for these objects.
ATTR_CMD - Static variable in interface edu.mit.jsemcor.term.ICommand
The attribute tag used in SGML-like format context files for these objects.
ATTR_CONCORDANCE - Static variable in interface edu.mit.jsemcor.element.IContext
The string that marks the concordance attribute in the <contextfile> tag.
ATTR_DC - Static variable in interface edu.mit.jsemcor.element.IWordform
String used as the attribute for the distance integer.
ATTR_FILENAME - Static variable in interface edu.mit.jsemcor.element.IContext
The string that marks the filename attribute in the <context> tag.
ATTR_LEMMA - Static variable in interface edu.mit.jsemcor.element.ISemanticTag
The attribute key for the lemma in semantic tags.
ATTR_LEXSN - Static variable in interface edu.mit.jsemcor.element.ISemanticTag
The attribute key for the lexical sense string.
ATTR_NUM - Static variable in interface edu.mit.jsemcor.element.IContext
The string that ends both snum= and pnum= number attributes in context file data.
ATTR_OT - Static variable in interface edu.mit.jsemcor.term.IOtherTag
The attribute tag used in SGML-like format context files for these category objects.
ATTR_PARAS - Static variable in interface edu.mit.jsemcor.element.IContext
The string the marks the has paragraphs attribute in the <context> tag.
ATTR_PN - Static variable in interface edu.mit.jsemcor.term.ICategory
The attribute tag used in SGML-like format context files for these category objects, 'pn'
ATTR_PNUM - Static variable in interface edu.mit.jsemcor.element.IParagraph
The attributes that marks the number of a sentence.
ATTR_POS - Static variable in interface edu.mit.jsemcor.term.IPOSTag
The attribute tag used in SGML-like format context files for these objects.
ATTR_RDF - Static variable in interface edu.mit.jsemcor.element.IWordform
String used as the attribute for redefinition strings.
ATTR_SEP - Static variable in interface edu.mit.jsemcor.element.IWordform
String used as the attribute for separator strings.
ATTR_SNUM - Static variable in interface edu.mit.jsemcor.element.ISentence
The attributes that marks the number of a sentence.
ATTR_TAGNOTE - Static variable in interface edu.mit.jsemcor.term.INoteType
The attribute tag used in SGML-like format context files for these category objects, 'tagnote'
ATTR_WNSN - Static variable in interface edu.mit.jsemcor.element.ISemanticTag
The attribute key for the wordnet sense string.
available() - Method in class edu.mit.jsemcor.main.BufferToStreamAdapter
 

B

backingMap - Variable in class edu.mit.jsemcor.main.URLConcordanceSet
This is the actual modifiable map that holds the list of concordance names mapped to the actual concordance objects.
BufferToStreamAdapter - Class in edu.mit.jsemcor.main
Simple adapter that makes an java.nio.ByteBuffer look like an InputStream.
BufferToStreamAdapter(ByteBuffer) - Constructor for class edu.mit.jsemcor.main.BufferToStreamAdapter
Creates a new instance of this class that wraps the specified buffer as an InputStream.

C

cache - Variable in class edu.mit.jsemcor.main.URLConcordance
The cache where context objects are stored.
cacheLimit - Variable in class edu.mit.jsemcor.main.URLConcordanceSet
The cache limit as passed to the constructor, or as most recently set using URLConcordanceSet.setCacheLimit(int)
Category - Class in edu.mit.jsemcor.term
The default, concrete implementation of ICategory, with all category types listed in the Semcor documentation.
Category(String) - Constructor for class edu.mit.jsemcor.term.Category
Constructs a new Category with the specified value.
CC - Static variable in class edu.mit.jsemcor.term.POSTag
 
CD - Static variable in class edu.mit.jsemcor.term.POSTag
 
checkAttribute(String, String) - Method in class edu.mit.jsemcor.data.ContextParser
Checks to see if the specified value is null or all whitespace.
checkOpen() - Method in class edu.mit.jsemcor.main.URLConcordance
If the concordance is not open, calling this method will result in a ConcordanceClosedException; if the provider is open, nothing will happen.
checkOpen() - Method in class edu.mit.jsemcor.main.URLConcordanceSet
If the all concordances in the set are not open, calling this method will result in a ConcordanceClosedException.
checkSentenceNumber(int) - Static method in class edu.mit.jsemcor.element.Sentence
Throws an IllegalArgumentException if the specified number is not a valid sentence number.
checkWordNumber(int) - Static method in class edu.mit.jsemcor.element.Wordform
Throws an IllegalArgumentException if the specified number is not a valid word number.
close() - Method in class edu.mit.jsemcor.main.BufferToStreamAdapter
 
close() - Method in interface edu.mit.jsemcor.main.IConcordance
This closes the concordance by disposing of data backing objects or connections.
close() - Method in interface edu.mit.jsemcor.main.IConcordanceSet
This closes the concordance by disposing of data backing objects or connections.
close() - Method in class edu.mit.jsemcor.main.URLConcordance
 
close() - Method in class edu.mit.jsemcor.main.URLConcordanceSet
 
CLOSE_QUOTE - Static variable in interface edu.mit.jsemcor.element.IElement
The quote character, which is used at the end of values that need to be surrounded by quotation marks in context files.
CLOSED_QUOTE - Static variable in class edu.mit.jsemcor.element.Punc
 
COLON - Static variable in class edu.mit.jsemcor.element.Punc
 
COMMA - Static variable in class edu.mit.jsemcor.element.Punc
 
Command - Class in edu.mit.jsemcor.term
The default, concrete implementation of ICommand, for use with SemCor.
Command(String, String) - Constructor for class edu.mit.jsemcor.term.Command
Constructs a new Category with the specified name.
compare(String, String) - Method in class edu.mit.jsemcor.tags.TagFileLineComparator
 
COMPLEX_PREP - Static variable in class edu.mit.jsemcor.term.OtherTag
 
CompositeDetokenizer - Class in edu.mit.jsemcor.detokenize
An implementation of a detokenizer that is a composite of other detokenizers.
CompositeDetokenizer() - Constructor for class edu.mit.jsemcor.detokenize.CompositeDetokenizer
Constructs an instance of this class with no separator rules.
CompositeDetokenizer(Collection<? extends ISeparatorRule>) - Constructor for class edu.mit.jsemcor.detokenize.CompositeDetokenizer
Constructs an instance of this class with the specified separator rules.
CompositeDetokenizer(ISeparatorRule...) - Constructor for class edu.mit.jsemcor.detokenize.CompositeDetokenizer
Constructs an instance of this class with the specified separator rules.
ConcordanceClosedException - Exception in edu.mit.jsemcor.main
Indicates that the concordance was not open when data was requested of it.
ConcordanceClosedException() - Constructor for exception edu.mit.jsemcor.main.ConcordanceClosedException
Constructs a new exception with null as its detail message.
ConcordanceClosedException(String) - Constructor for exception edu.mit.jsemcor.main.ConcordanceClosedException
Constructs a new exception with the specified detail message.
ConcordanceClosedException(String, Throwable) - Constructor for exception edu.mit.jsemcor.main.ConcordanceClosedException
Constructs a new exception with the specified detail message and cause.
ConcordanceClosedException(Throwable) - Constructor for exception edu.mit.jsemcor.main.ConcordanceClosedException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
Context - Class in edu.mit.jsemcor.element
Default, concrete implementation of the IContext interface.
Context(IContextID, String, String, List<? extends IElement>, boolean) - Constructor for class edu.mit.jsemcor.element.Context
Constructs a new context.
ContextID - Class in edu.mit.jsemcor.element
Default, concrete implementation of the IContextID interface.
ContextID(String, String) - Constructor for class edu.mit.jsemcor.element.ContextID
Constructs a new context id object out the specified context and concordance names.
contextMap - Variable in class edu.mit.jsemcor.main.URLConcordance
The map that contains IContextID objects mapped to their URL locations.
ContextParser - Class in edu.mit.jsemcor.data
Default, concrete implementation of the IContextParser interface.
ContextParser() - Constructor for class edu.mit.jsemcor.data.ContextParser
This constructor is marked protected so that this class may be sub-classed, but not directly instantiated.
ContractionRule - Class in edu.mit.jsemcor.detokenize
Implements a rule encoding the fact that the contractions 're, n't and 've come directly after the previous token, with no space.
ContractionRule() - Constructor for class edu.mit.jsemcor.detokenize.ContractionRule
This constructor is marked protected so that this class may be sub-classed, but not directly instantiated.
CONTRACTIONS - Static variable in class edu.mit.jsemcor.detokenize.ContractionRule
The unmodifiable set of contractions used in this rule.
createTagIndex() - Method in class edu.mit.jsemcor.main.FileConcordance
 
createTagIndex() - Method in class edu.mit.jsemcor.main.URLConcordance
This method is called during URLConcordance.open() to construct the tag index object.
createTokenList(String) - Method in class edu.mit.jsemcor.element.Wordform
Constructs a list of tokens from a text string.

D

DEFAULT_CACHE_LIMIT - Static variable in class edu.mit.jsemcor.main.URLConcordance
The default cache size
DEFAULT_DC - Static variable in interface edu.mit.jsemcor.element.IWordform
Default distance value, 0.
DEFAULT_SEP - Static variable in interface edu.mit.jsemcor.element.IWordform
Space, the default separator character.
DefaultDetokenizer - Class in edu.mit.jsemcor.detokenize
Creates a composite detokenizer with all the standard rules.
DefaultDetokenizer() - Constructor for class edu.mit.jsemcor.detokenize.DefaultDetokenizer
Returns a new instance of the default detokenizer, that can be modified by the caller.
DEGREES - Static variable in class edu.mit.jsemcor.element.Punc
 
DelimiterRule - Class in edu.mit.jsemcor.detokenize
Implements a rule encoding the fact that there are spaces before but not after opening parentheses, brackets, and quotes, and spaces after and not before closing instances of the same.
DelimiterRule() - Constructor for class edu.mit.jsemcor.detokenize.DelimiterRule
This constructor is marked protected so that this class may be sub-classed, but not directly instantiated.
detokenize(List<IToken>) - Method in class edu.mit.jsemcor.detokenize.CompositeDetokenizer
 
detokenize(List<IToken>) - Method in interface edu.mit.jsemcor.detokenize.IDetokenizer
Transforms the list of tokens into a properly whitespace-separated string.
detokenizeStrings(List<String>) - Method in class edu.mit.jsemcor.detokenize.CompositeDetokenizer
 
detokenizeStrings(List<String>) - Method in interface edu.mit.jsemcor.detokenize.IDetokenizer
Transforms the list of tokens into a properly whitespace-separated string.
DIR_NAME_TAGFILES - Static variable in class edu.mit.jsemcor.main.FileConcordance
The default name of the tag file directory that contains the context data files.
DOLLAR_SIGN - Static variable in class edu.mit.jsemcor.element.Punc
 
DollarSignRule - Class in edu.mit.jsemcor.detokenize
Implements a rule encoding the fact that if a dollar sign is followed by an adjective (JJ*) or a cardinal number (CD), there is no space between them, e.g., Vandiver likely will mention the $100 million highway bond issue approved earlier... (JJ, from br-a01), and The bill would increase from $5000000 to $15000000 the maximum loan the state could make... (CD, from br-a02).
DollarSignRule() - Constructor for class edu.mit.jsemcor.detokenize.DollarSignRule
This constructor is marked protected so that this class may be sub-classed, but not directly instantiated.
DONE - Static variable in class edu.mit.jsemcor.term.Command
 
DT - Static variable in class edu.mit.jsemcor.term.POSTag
 

E

edu.mit.jsemcor.data - package edu.mit.jsemcor.data
Provides an interface, and a default implementation of that interface, that governs transforming character data into IContext objects.
edu.mit.jsemcor.detokenize - package edu.mit.jsemcor.detokenize
Provides interfaces and default implementations for classes that provide the ability to generate free text from Semcor files.
edu.mit.jsemcor.element - package edu.mit.jsemcor.element
Provides interfaces and default implementations for objects representing paragraphs, sentences, and tokens.
edu.mit.jsemcor.main - package edu.mit.jsemcor.main
Provides the main concordance interfaces and default implementations.
edu.mit.jsemcor.tags - package edu.mit.jsemcor.tags
Provides interfaces and default implementations for objects that allow searching of a concordance via taglist files.
edu.mit.jsemcor.term - package edu.mit.jsemcor.term
Provides interfaces and default implementations for objects representing annotation information on tokens.
EMPTY - Static variable in interface edu.mit.jsemcor.detokenize.ISeparatorRule
Convenience field that holdS the empty string.
entrySet() - Method in class edu.mit.jsemcor.main.URLConcordanceSet
 
equals(Object) - Method in class edu.mit.jsemcor.element.ContextID
 
EQUALS - Static variable in interface edu.mit.jsemcor.element.IElement
The equals character, used to separate the attribute name from the value in SGML-like representations of this terminal element.
EX - Static variable in class edu.mit.jsemcor.term.POSTag
 
EXCLAMATION_PT - Static variable in class edu.mit.jsemcor.element.Punc
 
extractAttributeValue(String, StringBuilder) - Static method in class edu.mit.jsemcor.data.ContextParser
Given a line of the form {@code extractConcordanceName(URL) - Method in class edu.mit.jsemcor.main.FileConcordance
 
extractConcordanceName(URL) - Method in class edu.mit.jsemcor.main.URLConcordance
Returns the concordance name given the concordance URL.

F

FILE_NAME_TAGLIST - Static variable in class edu.mit.jsemcor.main.FileConcordance
The default name of the tag index file that contains the tag index data.
FILE_PROTOCOL - Static variable in class edu.mit.jsemcor.main.BufferToStreamAdapter
The string that indicates the file protocol.
FileBasedTagIndex - Class in edu.mit.jsemcor.tags
Default, concrete implementation of the ITagIndex interface.
FileBasedTagIndex(String, File) - Constructor for class edu.mit.jsemcor.tags.FileBasedTagIndex
Constructs a new tag index for the concordance of the specified name, using the specified File as a data source.
FileBasedTagIndex.TagListFileIterator - Class in edu.mit.jsemcor.tags
Iterates over lines in a file.
FileBasedTagIndex.TagListFileIterator(ByteBuffer) - Constructor for class edu.mit.jsemcor.tags.FileBasedTagIndex.TagListFileIterator
Constructs a new iterator ontop of the specified buffer.
FileConcordance - Class in edu.mit.jsemcor.main
The default concrete implementation of the IConcordance interface that uses directories and files on the local filesystem to back the concordances and contexts.
FileConcordance(URL) - Constructor for class edu.mit.jsemcor.main.FileConcordance
Constructs a new concordance whose root directory is the specified File.
FileConcordance(URL, boolean) - Constructor for class edu.mit.jsemcor.main.FileConcordance
Constructs a new concordance whose base directory is the specified URL, with caching turned on or off according to the flag.
FileConcordance(URL, boolean, int) - Constructor for class edu.mit.jsemcor.main.FileConcordance
Constructs a new concordance whose base directory is the specified URL, with caching turned on or off according to the flag, and the specified cache limit.
FileConcordance.SemcorContextFileFilter - Class in edu.mit.jsemcor.main
A context file filter that only returns files named in the standard semcor naming pattern.
FileConcordance.SemcorContextFileFilter() - Constructor for class edu.mit.jsemcor.main.FileConcordance.SemcorContextFileFilter
 
fillContextURLMap(Map<IContextID, URL>) - Method in class edu.mit.jsemcor.main.FileConcordance
 
fillContextURLMap(Map<IContextID, URL>) - Method in class edu.mit.jsemcor.main.URLConcordance
This method is called during URLConcordance.open() to construct a map from context id objects to the URLs from which the context contents can be downloaded.
FOREIGN_WORD - Static variable in class edu.mit.jsemcor.term.OtherTag
 
FORWARD_SLASH - Static variable in interface edu.mit.jsemcor.element.IElement
Character used to start the right-hand tag, /
FW - Static variable in class edu.mit.jsemcor.term.POSTag
 

G

get(int) - Method in class edu.mit.jsemcor.element.Paragraph
 
get(int) - Method in class edu.mit.jsemcor.element.Sentence
 
get(int) - Method in class edu.mit.jsemcor.tags.TagList
 
getAttribute() - Method in interface edu.mit.jsemcor.term.ITerminal
Returns the attribute string for this terminal type.
getAttribute() - Method in class edu.mit.jsemcor.term.Terminal
 
getCache() - Method in class edu.mit.jsemcor.main.URLConcordance
Returns the actual cache map object, so that it can be directly manipulated by clients.
getCacheLimit() - Method in class edu.mit.jsemcor.main.URLConcordance
Returns the current cache limit set on this concordance set
getCollocations() - Method in interface edu.mit.jsemcor.element.ISentence
Returns a non-null, though possibly empty, list of lists of word forms, corresponding to the set of multi-wordform collocations that are declared in the underlying context data.
getCollocations() - Method in class edu.mit.jsemcor.element.Sentence
 
getCommand() - Method in interface edu.mit.jsemcor.element.IWordform
Returns the command associated with this word form.
getCommand() - Method in class edu.mit.jsemcor.element.Wordform
 
getConcordanceName() - Method in class edu.mit.jsemcor.element.ContextID
 
getConcordanceName() - Method in interface edu.mit.jsemcor.element.IContextID
Returns the concordance for this context.
getConcordanceName() - Method in class edu.mit.jsemcor.tags.FileBasedTagIndex
 
getConcordanceName() - Method in interface edu.mit.jsemcor.tags.ITagIndex
Returns the name of the concordance to which this tag index applies.
getConcordances() - Method in class edu.mit.jsemcor.main.Semcor
 
getConcordances() - Method in class edu.mit.jsemcor.main.URLConcordanceSet
Subclasses must implement this method so that the concordance set can obtain the URLConcordance objects from the root URL.
getConstituentTokens() - Method in interface edu.mit.jsemcor.element.IWordform
Returns a list of the tokens that make up this word form, that is, a list of the strings that are separated by underscores in the string returned by IToken.getText(), excluding trailing and leading empty strings.
getConstituentTokens() - Method in class edu.mit.jsemcor.element.Wordform
 
getContext(String) - Method in interface edu.mit.jsemcor.main.IConcordance
A convenience method, identical to IConcordance.getContext(IContextID)
getContext(IContextID) - Method in interface edu.mit.jsemcor.main.IConcordance
A convenience method that first checks to see if the IContextID.getContextName() equals this concordance's name; if so, the result is the same as calling IConcordance.getContext(String).
getContext(String, String) - Method in interface edu.mit.jsemcor.main.IConcordanceSet
A convenience method, identical to IConcordanceSet.getContext(IContextID)
getContext(IContextID) - Method in interface edu.mit.jsemcor.main.IConcordanceSet
Returns the specified context, if this concordance set is open and the specified context can be found.
getContext(String) - Method in class edu.mit.jsemcor.main.URLConcordance
 
getContext(IContextID) - Method in class edu.mit.jsemcor.main.URLConcordance
 
getContext(String, String) - Method in class edu.mit.jsemcor.main.URLConcordanceSet
 
getContext(IContextID) - Method in class edu.mit.jsemcor.main.URLConcordanceSet
 
getContextFileFilter() - Method in class edu.mit.jsemcor.main.FileConcordance
Returns an instance of a file filter that, when applied to a taglist directory in a concordance, returns only context files.
getContextID() - Method in interface edu.mit.jsemcor.tags.ISenseLocation
Returns the context id associated with this sense location
getContextID() - Method in class edu.mit.jsemcor.tags.SenseLocation
 
getContextIDs() - Method in interface edu.mit.jsemcor.main.IConcordance
Returns a set of context id objects for all contexts in this concordance.
getContextIDs() - Method in class edu.mit.jsemcor.main.URLConcordance
 
getContextName() - Method in class edu.mit.jsemcor.element.ContextID
 
getContextName() - Method in interface edu.mit.jsemcor.element.IContextID
Returns the name of this context.
getCorpus() - Method in class edu.mit.jsemcor.element.Context
 
getCorpus() - Method in interface edu.mit.jsemcor.element.IContext
The value of the 'concordance' attribute in the contextfile tag.
getData() - Method in class edu.mit.jsemcor.element.Context
 
getData() - Method in interface edu.mit.jsemcor.element.IElement
Returns the String representation of this element, as it would be found in the concordance file.
getData() - Method in class edu.mit.jsemcor.element.Paragraph
 
getData() - Method in class edu.mit.jsemcor.element.Punc
 
getData() - Method in class edu.mit.jsemcor.element.SemanticTag
 
getData() - Method in class edu.mit.jsemcor.element.Sentence
 
getData() - Method in class edu.mit.jsemcor.element.Wordform
 
getData() - Method in class edu.mit.jsemcor.term.Note
 
getData() - Method in class edu.mit.jsemcor.term.Terminal
 
getDisplayCharacter() - Method in interface edu.mit.jsemcor.element.IPunc
Returns the character that is used to display this punctuation on screen.
getDisplayCharacter() - Method in class edu.mit.jsemcor.element.Punc
 
getDistance() - Method in interface edu.mit.jsemcor.element.IWordform
Indicates that word is part of a discontinuous collocation in which the words comprising the collocation are not adjacent.
getDistance() - Method in class edu.mit.jsemcor.element.Wordform
 
getFilename() - Method in class edu.mit.jsemcor.element.Context
 
getFilename() - Method in interface edu.mit.jsemcor.element.IContext
The value of the 'filename' attribute in the context tag.
getID() - Method in class edu.mit.jsemcor.element.Context
 
getID() - Method in interface edu.mit.jsemcor.element.IContext
Returns the context id (usually equivalent to the filename), which can be used to retrieve this context from a concordance
getInstance() - Static method in class edu.mit.jsemcor.data.ContextParser
Returns (initializing if necessary) the static singleton instance of this class.
getInstance() - Static method in class edu.mit.jsemcor.detokenize.ApostropheSRule
Returns (initializing if necessary) the static singleton instance of this class.
getInstance() - Static method in class edu.mit.jsemcor.detokenize.ContractionRule
Returns (initializing if necessary) the static singleton instance of this class.
getInstance() - Static method in class edu.mit.jsemcor.detokenize.DelimiterRule
Returns (initializing if necessary) the static singleton instance of this class.
getInstance() - Static method in class edu.mit.jsemcor.detokenize.DollarSignRule
Returns (initializing if necessary) the static singleton instance of this class.
getInstance() - Static method in class edu.mit.jsemcor.detokenize.PhraseDelimiterRule
Returns (initializing if necessary) the static singleton instance of this class.
getInstance() - Static method in class edu.mit.jsemcor.detokenize.SentenceFinalPuncRule
Returns (initializing if necessary) the static singleton instance of this class.
getInstance(String) - Static method in class edu.mit.jsemcor.element.Punc
Returns the Punc object for the specified value, or null if there no static final instance for this value exists.
getInstance() - Static method in class edu.mit.jsemcor.tags.TagFileLineComparator
Returns (and initializes if necessary) the singleton instance of this class.
getInstance() - Static method in class edu.mit.jsemcor.tags.TagFileLineParser
Returns (and initializes if necessary) the singleton instance of this class.
getInstance(String) - Static method in class edu.mit.jsemcor.term.Category
Returns the Category object for the specified value, or null if there is none.
getInstance(String) - Static method in class edu.mit.jsemcor.term.Command
Returns the Command object for the specified value, or null if there is none.
getInstance(String) - Static method in class edu.mit.jsemcor.term.NoteType
Returns the NoteType object for the specified name, or null if there is none.
getInstance(String) - Static method in class edu.mit.jsemcor.term.OtherTag
Returns the OtherTag object for the specified value, or null if there is none.
getInstance(String) - Static method in class edu.mit.jsemcor.term.POSTag
Returns the POSTag object for the specified name, or null if there is none.
getLemma() - Method in interface edu.mit.jsemcor.element.ISemanticTag
The value of the lemma attribute for this semantic tag.
getLemma() - Method in class edu.mit.jsemcor.element.SemanticTag
 
getLexicalSense() - Method in interface edu.mit.jsemcor.element.ISemanticTag
The value of the lexical sense attribute.
getLexicalSense() - Method in class edu.mit.jsemcor.element.SemanticTag
 
getLine(String) - Method in class edu.mit.jsemcor.tags.FileBasedTagIndex
Finds the line that starts with the specified string.
getLine(ByteBuffer) - Method in class edu.mit.jsemcor.tags.FileBasedTagIndex
Returns the String from the current position up to, and including, the next set of newline characters ('\n', '\r', or '\r\n').
getMeaning() - Method in class edu.mit.jsemcor.term.Command
 
getMeaning() - Method in interface edu.mit.jsemcor.term.ICommand
Returns a human-readable description of what this tag means, if anything.
getMeaning() - Method in interface edu.mit.jsemcor.term.IPOSTag
A human-readable interpretation of what this part of speech represents.
getMeaning() - Method in class edu.mit.jsemcor.term.POSTag
 
getName() - Method in interface edu.mit.jsemcor.element.IPunc
Returns a user-readable name that identifies this punctuation object.
getName() - Method in class edu.mit.jsemcor.element.Punc
 
getName() - Method in interface edu.mit.jsemcor.main.IConcordance
Returns the name of the concordance, which is a non-null, non-empty string.
getName() - Method in class edu.mit.jsemcor.main.URLConcordance
 
getNumber() - Method in interface edu.mit.jsemcor.element.IParagraph
Returns the number of the paragraph.
getNumber() - Method in interface edu.mit.jsemcor.element.ISentence
Gets the number of this sentence.
getNumber() - Method in interface edu.mit.jsemcor.element.IWordform
Returns the word number in the sentence.
getNumber() - Method in class edu.mit.jsemcor.element.Paragraph
 
getNumber() - Method in class edu.mit.jsemcor.element.Sentence
 
getNumber() - Method in class edu.mit.jsemcor.element.Wordform
 
getOtherTag() - Method in interface edu.mit.jsemcor.element.IWordform
Returns the other tag associated with this word form, if any.
getOtherTag() - Method in class edu.mit.jsemcor.element.Wordform
 
getParagraphs() - Method in class edu.mit.jsemcor.element.Context
 
getParagraphs() - Method in interface edu.mit.jsemcor.element.IContext
Returns an unmodifiable list of the paragraphs in this context.
getParser() - Method in class edu.mit.jsemcor.main.URLConcordance
Returns the parser that should be used to parse raw context contents into an IContext object.
getPOSTag() - Method in interface edu.mit.jsemcor.element.IWordform
The syntactic tag assigned to this word form.
getPOSTag() - Method in class edu.mit.jsemcor.element.Wordform
 
getProperNounCategory() - Method in interface edu.mit.jsemcor.element.ISemanticTag
Indicates that word is a proper noun categorized as one of the values of person, location, group, or other.
getProperNounCategory() - Method in class edu.mit.jsemcor.element.SemanticTag
 
getRedefinition() - Method in interface edu.mit.jsemcor.element.IWordform
Returns the string to which this word has been 'redefined'.
getRedefinition() - Method in class edu.mit.jsemcor.element.Wordform
 
getSemanticTag() - Method in interface edu.mit.jsemcor.element.IWordform
Returns the semantic tag associated with this word form, if any.
getSemanticTag() - Method in class edu.mit.jsemcor.element.Wordform
 
getSenseKey() - Method in interface edu.mit.jsemcor.tags.IHasSense
Returns the sense key for this object.
getSenseKey() - Method in class edu.mit.jsemcor.tags.SenseLocation
 
getSenseKey() - Method in class edu.mit.jsemcor.tags.TagList
 
getSenseKeys() - Method in interface edu.mit.jsemcor.element.ISemanticTag
Returns the sense key of this semantic tag, which is lemma%lexsn.
getSenseKeys() - Method in class edu.mit.jsemcor.element.SemanticTag
 
getSenseNumber() - Method in interface edu.mit.jsemcor.element.ISemanticTag
The sense number may contain more than one lexical sense string, each separated by a semicolon.
getSenseNumber() - Method in class edu.mit.jsemcor.element.SemanticTag
 
getSenseNumber() - Method in interface edu.mit.jsemcor.tags.IHasSense
Returns the sense number for this object.
getSenseNumber() - Method in class edu.mit.jsemcor.tags.SenseLocation
 
getSenseNumber() - Method in class edu.mit.jsemcor.tags.TagList
 
getSentence(int) - Method in class edu.mit.jsemcor.element.Context
 
getSentence(int) - Method in interface edu.mit.jsemcor.element.IContext
Returns the sentence whose ISentence.getNumber() call returns the same as that specified in this call.
getSentenceNumber() - Method in interface edu.mit.jsemcor.tags.ISenseLocation
Returns the sentence number associated with this sense location.
getSentenceNumber() - Method in class edu.mit.jsemcor.tags.SenseLocation
 
getSentences() - Method in class edu.mit.jsemcor.element.Context
 
getSentences() - Method in interface edu.mit.jsemcor.element.IContext
Returns an unmodifiable list of all the sentences in this context.
getSeparatorString(IToken, IToken) - Method in class edu.mit.jsemcor.detokenize.ApostropheSRule
 
getSeparatorString(String, String) - Method in class edu.mit.jsemcor.detokenize.ApostropheSRule
 
getSeparatorString(IToken, IToken) - Method in class edu.mit.jsemcor.detokenize.CompositeDetokenizer
 
getSeparatorString(String, String) - Method in class edu.mit.jsemcor.detokenize.CompositeDetokenizer
 
getSeparatorString(IToken, IToken) - Method in class edu.mit.jsemcor.detokenize.ContractionRule
 
getSeparatorString(String, String) - Method in class edu.mit.jsemcor.detokenize.ContractionRule
 
getSeparatorString(IToken, IToken) - Method in class edu.mit.jsemcor.detokenize.DefaultDetokenizer
 
getSeparatorString(String, String) - Method in class edu.mit.jsemcor.detokenize.DefaultDetokenizer
 
getSeparatorString(IToken, IToken) - Method in class edu.mit.jsemcor.detokenize.DelimiterRule
 
getSeparatorString(String, String) - Method in class edu.mit.jsemcor.detokenize.DelimiterRule
 
getSeparatorString(IToken, IToken) - Method in class edu.mit.jsemcor.detokenize.DollarSignRule
 
getSeparatorString(String, String) - Method in class edu.mit.jsemcor.detokenize.DollarSignRule
 
getSeparatorString(String, String) - Method in interface edu.mit.jsemcor.detokenize.ISeparatorRule
Returns the separator string, if any, that should be placed between the text of these two strings.
getSeparatorString(IToken, IToken) - Method in interface edu.mit.jsemcor.detokenize.ISeparatorRule
Returns the separator string, if any, that should be placed between the text of these two tokens.
getSeparatorString(IToken, IToken) - Method in class edu.mit.jsemcor.detokenize.PhraseDelimiterRule
 
getSeparatorString(String, String) - Method in class edu.mit.jsemcor.detokenize.PhraseDelimiterRule
 
getSeparatorString(IToken, IToken) - Method in class edu.mit.jsemcor.detokenize.SentenceFinalPuncRule
 
getSeparatorString(String, String) - Method in class edu.mit.jsemcor.detokenize.SentenceFinalPuncRule
 
getSeparatorString() - Method in interface edu.mit.jsemcor.element.IWordform
Indicates that string that should be displayed between this word form element and the next.
getSeparatorString() - Method in class edu.mit.jsemcor.element.Wordform
 
getSymbol() - Method in interface edu.mit.jsemcor.element.IPunc
Returns the symbol (one or possibly two characters) used to identify this punctuation in context files.
getSymbol() - Method in class edu.mit.jsemcor.element.Punc
 
getTagfileDirName() - Method in class edu.mit.jsemcor.main.FileConcordance
Returns the name of the directory inside the concordance root in which tag files are stored.
getTagIndex() - Method in interface edu.mit.jsemcor.main.IConcordance
Returns the tag index object for this concordance, if one exists.
getTagIndex() - Method in class edu.mit.jsemcor.main.URLConcordance
 
getTagList(String) - Method in class edu.mit.jsemcor.tags.FileBasedTagIndex
 
getTagList(String) - Method in interface edu.mit.jsemcor.tags.ITagIndex
Returns the list of sense locations for the specified sense key, or null if this tag index contains no sense locations for the specified sense key.
getTaglistFileName() - Method in class edu.mit.jsemcor.main.FileConcordance
Returns the name of the file inside the concordance root which contains the tag index data.
getTagNote() - Method in interface edu.mit.jsemcor.element.IWordform
Returns the note object associated with this word form.
getTagNote() - Method in class edu.mit.jsemcor.element.Wordform
 
getText() - Method in interface edu.mit.jsemcor.element.IToken
The actual string contained between the SGML brackets in the Semcor data file.
getText() - Method in class edu.mit.jsemcor.element.Punc
 
getText() - Method in class edu.mit.jsemcor.element.Wordform
 
getTokenIndex() - Method in interface edu.mit.jsemcor.element.IWordform
Returns the token number of in the sentence.
getTokenIndex() - Method in class edu.mit.jsemcor.element.Wordform
 
getType() - Method in interface edu.mit.jsemcor.term.INote
Returns the note type for this note.
getType() - Method in class edu.mit.jsemcor.term.Note
 
getURL() - Method in class edu.mit.jsemcor.main.URLConcordance
Returns the URL that points to the root directory of this concordance.
getURL() - Method in class edu.mit.jsemcor.main.URLConcordanceSet
Returns the URL pointing to the root of this concordance set.
getValue() - Method in interface edu.mit.jsemcor.term.ITerminal
Returns the tag value for this terminal type.
getValue() - Method in class edu.mit.jsemcor.term.Terminal
 
getWord(int) - Method in interface edu.mit.jsemcor.element.ISentence
Gets the word with the specified number, or null if there is no such word.
getWord(int) - Method in class edu.mit.jsemcor.element.Sentence
 
getWordList() - Method in interface edu.mit.jsemcor.element.ISentence
Returns an unmodifiable list of word forms contained in this sentence, in increasing word number order.
getWordList() - Method in class edu.mit.jsemcor.element.Sentence
 
getWordNumber() - Method in interface edu.mit.jsemcor.tags.ISenseLocation
Returns the word number associated with this sense location.
getWordNumber() - Method in class edu.mit.jsemcor.tags.SenseLocation
 
GROUP - Static variable in class edu.mit.jsemcor.term.Category
 

H

hashCode() - Method in class edu.mit.jsemcor.element.ContextID
 
hasNext() - Method in class edu.mit.jsemcor.main.URLConcordance.ContextIterator
 
hasNext() - Method in class edu.mit.jsemcor.main.URLConcordanceSet.ContextIterator
 
hasNext() - Method in class edu.mit.jsemcor.tags.FileBasedTagIndex.TagListFileIterator
 
hasParagraphs() - Method in class edu.mit.jsemcor.element.Context
 
hasParagraphs() - Method in interface edu.mit.jsemcor.element.IContext
Returns true if the IContext.getParagraphs() call returns a non-empty list; otherwise, returns false.
HYPHEN - Static variable in class edu.mit.jsemcor.element.Punc
 

I

ICategory - Interface in edu.mit.jsemcor.term
Indicates that the object represents a category into which a proper noun could be categorized.
ICommand - Interface in edu.mit.jsemcor.term
Represents a command tag in an IWordform object.
IConcordance - Interface in edu.mit.jsemcor.main
Objects implementing this interface represent a semantic concordance, namely, a set of texts tagged for their meaning.
IConcordanceSet - Interface in edu.mit.jsemcor.main
A concordance set is a collection of IConcordance objects indexed by name.
IContext - Interface in edu.mit.jsemcor.element
Objects that implement this interface represent the instantiated form of a context.
IContextID - Interface in edu.mit.jsemcor.element
A context id object provides enough information to retrieve a context from a concordance or concordance set.
IContextParser - Interface in edu.mit.jsemcor.data
Objects implementing this interface have the ability to construct IContext objects from raw string data.
IDetokenizer - Interface in edu.mit.jsemcor.detokenize
A detokenizer is a class that can transform a list of tokens into a properly-whitespace delimited string.
IDIOM - Static variable in class edu.mit.jsemcor.term.OtherTag
 
IElement - Interface in edu.mit.jsemcor.element
Represents a generic element in an SGML-like context file.
IGNORE - Static variable in class edu.mit.jsemcor.term.Command
 
IHasSense - Interface in edu.mit.jsemcor.tags
Classes implementing this interface have a 'sense', which is a string and a number corresponding to a Wordnet sense key and the numbered sense within that key.
IN - Static variable in class edu.mit.jsemcor.term.POSTag
 
INDISTINCT_SENSE - Static variable in class edu.mit.jsemcor.term.NoteType
 
INote - Interface in edu.mit.jsemcor.term
Indicates this object represents a note that may be attached to an IWordform object.
INoteType - Interface in edu.mit.jsemcor.term
Indicates this object represents a type of note that may be attached to an IWordform object.
INSUFFICENT_TEXT - Static variable in class edu.mit.jsemcor.term.NoteType
 
IOtherTag - Interface in edu.mit.jsemcor.term
Indicates this object represents a type of note that may be attached to an IWordform object.
IParagraph - Interface in edu.mit.jsemcor.element
Represents a paragraph in a context.
IPOSTag - Interface in edu.mit.jsemcor.term
Indicates that this object represents a particular part of speech.
IPunc - Interface in edu.mit.jsemcor.element
Indicates an object represents a punctuation element in a Context file.
isCaching() - Method in class edu.mit.jsemcor.main.URLConcordance
Returns whether this concordance is currently caching the results of calls to URLConcordance.getContext(IContextID).
isCaching - Variable in class edu.mit.jsemcor.main.URLConcordanceSet
Whether caching was set as passed to the constructor, or as most recently set using URLConcordanceSet.setCaching(boolean)
isClosingDelimiter(IToken) - Static method in class edu.mit.jsemcor.element.Punc
Returns whether the specified token is the same as one of the static final closing delimiter punctuation marks, i.e., the double-quote, right parenthesis, or right bracket.
isClosingDelimiter(String) - Static method in class edu.mit.jsemcor.element.Punc
Returns whether the specified string is the same as one of the static final closing delimiter punctuation mark strings, i.e., the double-quote, right parenthesis, or right bracket.
ISemanticTag - Interface in edu.mit.jsemcor.element
Indicates a semantic tag attached to an IWordform object from a Context file.
ISenseLocation - Interface in edu.mit.jsemcor.tags
Indicates that this object points to the location of a sense, namely, the context file, sentence, and word where the sense can be found.
ISentence - Interface in edu.mit.jsemcor.element
Indicates that this object represents a sentence in a concordance context file.
ISeparatorRule - Interface in edu.mit.jsemcor.detokenize
Classes that implement this interface provide the information necessary to re-concatenating tokens into properly formatted text.
isIllegalSentenceNumber(int) - Static method in class edu.mit.jsemcor.element.Sentence
Returns whether the specified integer is a valid sentence number.
isIllegalWordNumber(int) - Static method in class edu.mit.jsemcor.element.Wordform
Returns whether the specified integer is a valid sentence number.
isNonAlphanumeric(String) - Static method in class edu.mit.jsemcor.detokenize.DelimiterRule
Returns whether the specified string is all non-alphanumeric characters, as defined by Character.isLetterOrDigit(char).
isOpen() - Method in interface edu.mit.jsemcor.main.IConcordance
Returns whether the concordance is in a state such that it can provide context objects on demand.
isOpen() - Method in interface edu.mit.jsemcor.main.IConcordanceSet
Returns whether all concordances in the set are open.
isOpen() - Method in class edu.mit.jsemcor.main.URLConcordance
 
isOpen() - Method in class edu.mit.jsemcor.main.URLConcordanceSet
 
isOpeningDelimiter(IToken) - Static method in class edu.mit.jsemcor.element.Punc
Returns whether the specified token is the same as one of the static final opening delimiter punctuation marks, i.e., the double-quote, left parenthesis, or left bracket.
isOpeningDelimiter(String) - Static method in class edu.mit.jsemcor.element.Punc
Returns whether the specified token is the same as one of the static final opening delimiter punctuation mark strings, i.e., the double-quote, left parenthesis, or left bracket.
isPhraseDelimiter(IToken) - Static method in class edu.mit.jsemcor.element.Punc
Returns whether the specified token is the same as one of the static final phrase delimiter punctuation marks, i.e., the comma, colon, or semicolon.
isPhraseDelimiter(String) - Static method in class edu.mit.jsemcor.element.Punc
Returns whether the specified string is the same as one of the static final phrase delimiter punctuation mark strings, i.e., the comma, colon, or semicolon.
isSentenceFinal(IToken) - Static method in class edu.mit.jsemcor.element.Punc
Returns whether the specified token is the same as one of the static final sentence-final punctuation marks, i.e., the period, exclamation point, or question mark.
isSentenceFinal(String) - Static method in class edu.mit.jsemcor.element.Punc
Returns whether the specified string is the same as one of the static final sentence-final punctuation mark strings, i.e., the period, exclamation point, or question mark.
ITagIndex - Interface in edu.mit.jsemcor.tags
A tag index is a iterable list of tag lists.
ITagList - Interface in edu.mit.jsemcor.tags
Objects implementing this interface represent a list of context locations for the same sense.
iterator() - Method in interface edu.mit.jsemcor.main.IConcordance
Returns an iterator over context objects contained in this concordance.
iterator() - Method in interface edu.mit.jsemcor.main.IConcordanceSet
Returns an iterator over context objects contained in the concordances of this set.
iterator() - Method in class edu.mit.jsemcor.main.URLConcordance
 
iterator() - Method in class edu.mit.jsemcor.main.URLConcordanceSet
 
iterator() - Method in class edu.mit.jsemcor.tags.FileBasedTagIndex
 
ITerminal - Interface in edu.mit.jsemcor.term
Terminals are name-value pairs that attached to concordance elements.
IToken - Interface in edu.mit.jsemcor.element
A generic token in a context file.
IWordform - Interface in edu.mit.jsemcor.element
Indicates that this object contains word form data from a concordance context file.

J

JJ - Static variable in class edu.mit.jsemcor.term.POSTag
 
JJR - Static variable in class edu.mit.jsemcor.term.POSTag
 
JJS - Static variable in class edu.mit.jsemcor.term.POSTag
 

L

LEFT_ANGLE_BRACKET - Static variable in interface edu.mit.jsemcor.element.IElement
Character used to open tags, <.
LEFT_BRACKET - Static variable in class edu.mit.jsemcor.element.Punc
 
LEFT_PAREN - Static variable in class edu.mit.jsemcor.element.Punc
 
loadLine(Reader, StringBuilder) - Static method in class edu.mit.jsemcor.data.ContextParser
Loads the next line from the input stream into the buffer.
loadNext() - Method in class edu.mit.jsemcor.main.URLConcordanceSet.ContextIterator
Loads the next context into the iterator.
loadNext() - Method in class edu.mit.jsemcor.tags.FileBasedTagIndex.TagListFileIterator
Loads the next ITagList into the iterator to be returned by the next call to FileBasedTagIndex.TagListFileIterator.next().
LOCATION - Static variable in class edu.mit.jsemcor.term.Category
 
logEmptyAttributeValue(String) - Method in class edu.mit.jsemcor.data.ContextParser
Logs the presence of an empty attribute value for an attribute with the specified name.
logNonSequentialParaNum(int, int) - Method in class edu.mit.jsemcor.element.Context
Logs the presence of an non-sequential paragraph numbers.
logNonSequentialSentNum(int, int) - Method in class edu.mit.jsemcor.element.Context
Logs the presence of a non-sequential sentence numbers.
logNonSequentialWordNum(int, int) - Method in class edu.mit.jsemcor.element.Sentence
Logs the presence of a non-sequential word numbers.
logNullToken(String) - Method in class edu.mit.jsemcor.data.ContextParser
Logs the presence of a null token in the specified line.
logUnexpectedParaNum(String, int, int) - Method in class edu.mit.jsemcor.data.ContextParser
Logs the presence of an unexpected paragraph number.
logUnexpectedSentNum(String, int, int) - Method in class edu.mit.jsemcor.data.ContextParser
Logs the presence of an unexpected sentence number.
logUnknownCategory(String) - Method in class edu.mit.jsemcor.data.ContextParser
Logs the presence of an unknown category of the specified type.
logUnknownCommand(String) - Method in class edu.mit.jsemcor.data.ContextParser
Logs the presence of an unknown command of the specified type.
logUnknownNoteType(String) - Method in class edu.mit.jsemcor.data.ContextParser
Logs the presence of an unknown note of the specified type.
logUnknownOtherTag(String) - Method in class edu.mit.jsemcor.data.ContextParser
Logs the presence of an unknown other tag of the specified type.
logUnknownPOSTag(String) - Method in class edu.mit.jsemcor.data.ContextParser
Logs the presence of an unknown tag of the specified type.
logUnknownPunc(String) - Method in class edu.mit.jsemcor.data.ContextParser
Logs the presence of an unknown punctuation with the specified value.
LS - Static variable in class edu.mit.jsemcor.term.POSTag
 

M

makeByteBuffer(File) - Static method in class edu.mit.jsemcor.main.BufferToStreamAdapter
Returns a mapped byte buffer for the specified URL, which must point to an file that exists on the local file system.
makeParser() - Method in class edu.mit.jsemcor.main.URLConcordance
Returns a new instance of the parser that should be used to parse raw context contents into an IContext object.
makeStream(URL) - Static method in class edu.mit.jsemcor.main.BufferToStreamAdapter
Returns an input stream for the specified URL.
MalformedLineException - Exception in edu.mit.jsemcor.data
Thrown when a line from a data resource does not match expected formatting conventions.
MalformedLineException() - Constructor for exception edu.mit.jsemcor.data.MalformedLineException
Constructs a new exception with null as its detail message.
MalformedLineException(String) - Constructor for exception edu.mit.jsemcor.data.MalformedLineException
Constructs a new exception with the specified detail message.
MalformedLineException(String, Throwable) - Constructor for exception edu.mit.jsemcor.data.MalformedLineException
Constructs a new exception with the specified detail message and cause.
MalformedLineException(Throwable) - Constructor for exception edu.mit.jsemcor.data.MalformedLineException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
mark(int) - Method in class edu.mit.jsemcor.main.BufferToStreamAdapter
 
markSupported() - Method in class edu.mit.jsemcor.main.BufferToStreamAdapter
 
MD - Static variable in class edu.mit.jsemcor.term.POSTag
 
METAPHOR - Static variable in class edu.mit.jsemcor.term.OtherTag
 
MISC - Static variable in class edu.mit.jsemcor.term.NoteType
 

N

NEWLINE - Static variable in interface edu.mit.jsemcor.element.IElement
The newline character, used to separate lines, naturally.
next() - Method in class edu.mit.jsemcor.main.URLConcordance.ContextIterator
 
next() - Method in class edu.mit.jsemcor.main.URLConcordanceSet.ContextIterator
 
next() - Method in class edu.mit.jsemcor.tags.FileBasedTagIndex.TagListFileIterator
 
NN - Static variable in class edu.mit.jsemcor.term.POSTag
 
NNP - Static variable in class edu.mit.jsemcor.term.POSTag
 
NNPS - Static variable in class edu.mit.jsemcor.term.POSTag
 
NNS - Static variable in class edu.mit.jsemcor.term.POSTag
 
NO_TAG - Static variable in class edu.mit.jsemcor.term.OtherTag
 
NON_WORD - Static variable in class edu.mit.jsemcor.term.OtherTag
 
Note - Class in edu.mit.jsemcor.term
Default implementation of an INote object that may be attached to an IWordform object.
Note(String, INoteType) - Constructor for class edu.mit.jsemcor.term.Note
Constructs a new note.
NoteType - Class in edu.mit.jsemcor.term
A default, concrete implementation of INoteType, with all note types listed in the Semcor documentation.
NoteType(String) - Constructor for class edu.mit.jsemcor.term.NoteType
Constructs a new note type with the specified value.
NP - Static variable in class edu.mit.jsemcor.term.POSTag
 
NPS - Static variable in class edu.mit.jsemcor.term.POSTag
 
numContexts() - Method in interface edu.mit.jsemcor.main.IConcordanceSet
Returns the number of contexts contained in this concordance set.
numContexts() - Method in class edu.mit.jsemcor.main.URLConcordanceSet
 

O

open() - Method in interface edu.mit.jsemcor.main.IConcordance
Performs all the necessary operations to prepare this concordance to provide contexts.
open() - Method in interface edu.mit.jsemcor.main.IConcordanceSet
Performs all the necessary operations to prepare all concordances in this set to provide contexts.
open() - Method in class edu.mit.jsemcor.main.URLConcordance
 
open() - Method in class edu.mit.jsemcor.main.URLConcordanceSet
 
OPEN_QUOTE - Static variable in interface edu.mit.jsemcor.element.IElement
The quote character, which is used at the beginning of values that need to be surrounded by quotation marks in context files.
OPEN_QUOTE - Static variable in class edu.mit.jsemcor.element.Punc
 
OTHER - Static variable in class edu.mit.jsemcor.term.Category
 
OtherTag - Class in edu.mit.jsemcor.term
Default, concrete implementation of IOtherTag, with all other tag types listed in the Semcor documentation.
OtherTag(String) - Constructor for class edu.mit.jsemcor.term.OtherTag
Constructs a new OtherTag with the specified value.

P

Paragraph - Class in edu.mit.jsemcor.element
Default, concrete implementation of the IParagraph interface.
Paragraph(int, List<ISentence>) - Constructor for class edu.mit.jsemcor.element.Paragraph
Constructs a new paragraph with the specified number, using the specified sentences as constituents.
parse(IContextID, Reader) - Method in class edu.mit.jsemcor.data.ContextParser
 
parse(IContextID, Reader) - Method in interface edu.mit.jsemcor.data.IContextParser
Return an IContext object with the specified IContextID with data corresponding to the characters returned by the specified Reader source.
parse(String) - Static method in class edu.mit.jsemcor.element.ContextID
Parses the specified context id, represented as a String, into a context id object.
parseAttributeList(CharSequence) - Static method in class edu.mit.jsemcor.data.ContextParser
Takes a list of attribute/value pairs, {@code attr1=val1 attr2=val2 ...
parseContextParagraphs(IContextID, Reader, StringBuilder) - Method in class edu.mit.jsemcor.data.ContextParser
This method returns a list of IParagraph objects extracted from the specified Reader, in the order they were encountered.
parseContextSentences(IContextID, int, Reader, StringBuilder) - Method in class edu.mit.jsemcor.data.ContextParser
This method returns a list of ISentence objects extracted from the specified Reader, in the order they were encountered.
parseLine(CharSequence, String) - Method in class edu.mit.jsemcor.tags.TagFileLineParser
Parses the specified line into a tag list using the specified concordance name.
parseLocations(CharSequence, List<ISenseLocation>, String, int, String) - Method in class edu.mit.jsemcor.tags.TagFileLineParser
Helper function for the parseLine() method.
parsePuncLine(CharSequence) - Method in class edu.mit.jsemcor.data.ContextParser
Parses a line representing a punctuation entry and returns the corresponding IPunc object.
parser - Variable in class edu.mit.jsemcor.main.URLConcordance
The context parser used by this concordance to translate context data into IContext objects.
parseSGMLLine(CharSequence) - Static method in class edu.mit.jsemcor.data.ContextParser
Takes a line of the form {@code parseTokens(Reader, StringBuilder) - Method in class edu.mit.jsemcor.data.ContextParser
Parses the lines representing sets of tokens in a sentence into a list of IToken objects, using the specified StringBuilder object as a buffer.
parseWordFormLine(int, int, CharSequence) - Method in class edu.mit.jsemcor.data.ContextParser
Parses the specified string into an IWordform object, if possible.
PDT - Static variable in class edu.mit.jsemcor.term.POSTag
 
PERCENT - Static variable in interface edu.mit.jsemcor.element.ISemanticTag
The percent character, which separates the lemma and the lexical sense in a sense key.
PERCENT - Static variable in class edu.mit.jsemcor.element.Punc
 
PERIOD - Static variable in class edu.mit.jsemcor.element.Punc
 
PERSON - Static variable in class edu.mit.jsemcor.term.Category
 
PhraseDelimiterRule - Class in edu.mit.jsemcor.detokenize
Implements a rule indicating that a comma has no space between it and previous token.
PhraseDelimiterRule() - Constructor for class edu.mit.jsemcor.detokenize.PhraseDelimiterRule
This constructor is marked protected so that this class may be sub-classed, but not directly instantiated.
PLUS - Static variable in class edu.mit.jsemcor.element.Punc
 
POS - Static variable in class edu.mit.jsemcor.term.POSTag
 
POSTag - Class in edu.mit.jsemcor.term
Default, concrete implementation of IPOSTag, with all pos tag types listed in the Semcor documentation.
POSTag(String, String) - Constructor for class edu.mit.jsemcor.term.POSTag
Constructs a new object of type POSTag with the specified parameters.
PP - Static variable in class edu.mit.jsemcor.term.POSTag
 
PR - Static variable in class edu.mit.jsemcor.term.POSTag
 
PRP - Static variable in class edu.mit.jsemcor.term.POSTag
 
PRP$ - Static variable in class edu.mit.jsemcor.term.POSTag
 
pruneCache() - Method in class edu.mit.jsemcor.main.URLConcordance
Removes items from the cache so that the cache size is below the cache limit.
Punc - Class in edu.mit.jsemcor.element
Default, concrete implementation of IPunc, with all punctuation listed in the Semcor documentation, plus a few extras not mentioned, e.g., Punc.HYPHEN, Punc.PERCENT, Punc.STAR, Punc.PLUS, and Punc.AMPERSAND.
Punc(String, char, String) - Constructor for class edu.mit.jsemcor.element.Punc
Constructs a new Category with the specified name.

Q

QUESTION_MARK - Static variable in class edu.mit.jsemcor.element.Punc
 

R

RB - Static variable in class edu.mit.jsemcor.term.POSTag
 
RBR - Static variable in class edu.mit.jsemcor.term.POSTag
 
RBS - Static variable in class edu.mit.jsemcor.term.POSTag
 
read() - Method in class edu.mit.jsemcor.main.BufferToStreamAdapter
 
remove() - Method in class edu.mit.jsemcor.main.URLConcordance.ContextIterator
 
remove() - Method in class edu.mit.jsemcor.main.URLConcordanceSet.ContextIterator
This iterator does not support this operation
remove() - Method in class edu.mit.jsemcor.tags.FileBasedTagIndex.TagListFileIterator
This iterator does not support this method.
reset() - Method in class edu.mit.jsemcor.main.BufferToStreamAdapter
 
resolveCategory(String) - Method in class edu.mit.jsemcor.data.ContextParser
Given the specified category string value, returns an ICategory object for that value.
resolveCommand(String) - Method in class edu.mit.jsemcor.data.ContextParser
Given the specified command string value, returns an IPunc object for that value.
resolveNoteType(String) - Method in class edu.mit.jsemcor.data.ContextParser
Given the specified note string value, returns an INoteType object for that value.
resolveOtherTag(String) - Method in class edu.mit.jsemcor.data.ContextParser
Given the specified other tag string value, returns an IOtherTag object for that value.
resolvePOSTag(String) - Method in class edu.mit.jsemcor.data.ContextParser
Given the specified part of speech string value, returns an IPOSTag object for that value.
resolvePunc(String) - Method in class edu.mit.jsemcor.data.ContextParser
Given the specified punctuation string value, returns an IPunc object for that value.
RETAG - Static variable in class edu.mit.jsemcor.term.Command
 
RIGHT_ANGLE_BRACKET - Static variable in interface edu.mit.jsemcor.element.IElement
Character used to close tags, >
RIGHT_BRACKET - Static variable in class edu.mit.jsemcor.element.Punc
 
RIGHT_PAREN - Static variable in class edu.mit.jsemcor.element.Punc
 
RP - Static variable in class edu.mit.jsemcor.term.POSTag
 

S

SemanticTag - Class in edu.mit.jsemcor.element
Concrete, default implementation of the ISemanticTag interface.
SemanticTag(String, String, String, ICategory) - Constructor for class edu.mit.jsemcor.element.SemanticTag
Constructs a new semantic tag object from the specified parameters.
Semcor - Class in edu.mit.jsemcor.main
Default implementation of the IConcordanceSet interface.
Semcor(File) - Constructor for class edu.mit.jsemcor.main.Semcor
Creates a semcor concordance set backed by file data stored at the specified URL.
Semcor(File, boolean) - Constructor for class edu.mit.jsemcor.main.Semcor
Creates a semcor concordance set backed by file data stored at the specified URL, with caching turned either on or off according to the flag.
Semcor(File, boolean, int) - Constructor for class edu.mit.jsemcor.main.Semcor
Creates a semcor concordance set backed by file data stored at the specified URL, with caching turned either on or off according to the flag, and the cache limit set as specified.
Semcor(URL) - Constructor for class edu.mit.jsemcor.main.Semcor
Creates a semcor concordance set backed by file data stored at the specified URL.
Semcor(URL, boolean) - Constructor for class edu.mit.jsemcor.main.Semcor
Creates a semcor concordance set backed by file data stored at the specified URL, with caching turned either on or off according to the flag.
Semcor(URL, boolean, int) - Constructor for class edu.mit.jsemcor.main.Semcor
Creates a semcor concordance set backed by file data stored at the specified URL, with caching turned either on or off according to the flag, and the cache limit set as specified.
SEMICOLON - Static variable in interface edu.mit.jsemcor.element.ISemanticTag
The semicolon character, which separates multiple word sense and lexical sense string in the case of multiple senses for an individual word.
SEMICOLON - Static variable in class edu.mit.jsemcor.element.Punc
 
SENSE_LOST - Static variable in class edu.mit.jsemcor.term.NoteType
 
SENSE_MISSING - Static variable in class edu.mit.jsemcor.term.NoteType
 
SenseLocation - Class in edu.mit.jsemcor.tags
Concrete, default implementation of the ISenseLocation interface.
SenseLocation(IContextID, String, int, int, int) - Constructor for class edu.mit.jsemcor.tags.SenseLocation
Constructs a new sense location object with the specified parameters.
Sentence - Class in edu.mit.jsemcor.element
Default, concrete implementation of the ISentence interface.
Sentence(int, List<IToken>) - Constructor for class edu.mit.jsemcor.element.Sentence
Constructs a new sentence with the specified number, using the specified tokens as constituents.
SentenceFinalPuncRule - Class in edu.mit.jsemcor.detokenize
Implements the rule that there is no space before sentence-final punctuation (periods, question marks, and exclamation points), and a space after, unless the next token is a closing delimiter.
SentenceFinalPuncRule() - Constructor for class edu.mit.jsemcor.detokenize.SentenceFinalPuncRule
This constructor is marked protected so that this class may be sub-classed, but not directly instantiated.
setCacheLimit(int) - Method in class edu.mit.jsemcor.main.URLConcordance
Sets the cache limit on this concordance.
setCacheLimit(int) - Method in class edu.mit.jsemcor.main.URLConcordanceSet
Sets the cache limit for all concordances in this set.
setCaching(boolean) - Method in class edu.mit.jsemcor.main.URLConcordance
Turns caching on or off for this concordance.
setCaching(boolean) - Method in class edu.mit.jsemcor.main.URLConcordanceSet
Turns caching on or off for all concordances in this set.
size() - Method in class edu.mit.jsemcor.element.Paragraph
 
size() - Method in class edu.mit.jsemcor.element.Sentence
 
size() - Method in class edu.mit.jsemcor.tags.TagList
 
skipLine(String) - Method in class edu.mit.jsemcor.tags.FileBasedTagIndex.TagListFileIterator
Returns whether this line should be skipped, that is, whether the line is empty or the first is not a letter or digit.
SLASH - Static variable in class edu.mit.jsemcor.element.Punc
 
SPACE - Static variable in interface edu.mit.jsemcor.detokenize.ISeparatorRule
Convenience field that hold the space string.
SPACE - Static variable in interface edu.mit.jsemcor.element.IElement
The space character, used to separate attribute/value pairs within tags.
SPACE_STR - Static variable in interface edu.mit.jsemcor.element.IElement
The space string.
STAR - Static variable in class edu.mit.jsemcor.element.Punc
 
SYM - Static variable in class edu.mit.jsemcor.term.POSTag
 

T

TAG - Static variable in class edu.mit.jsemcor.term.Command
 
TAG_CONTEXT - Static variable in interface edu.mit.jsemcor.element.IContext
The unadorned tag that marks the beginning of a block of context file data, <context>
TAG_CONTEXT_LEFT - Static variable in interface edu.mit.jsemcor.element.IContext
The beginning of the tag that marks the beginning of a block of context file data, <context
TAG_CONTEXT_RIGHT - Static variable in interface edu.mit.jsemcor.element.IContext
The tag that marks the end of a block of context file data, </context>
TAG_CONTEXTFILE - Static variable in interface edu.mit.jsemcor.element.IContext
The unadorned tag that marks the beginning of a block of context file data, <contextfile>
TAG_CONTEXTFILE_LEFT - Static variable in interface edu.mit.jsemcor.element.IContext
The beginning of the tag that marks the beginning of a block of context file data, <contextfile
TAG_CONTEXTFILE_RIGHT - Static variable in interface edu.mit.jsemcor.element.IContext
The tag that marks the end of a block of context file data, </contextfile>
TAG_PARA_LEFT - Static variable in interface edu.mit.jsemcor.element.IParagraph
The first part of the tag that marks the beginning of a paragraph.
TAG_PARA_NAME - Static variable in interface edu.mit.jsemcor.element.IParagraph
The unadorned paragraph starting tag.
TAG_PARA_RIGHT - Static variable in interface edu.mit.jsemcor.element.IParagraph
The tag that marks the end of a paragraph.
TAG_PUNC_END - Static variable in interface edu.mit.jsemcor.element.IPunc
String used to end punctuation expressions.
TAG_PUNC_START - Static variable in interface edu.mit.jsemcor.element.IPunc
String used to start punctuation expressions.
TAG_PUNC_VALUE - Static variable in interface edu.mit.jsemcor.element.IPunc
The SGML tag used to indicate a punctuation element.
TAG_SENT_LEFT - Static variable in interface edu.mit.jsemcor.element.ISentence
The first part of the tag that marks the beginning of a sentence.
TAG_SENT_NAME - Static variable in interface edu.mit.jsemcor.element.ISentence
The unadorned tag that marks the beginning of a sentence.
TAG_SENT_RIGHT - Static variable in interface edu.mit.jsemcor.element.ISentence
The tag that marks the end of a sentence.
TAG_WF - Static variable in interface edu.mit.jsemcor.element.IWordform
The unadorned tag used to start word form elements.
TAG_WF_END - Static variable in interface edu.mit.jsemcor.element.IWordform
String used to end word form expressions.
TAG_WF_START - Static variable in interface edu.mit.jsemcor.element.IWordform
String used to start word form expressions.
TAG_WF_VALUE - Static variable in interface edu.mit.jsemcor.element.IWordform
The SGML tag used to indicate a word form element.
TagFileLineComparator - Class in edu.mit.jsemcor.tags
A comparator that captures the ordering of lines in a tag list file.
TagFileLineComparator() - Constructor for class edu.mit.jsemcor.tags.TagFileLineComparator
This constructor is marked protected so that the class may be sub-classed, but not directly instantiated.
TagFileLineParser - Class in edu.mit.jsemcor.tags
A class that can parse lines from a tag index file.
TagFileLineParser() - Constructor for class edu.mit.jsemcor.tags.TagFileLineParser
This constructor is marked protected so that the class may be sub-classed, but not directly instantiated.
TagList - Class in edu.mit.jsemcor.tags
Default, concrete implementation of the ITagList interface.
TagList(String, int, Collection<? extends ISenseLocation>) - Constructor for class edu.mit.jsemcor.tags.TagList
Constructs a new tag list with the specified key, number, and sense location list.
TagList(String, int, ISenseLocation...) - Constructor for class edu.mit.jsemcor.tags.TagList
Constructs a new tag list with the specified key, number, and sense location list.
Terminal - Class in edu.mit.jsemcor.term
A generic implementation of an ITerminal object.
Terminal(String, String) - Constructor for class edu.mit.jsemcor.term.Terminal
Constructs a new Terminal with the specified name.
throwMalformedLineException(String, Throwable) - Method in class edu.mit.jsemcor.data.ContextParser
Throws a MalformedLineException with the specified message and cause.
throwMissingAttribute(String) - Method in class edu.mit.jsemcor.data.ContextParser
Throws a MalformedLineException specifying that an attribute of the specified type is missing.
throwMissingClosingTag(String) - Method in class edu.mit.jsemcor.data.ContextParser
Throws a MalformedLineException specifying that a closing tag of the specified type is missing.
throwMissingOpeningTag(String) - Method in class edu.mit.jsemcor.data.ContextParser
Throws a MalformedLineException specifying that an opening tag of the specified type is missing.
throwUnexpectedEOF() - Method in class edu.mit.jsemcor.data.ContextParser
Throws a MalformedLineException specifying that an expected EOF (end of file) is missing.
TO - Static variable in class edu.mit.jsemcor.term.POSTag
 
toFile(URL) - Static method in class edu.mit.jsemcor.main.BufferToStreamAdapter
Transforms the specified URL into a File object, if in fact the URL points to a file.
toString() - Method in class edu.mit.jsemcor.element.ContextID
 
toString() - Method in class edu.mit.jsemcor.element.Punc
 
toString() - Method in class edu.mit.jsemcor.element.Wordform
 
toString() - Method in class edu.mit.jsemcor.tags.SenseLocation
 
toString() - Method in class edu.mit.jsemcor.term.Terminal
 
toURL(File) - Static method in class edu.mit.jsemcor.main.BufferToStreamAdapter
TODO: Write comment
trimQuotes(String) - Static method in class edu.mit.jsemcor.data.ContextParser
This method takes the specified string trims off any excess whitespace.

U

UH - Static variable in class edu.mit.jsemcor.term.POSTag
 
UNDERSCORE - Static variable in interface edu.mit.jsemcor.element.IElement
The underscore character, used to separate words in collocations within tags.
UNDERSCORE_STR - Static variable in interface edu.mit.jsemcor.element.IElement
The underscore string.
underscorePattern - Static variable in class edu.mit.jsemcor.element.Wordform
 
unmodifiableMap - Variable in class edu.mit.jsemcor.main.URLConcordanceSet
This map is used to give an entry set to clients.
UPDATE - Static variable in class edu.mit.jsemcor.term.Command
 
URLConcordance - Class in edu.mit.jsemcor.main
This abstract implementation of the IConcordance interface is appropriate for all concordances that retrieve their data from URLs.
URLConcordance(URL) - Constructor for class edu.mit.jsemcor.main.URLConcordance
Constructs a new concordance whose base directory is the specified URL.
URLConcordance(URL, boolean) - Constructor for class edu.mit.jsemcor.main.URLConcordance
Constructs a new concordance whose base directory is the specified URL, with caching turned on or off according to the flag.
URLConcordance(URL, boolean, int) - Constructor for class edu.mit.jsemcor.main.URLConcordance
Constructs a new concordance whose base directory is the specified URL, with caching turned on or off according to the flag, and the specified cache limit.
URLConcordance.ContextIterator - Class in edu.mit.jsemcor.main
Delivers context objects in order from this concordance.
URLConcordance.ContextIterator() - Constructor for class edu.mit.jsemcor.main.URLConcordance.ContextIterator
Constructs a new iterator over context objects in this concordance.
URLConcordanceSet - Class in edu.mit.jsemcor.main
Abstract super class of concordance sets that retrieve their data through a URL objects.
URLConcordanceSet(URL) - Constructor for class edu.mit.jsemcor.main.URLConcordanceSet
Creates a URL concordance set backed by file data stored at the specified URL.
URLConcordanceSet(URL, boolean) - Constructor for class edu.mit.jsemcor.main.URLConcordanceSet
Creates a URL concordance set backed by file data stored at the specified URL, with caching turned either on or off according to the flag.
URLConcordanceSet(URL, boolean, int) - Constructor for class edu.mit.jsemcor.main.URLConcordanceSet
Creates a URL concordance set backed by file data stored at the specified URL, with caching turned either on or off according to the flag, and the cache limit set as specified.
URLConcordanceSet.ContextIterator - Class in edu.mit.jsemcor.main
An iterator over contexts in concordances in the concordance set.
URLConcordanceSet.ContextIterator() - Constructor for class edu.mit.jsemcor.main.URLConcordanceSet.ContextIterator
 
UTF8 - Static variable in class edu.mit.jsemcor.main.BufferToStreamAdapter
The string that indicates the UTF8 character encoding.

V

VALUE_YES - Static variable in interface edu.mit.jsemcor.element.IContext
The string that marks as true the 'paragraphs' attribute in the <context> tag.
values() - Static method in class edu.mit.jsemcor.element.Punc
This functions emulates the function of the same name found on each Enum class.
values() - Static method in class edu.mit.jsemcor.term.Category
This functions emulates the function of the same value found on each Enum class.
values() - Static method in class edu.mit.jsemcor.term.Command
This functions emulates the function of the same name found on each Enum class.
values() - Static method in class edu.mit.jsemcor.term.NoteType
This functions emulates the function of the same name found on each Enum class.
values() - Static method in class edu.mit.jsemcor.term.OtherTag
This functions emulates the function of the same value found on each Enum class.
values() - Static method in class edu.mit.jsemcor.term.POSTag
This functions emulates the function of the same name found on each Enum class.
VB - Static variable in class edu.mit.jsemcor.term.POSTag
 
VBD - Static variable in class edu.mit.jsemcor.term.POSTag
 
VBG - Static variable in class edu.mit.jsemcor.term.POSTag
 
VBN - Static variable in class edu.mit.jsemcor.term.POSTag
 
VBP - Static variable in class edu.mit.jsemcor.term.POSTag
 
VBZ - Static variable in class edu.mit.jsemcor.term.POSTag
 

W

WDT - Static variable in class edu.mit.jsemcor.term.POSTag
 
WORD_MISSING - Static variable in class edu.mit.jsemcor.term.NoteType
 
Wordform - Class in edu.mit.jsemcor.element
Concrete, default implementation of the IWordform interface.
Wordform(int, int, ICommand, int, String, String, IPOSTag, ISemanticTag, IOtherTag, INote, String) - Constructor for class edu.mit.jsemcor.element.Wordform
Constructs a new Wordform object out of the specified arguments.
WP - Static variable in class edu.mit.jsemcor.term.POSTag
 
WP$ - Static variable in class edu.mit.jsemcor.term.POSTag
 
WRB - Static variable in class edu.mit.jsemcor.term.POSTag
 

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

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