Skip to main content

Natural Language Mathematical Calculator

Project description

Introduction Code Health Documentation Status

This Package is an example project for the botify framework. It can be used to parse mathematical expressions expressed in natural language and evaluate the result.


>>> from nlcalc import NLCalculator
>>> my_calc = NLCalculator()
>>> result = my_calc.calculate("what is two plus twenty five")
>>> print(result)
>>> result = my_calc.calculate("3 square plus four square")
>>> print(result)


pip install nlcalc


This project is licensed under the MIT License - see the LICENSE.txt file for details.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nlcalc, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size (8.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page