Evaluation of boolean expressions in natural languages
Project description
TODO: Complete this document.
Supported grammar
The following Backus-Naur Form (BNF) defines the supported grammar:
<boolean-expression> ::= <operations> <operation> ::= <flat-operation> ::= <or-operation>* <or-operation> ::= <and-operation> ["OR" <and-operation>] <and-operation> ::= <basic-operation> ["AND" <basic-operation>] <basic-operation> ::= ["NOT"] <atom-operand> <atom-operand> ::= <number> | <quoted-string> | <variable> <number> ::= <digit>+ [<decimal-separator> <digit>+] <digit> ::= "0".."9" <decimal-separator> ::= "." -- replaceable <variable> ::= <word> ["." <word>]
Where the following constants can be translated:
"NOT".
".".
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
booleano-1.0a1dev-20090515.tar.gz
(12.3 kB
view hashes)
Built Distribution
Close
Hashes for booleano-1.0a1dev-20090515.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b38da15eabaf611cc5b05c7e3c20d968860ceed2c4472391f1ac0d9d5657bc7e |
|
MD5 | f86f5682b89592db958e41e3278e0936 |
|
BLAKE2b-256 | a1234cc7bccf57b6bf826b82ed157d8a54eed998b3d33ba17b8302bd1c2417f4 |
Close
Hashes for booleano-1.0a1dev_20090515-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49cf9e54df8508226fe46356f327d78a89271baccc55b12cde260f848e66b3f2 |
|
MD5 | 97e11a946c0d6ff1e4ca566227aac845 |
|
BLAKE2b-256 | 9ef353b167ddc1f9259339dc2c8da96ffc33dd2d3dcecc1bf7c7ea65b50a097d |