Richard!
This Python software library allows you to turn human language sentences into Python code. It is suited for both simple commands and complex questions with nested clauses.
Introduction
Modules
- Core module
- (‘equals’, E1, E2)
- (‘greater_than’, E1, E2)
- (‘less_than’, E1, E2)
- (‘count’, E1, [body-atoms])
- (‘sum’, E1, E2, [body-atoms])
- (‘arg_max’, E1, E2, [body-atoms])
- (‘arg_min’, E1, E2, [body-atoms])
- (‘avg’, E1, E2, [body-atoms])
- (‘percentage’, E1, [nominator-atoms], [denominator-atoms])
- (‘not’, [body-atoms])
- (‘let’, E1, C)
- (‘det_equals’, [body-atoms], E2)
- (‘det_greater_than’, [body-atoms], E2)
- (‘det_less_than’, [body-atoms], E2)
- (‘all’, E1, [range-atoms], [body-atoms])
- (‘none’, [body-atoms])
- (‘scoped’, [body-atoms])
- (‘store’, [body-atoms])
= - (‘findall’, variable-name, body-atoms, result-variable)
- (‘find_all’, [variable-name, variable-name…], body-atoms, result-variable)
- (‘find_one’, variable-name, body-atoms, result-variable)
- (‘fine_one’, [variable-name, variable-name…], body-atoms, result-variable)
- Dialog context
- Output buffer
- Inference engine
- Grammar module
- Custom modules
Semantic constructs