[{"element_type":"text","content":"\n        \u003cp\u003eRewrite quotes in \"alien\" dialects using an Adafruit NeoTrinkey! Github repository\u0026nbsp;\u003ca href=\"https://github.com/mrklingon/Polyglot/\" target=\"_blank\"\u003ehere\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eThis project is spun off of an earlier one, \"\u003ca href=\"https://adafruit-playground.com/u/mrklingon/pages/babel-let-s-make-some-alien-words\" target=\"_blank\"\u003eBabel\u003c/a\u003e\" that generates alien language words based on a rule set. The words\u003cspan\u003e\u0026nbsp;\u003c/span\u003e\u003cem\u003eresemble\u003c/em\u003e\u003cspan\u003e\u0026nbsp;\u003c/span\u003eWookie, Klingon, Vulcan, Romulan and Mando'a language vocabulary from Star Wars and Star Trek. The words created might actually be words in those languages - but for this program they are created randomly.\u003c/p\u003e\n\u003cp\u003eA Carl Sagan quote (from the \"sagan\" file) is selected and printed, and each unique word is assigned one of the generated words, then the quote is displayed \"translated\" into the alien dialect. NOTE: this\u003cspan\u003e\u0026nbsp;\u003c/span\u003e\u003cem\u003eabsolutely\u003c/em\u003e\u003cspan\u003e\u0026nbsp;\u003c/span\u003enot a real translation, just a fun exercise in generating alien text.\u003c/p\u003e\n\u003cp\u003eFILES:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003epolyglot.py - rename to code.py on the NeoTrinkey Set REPL=True for the output to go to the repl in Mu or Thonny. set to False and the output will be printed as if keyed in on the device the Neotrinkey is plugged into.\u003c/li\u003e\n\u003cli\u003eprt.py - helper file to define prt().\u003c/li\u003e\n\u003cli\u003esagan - set of Carl Sagan quotes. Feel free to replace quotes with any words of wisdom you choose.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eTouch pad #1 to select and translate the quote\u003c/p\u003e\n\u003cp\u003eTouch pad #2 to click through the language choices\u003c/p\u003e\n\u003cp\u003eOUTPUT:\u003c/p\u003e\n\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eWookie\nKlingon\nVulcan\nWe are the representatives of the cosmos; we are an example of what hydrogen atoms can do, given 15 billion years of cosmic evolution. Carl Sagan \n\n h hi k t'ity kl k rak h hi nii taai kl lta ht kt te niuhl' naito r'k toat kl taahi w'itka niu kot\nMando'a\nIf you wish to make an apple pie from scratch, you must first invent the universe. Carl Sagan \n\n te 'aa s olj 'eusa eela res oone crl 'e 'aa 'a' yirtt e'' stna elrh arss nthe\nRomulan\nImagination will often carry us to worlds that never were. But without it we go nowherw. Carl Sagan\n\n ihmu eif vuu'i efn leelu ei'h na'dh 'isn uhn uuld ane hemf' enk' feiaf levk' hd viefe muehn\u003c/code\u003e\u003c/pre\u003e\n      ","metadata":{}}]