問題タブ [textblob]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
nlp - TextBlob を使用したセンチメント分析で、否定的な文が肯定的な文と同じ極性を持つのはなぜですか?
私は感情分析に TextBlob を使用しており、これを観察しました -
肯定的な文は次のとおりです。 彼女はこれが得意です。
そのセンチメント分析は 、 polarity=0.7、subjectivity=0.6000000000000001 です。
否定文は、「 彼女はこれが得意ではない」です。
そのセンチメント分析は 、 polarity=0.7、subjectivity=0.6000000000000001 です。
主観性が同じ(またはほぼ同じ)である可能性があることは理解していますが、極性が同じである可能性はありますか?2番目の文は否定的ではありませんか?
要求されたコードは次のとおりです。