Serialized Form


Package edu.stanford.nlp.io

Class edu.stanford.nlp.io.RuntimeIOException extends RuntimeException implements Serializable


Package edu.stanford.nlp.io.ui

Class edu.stanford.nlp.io.ui.OpenPageDialog extends JDialog implements Serializable

Serialized Fields

jfc

JFileChooser jfc

status

int status

urlTextField

JTextField urlTextField

openButton

JButton openButton

jLabel1

JLabel jLabel1

jPanel3

JPanel jPanel3

jLabel2

JLabel jLabel2

jPanel2

JPanel jPanel2

cancelButton

JButton cancelButton

browseButton

JButton browseButton

jPanel1

JPanel jPanel1

Package edu.stanford.nlp.ling

Class edu.stanford.nlp.ling.BasicDocument extends ArrayList<Word> implements Serializable

serialVersionUID: -24171720584352262L

Serialized Fields

title

String title
title of this document (never null).


originalText

String originalText
original text of this document (may be null).


labels

List<E> labels
Label(s) for this document.


tokenizerFactory

TokenizerFactory<T> tokenizerFactory
TokenizerFactory used to convert the text into words inside BasicDocument.parse(String).

Class edu.stanford.nlp.ling.CategoryWordTag extends StringLabel implements Serializable

serialVersionUID: -745085381666943254L

Serialized Fields

word

String word

tag

String tag

Class edu.stanford.nlp.ling.CoreLabel extends ArrayCoreMap implements Serializable

serialVersionUID: 2L

Class edu.stanford.nlp.ling.CyclicCoreLabel extends CoreLabel implements Serializable

serialVersionUID: 1L

Class edu.stanford.nlp.ling.LabeledWord extends Word implements Serializable

serialVersionUID: -7252006452127051085L

Serialized Fields

tag

Label tag

Class edu.stanford.nlp.ling.Sentence extends ArrayList<T extends HasWord> implements Serializable

serialVersionUID: 4659879214203680767L

Class edu.stanford.nlp.ling.StringLabel extends ValueLabel implements Serializable

serialVersionUID: -4153619273767524247L

Serialized Fields

str

String str

beginPosition

int beginPosition
Start position of the word in the original input string


endPosition

int endPosition
End position of the word in the original input string

Class edu.stanford.nlp.ling.Tag extends StringLabel implements Serializable

Class edu.stanford.nlp.ling.TaggedWord extends Word implements Serializable

serialVersionUID: -7252006452127051085L

Serialized Fields

tag

String tag

Class edu.stanford.nlp.ling.ValueLabel extends Object implements Serializable

serialVersionUID: -1413303679077285530L

Class edu.stanford.nlp.ling.Word extends StringLabel implements Serializable

serialVersionUID: -4817252915997034058L

Class edu.stanford.nlp.ling.WordLemmaTag extends Object implements Serializable

serialVersionUID: -5993410244163988138L

Serialized Fields

word

String word

lemma

String lemma

tag

String tag

Class edu.stanford.nlp.ling.WordTag extends Object implements Serializable

serialVersionUID: -1859527239216813742L

Serialized Fields

word

String word

tag

String tag

Package edu.stanford.nlp.objectbank

Class edu.stanford.nlp.objectbank.LineIterator.LineIteratorFactory extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

oper

Function<T1,T2> oper

Class edu.stanford.nlp.objectbank.ObjectBank extends Object implements Serializable

serialVersionUID: -4030295596701541770L

Serialized Fields

rif

ReaderIteratorFactory rif

ifrf

IteratorFromReaderFactory<T> ifrf

contents

List<E> contents

keepInMemory

boolean keepInMemory

Package edu.stanford.nlp.parser.lexparser

Class edu.stanford.nlp.parser.lexparser.AbstractDependencyGrammar extends Object implements Serializable

serialVersionUID: 2L

Serialization Methods

readObject

private void readObject(ObjectInputStream ois)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

tagProjection

TagProjection tagProjection

numTagBins

int numTagBins

tagBin

int[] tagBin

tlp

TreebankLanguagePack tlp

directional

boolean directional

useDistance

boolean useDistance

useCoarseDistance

boolean useCoarseDistance

lex

Lexicon lex

Class edu.stanford.nlp.parser.lexparser.AbstractTreebankParserParams extends Object implements Serializable

serialVersionUID: 4299501909017975915L

Serialized Fields

evalGF

boolean evalGF
If true, then evaluation is over grammatical functions as well as the labels If false, then grammatical functions are stripped for evaluation. This really only makes sense if you've trained with grammatical functions but want to evaluate without them.


inputEncoding

String inputEncoding

outputEncoding

String outputEncoding

tlp

TreebankLanguagePack tlp

Class edu.stanford.nlp.parser.lexparser.ArabicTreebankParserParams extends AbstractTreebankParserParams implements Serializable

serialVersionUID: 1L

Serialized Fields

optionsString

String optionsString

retainNPTmp

boolean retainNPTmp

retainPRD

boolean retainPRD

changeNoLabels

boolean changeNoLabels

collinizerRetainsPunctuation

boolean collinizerRetainsPunctuation

collinizerPruneRegex

Pattern collinizerPruneRegex

discardX

boolean discardX
True means to delete X top-level constituents. These are usually bylines like "Riyadh, Jan 27".


collapse3LetterPrepositionVariants

boolean collapse3LetterPrepositionVariants

headFinderClass

Class<T> headFinderClass

activeAnnotations

HashMap<K,V> activeAnnotations

