quantulum3 icon indicating copy to clipboard operation
quantulum3 copied to clipboard

Library for unit extraction - fork of quantulum for python3

Results 55 quantulum3 issues
Sort by recently updated
recently updated
newest added

This is an attempt to fix #212 Now the parsing behavior is consistent, but we cannot parse correctly some of the new test examples.

**Describe the bug** `5 and 6 kg` is parsed as `[Quantity(5.5, "Unit(name="kilogram", entity=Entity("mass"), uri=Kilogram)")]` **Expected behavior** * `between 5 and 6 kg` should parse as `[Quantity(5.5, "Unit(name="kilogram", entity=Entity("mass"), uri=Kilogram)")]` *...

bug

**Is your feature request related to a problem? Please describe.** Sentences like "a couple hundred years ago XY happened" do currently not return any parsed quantity (as of #203 )...

enhancement

**I tried to parse the string containing percentage in it.** _quants=parser.parse("N2H4 hydrate, (80 per cent)")_ **The parser identifies it, however, assigns to the entity of "unknown".** _[Quantity(80, "Unit(name="per cent", entity=Entity("unknown"),...

bug

This is currently breaking conda-forge packaging, see conda-forge/quantulum3-feedstock#3.