[{"element_type":"image_url","content":"https://imgix.bustle.com/inverse/92/36/be/3e/5834/4975/8b86/cf279bd30853/theres-a-hoopy-frood-who-really-knows-where-his-towel-is.jpeg","metadata":{"alt":"Alien","caption":"There's a hoopy frood who really knows where his towel is."}},{"element_type":"text","content":"\n  \n  \n        \u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eHere's another silly NeoTrinkey project - let's make some alien words!\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u003ca title=\"python code for language creation\" href=\"https://github.com/mrklingon/neotrinkey/blob/main/babel.py\" target=\"_blank\"\u003ebabel.py\u003c/a\u003e - generates \"alien\" words using a set of rules for Wookie, Klingon, Vulcan, Mando'a and Romulan.\u003c/p\u003e\n\u003cp\u003e\u003ca title=\"helper module for babel.py\" href=\"https://github.com/mrklingon/neotrinkey/blob/main/ncount.py\" target=\"_blank\"\u003encount.py\u003c/a\u003e - blinks numbers\u003c/p\u003e\n\u003cp\u003eTouching pad #1 toggles between the five languages, and blinks the number (1..5) for the language choice. Each language defines a set of consonants, vowels and an array of word patterns (V for vowel, C for consonant, v 50% chance for a vowel, c 50% chance for consonant). When you touch pad #2, a list of words (random quantity, 1 to 10) is created following the rule sets. The rule sets were created using known words from those languages.\u003c/p\u003e\n\u003cp\u003eChange the variable \u003cstrong\u003eREPL \u003c/strong\u003eto direct the output: \u003cstrong\u003eTrue \u003c/strong\u003emeans the program prints to the repl, \u003cstrong\u003eFalse \u003c/strong\u003esends the output to the keyboard.\u003c/p\u003e\n\u003cp\u003eExample output:\u003c/p\u003e\n\u003cp style=\"padding-left: 40px;\"\u003e\u003cstrong\u003eWookie\u003c/strong\u003e: OUWA ROR HOH AROOAUW HOUW WOH ORAUW ORUUUUR WOR OWOUOOR\u003c/p\u003e\n\u003cp style=\"padding-left: 40px;\"\u003e\u003cstrong\u003eKlingon\u003c/strong\u003e:\u0026nbsp;laq noegh tSyIm DIyS mI Ho jaab\u003c/p\u003e\n\u003cp style=\"padding-left: 40px;\"\u003e\u003cstrong\u003eVulcan\u003c/strong\u003e:\u0026nbsp;su tuai tiustoa\u0026nbsp;het' tiy k' t\u003c/p\u003e\n\u003cp style=\"padding-left: 40px;\"\u003e\u003cstrong\u003eMando'a\u003c/strong\u003e:\u0026nbsp;ary reara 'hr syc tmn cor khc\u003c/p\u003e\n\u003cp style=\"padding-left: 40px;\"\u003e\u003cstrong\u003eRomulan\u003c/strong\u003e:\u0026nbsp;ihf ki'vh ies lu'm m'ih ih eenh hieh uek\u003c/p\u003e\n\u003cp\u003eNote: These are\u0026nbsp;\u003cem\u003egenerated\u003c/em\u003e words, and only by coincidence match vocabulary in any real lexicons.\u003c/p\u003e\n\u003cp\u003eFor fun you can replace my rule sets for any other alien or fantasy language you wish to create.\u003c/p\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n      \n\n","metadata":{}}]