This commit is contained in:
Adriane Boyd 2020-11-17 15:24:38 +01:00
parent c3d9550f30
commit c2eb0992ae

View File

@ -18,7 +18,7 @@
"doc = nlp(text)",
"doc._.sentiment.polarity # Polarity: -0.125",
"doc._.sentiment.subjectivity # Sujectivity: 0.9",
"doc._.sentiment.assessments # Assessments: [(['really', 'horrible'], -1.0, 1.0, None), (['worst', '!'], -1.0, 1.0, None), (['really', 'good'], 0.7, 0.6000000000000001, None), (['happy'], 0.8, 1.0, None)]",
"doc._.sentiment.assessments # Assessments: [(['really', 'horrible'], -1.0, 1.0, None), (['worst', '!'], -1.0, 1.0, None), (['really', 'good'], 0.7, 0.6000000000000001, None), (['happy'], 0.8, 1.0, None)]"
],
"code_language": "python",
"url": "https://spacytextblob.netlify.app/",