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

Japanese Transliteration doesn't make much sense #4

Open
BurgerBurglar opened this issue Feb 14, 2022 · 4 comments
Open

Japanese Transliteration doesn't make much sense #4

BurgerBurglar opened this issue Feb 14, 2022 · 4 comments

Comments

@BurgerBurglar
Copy link

suggestions = transliterate_word("John", lang_code="ja")
print(suggestions)

# ['女hん', '女hん', '助hん', '助hん', 'じょhん', 'ジョhン']

The results are no where near the original "John".

@GokulNC
Copy link
Member

GokulNC commented Feb 14, 2022

Sorry, I do not know Japanese. Can you please check if it's working properly here:
https://www.google.com/intl/ja/inputtools/try/

@BurgerBurglar
Copy link
Author

It works exactly like the options. So I may have got the intention of this repo wrong, it doesn't transliterate names "America" directly to another language, but rather tries to write "A M E R I C A" in another language, and see what it can get?

@GokulNC
Copy link
Member

GokulNC commented Feb 14, 2022

OK. I am not sure. I just quickly went through how Japanese writing system works.

There are 2 possibilities to write "John":

  • Katakana: ジョン
  • Hiragana: ぢょん

(I suppose there's no kanji form for those non-native words)

So which kana do you expect as output?


BTW, this library is just a wrapper to the Google's Transliteration API. So the transliteration logic is not designed by us :)

@BurgerBurglar
Copy link
Author

transliteration logic is not designed by us

Yeah I get that now. The universally accepted way to write John is the former.

Thanks though, great tool :)

@GokulNC GokulNC changed the title Transliteration doesn't make much sense Japanese Transliteration doesn't make much sense Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants