akshaynagpal / w2n

Convert number words (eg. twenty one) to numeric digits (21)
http://w2n.readthedocs.io
MIT License
167 stars 78 forks source link

Rewriting core logic to be (hopefully) cleaner, and address some outstanding issues #51

Open frootbirb opened 3 years ago

frootbirb commented 3 years ago

Confirmed that all the unit tests succeed as before, added some new ones to account for some raised issues

frootbirb commented 3 years ago

fixes #21 fixes #22 fixes #24 fixes #27 fixes #28 fixes #38 fixes #41 fixes #42 fixes #44 fixes #47

Unsure if this addresses #3, which is semi-duped by #22 - this does NOT split joined alpha-numeric strings like "22million", but it does handle strings like "22 million"

frootbirb commented 3 years ago

After new updates: fixes #30 fixes #45 fixes #48