| Package | Description |
|---|---|
| edu.nyu.jet.hmm |
The HMM package includes the classes for Hidden Markov Models,
and part-of-speech and name taggers implemented using HMMs. A separate
description is available of the overall structure and external representation
of these models, provided for those who wish to modify the models.
|
| edu.nyu.jet.lex |
The Lex Package incorporate the code for reading dictionaries,
looking words up in dictionaries, and tokenizing text.
|
| edu.nyu.jet.lisp |
The Lisp package includes the basic classes for symbol manipulation
in Jet: literals, variables, and feature sets.
|
| edu.nyu.jet.pat |
The Pat package encapsulates the basic pattern application
mechanism of Jet, sets of pattern/action rules which can be applied
to a document to add or modify annotations on the document. The external
form of the pattern language is described below; the classes used
to encode these patterns are summarized separately.
|
| edu.nyu.jet.tipster |
The Tipster package provides the basic methods for recording
information about documents. It is loosely based on the 'Tipster
Architecture' developed by R.Grishman as part of the Government-sponsored
Tipster program. The basic objects are Documents and Annotations;
a Document is a container for the text of the document, and a set of Annotations
on the Document.
|
| Modifier and Type | Method and Description |
|---|---|
static FeatureSet[] |
Retagger.ptbToJetFS(String word,
String pennPOS)
given an annotation based on Penn tag set, returns an array
(possibly empty) of corresponding Jet FeatureSets, with one entry for
each possible Jet category and attributes.
|
| Modifier and Type | Method and Description |
|---|---|
double |
BasicHMMemitter.getProbability(String token,
String priorToken,
FeatureSet fs) |
double |
WordFeatureHMMemitter.getProbability(String token,
String priorToken,
FeatureSet fs) |
abstract double |
HMMemitter.getProbability(String token,
String priorToken,
FeatureSet fs)
returns the probability that the current HMM state will emit
token
token with FeatureSet fs. |
double |
BigramHMMemitter.getProbability(String token,
String priorToken,
FeatureSet fs) |
double |
SuffixHMMemitter.getProbability(String token,
String priorToken,
FeatureSet fs) |
static String |
Retagger.jetToPtbPos(FeatureSet fs)
given a FeatureSet fs for a Jet lexical constituent (with a 'cat'
feature and possibly other features), return a Penn POS consistent
with 'fs'.
|
| Modifier and Type | Method and Description |
|---|---|
FeatureSet[] |
LexicalEntry.getDefinition()
returns the definitions for the lexical entry
|
static FeatureSet[] |
Lexicon.lookUp(String[] words)
return an array of the definitions (FeatureSets) associated
with the lexical item words, or null if there are no
definitions associated with this lexical item.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LexicalEntry.addDefinition(FeatureSet fs)
adds fs as an additional definition for this lexical entry
|
static void |
Lexicon.addEntry(String[] words,
FeatureSet fs)
adds fs to the lexicon as a definition of words
|
static void |
Lexicon.addEntry(String[] words,
FeatureSet fs,
String type) |
| Constructor and Description |
|---|
LexicalEntry(String[] wds,
FeatureSet fs)
creates a lexical entry for the sequence of words wds and
makes fs one definition of this sequence.
|
LexicalEntry(String[] wds,
FeatureSet fs,
String type) |
| Modifier and Type | Method and Description |
|---|---|
FeatureSet |
FeatureSet.substitute(HashMap bindings)
Returns a new feature set in which every value of the original feature
set which is a variable has been replace by the binding of that variable
in bindings.
|
static FeatureSet |
FeatureSet.unify(FeatureSet a,
FeatureSet b)
If every feature which occurs in both FeatureSets a and b
has the same value in both FeatureSets, returns a new FeatureSet with the
union of the features; otherwise returns null.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
FeatureSet.equals(FeatureSet fs)
Returns true if the FeatureSet is equal to fs: whether the two
FeatureSets have the same features with equal values.
|
void |
FeatureSet.putAll(FeatureSet fs)
putAll adds all the feature/value pairs in FeatureSet fs
|
boolean |
FeatureSet.subsetOf(FeatureSet fs)
returns true if the FeatureSet is contained in
fs: if
every feature in the FeatureSet is present in fs with the
same value. |
static FeatureSet |
FeatureSet.unify(FeatureSet a,
FeatureSet b)
If every feature which occurs in both FeatureSets a and b
has the same value in both FeatureSets, returns a new FeatureSet with the
union of the features; otherwise returns null.
|
| Constructor and Description |
|---|
FeatureSet(FeatureSet fs)
creates a new FeatureSet with the same features and values as
fs. |
| Modifier and Type | Method and Description |
|---|---|
static HashMap |
Pat.matchFS(FeatureSet fs1,
FeatureSet fs2,
HashMap bindings)
determines whether feature sets fs1 and fs2 can be
matched (unified), consistent with variable bindings bindings.
|
| Constructor and Description |
|---|
AddFeaturesAction(FeatureSet fs,
Variable sv) |
AnnotationPatternElement(String type,
FeatureSet fs)
creates an AnnotationPatternElement which matches an Annotation with type
type and features fs.
|
AnnotationPatternElement(String type,
FeatureSet fs,
Variable v)
creates an AnnotationPatternElement which matches an Annotation with type
type and features fs and, if the match is successful,
binds variable v to the annotation.
|
IntegerPatternElement(FeatureSet fs) |
NewAnnotationAction(String tp,
FeatureSet fs,
Variable sv) |
UndefinedCapPatternElement(FeatureSet fs) |
| Modifier and Type | Method and Description |
|---|---|
FeatureSet |
Annotation.attributes() |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
Document.annotate(String tp,
Span sp,
FeatureSet att)
Creates an annotation and adds it to the document.
|
| Constructor and Description |
|---|
Annotation(String tp,
Span sp,
FeatureSet att) |
Copyright © 2016 New York University. All rights reserved.