annotationPatterns

Map<K,V> annotationPatterns

Class edu.stanford.nlp.parser.lexparser.ArabicUnknownWordModel extends BaseUnknownWordModel implements Serializable

serialVersionUID: 4825624957364628771L

Serialized Fields

UNKNOWN_WORD

String UNKNOWN_WORD

BOUNDARY_TAG

String BOUNDARY_TAG

smartMutation

boolean smartMutation

unknownSuffixSize

int unknownSuffixSize

unknownPrefixSize

int unknownPrefixSize

Class edu.stanford.nlp.parser.lexparser.BaseLexicon extends Object implements Serializable

serialVersionUID: 40L

Serialized Fields

uwModel

UnknownWordModel uwModel

smoothInUnknownsThreshold

int smoothInUnknownsThreshold
If a word has been seen more than this many times, then relative frequencies of tags are used for POS assignment; if not, they are smoothed with tag priors.


smartMutation

boolean smartMutation
Have tags changeable based on statistics on word types having various taggings.


seenCounter

ClassicCounter<E> seenCounter
Records the number of times word/tag pair was seen in training data. Includes word/tag pairs where one is a wildcard not a real word/tag.


smooth

double[] smooth

flexiTag

boolean flexiTag

tagsToBaseTags

int[] tagsToBaseTags

Class edu.stanford.nlp.parser.lexparser.BaseUnknownWordModel extends Object implements Serializable

serialVersionUID: 6355171148751673822L

Serialized Fields

useFirst

boolean useFirst

useEnd

boolean useEnd

useGT

boolean useGT

useFirstCap

boolean useFirstCap

endLength

int endLength

unknownLevel

int unknownLevel
What type of equivalence classing is done in getSignature


unSeenCounter

ClassicCounter<E> unSeenCounter
Has counts for taggings in terms of unseen signatures. The IntTagWords are for (tag,sig), (tag,null), (null,sig), (null,null). (None for basic UNK if there are signatures.)


tagHash

HashMap<K,V> tagHash
This maps from a tag (as a label) to a Counter from word signatures to their P(sig|tag), as estimated in the model. For Chinese, the word signature is just the first character or its unicode type for things that aren't Chinese characters.


seenEnd

Set<E> seenEnd
This is the set of all signatures that we have seen.


unknownGT

HashMap<K,V> unknownGT

lex

Lexicon lex
All classes that implement UnknownWordModel must call the constructor that initializes this variable.

Class edu.stanford.nlp.parser.lexparser.BinaryGrammar extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

stateSpace

String stateSpace

numStates

int numStates

allRules

List<E> allRules

Class edu.stanford.nlp.parser.lexparser.BinaryRule extends Rule implements Serializable

serialVersionUID: 1L

Serialized Fields

leftChild

int leftChild

rightChild

int rightChild

hashCode

int hashCode

Class edu.stanford.nlp.parser.lexparser.ChineseCharacterBasedLexicon extends Object implements Serializable

serialVersionUID: -5357655683145854069L

Serialized Fields

charDistributions

Map<K,V> charDistributions

knownChars

Set<E> knownChars

POSDistribution

Distribution<E> POSDistribution

Class edu.stanford.nlp.parser.lexparser.ChineseLexicon extends BaseLexicon implements Serializable

serialVersionUID: -7836464391021114960L

Serialized Fields

probRandomWalk

edu.stanford.nlp.parser.lexparser.RandomWalk probRandomWalk

Class edu.stanford.nlp.parser.lexparser.ChineseLexiconAndWordSegmenter extends Object implements Serializable

serialVersionUID: -6554995189795187918L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

chineseLexicon

ChineseLexicon chineseLexicon

wordSegmenter

WordSegmenter wordSegmenter

op

Options op

Class edu.stanford.nlp.parser.lexparser.ChineseMarkovWordSegmenter extends Object implements Serializable

serialVersionUID: 1559606198270645508L

Serialized Fields

initialPOSDist

Distribution<E> initialPOSDist

markovPOSDists

Map<K,V> markovPOSDists

lex

ChineseCharacterBasedLexicon lex

POSes

Set<E> POSes

Class edu.stanford.nlp.parser.lexparser.ChineseSimWordAvgDepGrammar extends MLEDependencyGrammar implements Serializable

serialVersionUID: -1845503582705055342L

Serialized Fields

simSmooth

double simSmooth

simArgMap

Map<K,V> simArgMap

simHeadMap

Map<K,V> simHeadMap

debug

boolean debug

verbose

boolean verbose

statsCounter

ClassicCounter<E> statsCounter

Class edu.stanford.nlp.parser.lexparser.ChineseTreebankParserParams extends AbstractTreebankParserParams implements Serializable

serialVersionUID: 2L

Serialized Fields

ctlp

ChineseTreebankLanguagePack ctlp
The variable ctlp stores the same thing as the tlp variable in AbstractTreebankParserParams, but pre-cast to be a ChineseTreebankLanguagePack.


charTags

boolean charTags

useCharacterBasedLexicon

boolean useCharacterBasedLexicon

useMaxentLexicon

boolean useMaxentLexicon

useMaxentDepGrammar

boolean useMaxentDepGrammar

segmentMarkov

boolean segmentMarkov

segmentMaxMatch

boolean segmentMaxMatch

sunJurafskyHeadFinder

boolean sunJurafskyHeadFinder

bikelHeadFinder

boolean bikelHeadFinder

discardFrags

boolean discardFrags

useSimilarWordMap

boolean useSimilarWordMap

