NumbersToWords
A simple demonstration of num2words python library that converts numbers like 42 to words like forty-two.
Install / Use
/learn @Prakashdeveloper03/NumbersToWordsREADME
NumbersToWords
num2words is a library that converts numbers like 42 to words like forty-two. It supports multiple languages and can even generate ordinal numbers like forty-second (although this last feature is a bit buggy for some languages at the moment).
Installation
Open command prompt and create new environment
conda create -n your_env_name python = (any_version_number)
Then Activate the newly created environment
conda activate your_env_name
Clone the repository using git
git clone https://github.com/Prakashdeveloper03/NumbersToWords.git
Change to the cloned directory
cd <directory_name>
Then install all requirement packages for the app
pip install -r requirements.txt
Then, Run the num_to_words.py script
python num_to_words.py
Languages Supported
The language in which to convert the number. Supported values are:
en(English, default)ar(Arabic)cz(Czech)de(German)dk(Danish)en_GB(English - Great Britain)en_IN(English - India)es(Spanish)es_CO(Spanish - Colombia)es_VE(Spanish - Venezuela)eu(EURO)fi(Finnish)fr(French)fr_CH(French - Switzerland)fr_BE(French - Belgium)fr_DZ(French - Algeria)he(Hebrew)id(Indonesian)it(Italian)ja(Japanese)kn(Kannada)ko(Korean)lt(Lithuanian)lv(Latvian)no(Norwegian)pl(Polish)pt(Portuguese)pt_BR(Portuguese - Brazilian)sl(Slovene)sr(Serbian)ro(Romanian)ru(Russian)sl(Slovene)tr(Turkish)th(Thai)vi(Vietnamese)nl(Dutch)uk(Ukrainian)
