Class GapFeaturedChartParser

java.lang.Object
  extended byBottomUpChartParser
      extended byAugmentedChartParser
          extended byHeadFeaturedChartParser
              extended byGapFeaturedChartParser

public class GapFeaturedChartParser
extends HeadFeaturedChartParser

This is the bottom-up parser described in NLU2 Chapter 5, with proper handling of GAP features in rules.


Field Summary
 
Fields inherited from class BottomUpChartParser
agenda, categoryCounters, chart, grammar, inputLength, lexicon, nParsesFound, nParsesWanted, SYMBOL_S, tokenizer, tokens
 
Constructor Summary
GapFeaturedChartParser()
           
 
Method Summary
static void main(java.lang.String[] argv)
          Test the gap-featured bottom-up chart parser.
 
Methods inherited from class AugmentedChartParser
extendArcWithEntry
 
Methods inherited from class BottomUpChartParser
addArcToChart, addEntryToChart, createEntryForCompletedArc, createEntryId, entryIsCompleteParse, extendArcsForEntry, fireRulesForEntry, initializeAgenda, initializeAgendaForWord, main, parse, parseDone, setGrammar, setLexicon, setNParsesWanted, setTokenizer, tokensAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GapFeaturedChartParser

public GapFeaturedChartParser()
Method Detail

main

public static void main(java.lang.String[] argv)
Test the gap-featured bottom-up chart parser.