migrated spacy and nltk to requirements.txt

This commit is contained in:
Ivan
2023-11-19 22:30:56 +08:00
parent fd829d2d1e
commit 20c50f0fe6
@@ -107,32 +107,12 @@
"2. `nltk` : This was used by the original paper to count the number of tokens in our generated summaries"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "31058600-540c-426c-b208-6117fca71cdf",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
"\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m A new release of pip is available: \u001b[0m\u001b[31;49m23.2.1\u001b[0m\u001b[39;49m -> \u001b[0m\u001b[32;49m23.3.1\u001b[0m\n",
"\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m To update, run: \u001b[0m\u001b[32;49mpip install --upgrade pip\u001b[0m\n"
]
}
],
"source": [
"!pip install spacy nltk --quiet"
]
},
{
"cell_type": "markdown",
"id": "35dd5dae-0659-4b86-b8f2-57ec56087831",
"metadata": {},
"source": [
"We'll also need to install the tokenizer packages and the spacy english library"
"We'll need to install the tokenizer packages and the spacy english library before we can proceed with the rest of the lesson"
]
},
{