|
|
|
@ -226,21 +226,22 @@
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
|
|
|
|
"execution_count": 6,
|
|
|
|
|
"execution_count": 12,
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"name": "stdin",
|
|
|
|
|
"output_type": "stream",
|
|
|
|
|
"text": [
|
|
|
|
|
" Today is the first day of the rest of your life.\n"
|
|
|
|
|
" Today is the first day of the rest of your life\n"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "stdout",
|
|
|
|
|
"output_type": "stream",
|
|
|
|
|
"text": [
|
|
|
|
|
"END is the great underneath outside a pea at his time .\n"
|
|
|
|
|
"Today is the first day of the rest of your life\n",
|
|
|
|
|
"END is a sorry thief of the sobs upon your run\n"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
@ -261,6 +262,7 @@
|
|
|
|
|
" newword = choice(index[tag])\n",
|
|
|
|
|
" new.append(newword)\n",
|
|
|
|
|
" # print (\"replace with\", newword)\n",
|
|
|
|
|
"print (i)\n",
|
|
|
|
|
"print (' '.join(new))"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|