interscript / interscript-ruby

Interoperable script conversion systems (ISCS) with the `interscript` gem
Other
11 stars 30 forks source link

Support rules to specify unhandled cases #712

Open ribose-jeffreylau opened 3 years ago

ribose-jeffreylau commented 3 years ago

E.g. combinations not supported by the transliteration system

Originally: https://github.com/interscript/lcs/issues/2#issuecomment-578096993

ronaldtse commented 3 years ago

A "default" conversion for things that fall out of the target character class.

For example, in a Japanese (script) to Latin (script) conversion, if we miss a particular Japanese rule, the leaked Japanese character will violate the target character class. We will need a way to indicate what to do in such case (because we don't want to break the reader).