Package edu.stanford.nlp.ling

Classes for linguistic concepts which are common to many NLP classes, such as Word, Tag, etc.

See:
          Description

Interface Summary
Datum Interface for Objects which can be described by their features.
Document<T> Represents a text document as a list of Words with a title.
Featurizable Interface for Objects that can be described by their features.
HasCategory Something that implements the HasCategory interface knows about categories.
HasContext  
HasTag Something that implements the HasTag interface knows about part-of-speech tags.
HasWord Something that implements the HasWord interface knows about words.
Label Something that implements the Label interface can act as a constituent, node, or word label with linguistic attributes.
Labeled Interface for Objects that have a label, whose label is an Object.
LabelFactory A LabelFactory object acts as a factory for creating objects of class Label, or some descendant class.
 

Class Summary
AbstractMapLabel An abstract class for Label objects which store attributes in a Map.
BasicDocument Basic implementation of Document that should be suitable for most needs.
DocumentReader Basic mechanism for reading in Documents from various input sources.
FeatureLabel An AbstractMapLabel implementation which defines equality as equality of the internal map.
Sentence Sentence holds a single sentence, and mediates between word numbers and words.
StringLabel A StringLabel object acts as a Label by containing a single String, which it sets or returns in response to requests.
StringLabelFactory A StringLabelFactory object makes a simple StringLabel out of a String.
TaggedWord A TaggedWord object contains a word and its tag.
TaggedWordFactory A TaggedWordFactory acts as a factory for creating objects of class TaggedWord.
ValueLabel A ValueLabel object acts as a Label with linguistic attributes.
Word A Word object acts as a Label by containing a String.
WordFactory A WordFactory acts as a factory for creating objects of class Word.
 

Package edu.stanford.nlp.ling Description

Classes for linguistic concepts which are common to many NLP classes, such as Word, Tag, etc. Also contains classes for building and operating on documents and data collections. Two of the basic interfaces are Document for representing a document as a list of words with meta-data, and DataCollection for representing a collection of documents. The most common document class you will probably use is BasicDocument, which provides support for constructing documents from a variety of input sources.

Author:
Sepandar Kamvar (sdkamvar@stanford.edu), Joseph Smarr (jsmarr@stanford.edu)


Stanford NLP Group