nielstron / quantulum3

Library for unit extraction - fork of quantulum for python3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Interpret several/couple as ranges

nielstron opened this issue · comments

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 )

Describe the solution you'd like

As suggested by @yoavg, according to customary definition, these values can be interpreted as " between 2 and 10" or similar. Quantulum has builtin support for uncertainty using ranges. These may be used to leverage the interpration of sentences like the above.

Describe alternatives you've considered
None

Additional context
None