lex

Lexicon lex

segmenter

WordSegmenter segmenter

depGramFeatureLevel

int depGramFeatureLevel

Class edu.stanford.nlp.parser.lexparser.ChineseUnknownWordModel extends BaseUnknownWordModel implements Serializable

serialVersionUID: 221L

Serialized Fields

useUnicodeType

boolean useUnicodeType

seenFirst

Set<E> seenFirst

Class edu.stanford.nlp.parser.lexparser.EnglishTreebankParserParams extends AbstractTreebankParserParams implements Serializable

serialVersionUID: 4153878351331522581L

Serialized Fields

headFinder

HeadFinder headFinder

Class edu.stanford.nlp.parser.lexparser.EnglishUnknownWordModel extends BaseUnknownWordModel implements Serializable

serialVersionUID: 4825624957364628770L

Serialized Fields

smartMutation

boolean smartMutation

unknownSuffixSize

int unknownSuffixSize

unknownPrefixSize

int unknownPrefixSize

Class edu.stanford.nlp.parser.lexparser.GermanUnknownWordModel extends BaseUnknownWordModel implements Serializable

serialVersionUID: 221L

Class edu.stanford.nlp.parser.lexparser.IntDependency extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

head

IntTaggedWord head

arg

IntTaggedWord arg

leftHeaded

boolean leftHeaded

distance

short distance

Class edu.stanford.nlp.parser.lexparser.IntTaggedWord extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

word

int word

tag

short tag

Class edu.stanford.nlp.parser.lexparser.MLEDependencyGrammar extends AbstractDependencyGrammar implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream stream)
                  throws IOException
Throws:
IOException
Serialized Fields

numWordTokens

int numWordTokens

argCounter

ClassicCounter<E> argCounter
Stores all the counts for dependencies (with and without the word being a wildcard) in the reduced tag space.


stopCounter

ClassicCounter<E> stopCounter

smooth_aT_hTWd

double smooth_aT_hTWd
Bayesian m-estimate prior for aT given hTWd against base distribution of aT given hTd. TODO: Note that these values are overwritten in the constructor. Find what is best and then maybe remove these defaults!


smooth_aTW_hTWd

double smooth_aTW_hTWd
Bayesian m-estimate prior for aTW given hTWd against base distribution of aTW given hTd.


smooth_stop

double smooth_stop

interp

double interp
Interpolation between model that directly predicts aTW and model that predicts aT and then aW given aT. This percent of the mass is on the model directly predicting aTW.


smooth_aTW_aT

double smooth_aTW_aT

smooth_aTW_hTd

double smooth_aTW_hTd

smooth_aT_hTd

double smooth_aT_hTd

smooth_aPTW_aPT

double smooth_aPTW_aPT

smoothTP

TagProjection smoothTP

smoothTPNumberer

Numberer smoothTPNumberer

Class edu.stanford.nlp.parser.lexparser.NegraPennTreebankParserParams extends AbstractTreebankParserParams implements Serializable

serialVersionUID: 2L

Serialized Fields

markRC

boolean markRC

markZuVP

boolean markZuVP

markLP

boolean markLP

markColon

boolean markColon

markKonjParent

boolean markKonjParent

markHDParent

boolean markHDParent

markContainsV

boolean markContainsV

nodeCleanup

int nodeCleanup
Node cleanup is how node names are normalized. The known values are: 0 = do nothing; 1 = keep category and function; 2 = keep only category


treeNormalizerInsertNPinPP

boolean treeNormalizerInsertNPinPP

treeNormalizerLeaveGF

boolean treeNormalizerLeaveGF

treeReaderFactory

NegraPennTreeReaderFactory treeReaderFactory

Class edu.stanford.nlp.parser.lexparser.Options extends Object implements Serializable

serialVersionUID: 4L

Serialized Fields

numStates

int numStates

lexOptions

Options.LexOptions lexOptions

tlpParams

TreebankLangParserParams tlpParams
The treebank-specific parser parameters to use.


forceCNF

boolean forceCNF
Forces parsing with strictly CNF grammar -- unary chains are converted to XP&YP symbols and back


doPCFG

boolean doPCFG
Do a PCFG parse of the sentence. If both variables are on, also do a combined parse of the sentence.


doDep

boolean doDep
Do a dependency parse of the sentence.


freeDependencies

boolean freeDependencies
if true, any child can be the head (seems rather bad!)


directional

boolean directional
Whether dependency grammar considers left/right direction. Good.


genStop

boolean genStop

distance

boolean distance
Use distance bins in the dependency calculations


coarseDistance

boolean coarseDistance
Use coarser distance (4 bins) in dependency calculations


dcTags

boolean dcTags
"double count" tags rewrites as word in PCFG and Dep parser. Good for combined parsing only (it used to not kick in for PCFG parsing). This option is only used at Test time, but it is now in Options, so the correct choice for a grammar is recorded by a serialized parser.


nodePrune

boolean nodePrune
If true, inside the factored parser, remove any node from the final chosen tree which improves the PCFG score. This was added as the dependency factor tends to encourage 'deep' trees.

Class edu.stanford.nlp.parser.lexparser.Options.LexOptions extends Object implements Serializable

serialVersionUID: 2805351374506855632L

Serialized Fields

useUnknownWordSignatures

