GhanaNLP / kasa

English to Twi translation system being put together by the GhanaNLP team
MIT License
31 stars 14 forks source link

Preprocessing digits to words #34

Open PhidLarkson opened 3 weeks ago

PhidLarkson commented 3 weeks ago

The version one (v1) of the translation API picks numbers in words (one, two, three) better than when in digits (1, 2, 3). In the utilities directory, a well optimised algorithm to handle the preprocessing of the user input such that any number in digits could be well converted to their respective word before passed on to the API for a response.