diff --git a/code/Traitement Langage Naturel/TALnegation.ipynb b/code/Traitement Langage Naturel/TALnegation.ipynb index be0ed57..4f8b7e1 100644 --- a/code/Traitement Langage Naturel/TALnegation.ipynb +++ b/code/Traitement Langage Naturel/TALnegation.ipynb @@ -6,13 +6,8 @@ "metadata": {}, "outputs": [], "source": [ - "#pip install unidecode\n", - "#pip install dataclass\n", - "#pip install nltk\n", - "#import os\n", - "#from unidecode import unidecode\n", - "#import nltk\n", - "#from dataclasses import dataclass" + #pip install spacy + #!python -m spacy download fr_core_news_sm ] }, { @@ -264,7 +259,7 @@ " averageScore = averageScore +scoreRev\n", " \n", " #Caractéristique de l'avis analysé\n", - " miniKey = set(miniKey)\n", + " #miniKey = set(miniKey)\n", "\n", "averageScore /= len(reviews)\n", "print(\"Format: [[Mot-clé, score associé]]\\n\")\n",