Commit Graph

39 Commits

Author SHA1 Message Date
Ernesto Rodriguez Ortiz
62f3cad2d6 Add a command line tool to use num2words, credits to @hernamesbarbara 2018-09-16 16:43:44 -04:00
Istvan SZALAÏ
8975222487 [FIX] move language specific info to the wiki (#174)
* [FIX] move language specific info to the wiki

The informations about Finnish and Japanese can be found in the [wiki](https://github.com/savoirfairelinux/num2words.wiki.git)
The goal of this commit is to keep the readme short.

* [FIX] add wiki mention in the readme.rst
2018-06-27 17:51:28 -04:00
siikamiika
8820681169 add support for Finnish (FI) (#170)
FI: Add support for Finnish

This is a squash of the following commits :

* The recommendation by Kotus was optional. The code didn't work anyway
because million is 10**6, not 10**9, and the recommendation only applies
to round millions, billions and so on where the multiplier is 10 or
greater.
* FI: currency: use inheritance, add FIM and USD
* FI: add some common currencies
* FI: add inflections
* FI: inflections: small fixes
* FI: fix ordinal 200
* FI: fix comitative
* FI: actually fix ordinal 200
* FI: refactoring
* FI: fix tens
* FI: fix plural for tens and higher
* FI: toinen --> kahdes for numbers > 200
* FI: use collection for options
* FI: add tests
* FI: add minced tests
* FI: trim tests
* FI: finishing touches
* FI: improve cardinal_float, ordinal, add tests
* FI: add documentation to README.rst
2018-06-22 10:00:49 -04:00
siikamiika
89554ff9e2 add support for Japanese (JA) (#171)
* add support for Japanese (JA)
2018-06-15 11:14:56 -04:00
dede64
551a980e54 Created translation to Czech language (#154)
* Create lang_CZ.py

* Added czech language to init .

* Update __init__.py

* Update lang_CZ.py

* Added translation to czech language

* Fixed thousands translation

* Added czech language to readme

* Changed pointword in czech translation.

* Create test_cz.py

* Fixed names for very big numbers.

* Fixed currency spelling.

* Created tests for czech language.

* Fixed: Shortened length of some long lines.

* Shortened one more line of code.

* Fixed tests

* Fixed flake-8.

* Changed name of the test class
2018-02-19 16:30:20 -05:00
James ADJINWA
569b29af39 Typo correction in documentation (#155) 2018-01-31 09:24:28 -05:00
François Honoré (Acsone)
ce21cb9f18 [ADD] Add lang fr_BE + tests (#151) 2018-01-16 14:38:43 -05:00
Antonio Gurgel
e28394d29f Improve README.rst. (#145)
* Improve README.rst.

* Fix "Usage": "cardinal" => "ordinal".

>>> num2words(42,to='cardinal')
u'forty-two'
>>> num2words(42,to='ordinal')
u'forty-second'

* Add PyPI shield. Closes #36.

* Fix link to GitHub.

* Maintain "country - language" consistency

* Fix typos, clarify country-language fallback
2017-12-19 07:51:58 -05:00
pipech
ab54bed93a add Thai Language from Thailand (#139)
* add Thai

* change splitby3 to splitbyx

* change lang_th to use function from currency

* make Num2Word_TH inherit from Num2Word_Base

* comment out test failed in 2.7 env

* fix python2.7 error

* add USD EUR for Thai

* pep8 fix

* added Thai
2017-12-14 11:48:12 -05:00
Ernesto Rodriguez Ortiz
1c699d1bb4 Fix bugs in the float precision and the currency, increase test coverage (#134)
* Fix some bugs in the float precision and the currency, increase test coverage.

Ref: issue #112 #113

* Update README.rst
2017-11-06 20:19:26 -05:00
Ernesto Rodriguez Ortiz
abae0b56a2 Update fichier README.rst to fix the coverage badge 2017-10-30 14:08:44 -04:00
Ernesto Rodriguez Ortiz
3da0c54f3b Activate flake8, isort and coveralls in the configuration of tox (#105)
* Activate flake8, isort and coveralls in the configuration of tox

* Update code to respect PEP8

* Fix bug in the lang_IT for python 3

* Update the README to include the new converters.
2017-10-30 14:06:46 -04:00
Blaž Bregar
2ee0e49a8b Added Slovene 2017-10-22 18:06:49 +02:00
Armin Oliya
d96175b58e Merge branch 'master' into master 2017-09-20 14:35:27 +02:00
Armin Oliya
aca6256a1f Merge branch 'master' into master 2017-09-12 00:57:01 +02:00
Armin
4b58b1ee25 updated readme 2017-09-08 19:29:37 +02:00
Sergio Zholudov
1d580f1be7 Updated README.rst, added Ukrainian 2017-09-08 17:47:42 +03:00
Tufan Kaynak
a9546c608b readme corrected 2017-09-07 09:39:20 +03:00
Jesús Leganés-Combarro 'piranna
fc05dcdd2a Added reference to fr_DZ locale on readme & clean-up 2017-09-06 22:59:20 +02:00
Dhaifallah Alwadani
7921560514 Add arabic to README 2017-06-21 22:22:27 +03:00
Ernesto Rodriguez Ortiz
907ebbc812 Update README.rst to show TravisCI build status. 2017-02-27 16:05:21 -05:00
Ernesto Rodriguez Ortiz
fb281568b2 Show the TravisCI build status in the project page. 2017-02-01 15:01:53 -05:00
Virgil Dupras
0f21d8f825 README: Add Italian to the list of supported languages 2017-02-01 10:31:41 -05:00
Noah Santacruz
182b82cf1f Added Hebrew ordinal numbers #54
Squashed commit of the following:

commit 88b946ef72928e859d078f3febaf9c76ce0849b9
Merge: bca0277 79ab811
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Tue Nov 22 09:41:05 2016 +0200

    merge

commit bca0277424c074af217df5e86abfd2def3a30bc7
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Tue Nov 22 09:40:03 2016 +0200

    removed out.txt

commit 79ab811e97fd14bc5899174b198e86f5c6ba2c5f
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Mon Nov 21 18:09:42 2016 +0200

    Update README.rst

commit 507e4d4cec5b5458b2546ebebe5e49d376b88646
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Mon Nov 21 18:08:39 2016 +0200

    updated init

commit 7d3aa5ab33d92b0b374ed1bfbf17807836e465bf
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Mon Nov 21 16:05:06 2016 +0200

    changed init

commit 29b4c54047ff9ab84b4c95e9ff05ebcb12c15f49
Author: Noah Santacruz <noahssantacruz@gmail.com>
Date:   Mon Nov 21 16:01:17 2016 +0200

    added Hebrew
2016-11-22 10:29:28 -05:00
Ernesto Rodriguez Ortiz
89ca2b7e8c Merge branch 'language_pt_BR' of https://github.com/filwaitman/num2words into filwaitman-language_pt_BR 2016-03-31 14:26:22 -04:00
Virgil Dupras
071ad5177b Merge PR #40 2016-03-31 11:04:47 -04:00
Virgil Dupras
f22b5d1ad7 Merge https://github.com/orjanv/num2words into master 2016-03-31 10:24:48 -04:00
alexpantyukhin
b9b6a8de42 add ru lang into supported languages 2016-03-31 09:29:05 -04:00
mdc
51d34ce78e Added functions that need to be overriden to lang_DK, created TODO's, added lang_DK to __init__ and added documentation to README 2016-03-19 22:21:14 +01:00
Filipe Waitman
17cf62729e Update README.rst 2016-02-27 12:36:33 -03:00
Michael Reschke
3d1b8ae42c Update README.rst 2016-02-24 19:14:22 +01:00
Ørjan Vøllestad
1589d9bb79 added norwegian support 2016-01-11 19:35:11 +01:00
David Cormier
f5fc17917c Add polish to the list of supported languages 2015-07-07 13:40:05 -04:00
Virgil Dupras
f64a6e48be Mention tests in README 2015-04-06 15:11:59 -04:00
Pratik Vyas
904c3c7e1b Add Indian locale 2015-01-22 20:05:30 +05:30
Virgil Dupras
a52b9b7ad5 Reformatted the list of supported languages 2014-06-02 12:48:23 -04:00
Virgil Dupras
fa93e45ce5 Added "lv" to the list of supported languages in the README 2014-06-02 11:41:38 -04:00
Virgil Dupras
9c3ae3aab6 Added installation instructions in README 2013-05-28 13:10:06 -04:00
Virgil Dupras
5479aa59c6 Added README and re-designed the API 2013-05-28 11:34:53 -04:00