From 8eff55bbabccb2f7d2a5716269ebf47d89d66751 Mon Sep 17 00:00:00 2001 From: Skye Date: Sat, 28 Jan 2023 19:48:25 +0900 Subject: [PATCH] first commit --- aww_the_scrunkly.json | 1 + catgirl_nonsense.json | 1 + keyboard_mash.json | 1 + uwurandom.py | 119 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 122 insertions(+) create mode 100644 aww_the_scrunkly.json create mode 100644 catgirl_nonsense.json create mode 100644 keyboard_mash.json create mode 100644 uwurandom.py diff --git a/aww_the_scrunkly.json b/aww_the_scrunkly.json new file mode 100644 index 0000000..3d42c14 --- /dev/null +++ b/aww_the_scrunkly.json @@ -0,0 +1 @@ +[{"choices":[{"nextNgram":34,"nextChar":"n","cumulativeProbability":500},{"nextNgram":37,"nextChar":"w","cumulativeProbability":867},{"nextNgram":31,"nextChar":"d","cumulativeProbability":1067}],"totalProbability":1067,"name":" a"},{"choices":[{"nextNgram":43,"nextChar":"o","cumulativeProbability":1}],"totalProbability":1,"name":" b"},{"choices":[{"nextNgram":46,"nextChar":"u","cumulativeProbability":60},{"nextNgram":45,"nextChar":"r","cumulativeProbability":107},{"nextNgram":44,"nextChar":"a","cumulativeProbability":147}],"totalProbability":147,"name":" c"},{"choices":[{"nextNgram":51,"nextChar":"o","cumulativeProbability":1}],"totalProbability":1,"name":" d"},{"choices":[{"nextNgram":61,"nextChar":"l","cumulativeProbability":1}],"totalProbability":1,"name":" f"},{"choices":[{"nextNgram":64,"nextChar":"a","cumulativeProbability":1}],"totalProbability":1,"name":" h"},{"choices":[{"nextNgram":77,"nextChar":"t","cumulativeProbability":200},{"nextNgram":70,"nextChar":"c","cumulativeProbability":300},{"nextNgram":68,"nextChar":",","cumulativeProbability":325},{"nextNgram":67,"nextChar":"!","cumulativeProbability":349},{"nextNgram":69,"nextChar":".","cumulativeProbability":364}],"totalProbability":364,"name":" i"},{"choices":[{"nextNgram":81,"nextChar":"i","cumulativeProbability":2},{"nextNgram":79,"nextChar":"d","cumulativeProbability":3}],"totalProbability":3,"name":" k"},{"choices":[{"nextNgram":88,"nextChar":"i","cumulativeProbability":4},{"nextNgram":89,"nextChar":"o","cumulativeProbability":5}],"totalProbability":5,"name":" l"},{"choices":[{"nextNgram":95,"nextChar":"i","cumulativeProbability":1},{"nextNgram":94,"nextChar":"e","cumulativeProbability":2}],"totalProbability":2,"name":" m"},{"choices":[{"nextNgram":107,"nextChar":"o","cumulativeProbability":50},{"nextNgram":98,"nextChar":" ","cumulativeProbability":81}],"totalProbability":81,"name":" n"},{"choices":[{"nextNgram":135,"nextChar":"c","cumulativeProbability":535},{"nextNgram":140,"nextChar":"p","cumulativeProbability":835},{"nextNgram":139,"nextChar":"o","cumulativeProbability":1100},{"nextNgram":138,"nextChar":"m","cumulativeProbability":1200},{"nextNgram":136,"nextChar":"h","cumulativeProbability":1271}],"totalProbability":1271,"name":" s"},{"choices":[{"nextNgram":149,"nextChar":"h","cumulativeProbability":262},{"nextNgram":152,"nextChar":"o","cumulativeProbability":362},{"nextNgram":150,"nextChar":"i","cumulativeProbability":453},{"nextNgram":147,"nextChar":"a","cumulativeProbability":478}],"totalProbability":478,"name":" t"},{"choices":[{"nextNgram":165,"nextChar":"h","cumulativeProbability":11},{"nextNgram":166,"nextChar":"i","cumulativeProbability":19}],"totalProbability":19,"name":" w"},{"choices":[{"nextNgram":173,"nextChar":"a","cumulativeProbability":1}],"totalProbability":1,"name":" y"},{"choices":[{"nextNgram":12,"nextChar":"t","cumulativeProbability":190},{"nextNgram":0,"nextChar":"a","cumulativeProbability":326},{"nextNgram":11,"nextChar":"s","cumulativeProbability":454},{"nextNgram":8,"nextChar":"l","cumulativeProbability":572},{"nextNgram":2,"nextChar":"c","cumulativeProbability":646},{"nextNgram":14,"nextChar":"y","cumulativeProbability":684},{"nextNgram":5,"nextChar":"h","cumulativeProbability":722},{"nextNgram":13,"nextChar":"w","cumulativeProbability":757},{"nextNgram":1,"nextChar":"b","cumulativeProbability":790},{"nextNgram":10,"nextChar":"n","cumulativeProbability":821},{"nextNgram":6,"nextChar":"i","cumulativeProbability":849}],"totalProbability":849,"name":"! "},{"choices":[{"nextNgram":15,"nextChar":" ","cumulativeProbability":31},{"nextNgram":16,"nextChar":"!","cumulativeProbability":60}],"totalProbability":60,"name":"!!"},{"choices":[{"nextNgram":17,"nextChar":",","cumulativeProbability":777},{"nextNgram":26,"nextChar":"t","cumulativeProbability":965},{"nextNgram":18,"nextChar":"a","cumulativeProbability":1098},{"nextNgram":25,"nextChar":"s","cumulativeProbability":1227},{"nextNgram":23,"nextChar":"l","cumulativeProbability":1322},{"nextNgram":20,"nextChar":"c","cumulativeProbability":1387},{"nextNgram":24,"nextChar":"n","cumulativeProbability":1425},{"nextNgram":28,"nextChar":"y","cumulativeProbability":1462},{"nextNgram":22,"nextChar":"i","cumulativeProbability":1498},{"nextNgram":19,"nextChar":"b","cumulativeProbability":1531},{"nextNgram":21,"nextChar":"h","cumulativeProbability":1560},{"nextNgram":27,"nextChar":"w","cumulativeProbability":1585}],"totalProbability":1585,"name":",,"},{"choices":[{"nextNgram":37,"nextChar":"w","cumulativeProbability":1}],"totalProbability":1,"name":",a"},{"choices":[{"nextNgram":43,"nextChar":"o","cumulativeProbability":1}],"totalProbability":1,"name":",b"},{"choices":[{"nextNgram":45,"nextChar":"r","cumulativeProbability":1}],"totalProbability":1,"name":",c"},{"choices":[{"nextNgram":64,"nextChar":"a","cumulativeProbability":1}],"totalProbability":1,"name":",h"},{"choices":[{"nextNgram":67,"nextChar":"!","cumulativeProbability":7},{"nextNgram":68,"nextChar":",","cumulativeProbability":13},{"nextNgram":69,"nextChar":".","cumulativeProbability":18}],"totalProbability":18,"name":",i"},{"choices":[{"nextNgram":89,"nextChar":"o","cumulativeProbability":59},{"nextNgram":88,"nextChar":"i","cumulativeProbability":95}],"totalProbability":95,"name":",l"},{"choices":[{"nextNgram":98,"nextChar":" ","cumulativeProbability":1}],"totalProbability":1,"name":",n"},{"choices":[{"nextNgram":135,"nextChar":"c","cumulativeProbability":65},{"nextNgram":139,"nextChar":"o","cumulativeProbability":100},{"nextNgram":136,"nextChar":"h","cumulativeProbability":129}],"totalProbability":129,"name":",s"},{"choices":[{"nextNgram":149,"nextChar":"h","cumulativeProbability":38},{"nextNgram":150,"nextChar":"i","cumulativeProbability":47}],"totalProbability":47,"name":",t"},{"choices":[{"nextNgram":165,"nextChar":"h","cumulativeProbability":1}],"totalProbability":1,"name":",w"},{"choices":[{"nextNgram":173,"nextChar":"a","cumulativeProbability":1}],"totalProbability":1,"name":",y"},{"choices":[{"nextNgram":12,"nextChar":"t","cumulativeProbability":222},{"nextNgram":11,"nextChar":"s","cumulativeProbability":365},{"nextNgram":0,"nextChar":"a","cumulativeProbability":496},{"nextNgram":8,"nextChar":"l","cumulativeProbability":583},{"nextNgram":2,"nextChar":"c","cumulativeProbability":644},{"nextNgram":13,"nextChar":"w","cumulativeProbability":684},{"nextNgram":6,"nextChar":"i","cumulativeProbability":720},{"nextNgram":1,"nextChar":"b","cumulativeProbability":754},{"nextNgram":5,"nextChar":"h","cumulativeProbability":787},{"nextNgram":10,"nextChar":"n","cumulativeProbability":818},{"nextNgram":14,"nextChar":"y","cumulativeProbability":843}],"totalProbability":843,"name":". "},{"choices":[{"nextNgram":29,"nextChar":" ","cumulativeProbability":638},{"nextNgram":30,"nextChar":".","cumulativeProbability":1271}],"totalProbability":1271,"name":".."},{"choices":[{"nextNgram":51,"nextChar":"o","cumulativeProbability":1}],"totalProbability":1,"name":"ad"},{"choices":[{"nextNgram":87,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"al"},{"choices":[{"nextNgram":97,"nextChar":"t","cumulativeProbability":1}],"totalProbability":1,"name":"am"},{"choices":[{"nextNgram":103,"nextChar":"d","cumulativeProbability":5},{"nextNgram":98,"nextChar":" ","cumulativeProbability":6}],"totalProbability":6,"name":"an"},{"choices":[{"nextNgram":122,"nextChar":" ","cumulativeProbability":1},{"nextNgram":123,"nextChar":"p","cumulativeProbability":2}],"totalProbability":2,"name":"ap"},{"choices":[{"nextNgram":143,"nextChar":" ","cumulativeProbability":1}],"totalProbability":1,"name":"at"},{"choices":[{"nextNgram":168,"nextChar":"w","cumulativeProbability":300},{"nextNgram":161,"nextChar":" ","cumulativeProbability":400},{"nextNgram":162,"nextChar":"!","cumulativeProbability":443},{"nextNgram":164,"nextChar":".","cumulativeProbability":473},{"nextNgram":163,"nextChar":",","cumulativeProbability":500}],"totalProbability":500,"name":"aw"},{"choices":[{"nextNgram":170,"nextChar":"!","cumulativeProbability":17},{"nextNgram":172,"nextChar":".","cumulativeProbability":34},{"nextNgram":171,"nextChar":",","cumulativeProbability":50}],"totalProbability":50,"name":"ay"},{"choices":[{"nextNgram":16,"nextChar":"!","cumulativeProbability":29},{"nextNgram":15,"nextChar":" ","cumulativeProbability":33}],"totalProbability":33,"name":"b!"},{"choices":[{"nextNgram":17,"nextChar":",","cumulativeProbability":1}],"totalProbability":1,"name":"b,"},{"choices":[{"nextNgram":30,"nextChar":".","cumulativeProbability":7},{"nextNgram":29,"nextChar":" ","cumulativeProbability":9}],"totalProbability":9,"name":"b."},{"choices":[{"nextNgram":89,"nextChar":"o","cumulativeProbability":2},{"nextNgram":87,"nextChar":"e","cumulativeProbability":3}],"totalProbability":3,"name":"bl"},{"choices":[{"nextNgram":113,"nextChar":"i","cumulativeProbability":1}],"totalProbability":1,"name":"bo"},{"choices":[{"nextNgram":34,"nextChar":"n","cumulativeProbability":1},{"nextNgram":33,"nextChar":"m","cumulativeProbability":2},{"nextNgram":36,"nextChar":"t","cumulativeProbability":3}],"totalProbability":3,"name":"ca"},{"choices":[{"nextNgram":131,"nextChar":"u","cumulativeProbability":5},{"nextNgram":128,"nextChar":"i","cumulativeProbability":9}],"totalProbability":9,"name":"cr"},{"choices":[{"nextNgram":159,"nextChar":"t","cumulativeProbability":1}],"totalProbability":1,"name":"cu"},{"choices":[{"nextNgram":2,"nextChar":"c","cumulativeProbability":2},{"nextNgram":3,"nextChar":"d","cumulativeProbability":3},{"nextNgram":6,"nextChar":"i","cumulativeProbability":4},{"nextNgram":11,"nextChar":"s","cumulativeProbability":5}],"totalProbability":5,"name":"d "},{"choices":[{"nextNgram":41,"nextChar":".","cumulativeProbability":36},{"nextNgram":39,"nextChar":"!","cumulativeProbability":69},{"nextNgram":40,"nextChar":",","cumulativeProbability":100}],"totalProbability":100,"name":"db"},{"choices":[{"nextNgram":50,"nextChar":"l","cumulativeProbability":1}],"totalProbability":1,"name":"dd"},{"choices":[{"nextNgram":87,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"dl"},{"choices":[{"nextNgram":118,"nextChar":"r","cumulativeProbability":2},{"nextNgram":117,"nextChar":"o","cumulativeProbability":4},{"nextNgram":120,"nextChar":"u","cumulativeProbability":5}],"totalProbability":5,"name":"do"},{"choices":[{"nextNgram":12,"nextChar":"t","cumulativeProbability":6},{"nextNgram":11,"nextChar":"s","cumulativeProbability":10},{"nextNgram":8,"nextChar":"l","cumulativeProbability":13},{"nextNgram":2,"nextChar":"c","cumulativeProbability":16},{"nextNgram":0,"nextChar":"a","cumulativeProbability":18},{"nextNgram":13,"nextChar":"w","cumulativeProbability":20},{"nextNgram":1,"nextChar":"b","cumulativeProbability":22},{"nextNgram":7,"nextChar":"k","cumulativeProbability":24},{"nextNgram":9,"nextChar":"m","cumulativeProbability":25}],"totalProbability":25,"name":"e "},{"choices":[{"nextNgram":16,"nextChar":"!","cumulativeProbability":157},{"nextNgram":15,"nextChar":" ","cumulativeProbability":208}],"totalProbability":208,"name":"e!"},{"choices":[{"nextNgram":17,"nextChar":",","cumulativeProbability":1}],"totalProbability":1,"name":"e,"},{"choices":[{"nextNgram":30,"nextChar":".","cumulativeProbability":80},{"nextNgram":29,"nextChar":" ","cumulativeProbability":101}],"totalProbability":101,"name":"e."},{"choices":[{"nextNgram":92,"nextChar":" ","cumulativeProbability":1}],"totalProbability":1,"name":"em"},{"choices":[{"nextNgram":108,"nextChar":"p","cumulativeProbability":400},{"nextNgram":98,"nextChar":" ","cumulativeProbability":500},{"nextNgram":101,"nextChar":".","cumulativeProbability":536},{"nextNgram":99,"nextChar":"!","cumulativeProbability":569},{"nextNgram":100,"nextChar":",","cumulativeProbability":600}],"totalProbability":600,"name":"en"},{"choices":[{"nextNgram":121,"nextChar":"w","cumulativeProbability":1}],"totalProbability":1,"name":"eo"},{"choices":[{"nextNgram":141,"nextChar":"t","cumulativeProbability":1}],"totalProbability":1,"name":"es"},{"choices":[{"nextNgram":0,"nextChar":"a","cumulativeProbability":1}],"totalProbability":1,"name":"f "},{"choices":[{"nextNgram":90,"nextChar":"u","cumulativeProbability":1}],"totalProbability":1,"name":"fl"},{"choices":[{"nextNgram":53,"nextChar":"!","cumulativeProbability":74},{"nextNgram":54,"nextChar":",","cumulativeProbability":139},{"nextNgram":55,"nextChar":".","cumulativeProbability":200}],"totalProbability":200,"name":"ge"},{"choices":[{"nextNgram":87,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"gl"},{"choices":[{"nextNgram":35,"nextChar":"p","cumulativeProbability":1}],"totalProbability":1,"name":"ha"},{"choices":[{"nextNgram":52,"nextChar":" ","cumulativeProbability":1200},{"nextNgram":57,"nextChar":"n","cumulativeProbability":1400},{"nextNgram":56,"nextChar":"m","cumulativeProbability":1500},{"nextNgram":53,"nextChar":"!","cumulativeProbability":1537},{"nextNgram":54,"nextChar":",","cumulativeProbability":1569},{"nextNgram":55,"nextChar":".","cumulativeProbability":1600}],"totalProbability":1600,"name":"he"},{"choices":[{"nextNgram":130,"nextChar":"o","cumulativeProbability":1}],"totalProbability":1,"name":"hr"},{"choices":[{"nextNgram":16,"nextChar":"!","cumulativeProbability":25},{"nextNgram":15,"nextChar":" ","cumulativeProbability":38}],"totalProbability":38,"name":"i!"},{"choices":[{"nextNgram":17,"nextChar":",","cumulativeProbability":1}],"totalProbability":1,"name":"i,"},{"choices":[{"nextNgram":30,"nextChar":".","cumulativeProbability":17},{"nextNgram":29,"nextChar":" ","cumulativeProbability":25}],"totalProbability":25,"name":"i."},{"choices":[{"nextNgram":44,"nextChar":"a","cumulativeProbability":1}],"totalProbability":1,"name":"ic"},{"choices":[{"nextNgram":49,"nextChar":"d","cumulativeProbability":1}],"totalProbability":1,"name":"id"},{"choices":[{"nextNgram":57,"nextChar":"n","cumulativeProbability":400},{"nextNgram":55,"nextChar":".","cumulativeProbability":443},{"nextNgram":54,"nextChar":",","cumulativeProbability":479},{"nextNgram":53,"nextChar":"!","cumulativeProbability":500}],"totalProbability":500,"name":"ie"},{"choices":[{"nextNgram":80,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"ik"},{"choices":[{"nextNgram":93,"nextChar":"b","cumulativeProbability":1},{"nextNgram":97,"nextChar":"t","cumulativeProbability":2}],"totalProbability":2,"name":"im"},{"choices":[{"nextNgram":106,"nextChar":"k","cumulativeProbability":6},{"nextNgram":105,"nextChar":"g","cumulativeProbability":7}],"totalProbability":7,"name":"in"},{"choices":[{"nextNgram":127,"nextChar":"y","cumulativeProbability":1}],"totalProbability":1,"name":"ip"},{"choices":[{"nextNgram":154,"nextChar":"t","cumulativeProbability":300},{"nextNgram":143,"nextChar":" ","cumulativeProbability":600},{"nextNgram":146,"nextChar":".","cumulativeProbability":706},{"nextNgram":155,"nextChar":"y","cumulativeProbability":806},{"nextNgram":145,"nextChar":",","cumulativeProbability":905},{"nextNgram":144,"nextChar":"!","cumulativeProbability":1000}],"totalProbability":1000,"name":"it"},{"choices":[{"nextNgram":160,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"iv"},{"choices":[{"nextNgram":48,"nextChar":"b","cumulativeProbability":1}],"totalProbability":1,"name":"kd"},{"choices":[{"nextNgram":52,"nextChar":" ","cumulativeProbability":1}],"totalProbability":1,"name":"ke"},{"choices":[{"nextNgram":77,"nextChar":"t","cumulativeProbability":3},{"nextNgram":74,"nextChar":"m","cumulativeProbability":4}],"totalProbability":4,"name":"ki"},{"choices":[{"nextNgram":91,"nextChar":"y","cumulativeProbability":6},{"nextNgram":87,"nextChar":"e","cumulativeProbability":7}],"totalProbability":7,"name":"kl"},{"choices":[{"nextNgram":112,"nextChar":".","cumulativeProbability":39},{"nextNgram":110,"nextChar":"!","cumulativeProbability":72},{"nextNgram":111,"nextChar":",","cumulativeProbability":100}],"totalProbability":100,"name":"ko"},{"choices":[{"nextNgram":158,"nextChar":"s","cumulativeProbability":1}],"totalProbability":1,"name":"ku"},{"choices":[{"nextNgram":169,"nextChar":" ","cumulativeProbability":1}],"totalProbability":1,"name":"ky"},{"choices":[{"nextNgram":11,"nextChar":"s","cumulativeProbability":1}],"totalProbability":1,"name":"l "},{"choices":[{"nextNgram":52,"nextChar":" ","cumulativeProbability":550},{"nextNgram":53,"nextChar":"!","cumulativeProbability":569},{"nextNgram":55,"nextChar":".","cumulativeProbability":586},{"nextNgram":54,"nextChar":",","cumulativeProbability":600}],"totalProbability":600,"name":"le"},{"choices":[{"nextNgram":77,"nextChar":"t","cumulativeProbability":3},{"nextNgram":73,"nextChar":"k","cumulativeProbability":4},{"nextNgram":78,"nextChar":"v","cumulativeProbability":5},{"nextNgram":74,"nextChar":"m","cumulativeProbability":6}],"totalProbability":6,"name":"li"},{"choices":[{"nextNgram":117,"nextChar":"o","cumulativeProbability":100},{"nextNgram":109,"nextChar":" ","cumulativeProbability":150},{"nextNgram":110,"nextChar":"!","cumulativeProbability":169},{"nextNgram":111,"nextChar":",","cumulativeProbability":187},{"nextNgram":112,"nextChar":".","cumulativeProbability":200}],"totalProbability":200,"name":"lo"},{"choices":[{"nextNgram":157,"nextChar":"n","cumulativeProbability":1}],"totalProbability":1,"name":"lu"},{"choices":[{"nextNgram":169,"nextChar":" ","cumulativeProbability":300},{"nextNgram":170,"nextChar":"!","cumulativeProbability":373},{"nextNgram":172,"nextChar":".","cumulativeProbability":439},{"nextNgram":171,"nextChar":",","cumulativeProbability":500}],"totalProbability":500,"name":"ly"},{"choices":[{"nextNgram":12,"nextChar":"t","cumulativeProbability":1}],"totalProbability":1,"name":"m "},{"choices":[{"nextNgram":42,"nextChar":"l","cumulativeProbability":1}],"totalProbability":1,"name":"mb"},{"choices":[{"nextNgram":58,"nextChar":"o","cumulativeProbability":1}],"totalProbability":1,"name":"me"},{"choices":[{"nextNgram":76,"nextChar":"p","cumulativeProbability":1}],"totalProbability":1,"name":"mi"},{"choices":[{"nextNgram":115,"nextChar":"l","cumulativeProbability":1}],"totalProbability":1,"name":"mo"},{"choices":[{"nextNgram":151,"nextChar":"l","cumulativeProbability":100},{"nextNgram":155,"nextChar":"y","cumulativeProbability":200},{"nextNgram":146,"nextChar":".","cumulativeProbability":238},{"nextNgram":145,"nextChar":",","cumulativeProbability":273},{"nextNgram":144,"nextChar":"!","cumulativeProbability":300}],"totalProbability":300,"name":"mt"},{"choices":[{"nextNgram":12,"nextChar":"t","cumulativeProbability":2},{"nextNgram":4,"nextChar":"f","cumulativeProbability":3}],"totalProbability":3,"name":"n "},{"choices":[{"nextNgram":16,"nextChar":"!","cumulativeProbability":26},{"nextNgram":15,"nextChar":" ","cumulativeProbability":33}],"totalProbability":33,"name":"n!"},{"choices":[{"nextNgram":17,"nextChar":",","cumulativeProbability":1}],"totalProbability":1,"name":"n,"},{"choices":[{"nextNgram":30,"nextChar":".","cumulativeProbability":25},{"nextNgram":29,"nextChar":" ","cumulativeProbability":36}],"totalProbability":36,"name":"n."},{"choices":[{"nextNgram":32,"nextChar":"l","cumulativeProbability":1}],"totalProbability":1,"name":"na"},{"choices":[{"nextNgram":47,"nextChar":" ","cumulativeProbability":1}],"totalProbability":1,"name":"nd"},{"choices":[{"nextNgram":60,"nextChar":" ","cumulativeProbability":1}],"totalProbability":1,"name":"nf"},{"choices":[{"nextNgram":62,"nextChar":"e","cumulativeProbability":1},{"nextNgram":63,"nextChar":"l","cumulativeProbability":2}],"totalProbability":2,"name":"ng"},{"choices":[{"nextNgram":82,"nextChar":"l","cumulativeProbability":7},{"nextNgram":85,"nextChar":"y","cumulativeProbability":9},{"nextNgram":84,"nextChar":"u","cumulativeProbability":10},{"nextNgram":83,"nextChar":"o","cumulativeProbability":11}],"totalProbability":11,"name":"nk"},{"choices":[{"nextNgram":121,"nextChar":"w","cumulativeProbability":1}],"totalProbability":1,"name":"no"},{"choices":[{"nextNgram":125,"nextChar":"s","cumulativeProbability":1}],"totalProbability":1,"name":"np"},{"choices":[{"nextNgram":0,"nextChar":"a","cumulativeProbability":1},{"nextNgram":6,"nextChar":"i","cumulativeProbability":2},{"nextNgram":8,"nextChar":"l","cumulativeProbability":3},{"nextNgram":1,"nextChar":"b","cumulativeProbability":4},{"nextNgram":9,"nextChar":"m","cumulativeProbability":5}],"totalProbability":5,"name":"o "},{"choices":[{"nextNgram":16,"nextChar":"!","cumulativeProbability":105},{"nextNgram":15,"nextChar":" ","cumulativeProbability":136}],"totalProbability":136,"name":"o!"},{"choices":[{"nextNgram":17,"nextChar":",","cumulativeProbability":1}],"totalProbability":1,"name":"o,"},{"choices":[{"nextNgram":30,"nextChar":".","cumulativeProbability":104},{"nextNgram":29,"nextChar":" ","cumulativeProbability":141}],"totalProbability":141,"name":"o."},{"choices":[{"nextNgram":75,"nextChar":"n","cumulativeProbability":1}],"totalProbability":1,"name":"oi"},{"choices":[{"nextNgram":81,"nextChar":"i","cumulativeProbability":1}],"totalProbability":1,"name":"ok"},{"choices":[{"nextNgram":86,"nextChar":" ","cumulativeProbability":1}],"totalProbability":1,"name":"ol"},{"choices":[{"nextNgram":106,"nextChar":"k","cumulativeProbability":1}],"totalProbability":1,"name":"on"},{"choices":[{"nextNgram":119,"nextChar":"t","cumulativeProbability":300},{"nextNgram":114,"nextChar":"k","cumulativeProbability":500},{"nextNgram":117,"nextChar":"o","cumulativeProbability":600},{"nextNgram":109,"nextChar":" ","cumulativeProbability":700},{"nextNgram":112,"nextChar":".","cumulativeProbability":776},{"nextNgram":110,"nextChar":"!","cumulativeProbability":841},{"nextNgram":111,"nextChar":",","cumulativeProbability":900}],"totalProbability":900,"name":"oo"},{"choices":[{"nextNgram":129,"nextChar":"n","cumulativeProbability":1}],"totalProbability":1,"name":"or"},{"choices":[{"nextNgram":153,"nextChar":"s","cumulativeProbability":1}],"totalProbability":1,"name":"ot"},{"choices":[{"nextNgram":156,"nextChar":"b","cumulativeProbability":1}],"totalProbability":1,"name":"ou"},{"choices":[{"nextNgram":161,"nextChar":" ","cumulativeProbability":2},{"nextNgram":167,"nextChar":"m","cumulativeProbability":3}],"totalProbability":3,"name":"ow"},{"choices":[{"nextNgram":10,"nextChar":"n","cumulativeProbability":1}],"totalProbability":1,"name":"p "},{"choices":[{"nextNgram":127,"nextChar":"y","cumulativeProbability":1}],"totalProbability":1,"name":"pp"},{"choices":[{"nextNgram":130,"nextChar":"o","cumulativeProbability":1}],"totalProbability":1,"name":"pr"},{"choices":[{"nextNgram":142,"nextChar":"y","cumulativeProbability":1}],"totalProbability":1,"name":"ps"},{"choices":[{"nextNgram":157,"nextChar":"n","cumulativeProbability":1}],"totalProbability":1,"name":"pu"},{"choices":[{"nextNgram":169,"nextChar":" ","cumulativeProbability":100},{"nextNgram":170,"nextChar":"!","cumulativeProbability":141},{"nextNgram":171,"nextChar":",","cumulativeProbability":177},{"nextNgram":172,"nextChar":".","cumulativeProbability":200}],"totalProbability":200,"name":"py"},{"choices":[{"nextNgram":75,"nextChar":"n","cumulativeProbability":1},{"nextNgram":74,"nextChar":"m","cumulativeProbability":2}],"totalProbability":2,"name":"ri"},{"choices":[{"nextNgram":102,"nextChar":"a","cumulativeProbability":1}],"totalProbability":1,"name":"rn"},{"choices":[{"nextNgram":116,"nextChar":"n","cumulativeProbability":1},{"nextNgram":113,"nextChar":"i","cumulativeProbability":2}],"totalProbability":2,"name":"ro"},{"choices":[{"nextNgram":157,"nextChar":"n","cumulativeProbability":1}],"totalProbability":1,"name":"ru"},{"choices":[{"nextNgram":16,"nextChar":"!","cumulativeProbability":8},{"nextNgram":15,"nextChar":" ","cumulativeProbability":11}],"totalProbability":11,"name":"s!"},{"choices":[{"nextNgram":17,"nextChar":",","cumulativeProbability":1}],"totalProbability":1,"name":"s,"},{"choices":[{"nextNgram":30,"nextChar":".","cumulativeProbability":13},{"nextNgram":29,"nextChar":" ","cumulativeProbability":17}],"totalProbability":17,"name":"s."},{"choices":[{"nextNgram":45,"nextChar":"r","cumulativeProbability":1}],"totalProbability":1,"name":"sc"},{"choices":[{"nextNgram":66,"nextChar":"r","cumulativeProbability":1}],"totalProbability":1,"name":"sh"},{"choices":[{"nextNgram":77,"nextChar":"t","cumulativeProbability":2},{"nextNgram":72,"nextChar":"e","cumulativeProbability":3}],"totalProbability":3,"name":"si"},{"choices":[{"nextNgram":96,"nextChar":"o","cumulativeProbability":1}],"totalProbability":1,"name":"sm"},{"choices":[{"nextNgram":109,"nextChar":" ","cumulativeProbability":2},{"nextNgram":117,"nextChar":"o","cumulativeProbability":3}],"totalProbability":3,"name":"so"},{"choices":[{"nextNgram":126,"nextChar":"u","cumulativeProbability":2},{"nextNgram":124,"nextChar":"r","cumulativeProbability":3}],"totalProbability":3,"name":"sp"},{"choices":[{"nextNgram":143,"nextChar":" ","cumulativeProbability":1}],"totalProbability":1,"name":"st"},{"choices":[{"nextNgram":169,"nextChar":" ","cumulativeProbability":300},{"nextNgram":172,"nextChar":".","cumulativeProbability":341},{"nextNgram":171,"nextChar":",","cumulativeProbability":376},{"nextNgram":170,"nextChar":"!","cumulativeProbability":400}],"totalProbability":400,"name":"sy"},{"choices":[{"nextNgram":12,"nextChar":"t","cumulativeProbability":2},{"nextNgram":0,"nextChar":"a","cumulativeProbability":4},{"nextNgram":2,"nextChar":"c","cumulativeProbability":5},{"nextNgram":11,"nextChar":"s","cumulativeProbability":6}],"totalProbability":6,"name":"t "},{"choices":[{"nextNgram":16,"nextChar":"!","cumulativeProbability":85},{"nextNgram":15,"nextChar":" ","cumulativeProbability":122}],"totalProbability":122,"name":"t!"},{"choices":[{"nextNgram":17,"nextChar":",","cumulativeProbability":1}],"totalProbability":1,"name":"t,"},{"choices":[{"nextNgram":30,"nextChar":".","cumulativeProbability":101},{"nextNgram":29,"nextChar":" ","cumulativeProbability":144}],"totalProbability":144,"name":"t."},{"choices":[{"nextNgram":35,"nextChar":"p","cumulativeProbability":1}],"totalProbability":1,"name":"ta"},{"choices":[{"nextNgram":59,"nextChar":"s","cumulativeProbability":200},{"nextNgram":53,"nextChar":"!","cumulativeProbability":238},{"nextNgram":55,"nextChar":".","cumulativeProbability":271},{"nextNgram":54,"nextChar":",","cumulativeProbability":300}],"totalProbability":300,"name":"te"},{"choices":[{"nextNgram":65,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"th"},{"choices":[{"nextNgram":72,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"ti"},{"choices":[{"nextNgram":87,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"tl"},{"choices":[{"nextNgram":117,"nextChar":"o","cumulativeProbability":3},{"nextNgram":109,"nextChar":" ","cumulativeProbability":4}],"totalProbability":4,"name":"to"},{"choices":[{"nextNgram":137,"nextChar":"i","cumulativeProbability":1}],"totalProbability":1,"name":"ts"},{"choices":[{"nextNgram":151,"nextChar":"l","cumulativeProbability":1}],"totalProbability":1,"name":"tt"},{"choices":[{"nextNgram":169,"nextChar":" ","cumulativeProbability":100},{"nextNgram":171,"nextChar":",","cumulativeProbability":138},{"nextNgram":170,"nextChar":"!","cumulativeProbability":169},{"nextNgram":172,"nextChar":".","cumulativeProbability":200}],"totalProbability":200,"name":"ty"},{"choices":[{"nextNgram":42,"nextChar":"l","cumulativeProbability":1}],"totalProbability":1,"name":"ub"},{"choices":[{"nextNgram":106,"nextChar":"k","cumulativeProbability":4},{"nextNgram":105,"nextChar":"g","cumulativeProbability":7},{"nextNgram":104,"nextChar":"f","cumulativeProbability":8}],"totalProbability":8,"name":"un"},{"choices":[{"nextNgram":134,"nextChar":".","cumulativeProbability":34},{"nextNgram":132,"nextChar":"!","cumulativeProbability":67},{"nextNgram":133,"nextChar":",","cumulativeProbability":100}],"totalProbability":100,"name":"us"},{"choices":[{"nextNgram":148,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"ut"},{"choices":[{"nextNgram":52,"nextChar":" ","cumulativeProbability":1}],"totalProbability":1,"name":"ve"},{"choices":[{"nextNgram":12,"nextChar":"t","cumulativeProbability":2},{"nextNgram":8,"nextChar":"l","cumulativeProbability":3},{"nextNgram":11,"nextChar":"s","cumulativeProbability":4},{"nextNgram":13,"nextChar":"w","cumulativeProbability":5},{"nextNgram":6,"nextChar":"i","cumulativeProbability":6}],"totalProbability":6,"name":"w "},{"choices":[{"nextNgram":16,"nextChar":"!","cumulativeProbability":24},{"nextNgram":15,"nextChar":" ","cumulativeProbability":43}],"totalProbability":43,"name":"w!"},{"choices":[{"nextNgram":17,"nextChar":",","cumulativeProbability":1}],"totalProbability":1,"name":"w,"},{"choices":[{"nextNgram":30,"nextChar":".","cumulativeProbability":4},{"nextNgram":29,"nextChar":" ","cumulativeProbability":5}],"totalProbability":5,"name":"w."},{"choices":[{"nextNgram":65,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"wh"},{"choices":[{"nextNgram":71,"nextChar":"d","cumulativeProbability":1}],"totalProbability":1,"name":"wi"},{"choices":[{"nextNgram":94,"nextChar":"e","cumulativeProbability":1}],"totalProbability":1,"name":"wm"},{"choices":[{"nextNgram":161,"nextChar":" ","cumulativeProbability":3},{"nextNgram":168,"nextChar":"w","cumulativeProbability":5}],"totalProbability":5,"name":"ww"},{"choices":[{"nextNgram":12,"nextChar":"t","cumulativeProbability":2},{"nextNgram":11,"nextChar":"s","cumulativeProbability":4},{"nextNgram":3,"nextChar":"d","cumulativeProbability":6},{"nextNgram":0,"nextChar":"a","cumulativeProbability":8},{"nextNgram":7,"nextChar":"k","cumulativeProbability":9},{"nextNgram":13,"nextChar":"w","cumulativeProbability":10}],"totalProbability":10,"name":"y "},{"choices":[{"nextNgram":16,"nextChar":"!","cumulativeProbability":5},{"nextNgram":15,"nextChar":" ","cumulativeProbability":7}],"totalProbability":7,"name":"y!"},{"choices":[{"nextNgram":17,"nextChar":",","cumulativeProbability":1}],"totalProbability":1,"name":"y,"},{"choices":[{"nextNgram":30,"nextChar":".","cumulativeProbability":51},{"nextNgram":29,"nextChar":" ","cumulativeProbability":65}],"totalProbability":65,"name":"y."},{"choices":[{"nextNgram":38,"nextChar":"y","cumulativeProbability":1}],"totalProbability":1,"name":"ya"}] diff --git a/catgirl_nonsense.json b/catgirl_nonsense.json new file mode 100644 index 0000000..63ac0f9 --- /dev/null +++ b/catgirl_nonsense.json @@ -0,0 +1 @@ +[{"choices":[{"nextNgram":0,"nextChar":"a","cumulativeProbability":2},{"nextNgram":1,"nextChar":"m","cumulativeProbability":3}],"totalProbability":3,"name":"aa"},{"choices":[{"nextNgram":7,"nextChar":"r","cumulativeProbability":3},{"nextNgram":6,"nextChar":"e","cumulativeProbability":4}],"totalProbability":4,"name":"am"},{"choices":[{"nextNgram":8,"nextChar":"y","cumulativeProbability":1}],"totalProbability":1,"name":"an"},{"choices":[{"nextNgram":9,"nextChar":"w","cumulativeProbability":1}],"totalProbability":1,"name":"ao"},{"choices":[{"nextNgram":9,"nextChar":"w","cumulativeProbability":1}],"totalProbability":1,"name":"eo"},{"choices":[{"nextNgram":21,"nextChar":"m","cumulativeProbability":6},{"nextNgram":22,"nextChar":"n","cumulativeProbability":7},{"nextNgram":23,"nextChar":"p","cumulativeProbability":8}],"totalProbability":8,"name":"ew"},{"choices":[{"nextNgram":4,"nextChar":"o","cumulativeProbability":3},{"nextNgram":5,"nextChar":"w","cumulativeProbability":5}],"totalProbability":5,"name":"me"},{"choices":[{"nextNgram":16,"nextChar":"o","cumulativeProbability":15},{"nextNgram":12,"nextChar":"a","cumulativeProbability":24},{"nextNgram":18,"nextChar":"r","cumulativeProbability":28},{"nextNgram":19,"nextChar":"w","cumulativeProbability":29},{"nextNgram":13,"nextChar":"e","cumulativeProbability":30}],"totalProbability":30,"name":"mr"},{"choices":[{"nextNgram":26,"nextChar":"a","cumulativeProbability":1}],"totalProbability":1,"name":"ny"},{"choices":[{"nextNgram":21,"nextChar":"m","cumulativeProbability":22},{"nextNgram":24,"nextChar":"r","cumulativeProbability":32},{"nextNgram":22,"nextChar":"n","cumulativeProbability":36},{"nextNgram":25,"nextChar":"w","cumulativeProbability":37},{"nextNgram":23,"nextChar":"p","cumulativeProbability":38}],"totalProbability":38,"name":"ow"},{"choices":[{"nextNgram":11,"nextChar":"u","cumulativeProbability":1}],"totalProbability":1,"name":"pp"},{"choices":[{"nextNgram":20,"nextChar":"r","cumulativeProbability":1}],"totalProbability":1,"name":"pu"},{"choices":[{"nextNgram":3,"nextChar":"o","cumulativeProbability":1}],"totalProbability":1,"name":"ra"},{"choices":[{"nextNgram":4,"nextChar":"o","cumulativeProbability":1}],"totalProbability":1,"name":"re"},{"choices":[{"nextNgram":7,"nextChar":"r","cumulativeProbability":1},{"nextNgram":6,"nextChar":"e","cumulativeProbability":2}],"totalProbability":2,"name":"rm"},{"choices":[{"nextNgram":8,"nextChar":"y","cumulativeProbability":1}],"totalProbability":1,"name":"rn"},{"choices":[{"nextNgram":9,"nextChar":"w","cumulativeProbability":1}],"totalProbability":1,"name":"ro"},{"choices":[{"nextNgram":10,"nextChar":"p","cumulativeProbability":1}],"totalProbability":1,"name":"rp"},{"choices":[{"nextNgram":18,"nextChar":"r","cumulativeProbability":7},{"nextNgram":14,"nextChar":"m","cumulativeProbability":10},{"nextNgram":16,"nextChar":"o","cumulativeProbability":13},{"nextNgram":17,"nextChar":"p","cumulativeProbability":14}],"totalProbability":14,"name":"rr"},{"choices":[{"nextNgram":21,"nextChar":"m","cumulativeProbability":1}],"totalProbability":1,"name":"rw"},{"choices":[{"nextNgram":18,"nextChar":"r","cumulativeProbability":1}],"totalProbability":1,"name":"ur"},{"choices":[{"nextNgram":7,"nextChar":"r","cumulativeProbability":17},{"nextNgram":6,"nextChar":"e","cumulativeProbability":30}],"totalProbability":30,"name":"wm"},{"choices":[{"nextNgram":8,"nextChar":"y","cumulativeProbability":1}],"totalProbability":1,"name":"wn"},{"choices":[{"nextNgram":11,"nextChar":"u","cumulativeProbability":1}],"totalProbability":1,"name":"wp"},{"choices":[{"nextNgram":14,"nextChar":"m","cumulativeProbability":7},{"nextNgram":15,"nextChar":"n","cumulativeProbability":10}],"totalProbability":10,"name":"wr"},{"choices":[{"nextNgram":25,"nextChar":"w","cumulativeProbability":3},{"nextNgram":21,"nextChar":"m","cumulativeProbability":4}],"totalProbability":4,"name":"ww"},{"choices":[{"nextNgram":0,"nextChar":"a","cumulativeProbability":4},{"nextNgram":2,"nextChar":"n","cumulativeProbability":5},{"nextNgram":1,"nextChar":"m","cumulativeProbability":6}],"totalProbability":6,"name":"ya"}] diff --git a/keyboard_mash.json b/keyboard_mash.json new file mode 100644 index 0000000..a789aa9 --- /dev/null +++ b/keyboard_mash.json @@ -0,0 +1 @@ +[{"choices":[{"nextNgram":1,"nextChar":"a","cumulativeProbability":4},{"nextNgram":10,"nextChar":"k","cumulativeProbability":5},{"nextNgram":3,"nextChar":"d","cumulativeProbability":6},{"nextNgram":11,"nextChar":"l","cumulativeProbability":7},{"nextNgram":7,"nextChar":"h","cumulativeProbability":8}],"totalProbability":8,"name":";"},{"choices":[{"nextNgram":7,"nextChar":"h","cumulativeProbability":7},{"nextNgram":9,"nextChar":"j","cumulativeProbability":13},{"nextNgram":5,"nextChar":"f","cumulativeProbability":18},{"nextNgram":11,"nextChar":"l","cumulativeProbability":21},{"nextNgram":16,"nextChar":"u","cumulativeProbability":24},{"nextNgram":6,"nextChar":"g","cumulativeProbability":26},{"nextNgram":3,"nextChar":"d","cumulativeProbability":28},{"nextNgram":0,"nextChar":";","cumulativeProbability":29},{"nextNgram":14,"nextChar":"r","cumulativeProbability":30}],"totalProbability":30,"name":"a"},{"choices":[{"nextNgram":10,"nextChar":"k","cumulativeProbability":1},{"nextNgram":1,"nextChar":"a","cumulativeProbability":2},{"nextNgram":7,"nextChar":"h","cumulativeProbability":3}],"totalProbability":3,"name":"b"},{"choices":[{"nextNgram":5,"nextChar":"f","cumulativeProbability":7},{"nextNgram":7,"nextChar":"h","cumulativeProbability":12},{"nextNgram":15,"nextChar":"s","cumulativeProbability":13},{"nextNgram":6,"nextChar":"g","cumulativeProbability":14},{"nextNgram":10,"nextChar":"k","cumulativeProbability":15},{"nextNgram":9,"nextChar":"j","cumulativeProbability":16},{"nextNgram":2,"nextChar":"b","cumulativeProbability":17}],"totalProbability":17,"name":"d"},{"choices":[{"nextNgram":6,"nextChar":"g","cumulativeProbability":1}],"totalProbability":1,"name":"e"},{"choices":[{"nextNgram":6,"nextChar":"g","cumulativeProbability":12},{"nextNgram":10,"nextChar":"k","cumulativeProbability":16},{"nextNgram":9,"nextChar":"j","cumulativeProbability":19},{"nextNgram":11,"nextChar":"l","cumulativeProbability":21},{"nextNgram":7,"nextChar":"h","cumulativeProbability":23},{"nextNgram":3,"nextChar":"d","cumulativeProbability":25},{"nextNgram":1,"nextChar":"a","cumulativeProbability":26}],"totalProbability":26,"name":"f"},{"choices":[{"nextNgram":1,"nextChar":"a","cumulativeProbability":8},{"nextNgram":7,"nextChar":"h","cumulativeProbability":14},{"nextNgram":0,"nextChar":";","cumulativeProbability":18},{"nextNgram":9,"nextChar":"j","cumulativeProbability":22},{"nextNgram":11,"nextChar":"l","cumulativeProbability":25},{"nextNgram":2,"nextChar":"b","cumulativeProbability":27},{"nextNgram":5,"nextChar":"f","cumulativeProbability":29},{"nextNgram":3,"nextChar":"d","cumulativeProbability":30},{"nextNgram":15,"nextChar":"s","cumulativeProbability":31},{"nextNgram":10,"nextChar":"k","cumulativeProbability":32},{"nextNgram":16,"nextChar":"u","cumulativeProbability":33},{"nextNgram":12,"nextChar":"n","cumulativeProbability":34}],"totalProbability":34,"name":"g"},{"choices":[{"nextNgram":6,"nextChar":"g","cumulativeProbability":7},{"nextNgram":9,"nextChar":"j","cumulativeProbability":11},{"nextNgram":5,"nextChar":"f","cumulativeProbability":14},{"nextNgram":10,"nextChar":"k","cumulativeProbability":17},{"nextNgram":1,"nextChar":"a","cumulativeProbability":20},{"nextNgram":3,"nextChar":"d","cumulativeProbability":23},{"nextNgram":8,"nextChar":"i","cumulativeProbability":25},{"nextNgram":14,"nextChar":"r","cumulativeProbability":27},{"nextNgram":0,"nextChar":";","cumulativeProbability":28},{"nextNgram":12,"nextChar":"n","cumulativeProbability":29},{"nextNgram":7,"nextChar":"h","cumulativeProbability":30},{"nextNgram":16,"nextChar":"u","cumulativeProbability":31}],"totalProbability":31,"name":"h"},{"choices":[{"nextNgram":16,"nextChar":"u","cumulativeProbability":1}],"totalProbability":1,"name":"i"},{"choices":[{"nextNgram":7,"nextChar":"h","cumulativeProbability":5},{"nextNgram":3,"nextChar":"d","cumulativeProbability":9},{"nextNgram":10,"nextChar":"k","cumulativeProbability":12},{"nextNgram":5,"nextChar":"f","cumulativeProbability":15},{"nextNgram":1,"nextChar":"a","cumulativeProbability":17},{"nextNgram":14,"nextChar":"r","cumulativeProbability":18},{"nextNgram":4,"nextChar":"e","cumulativeProbability":19},{"nextNgram":13,"nextChar":"o","cumulativeProbability":20},{"nextNgram":11,"nextChar":"l","cumulativeProbability":21},{"nextNgram":6,"nextChar":"g","cumulativeProbability":22}],"totalProbability":22,"name":"j"},{"choices":[{"nextNgram":1,"nextChar":"a","cumulativeProbability":6},{"nextNgram":5,"nextChar":"f","cumulativeProbability":10},{"nextNgram":6,"nextChar":"g","cumulativeProbability":13},{"nextNgram":9,"nextChar":"j","cumulativeProbability":16},{"nextNgram":15,"nextChar":"s","cumulativeProbability":17},{"nextNgram":3,"nextChar":"d","cumulativeProbability":18},{"nextNgram":11,"nextChar":"l","cumulativeProbability":19},{"nextNgram":7,"nextChar":"h","cumulativeProbability":20}],"totalProbability":20,"name":"k"},{"choices":[{"nextNgram":10,"nextChar":"k","cumulativeProbability":4},{"nextNgram":0,"nextChar":";","cumulativeProbability":6},{"nextNgram":15,"nextChar":"s","cumulativeProbability":7},{"nextNgram":6,"nextChar":"g","cumulativeProbability":8},{"nextNgram":5,"nextChar":"f","cumulativeProbability":9},{"nextNgram":3,"nextChar":"d","cumulativeProbability":10},{"nextNgram":1,"nextChar":"a","cumulativeProbability":11}],"totalProbability":11,"name":"l"},{"choices":[{"nextNgram":6,"nextChar":"g","cumulativeProbability":1},{"nextNgram":7,"nextChar":"h","cumulativeProbability":2}],"totalProbability":2,"name":"n"},{"choices":[{"nextNgram":6,"nextChar":"g","cumulativeProbability":1}],"totalProbability":1,"name":"o"},{"choices":[{"nextNgram":6,"nextChar":"g","cumulativeProbability":4},{"nextNgram":1,"nextChar":"a","cumulativeProbability":6},{"nextNgram":7,"nextChar":"h","cumulativeProbability":7}],"totalProbability":7,"name":"r"},{"choices":[{"nextNgram":3,"nextChar":"d","cumulativeProbability":1},{"nextNgram":10,"nextChar":"k","cumulativeProbability":2}],"totalProbability":2,"name":"s"},{"choices":[{"nextNgram":14,"nextChar":"r","cumulativeProbability":3},{"nextNgram":1,"nextChar":"a","cumulativeProbability":4},{"nextNgram":5,"nextChar":"f","cumulativeProbability":5},{"nextNgram":9,"nextChar":"j","cumulativeProbability":6},{"nextNgram":4,"nextChar":"e","cumulativeProbability":7}],"totalProbability":7,"name":"u"}] diff --git a/uwurandom.py b/uwurandom.py new file mode 100644 index 0000000..90306e7 --- /dev/null +++ b/uwurandom.py @@ -0,0 +1,119 @@ +import json +from random import randint, choice + + +def load_json(filename): + with open(filename) as f: + return json.load(f) + + +actions = [ + "*tilts head*", + "*twitches ears slightly*", + "*purrs*", + "*falls asleep*", + "*sits on ur keyboard*", + "*nuzzles*", + "*stares at u*", + "*points towards case of monster zero ultra*", + "*sneezes*", + "*plays with yarn*", + "*eats all ur doritos*", + "*lies down on a random surface*", +] + +catgirl_table = load_json("catgirl_nonsense.json") +keymash_table = load_json("keyboard_mash.json") +scrunkly_table = load_json("aww_the_scrunkly.json") + + +def gen_uwu(): + return "uwu" + + +def gen_colon_three(): + return ":3" + + +def gen_owo(): + return "owo" + + +def gen_nyaa(): + return "ny" + ("a" * randint(1, 6)) + + +def gen_blush(): + return ">" + ("/" * randint(3, 6)) + "<" + + +def gen_actions(): + return choice(actions) + + +def gen_screaming(): + return "A" * randint(5, 16) + + +def gen_catgirl_nonsense(): + result = "mr" + state = 7 + for _ in range(randint(25, 149)): + rand = randint(0, catgirl_table[state]["totalProbability"] - 1) + for choice in catgirl_table[state]["choices"]: + if choice["cumulativeProbability"] > rand: + result += choice["nextChar"] + state = choice["nextNgram"] + break + result += "nya" + return result + + +def gen_keyboard_mash(): + result = "" + state = randint(0, len(keymash_table) - 1) + for _ in range(randint(25, 149)): + rand = randint(0, keymash_table[state]["totalProbability"] - 1) + for choice in keymash_table[state]["choices"]: + if choice["cumulativeProbability"] > rand: + result += choice["nextChar"] + state = choice["nextNgram"] + break + return result + + +def gen_scrunkly(): + result = "aw" + state = 37 + for _ in range(randint(25, 99)): + rand = randint(0, scrunkly_table[state]["totalProbability"] - 1) + for choice in scrunkly_table[state]["choices"]: + if choice["cumulativeProbability"] > rand: + result += choice["nextChar"] + state = choice["nextNgram"] + break + return result + + +generators = [ + gen_uwu, + gen_colon_three, + gen_owo, + gen_nyaa, + gen_blush, + gen_actions, + gen_screaming, + gen_catgirl_nonsense, + gen_keyboard_mash, + gen_scrunkly, +] + +prev = None +cur = None + +while True: + prev = cur + cur = choice(generators) + while cur == prev: + cur = choice(generators) + print(cur(), end=" ")