Comments (1)
Good question. The code is ported from the original Romkan and I did not change it since then. When converting romaji to kana, ti
could be any of these
>>> romkan.to_kana('ti')
'チ'
>>> romkan.to_kana('ti')
'ティ'
(same problem with di
, du
...)
Obviously we should have two methods for doing this, to_kana_from_kunrei
and to_kana_from_hepburn
, to avoid any confusion. Furthermore, it should be specified in the document that to_kana
prescribes Kunrei over Hepburn.
I'll fix this issue later, when I have more free time to dive into the code (hopefully in one or two weeks). Also I will take a look at other issues you reported then.
Thank you for your interest! This really helped a lot.
from python-romkan.
Related Issues (9)
- Failed to install when default encoding is not UTF-8 HOT 4
- Roman repeatedly fails in recoding romaji fu into Kana at all.
- fails on double 'n'
- Install of romkan 0.2.1 fails HOT 1
- Support for Python 2.5
- Macrons for some long vowels
- Exceptions for "kannji" and "kannzi"
- Add reversible romanization method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-romkan.