nltk.CfgReadingCommand

class nltk.CfgReadingCommand(gramfile=None)[source]

Methods

__init__([gramfile])
param gramfile:name of file where grammar can be loaded
combine_readings(readings)
see:ReadingCommand.combine_readings()
parse_to_readings(sentence)
see:ReadingCommand.parse_to_readings()
process_thread(sentence_readings) This method should be used to handle dependencies between readings such as resolving anaphora.
to_fol(expression)
see:ReadingCommand.to_fol()