python-romkan
python-romkan copied to clipboard
:sa: A Romaji/Kana conversion library for Python
 Hi I am facing this error after running the setup.py file. Please help >python setup.py install Traceback (most recent call last): File "C:\Users\lahhe\Documents\python-romkan-master\setup.py", line 17, in VERSION = imp.load_source('version',...
Fixes #14 , #10
`pip install romkan` failed in windows 10 with python 3.9.6 with the following error message: ``` README = open(os.path.join(here, 'README.rst')).read() File "C:\Python396\lib\encodings\cp1250.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap'...
``` python Traceback (most recent call last): File "setup.py", line 12, in README = open(os.path.join(here, 'README.rst')).read() File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode...
Windows does not use UTF8 as the default charset, so an error occurred during installation. I have created a pull request that solves this problem.
In both traditional and modified Hepburn romanization, "annai" should be rendered as あんない, but romkan renders it as あんあい. import romkan romkan.to_hiragana("annai") 'あんあい'
This appears to be a fundamental failing withing the way fu is specifically handled. I'all be trying to work out an alternate "fix" so that the module works as intended.
Hi @soimort, In this branch I have moved all kana-to-romaji mappings outside of the code while making sure to preserve the exact behavior of the existing API. I didn't make...
Moved test cases to tab-separated CSV files with the following format: ``` inputexpected_output ``` This should make it easier to add new test cases. Running the tests is done with:...
Hello, I have already reported a couple of other issues and a PR, but I haven't yet even taken the time to thank you for this neat package... Thank you!!...