class documentation
class ReadingCommand: (source)
Known subclasses: nltk.inference.discourse.CfgReadingCommand, nltk.inference.discourse.DrtGlueReadingCommand
Undocumented
| Method | combine |
No summary |
| Method | parse |
No summary |
| Method | process |
This method should be used to handle dependencies between readings such as resolving anaphora. |
| Method | to |
Convert this expression into a First-Order Logic expression. |
overridden in
nltk.inference.discourse.CfgReadingCommand, nltk.inference.discourse.DrtGlueReadingCommand| Parameters | |
| readings:list(Expression) | readings to combine |
| Returns | |
| Expression | one combined reading |
overridden in
nltk.inference.discourse.CfgReadingCommand, nltk.inference.discourse.DrtGlueReadingCommand| Parameters | |
| sentence:str | the sentence to read |
overridden in
nltk.inference.discourse.DrtGlueReadingCommandThis method should be used to handle dependencies between readings such as resolving anaphora.
| Parameters | |
| sentence | readings to process |
| Returns | |
| list(Expression) | the list of readings after processing |
overridden in
nltk.inference.discourse.CfgReadingCommand, nltk.inference.discourse.DrtGlueReadingCommandConvert this expression into a First-Order Logic expression.
| Parameters | |
| expression:Expression | an expression |
| Returns | |
| Expression | a FOL version of the input expression |