Comment by akoboldfrying
2 years ago
I had this need!
Did you opt to blacklist words with vowel combinations that should not be transformed, or whitelist those that should? Or something else entirely?
2 years ago
I had this need!
Did you opt to blacklist words with vowel combinations that should not be transformed, or whitelist those that should? Or something else entirely?
It's currently whitelist-based [0]. The downside is larger (code) size. The upside is simplicity. I imagine a blacklist could also work well, at smaller size but with more preprocessing needed.
[0]: https://github.com/alexpovel/srgn/blob/0008cce1c71f0d83f6a31...