int useUnknownWordSignatures
Whether to use suffix and capitalization information for unknowns. Within the BaseLexicon model options have the following meaning: 0 means a single unknown token. 1 uses suffix, and capitalization. 2 uses a variant (richer) form of signature. Good. Use this one. Using the richer signatures in versions 3 or 4 seems to have very marginal or no positive value. 3 uses a richer form of signature that mimics the NER word type patterns. 4 is a variant of 2. 5 is another with more English specific morphology (good for English unknowns!). 6-9 are options for Arabic. 9 codes some patterns for numbers and derivational morophology, but also supports unknownPrefixSize and unknownSuffixSize. For German, 0 means a single unknown token, and non-zero means to use capitalization of first letter and a suffix of length unknownSuffixSize.


smoothInUnknownsThreshold

int smoothInUnknownsThreshold
Words more common than this are tagged with MLE P(t|w). Default 100. The smoothing is sufficiently slight that changing this has little effect.


smartMutation

boolean smartMutation
Smarter smoothing for rare words.


useUnicodeType

boolean useUnicodeType
Make use of unicode code point types in smoothing.


unknownSuffixSize

int unknownSuffixSize
For certain Lexicons, a certain number of word-final letters are used to subclassify the unknown token. This gives the number of letters.


unknownPrefixSize

int unknownPrefixSize
For certain Lexicons, a certain number of word-initial letters are used to subclassify the unknown token. This gives the number of letters.


uwModel

String uwModel
Model for unknown words that the lexicon should use


flexiTag

boolean flexiTag

Class edu.stanford.nlp.parser.lexparser.ParserData extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

lex

Lexicon lex

bg

BinaryGrammar bg

ug

UnaryGrammar ug

dg

DependencyGrammar dg

numbs

Map<K,V> numbs

pt

Options pt

Class edu.stanford.nlp.parser.lexparser.PetrovLexicon extends Object implements Serializable

Serialized Fields

tagNumberer

Numberer tagNumberer

wordNumberer

Numberer wordNumberer

wordCounter

ClassicCounter<E> wordCounter

tagCounter

ClassicCounter<E> tagCounter

unseenTagCounter

ClassicCounter<E> unseenTagCounter

tagAndWordCounter

ClassicCounter<E> tagAndWordCounter

unseenTagAndSignatureCounter

ClassicCounter<E> unseenTagAndSignatureCounter

smoothInUnknownsThreshold

int smoothInUnknownsThreshold

smooth

double smooth

rulesWithWord

List<E>[] rulesWithWord

lastWord

int lastWord

lastSignature

int lastSignature

Class edu.stanford.nlp.parser.lexparser.Rule extends Object implements Serializable

serialVersionUID: 2L

Serialized Fields

parent

int parent

score

float score

Class edu.stanford.nlp.parser.lexparser.TueBaDZParserParams extends AbstractTreebankParserParams implements Serializable

serialVersionUID: 7303189408025355170L

Serialized Fields

hf

HeadFinder hf

nodeCleanup

int nodeCleanup
How to clean up node labels: 0 = do nothing, 1 = keep category and function, 2 = just category.


markKonjParent

boolean markKonjParent

markContainsV

boolean markContainsV

markZu

boolean markZu

markColons

boolean markColons

leftPhrasal

boolean leftPhrasal

markHDParent

boolean markHDParent

leaveGF

boolean leaveGF

Class edu.stanford.nlp.parser.lexparser.UnaryGrammar extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

numStates

int numStates
The number of "states" (nonterms) in the grammar, used to index rules.


stateSpace

String stateSpace
The name of the Numberer state space for unary rules. Usually "states"


coreRules

Map<K,V> coreRules
The basic list of UnaryRules. Really this is treated as a set

Class edu.stanford.nlp.parser.lexparser.UnaryRule extends Rule implements Serializable

serialVersionUID: 1L

Serialized Fields

child

int child

Package edu.stanford.nlp.parser.ui

Class edu.stanford.nlp.parser.ui.Parser extends JFrame implements Serializable

Serialized Fields

parserPanel

ParserPanel parserPanel

untokEngItem

JCheckBoxMenuItem untokEngItem

tokChineseItem

JCheckBoxMenuItem tokChineseItem

untokChineseItem

JCheckBoxMenuItem untokChineseItem

jMenu2

JMenu jMenu2

loadParserItem

JMenuItem loadParserItem

loadDataItem

JMenuItem loadDataItem

jSeparator1

JSeparator jSeparator1

jMenu1

JMenu jMenu1

exitItem

JMenuItem exitItem

jMenuBar1

JMenuBar jMenuBar1

Class edu.stanford.nlp.parser.ui.ParserPanel extends JPanel implements Serializable

Serialized Fields

encoding

String encoding

segmentWords

boolean segmentWords

jfc

JFileChooser jfc

pageDialog

OpenPageDialog pageDialog

normalStyle

SimpleAttributeSet normalStyle

highlightStyle

SimpleAttributeSet highlightStyle

startIndex

int startIndex

endIndex

int endIndex

treePanel

TreeJPanel treePanel

parser

LexicalizedParser parser

lpThread

edu.stanford.nlp.parser.ui.ParserPanel.LoadParserThread lpThread

parseThread

edu.stanford.nlp.parser.ui.ParserPanel.ParseThread parseThread

timer

Timer timer

count

int count

glassPane

Component glassPane

scrollWhenDone

boolean scrollWhenDone
Whether to scroll one sentence forward after parsing.


dataFileLabel

JLabel dataFileLabel

treeContainer

JPanel treeContainer

topPanel

JPanel topPanel

textScrollPane

JScrollPane textScrollPane

backButton

JButton backButton

statusLabel

JLabel statusLabel

