numerizer icon indicating copy to clipboard operation
numerizer copied to clipboard

Handle fractions as multipliers on big suffixes

Open dhruvkb opened this issue 4 years ago • 1 comments

Numerizer does not compute strings of the form:

(fraction)(of|an?|\s)+(big suffix)

Examples:

half a million
quarter billion

I'm assuming that being a very narrow case, this should be fairly easy to implement. But I'm not sure if this should even be be supported as a feature depending on whether it falls into the purview of this library.

dhruvkb avatar Jan 10 '21 13:01 dhruvkb

If it doesn't complicate the codebase too much I would be happy to accept a PR for this.

jduff avatar Jan 18 '21 14:01 jduff