koozaki / romaji-conv Goto Github PK
View Code? Open in Web Editor NEWConvert romaji into hiragana
Home Page: https://romaji-conv.koozaki.com/
License: MIT License
Convert romaji into hiragana
Home Page: https://romaji-conv.koozaki.com/
License: MIT License
概要
"nn" gets converted to "ん"
再現方法
Steps to reproduce the behavior:
Convert "konnichiha". You get "こんいちは" instead of "こんにちは".
Of course it happens with all "nn", for example "kinniku"
期待する動作
You should get "こんにちは"
備考
Add any other context about the problem here.
Changing map 'nn': 'ん'
to 'nn': 'んn'
in romaji2hiragana.js fixes that.
At the moment things like toHiragana("ホー")
get converted to "ほー"
. It would be better if they were converted to things like ほう instead.
I wrote a wrapper around toHiragana
that does this, I could open a pull request if you also think this is a good idea.
It would be really great if you could add the kana-to-romaji conversion functionality.
I can actually write it and pull request it, if you want.
概要
A clear and concise description of what the bug is.
再現方法
Steps to reproduce the behavior:
期待する動作
A clear and concise description of what you expected to happen.
備考
Add any other context about the problem here.
In romaji2hiragana.js, I may have found a typo in a comment such as below:
at Line 9「原因(gennnin)」, I think it may be "gennin".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.