quantulum3
quantulum3 copied to clipboard
Library for unit extraction - fork of quantulum for python3
**Is your feature request related to a problem? Please describe.** The list for recognizing common words in quantulum is per default quite limited. **Describe the solution you'd like** There should...
**Is your feature request related to a problem? Please describe.** Sometimes (see #135) normal words are interpreted as combined units i.e. "PayPal" = "petayear year petayear litre" **Describe the solution...
I'm using quantulum to extract time units (5 days, 1 month, etc.), but ran into the issue that in my particular case, units are often given in reverse order: e.g....
**Describe the bug** As mentioned in #161, for some inputs the output of the disambiguation tool seems nondeterministic. This is undesired behaviour. **To Reproduce** Results for "1mw" **Expected behavior** Always...
**Describe the bug** When a unit is incorrectly capitilized, the SI-prefix will be read wrong. **To Reproduce** ```py from quantulum3 import parser parser.parse('1mw') # returns: Megawatt parser.parse('1pw') # returns: Petawatt...
**Is your feature request related to a problem? Please describe.** Trying to grab the dimensions of a pan, 16 x 18 inch. Should return area, but instead returns 16 dimensionless...
Hi thanks for reading. I'm trying to add a new language and i have an issue, as i try to add units to units.js in _lang.es_CL, it seems that entities.json...
**Describe the bug** The shorthand notation of inch (“) is detected but is parsed as second. While technically true the more common use of “ is to mean inch. **To...
**Describe the bug** connects abbreviations together, what doesn't make sense ```python from quantulum3 import parser >>> parser.parse('1 pplga') [Quantity(1, "Unit(name="pint pint litre gigayear", entity=Entity("unknown"), uri=None)")] ``` **Expected behavior** ```python >>>...
Hi @nielstron, If the range exceeds the specified numerical in the library, then the prediction will be exact otherwise it's not predicted. **Correct Prediction** ``` parser.parse('20 – 21') [Quantity(20.5, "Unit(name="dimensionless",...