Commit 884456c3 by 20200519027

project 1 补交,修改,related词表耗时过长未完成

parent 605d661f
...@@ -227,27 +227,6 @@ ...@@ -227,27 +227,6 @@
] ]
}, },
{ {
"cell_type": "code",
"execution_count": 375,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"['ap', 'p']"
]
},
"execution_count": 375,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"st = \"ap, p\"\n",
"word_split(st)"
]
},
{
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
...@@ -256,30 +235,6 @@ ...@@ -256,30 +235,6 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 63,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"2"
]
},
"execution_count": 63,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"lp = \" An apple is an apple and an orange\"\n",
"\n",
"l_lp = lp.split()\n",
"\n",
"l_lp.count(\"apple\")"
]
},
{
"cell_type": "code",
"execution_count": 137, "execution_count": 137,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment