quantulum3
quantulum3 copied to clipboard
Library for unit extraction - fork of quantulum for python3
**Describe the bug** ```python from quantulum3 import parser >>> parser.parse("one and one half miles east") [Quantity(2, "dimensionless" )] ``` **Additional information:** - Python Version: 3.6 - Classifier activated/ sklearn installed:...
The examples don't produce errors on my device (no scipy installed). Yet there are some erroneous outputs: ``` >>> from quantulum3 import parser >>> parser.parse("exports decreased from 816 000 t...
**Is your feature request related to a problem? Please describe.** Currently numbers are stored as floats in float precision. If they happen to be integer, they will be rounded. At...
**Describe the bug** ``` >>> parser.parse("zero point five") [Quantity(0, "dimensionless"), Quantity(5, "dimensionless")] ``` **Expected behavior** Result should be `0.5` **Additional information:** - Version: 3.0
**Is your feature request related to a problem? Please describe.** If i.e. the unit "speed of light day" is entered, its entity is unknown even though it is actually known...
Following warning is thrown when building the classifier currently. This should be fixed before changes are made by sklearn. ``` /home/travis/virtualenv/python3.7.1/lib/python3.7/site-packages/numpy/matrixlib/defmatrix.py:68: PendingDeprecationWarning: the matrix subclass is not the recommended way...
**Is your feature request related to a problem? Please describe.** Some critical lines in parser.py are never tested. This should be done though. See https://coveralls.io/builds/19088389/source?filename=quantulum3/parser.py for missed out lines. **Describe...
**Describe the bug** "in physics, a unit of surface area equal to 10^-12 barns" => 10, -12 barns **Expected behavior** in physics, a unit of surface area equal to 10^-12...