Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"nn" gets converted to "ん" #19

Open
R-Pin3da opened this issue Dec 27, 2023 · 1 comment
Open

"nn" gets converted to "ん" #19

R-Pin3da opened this issue Dec 27, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@R-Pin3da
Copy link

概要
"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.

@R-Pin3da R-Pin3da added the bug Something isn't working label Dec 27, 2023
@mmtftr
Copy link

mmtftr commented Mar 7, 2024

this is needed for gennin and shinnyuu. I prefer support for gen'in though.

"n'": 'ん'

is what I ended up changing that line to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants