Romuald Texier-Marcadé

Results 18 comments of Romuald Texier-Marcadé

Unfortunatly, sysfs is much slower than direct access, so we need some libraries providing direct access. For example, on a raspi model A+, commuting a gpio pin from output to...

`one` is quite special, as it is also a pronoun: * "The first one" * "Another one" * "No one" * … We cannot easily identify between a number and...

That's on purpose. Converting digit strings to integers is already supported by the `int` function of python, so `text2num` specifically converts spelled numbers to integers. As for the mix of...

The current algorithm is unable to make the difference between the number ("one day") and the pronoun ("the one, each one, another one, this one, etc…"). In French it can't...

Yes. Let's tag this as feature request then.

There are no hyphen in the example text you gave :wink: You are not using the right function. `text2num()` checks that the input is a interger and returns it's value....

Thanks for the feedback! How would you write, in plain letters and punctuation, a legitimate "500 and 66 rupees"? I mean, how one can make the difference, in plain letters,...

it's being prepared for release… :wink:

There it is @ralphmapper : https://crates.io/crates/text2num