fsingletonthorn / EffectSizeScraping

MIT License
1 stars 0 forks source link

Incorrect splitting when hundreds are used as multipliers for higher order magnitudes e.g., "One hundred and two thousand" #29

Closed fsingletonthorn closed 5 years ago

fsingletonthorn commented 5 years ago

words_to_numbers("one hundred and two thousand") = > "100 and 2000" not "102000".

Meanwhile words_to_numbers("hundred and two thousand") leads to "102000"

fsingletonthorn commented 5 years ago

words_to_numbers("one hundred thousand, hundred") -> "1 100 0" Possibly a different issue?

fsingletonthorn commented 5 years ago

Both are Probably solved by changing the breaking rules