polm / cutlet

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

Add flag for tokens based on foreign lemmas #39

Closed polm closed 6 months ago

polm commented 11 months ago

Adds feature that came up in #38 in order to tell apart tokens that come from foreign lemmas.

polm commented 6 months ago

On review this is fine - not sure why I held it back. The result is that Cutlet Token objects have a new boolean property, foreign, that indicates if they come from foreign lemmas.