SpaCySentimentAnalyzer.text_scores
sentiment.SpaCySentimentAnalyzer.text_scores(text)Split raw text into sentences and score each one.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| text | str | Sequence[str] | Full document or iterable of segments to analyze. | required |
Returns
| Name | Type | Description |
|---|---|---|
| list[float] | Sentiment score per detected sentence. |