Package nltk_lite :: Package parse :: Module sr
[hide private]
[frames] | no frames]

Module sr

source code

Classes [hide private]
  ShiftReduce
A simple bottom-up CFG parser that uses two operations, "shift" and "reduce", to find a single parse for a text.
  SteppingShiftReduce
A ShiftReduce that allows you to setp through the parsing process, performing a single operation at a time.
Functions [hide private]
 
demo()
A demonstration of the shift-reduce parser.
source code