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
HasCategory Something that implements the HasCategory interface knows about categories.
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.
LabelFactory A LabelFactory object acts as a factory for creating objects of class Label, or some descendent class.
 

Class Summary
AbstractLabel An AbstractLabel object acts as a Label with linguistic attributes.
CategoryWordTag A CategoryWordTag object acts as a complex Label which contains a category, a head word, and a tag.
CategoryWordTagFactory A CategoryWordTagFactory is a factory that makes a Label which is a CategoryWordTag triplet.
MapLabel A MapLabel object contains a Map, which in turn may contain arbitrary key-value pairs.
MapLabelFactory A MapLabelFactory is a factory that makes a Label which is a MapLabel.
Sentence Sentence holds a single sentence, and mediating 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.
Tag A Tag object acts as a Label by containing a String that is a part-of-speech tag.
TaggedWord A TaggedWord object contains a word and its tag.
TaggedWordFactory A TaggedWordFactory acts as a factory for creating objects of class TaggedWord.
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.
WordTag A WordTag corresponds to a tagged (e.g., for part of speech) word and is implemented with String-valued word and tag.
WordTagFactory A WordTagFactory acts as a factory for creating objects of class WordTag.
 

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.