loadFileButton

JButton loadFileButton

loadButtonPanel

JPanel loadButtonPanel

buttonsAndFilePanel

JPanel buttonsAndFilePanel

parseButton

JButton parseButton

parseNextButton

JButton parseNextButton

forwardButton

JButton forwardButton

parserFileLabel

JLabel parserFileLabel

clearButton

JButton clearButton

splitPane

JSplitPane splitPane

statusPanel

JPanel statusPanel

dataFilePanel

JPanel dataFilePanel

buttonPanel

JPanel buttonPanel

textPane

JTextPane textPane

progressBar

JProgressBar progressBar

parserFilePanel

JPanel parserFilePanel

loadParserButton

JButton loadParserButton

Class edu.stanford.nlp.parser.ui.TreeJPanel extends JPanel implements Serializable

Serialized Fields

VERTICAL_ALIGN

int VERTICAL_ALIGN

HORIZONTAL_ALIGN

int HORIZONTAL_ALIGN

maxFontSize

int maxFontSize

minFontSize

int minFontSize

tree

Tree tree

Package edu.stanford.nlp.process

Package edu.stanford.nlp.stats

Class edu.stanford.nlp.stats.ClassicCounter extends Object implements Serializable

serialVersionUID: 4L

Serialized Fields

map

Map<K,V> map

mapFactory

MapFactory<K,V> mapFactory

totalCount

double totalCount

defaultValue

double defaultValue

Class edu.stanford.nlp.stats.Distribution extends Object implements Serializable

serialVersionUID: 6707148234288637809L

Serialized Fields

numberOfKeys

int numberOfKeys

reservedMass

double reservedMass

counter

Counter<E> counter

Class edu.stanford.nlp.stats.GeneralizedCounter extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

map

Map<K,V> map

depth

int depth

total

double total

Class edu.stanford.nlp.stats.IntCounter extends AbstractCounter<E> implements Serializable

serialVersionUID: 4L

Serialized Fields

map

Map<K,V> map

mapFactory

MapFactory<K,V> mapFactory

totalCount

int totalCount

defaultValue

int defaultValue

Class edu.stanford.nlp.stats.TwoDimensionalCounter extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

map

Map<K,V> map

total

double total

outerMF

MapFactory<K,V> outerMF

innerMF

MapFactory<K,V> innerMF

defaultValue

double defaultValue

Package edu.stanford.nlp.trees

Class edu.stanford.nlp.trees.AbstractCollinsHeadFinder extends Object implements Serializable

serialVersionUID: -6540278059442931087L

Serialized Fields

tlp

TreebankLanguagePack tlp

nonTerminalInfo

HashMap<K,V> nonTerminalInfo

defaultRule

String[] defaultRule

Class edu.stanford.nlp.trees.AbstractTreebankLanguagePack extends Object implements Serializable

serialVersionUID: -6506749780512708352L

Serialized Fields

gfCharacter

char gfCharacter
Default character for indicating that something is a grammatical fn; probably should be overridden by lang specific ones


punctTagStringAcceptFilter

Filter<T> punctTagStringAcceptFilter

punctWordStringAcceptFilter

Filter<T> punctWordStringAcceptFilter

sFPunctTagStringAcceptFilter

Filter<T> sFPunctTagStringAcceptFilter

eIPunctTagStringAcceptFilter

Filter<T> eIPunctTagStringAcceptFilter

startSymbolAcceptFilter

Filter<T> startSymbolAcceptFilter

Class edu.stanford.nlp.trees.BobChrisTreeNormalizer extends TreeNormalizer implements Serializable

serialVersionUID: -1005188028979810143L

Serialized Fields

tlp

TreebankLanguagePack tlp

emptyFilter

Filter<T> emptyFilter

aOverAFilter

Filter<T> aOverAFilter

Class edu.stanford.nlp.trees.BobChrisTreeNormalizer.AOverAFilter extends Object implements Serializable

serialVersionUID: 1L

Class edu.stanford.nlp.trees.BobChrisTreeNormalizer.EmptyFilter extends Object implements Serializable

serialVersionUID: 8914098359495987617L

Class edu.stanford.nlp.trees.CollinsHeadFinder extends AbstractCollinsHeadFinder implements Serializable

serialVersionUID: -8747319554557223437L

Class edu.stanford.nlp.trees.Dependencies.DependentPuncTagRejectFilter extends Object implements Serializable

serialVersionUID: -7732189363171164852L

Serialized Fields

tagRejectFilter

Filter<T> tagRejectFilter

Class edu.stanford.nlp.trees.Dependencies.DependentPuncWordRejectFilter extends Object implements Serializable

Serialized Fields

wordRejectFilter

Filter<T> wordRejectFilter

Class edu.stanford.nlp.trees.EnglishGrammaticalStructure extends GrammaticalStructure implements Serializable

serialVersionUID: -1866362375001969402L

Class edu.stanford.nlp.trees.GrammaticalFunctionTreeNormalizer extends TreeNormalizer implements Serializable

serialVersionUID: -2270472762938163327L

Serialized Fields

nodeCleanup

int nodeCleanup
How to clean up node labels: 0 = do nothing, 1 = keep category and function, 2 = just category.


root

String root

tlp

TreebankLanguagePack tlp

Class edu.stanford.nlp.trees.GrammaticalRelation extends Object implements Serializable

serialVersionUID: 892618003417550128L

Serialized Fields

shortName

String shortName

longName

String longName

parent

GrammaticalRelation parent

children

List<E> children

sourcePattern

Pattern sourcePattern

targetPatterns

List<E> targetPatterns

specific

String specific

Class edu.stanford.nlp.trees.GrammaticalStructure extends TreeGraph implements Serializable

serialVersionUID: 2286294455343892678L

Serialized Fields

dependencies

Set<E> dependencies

typedDependencies

List<E> typedDependencies

allTypedDependencies

List<E> allTypedDependencies

Class edu.stanford.nlp.trees.LabeledScoredTreeLeaf extends Tree implements Serializable

Serialized Fields

label

Label label
The string representing the word that is the yield of the parse tree.


score

double score
The score for the leaf

Class edu.stanford.nlp.trees.LabeledScoredTreeNode extends Tree implements Serializable

Serialized Fields

label

Label label
Label of the parse tree.


score

double score
Score of TreeNode


daughterTrees

Tree[] daughterTrees
Daughters of the parse tree.

Class edu.stanford.nlp.trees.LeftHeadFinder extends Object implements Serializable

Class edu.stanford.nlp.trees.ModCollinsHeadFinder extends CollinsHeadFinder implements Serializable

serialVersionUID: -5870387458902637256L

Class edu.stanford.nlp.trees.NPTmpRetainingTreeNormalizer extends BobChrisTreeNormalizer implements Serializable

Serialized Fields

temporalAnnotation

int temporalAnnotation

doSGappedStuff

boolean doSGappedStuff

leaveItAll

int leaveItAll

doAdverbialNP

boolean doAdverbialNP

headFinder

HeadFinder headFinder

Class edu.stanford.nlp.trees.OrderedCombinationTreeNormalizer extends TreeNormalizer implements Serializable

serialVersionUID: 326L

Serialized Fields

tns

List<E> tns

Class edu.stanford.nlp.trees.PennTreebankLanguagePack extends AbstractTreebankLanguagePack implements Serializable

serialVersionUID: 9081305982861675328L

Class edu.stanford.nlp.trees.SemanticHeadFinder extends ModCollinsHeadFinder implements Serializable

serialVersionUID: 5721799188009249808L

Serialized Fields

verbalAuxiliaries

HashSet<E> verbalAuxiliaries

copulars

HashSet<E> copulars

verbalTags

HashSet<E> verbalTags

Class edu.stanford.nlp.trees.SimpleTree extends Tree implements Serializable

Serialized Fields

daughterTrees

Tree[] daughterTrees
Daughters of the parse tree.

Class edu.stanford.nlp.trees.Tree extends AbstractCollection<Tree> implements Serializable

serialVersionUID: 5441849457648722744L

Serialized Fields

score

double score

Class edu.stanford.nlp.trees.TreeGraph extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

root

TreeGraphNode root
The root node of this treegraph.


indexMap

Map<K,V> indexMap
A map from arbitrary integer indices to nodes.

Class edu.stanford.nlp.trees.TreeGraphNode extends Tree implements Serializable

serialVersionUID: 5080098143617475328L

Serialized Fields

label

CyclicCoreLabel label
Label for this node.


parent

TreeGraphNode parent
Parent of this node.


children

TreeGraphNode[] children
Children of this node.


tg

TreeGraph tg
The TreeGraph of which this node is part.

Class edu.stanford.nlp.trees.TreeNormalizer extends Object implements Serializable

serialVersionUID: 1540681875853883387L

Class edu.stanford.nlp.trees.UnnamedDependency extends Object implements Serializable

serialVersionUID: 5L

Serialized Fields

regent

Label regent

dependent

Label dependent

Package edu.stanford.nlp.trees.international.arabic

Class edu.stanford.nlp.trees.international.arabic.ArabicHeadFinder extends AbstractCollinsHeadFinder implements Serializable

serialVersionUID: 6203368998430280740L

Serialized Fields

tagSet

ArabicHeadFinder.TagSet tagSet

predPattern

Pattern predPattern

Class edu.stanford.nlp.trees.international.arabic.ArabicTreebankLanguagePack extends AbstractTreebankLanguagePack implements Serializable

serialVersionUID: 9081305982861675328L

Serialized Fields

detPlusNounIsBasicCategory

boolean detPlusNounIsBasicCategory

Class edu.stanford.nlp.trees.international.arabic.ArabicTreeNormalizer extends BobChrisTreeNormalizer implements Serializable

Serialized Fields

retainNPTmp

boolean retainNPTmp

markPRDverb

boolean markPRDverb

collapse3LetterPrepositionVariants

boolean collapse3LetterPrepositionVariants

normalizeConj

boolean normalizeConj

changeNoLabels

boolean changeNoLabels

prdPattern

Pattern prdPattern

prdVerbPattern

TregexPattern prdVerbPattern

warnedPrepositions

boolean warnedPrepositions

Class edu.stanford.nlp.trees.international.arabic.ArabicTreeNormalizer.ArabicEmptyFilter extends Object implements Serializable

serialVersionUID: 7417844982953945964L

Class edu.stanford.nlp.trees.international.arabic.ArabicTreeReaderFactory extends Object implements Serializable

serialVersionUID: 1973767605277873017L

Serialized Fields

retainNPTmp

boolean retainNPTmp

retainPRD

boolean retainPRD

changeNoLabels

boolean changeNoLabels

mapPrepositions

boolean mapPrepositions

filterX

boolean filterX

Class edu.stanford.nlp.trees.international.arabic.ArabicTreeReaderFactory.ArabicRawTreeReaderFactory extends ArabicTreeReaderFactory implements Serializable

