MycroftAI / lingua-franca

Mycroft's multilingual text parsing and formatting library
Apache License 2.0
75 stars 79 forks source link

small numbers and Scientific Notation support in utility functions #109

Closed JarbasAl closed 2 weeks ago

JarbasAl commented 6 years ago

a few considerations about extract_number and pronounce_number:

names of small numbers support

like PR MycroftAI/mycroft-core#1646 and MycroftAI/mycroft-core#1642 do for big numbers, support for long and short scale (PR MycroftAI/mycroft-core#1663 ) should be added for small numbers in order to include all languages

relevant information:

supporting Scientific notation

a lab setting is one of the places an AI assistant makes a lot of sense, this should be a default part of mycroft-core

extract_number ( PR MycroftAI/mycroft-core#1652 ) and pronounce_number (PR MycroftAI/mycroft-core#1653) should handle scientific notation, optionally if a flag is set

scientific notation pronouncing cases:

forslund commented 4 years ago

Closing this since it's a lingua-franca issue.

ChanceNCounter commented 4 years ago

@JarbasAl I seem to recall that you were working on extract_number(). Will you be covering this in that round?

JarbasAl commented 4 years ago

im not currently working on extract_number, i was only updating the pt methods