/kava-brewer

Generate foreign coffee words with PCFG

Primary LanguageJupyter Notebook

Kava Brewer

Coffee words are very similar around the world: coffee, kaffe, kava...

It seems you can pretty much generate them using:

"k" sound + vowel + "f/v" sound + vowel.
_________   _____    __________   ______

Here, I try to formalize the rules for making coffee words by creating a probabilistic context-free grammar (PCFG) from sample words. A PCFCG, if you will (probabilistic context-free coffee grammar).

See Jupyter Notebook for details.

Just for fun 😜