quantulum3
quantulum3 copied to clipboard
Library for unit extraction - fork of quantulum for python3
**Describe the bug** Noticed that x operator in area dimension is parsed as a unit. Is there a way to exclude certain characters from being parsed as units. **To Reproduce**...
**Describe the bug** Although I see 'inch' in the default common words list, I see that it is still being regarded as a unit symbol. **To Reproduce** Steps to reproduce...
**Describe the bug** ```python from quantulum3 import parser >>> parser.parse('The LHC smashes proton beams at 12.8–13.0 TeV') [Quantity(12.9, "Unit(name="teraelectronvolt", entity=Entity("energy"), uri=Electronvolt)")] ``` **Expected behavior** ```python >>> parser.parse('The LHC smashes proton...
Hi, no issue, just wanted to say thank you to everyone who contributed to this package! Happy New Year! :)
**Describe the bug** Trying to parse a string containing a double-quote at the end of a number (meaning inches) throws an ImportError about a stemming requirement **To Reproduce** ``` >>>...
I wrote a simple story and it threw up some interesting numbers... ``` text = ''' Once upon a time, there was a thing. The thing weighed forty kilogrammes and...
In case of ambiguous matches, this will re-attempt the algo by swapping the case of the last letter of the unit, and see if this creates a better match. It...
**Is your feature request related to a problem? Please describe.** For SI-units, all SI-prefixes should be considered applicable. Right now they have to be specified manually in unit.json via `prefixes:...
**Is your feature request related to a problem? Please describe.** As pointed out in a seperate issue, the combination "" (i.e. "Mlitre") is not uncommon. Therefore support for its recognition...
**Is your feature request related to a problem? Please describe.** There may be very specific units to some contexts which are not yet (or should not be) supported by the...