問題タブ [vader]
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 - VADER レキシコンを更新できません
print(news['title'][5])
マグニチュード 7.5 の地震がペルーとエクアドルの国境地域を襲う
print(analyser.polarity_scores(news['title'][5]))
{'neg': 0.0, 'neu': 1.0, 'pos': 0.0, 'compound': 0.0}
ポジティブ: [] ニュートラル: ['Magnitude', '7.5', 'quake', 'his', 'Peru-Ecuador', 'border', 'region', '-', 'The', 'Hindu'] ネガティブ: []
スコア: {'neg': 0.0, 'neu': 1.0, 'pos': 0.0, 'compound': 0.0}
{'neg': 0.0, 'neu': 1.0, 'pos': 0.0, 'compound': 0.0}
ポジティブ: [] ニュートラル: ['Magnitude', '7.5', 'quake', 'his', 'Peru-Ecuador', 'border', 'region', '-', 'The', 'Hindu'] ネガティブ: []
スコア: {'neg': 0.0, 'neu': 1.0, 'pos': 0.0, 'compound': 0.0}