polm / cutlet

Japanese to romaji converter in Python
https://polm.github.io/cutlet/
MIT License
309 stars 21 forks source link

パン = pao #19

Closed elmimmo closed 4 years ago

elmimmo commented 4 years ago

パン is transcribed as pao which I would say is wrong in any romanization system

polm commented 4 years ago

This is due to the foreign spelling feature. パン for "bread" is generally considered to come from the Portuguese "pao", so this is not an error. This is the same feature that converts "カツ" to "cutlet".

If you do not want this feature you can turn it off by setting use_foreign_spelling to False as demonstrated in the README. If you want to override パン specifically you can add an exception for it.

polm commented 4 years ago

Closing since this is not a bug.