serialVersionUID: -5693371540982097793L

Class edu.stanford.nlp.trees.international.arabic.ArabicTreeReaderFactory.ArabicXFilteringTreeReaderFactory extends ArabicTreeReaderFactory implements Serializable

serialVersionUID: -2028631608727725548L

Class edu.stanford.nlp.trees.international.arabic.Buckwalter extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

outputUnicodeValues

boolean outputUnicodeValues
If true (include flag "-outputUnicodeValues"), outputs space separated unicode values (e.g., "Ø¡" rather than the character version of those values. Only applicable for Buckwalter to Arabic conversion.


arabicChars

char[] arabicChars

buckChars

char[] buckChars

u2b

boolean u2b

a2b

HashMap<K,V> a2b

b2a

HashMap<K,V> b2a

unmappable

ClassicCounter<E> unmappable

Package edu.stanford.nlp.trees.international.negra

Class edu.stanford.nlp.trees.international.negra.NegraLabel extends StringLabel implements Serializable

Serialized Fields

edge

String edge

features

Map<K,V> features

Class edu.stanford.nlp.trees.international.negra.NegraPennLanguagePack extends AbstractTreebankLanguagePack implements Serializable

serialVersionUID: 9081305982861675328L

Serialized Fields

leaveGF

boolean leaveGF

limitedGF

boolean limitedGF

Class edu.stanford.nlp.trees.international.negra.NegraPennTreeNormalizer extends TreeNormalizer implements Serializable

serialVersionUID: 8529514903815041064L

Serialized Fields

nodeCleanup

int nodeCleanup
How to clean up node labels: 0 = do nothing, 1 = keep category and function, 2 = just category


root

String root

tlp

TreebankLanguagePack tlp

leaveGF

boolean leaveGF

insertNPinPP

boolean insertNPinPP

prepositionTags

List<E> prepositionTags

postpositionTags

List<E> postpositionTags

Class edu.stanford.nlp.trees.international.negra.NegraPennTreeReaderFactory extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

nodeCleanup

int nodeCleanup

tlp

TreebankLanguagePack tlp

treeNormalizerInsertNPinPP

boolean treeNormalizerInsertNPinPP

Class edu.stanford.nlp.trees.international.negra.TigerHeadFinder extends AbstractCollinsHeadFinder implements Serializable

Serialized Fields

coordSwitch

boolean coordSwitch

left

String left

right

String right

Package edu.stanford.nlp.trees.international.pennchinese

Class edu.stanford.nlp.trees.international.pennchinese.BikelChineseHeadFinder extends AbstractCollinsHeadFinder implements Serializable

Class edu.stanford.nlp.trees.international.pennchinese.CharacterLevelTagExtender extends BobChrisTreeNormalizer implements Serializable

serialVersionUID: 7893996593626523700L

Class edu.stanford.nlp.trees.international.pennchinese.ChineseEnglishWordMap extends Object implements Serializable

Serialized Fields

map

Map<K,V> map

normalized

boolean normalized

Class edu.stanford.nlp.trees.international.pennchinese.ChineseGrammaticalStructure extends GrammaticalStructure implements Serializable

serialVersionUID: 8877651855167458256L

Class edu.stanford.nlp.trees.international.pennchinese.ChineseHeadFinder extends AbstractCollinsHeadFinder implements Serializable

serialVersionUID: 6143632784691159283L

Class edu.stanford.nlp.trees.international.pennchinese.ChineseSemanticHeadFinder extends ChineseHeadFinder implements Serializable

serialVersionUID: 2L

Class edu.stanford.nlp.trees.international.pennchinese.ChineseTreebankLanguagePack extends AbstractTreebankLanguagePack implements Serializable

serialVersionUID: 5757403475523638802L

Class edu.stanford.nlp.trees.international.pennchinese.CTBErrorCorrectingTreeNormalizer extends BobChrisTreeNormalizer implements Serializable

serialVersionUID: -8203853817025401845L

Serialized Fields

tagExtender

CharacterLevelTagExtender tagExtender

splitNPTMP

boolean splitNPTMP

splitPPTMP

boolean splitPPTMP

splitXPTMP

boolean splitXPTMP

chineseEmptyFilter

Filter<T> chineseEmptyFilter

Class edu.stanford.nlp.trees.international.pennchinese.SunJurafskyChineseHeadFinder extends AbstractCollinsHeadFinder implements Serializable


Package edu.stanford.nlp.trees.international.tuebadz

Class edu.stanford.nlp.trees.international.tuebadz.TueBaDZHeadFinder extends AbstractCollinsHeadFinder implements Serializable

serialVersionUID: 1L

Serialized Fields

left

String left

right

String right

coordSwitch

boolean coordSwitch

headMarkedPattern

Pattern headMarkedPattern

headMarkedPattern2

Pattern headMarkedPattern2

Class edu.stanford.nlp.trees.international.tuebadz.TueBaDZLanguagePack extends AbstractTreebankLanguagePack implements Serializable

serialVersionUID: 2697418320262700673L

Serialized Fields

limitedGF

boolean limitedGF

leaveGF

boolean leaveGF

Class edu.stanford.nlp.trees.international.tuebadz.TueBaDZPennTreeNormalizer extends TreeNormalizer implements Serializable

serialVersionUID: 8009544230321390490L

Serialized Fields

nodeCleanup

int nodeCleanup
How to clean up node labels: 0 = do nothing, 1 = keep category and function, 2 = just category.


root

String root

tlp

TreebankLanguagePack tlp

tns

List<E> tns

Class edu.stanford.nlp.trees.international.tuebadz.TueBaDZTreeReaderFactory extends Object implements Serializable

serialVersionUID: 1614799885744961795L

Serialized Fields

tlp

TreebankLanguagePack tlp

nodeCleanup

int nodeCleanup

Package edu.stanford.nlp.trees.tregex

Class edu.stanford.nlp.trees.tregex.ParseException extends Exception implements Serializable

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

String eol
The end of line string for this machine.

Class edu.stanford.nlp.trees.tregex.TokenMgrError extends Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.

Class edu.stanford.nlp.trees.tregex.TregexPattern extends Object implements Serializable

serialVersionUID: 5060298043763944913L

Serialized Fields

neg

boolean neg

opt

boolean opt

patternString

String patternString

Package edu.stanford.nlp.trees.tregex.tsurgeon

Class edu.stanford.nlp.trees.tregex.tsurgeon.ParseException extends Exception implements Serializable

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

String eol
The end of line string for this machine.

Class edu.stanford.nlp.trees.tregex.tsurgeon.TokenMgrError extends Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.


Package edu.stanford.nlp.util

Class edu.stanford.nlp.util.ArrayCoreMap extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Overriden serialization method: compacts our map before writing.

Throws:
IOException - If IO error
Serialized Fields

keys

Class<T>[] keys
Array of keys


values

Object[] values
Array of values


size

int size
Total number of elements actually in keys,values

Class edu.stanford.nlp.util.CollectionFactory extends Object implements Serializable

Class edu.stanford.nlp.util.CollectionFactory.ArrayListFactory extends CollectionFactory<T> implements Serializable

Class edu.stanford.nlp.util.CollectionFactory.HashSetFactory extends CollectionFactory<T> implements Serializable

Class edu.stanford.nlp.util.CollectionFactory.LinkedListFactory extends CollectionFactory<T> implements Serializable

Class edu.stanford.nlp.util.CollectionValuedMap extends Object implements Serializable

Serialized Fields

map

Map<K,V> map

cf

CollectionFactory<T> cf

treatCollectionsAsImmutable

boolean treatCollectionsAsImmutable

mf

MapFactory<K,V> mf

emptySet

Set<E> emptySet

Class edu.stanford.nlp.util.DeltaCollectionValuedMap extends CollectionValuedMap<K,V> implements Serializable

Serialized Fields

originalMap

CollectionValuedMap<K,V> originalMap

deltaMap

Map<K,V> deltaMap

Class edu.stanford.nlp.util.FixedPrioritiesPriorityQueue extends AbstractSet<E> implements Serializable

Serialized Fields

size

int size

capacity

int capacity

elements

List<E> elements

priorities

double[] priorities

Class edu.stanford.nlp.util.HashableCoreMap extends ArrayCoreMap implements Serializable

serialVersionUID: 1L

Serialized Fields

immutableKeys

Set<E> immutableKeys
Set of immutable keys


hashcode

int hashcode
Pre-computed hashcode

Class edu.stanford.nlp.util.HashableCoreMap.HashableCoreMapException extends RuntimeException implements Serializable

serialVersionUID: 1L

Class edu.stanford.nlp.util.IdentityHashSet extends AbstractSet<E> implements Serializable

serialVersionUID: -5024744406713321676L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Deserialize this Object in a manner which is binary-compatible with the JDK.

Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Serialize this Object in a manner which is binary-compatible with the JDK.

Throws:
IOException

Class edu.stanford.nlp.util.Index extends AbstractCollection<E> implements Serializable

serialVersionUID: 5398562825928375260L

Serialized Fields

objects

ArrayList<E> objects

indexes

HashMap<K,V> indexes

locked

boolean locked

Class edu.stanford.nlp.util.IntPair extends IntTuple implements Serializable

Class edu.stanford.nlp.util.IntQuadruple extends IntTuple implements Serializable

serialVersionUID: 7154973101012473479L

Class edu.stanford.nlp.util.IntTriple extends IntTuple implements Serializable

Class edu.stanford.nlp.util.IntTuple extends Object implements Serializable

serialVersionUID: 7266305463893511982L

Serialized Fields

elements

int[] elements

Class edu.stanford.nlp.util.IntUni extends IntTuple implements Serializable

serialVersionUID: -7182556672628741200L

Class edu.stanford.nlp.util.MapFactory extends Object implements Serializable

serialVersionUID: 4529666940763477360L

Class edu.stanford.nlp.util.MutableDouble extends Number implements Serializable

serialVersionUID: 624465615824626762L

Serialized Fields

d

double d

Class edu.stanford.nlp.util.MutableInteger extends Number implements Serializable

serialVersionUID: 624465615824626762L

Serialized Fields

i

int i

Class edu.stanford.nlp.util.Numberer extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

total

int total

intToObject

Map<K,V> intToObject

objectToInt

Map<K,V> objectToInt

tempInt

MutableInteger tempInt

locked

boolean locked

Class edu.stanford.nlp.util.Pair extends Object implements Serializable

serialVersionUID: 1360822168806852921L

Serialized Fields

first

Object first
Direct access is deprecated. Use first().

 

second

Object second
Direct access is deprecated. Use second().

 

Class edu.stanford.nlp.util.ScoredComparator extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

ascending

boolean ascending

Class edu.stanford.nlp.util.Triple extends Object implements Serializable

Serialized Fields

first

Object first

second

Object second

third

Object third



Stanford NLP Group