This commit is contained in:
Adriane Boyd 2020-11-17 15:24:38 +01:00
parent 78913a4f95
commit 3cf6479467
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
"doc = nlp(text)", "doc = nlp(text)",
"doc._.sentiment.polarity # Polarity: -0.125", "doc._.sentiment.polarity # Polarity: -0.125",
"doc._.sentiment.subjectivity # Sujectivity: 0.9", "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", "code_language": "python",
"url": "https://spacytextblob.netlify.app/", "url": "https://spacytextblob.netlify.app/",