|
Parsing Engine | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WordList | |
---|---|
danbikel.parser | Provides the core framework of this extensible statistical parsing engine. |
Uses of WordList in danbikel.parser |
---|
Fields in danbikel.parser declared as WordList | |
---|---|
protected WordList |
Decoder.prevModWordLeftLookupList
A reusable object for constructing previous left-modifier word lists for chart items. |
protected WordList |
Decoder.prevModWordRightLookupList
A reusable object for constructing previous right-modifier word lists for chart items. |
protected WordList |
Decoder.startWordList
A list containing only Training.startWord() , which is the
type of list that should be used when there are zero real previous
modifiers (to start the Markov modifier process). |
Methods in danbikel.parser that return WordList | |
---|---|
WordList |
WordList.copy()
Returns a deep copy of this word list. |
protected WordList |
Decoder.getPrevModWords(CKYItem item,
SLNode modChildren,
boolean side)
Creates a new previous-modifier word list given the specified current list and the last modifier on a particular side. |
static WordList |
WordListFactory.newList(Collection c)
Returns a new WordList object containing the words of the
specified collection. |
static WordList |
WordListFactory.newList(int size)
Returns a new WordList object of the specified size. |
static WordList |
WordListFactory.newList(SexpList list)
Returns a new WordList object containing Word
objects constructed from the elements of the specified list, using the
Word.Word(Sexp) constructor. |
static WordList |
Trainer.newStartWordList()
|
WordList |
ModifierEvent.previousWords()
Returns a list of the head words of modifiers that have already been generated. |
Methods in danbikel.parser with parameters of type WordList | |
---|---|
void |
ModifierEvent.setPreviousWords(WordList previousWords)
Sets the previous words list. |
void |
BaseNPAwareShifter.shift(TrainerEvent event,
WordList wordList,
Word prevWord)
The head word of the previous modifier is not shifted into the history if the current parent (as determined by TrainerEvent.parent() ) is a base NP and the previous modifier is
punctuation. |
void |
DefaultShifter.shift(TrainerEvent event,
WordList wordList,
Word prevWord)
|
void |
Shift.shift(TrainerEvent event,
WordList wordList,
Word prevWord)
Shifts the previously-generated modifier head word into the history. |
static void |
Shifter.shift(TrainerEvent event,
WordList wordList,
Word prevWord)
Uses the internal Shifter instance to shift the newly-generated
(and therefore previously-generated) head word into the history, which is a
WordList . |
Constructors in danbikel.parser with parameters of type WordList | |
---|---|
ModifierEvent(Word modHeadWord,
Word headWord,
Symbol modifier,
SexpList previousMods,
WordList previousWords,
Symbol parent,
Symbol head,
SexpList subcat,
boolean verbIntervening,
boolean side)
Constructs a new ModifierEvent object, settings its
data members to the values specified. |
|
ModifierEvent(Word modHeadWord,
Word headWord,
Symbol modifier,
SexpList previousMods,
WordList previousWords,
Symbol parent,
Symbol head,
Subcat subcat,
boolean verbIntervening,
boolean side)
Constructs a new ModifierEvent object, settings its
data members to the values specified. |
|
ModifierEvent(Word modHeadWord,
Word headWord,
Symbol modifier,
SexpList previousMods,
WordList previousWords,
Symbol parent,
Symbol head,
Subcat subcat,
Word prevPunc,
Word prevConj,
boolean isConjPConj,
boolean verbIntervening,
boolean headAdjacent,
boolean side)
Constructs a new ModifierEvent object for use when
outputting training events in the format of Mike Collins’ parser,
settings its data members to the values specified. |
|
Parsing Engine | |||||||||
PREV NEXT | FRAMES NO FRAMES |