pycnnum icon indicating copy to clipboard operation
pycnnum copied to clipboard

Results 6 pycnnum issues
Sort by recently updated
recently updated
newest added

Hello In the code below, i will get there is no such argument. Is it removed? Thank you. ``` def update_amount_in_chines_word(self): if self.amount: self.amount_in_chines_word = num2cn(self.amount, traditional=True, capitalize=False, alt_two=False, keep_zeros=False)...

for example, if input number is 2401, the result, with alt_two=True, will also change 4 into 两。the correction should have the following line of another condition before assignment of liang...

for example, the output for the command: pycnnum.num2cn(101) is File "", line 1, in File "/home/example/.local/lib/python3.6/site-packages/pycnnum/pycnnum.py", line 282, in num2cn result_symbols = get_value(int_string) File "/home/example/.local/lib/python3.6/site-packages/pycnnum/pycnnum.py", line 268, in get_value return...

As the title suggests. Thanks for contributing this great tool. And look forward to the python2 version.

Could you add a `use_ones` option for 1x numbers, or adjust the current behavior a little bit? That is: ``` num2cn(16) # '一十六' (current behavior) num2cn(16, use_ones=False) # '十六' (proposed...

When try to parse Chinese corpus, it is common that the original arabic numerals are of string type. Your method only supports "float" and "int" numerials, it would be better...