GhanaNLP / kasa

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

Preprocessing digits to words #34

Open PhidLarkson opened 1 month ago

PhidLarkson commented 1 month 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.