Skip to main content

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


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-20090710.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

booleano-1.0a1dev_20090710-py2.6.egg (85.4 kB view details)

Uploaded Egg

File details

Details for the file booleano-1.0a1dev-20090710.tar.gz.

File metadata

File hashes

Hashes for booleano-1.0a1dev-20090710.tar.gz
Algorithm Hash digest
SHA256 2b82b23f6fa82d224303a632937dc51f2dd1569d9d367e160d017c45ac04f564
MD5 09e987d0280e867fe73137eb1b2bf027
BLAKE2b-256 26090c08ad7ecc97b4a26949f53c4ed34905b956bd8ac215e62ac31d71b4630e

See more details on using hashes here.

File details

Details for the file booleano-1.0a1dev_20090710-py2.6.egg.

File metadata

File hashes

Hashes for booleano-1.0a1dev_20090710-py2.6.egg
Algorithm Hash digest
SHA256 6135d35622171fd63ee22a0b4328af4dd372891e712173b1bb6a76332b894890
MD5 1c34a807ff01ad801bc658f424ddc585
BLAKE2b-256 5f9c568f9bfe65a9039433f92d2cbb1eb457fd72b9b400ed1108bbcb08e7711a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page