mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
add multilang sentiment node as separate node
This commit is contained in:
20
analysis/mlsentiment/locales/ja/mlsentiment.html
Normal file
20
analysis/mlsentiment/locales/ja/mlsentiment.html
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
<script type="text/x-red" data-help-name="mlsentiment">
|
||||
<p>指定したプロパティ(デフォルトは<code>payload</code>)を分析し、<code>sentiment</code>オブジェクトを追加します。</p>
|
||||
<h3>出力</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>sentiment <span class="property-type">オブジェクト</span></dt>
|
||||
<dd>AFINN-111による感情分析の結果</dd>
|
||||
<dt>sentiment.score <span class="property-type">数値</span></dt>
|
||||
<dd>感情分析スコア</dd>
|
||||
</dl>
|
||||
<h3>入力</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>overrides <span class="property-type">オブジェクト</span></dt>
|
||||
<dd>単語スコアの上書きをするためのオブジェクト - <code>{ word:score,... }</code></dd>
|
||||
</dl>
|
||||
<h3>詳細</h3>
|
||||
<p>ゼロ以上のスコアはポジティブ、ゼロ以下はネガティブを意味します。</p>
|
||||
<p>スコアの範囲は通常-5から+5ですが、より大きかったり小さかったりすることもあります。</p>
|
||||
<p>詳細は<a href="https://github.com/marcellobarile/multilang-sentiment/blob/develop/README.md" target="_blank">the Multilang-Sentiment docs here</a>を参照してください。</p>
|
||||
</script>
|
8
analysis/mlsentiment/locales/ja/mlsentiment.json
Normal file
8
analysis/mlsentiment/locales/ja/mlsentiment.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"mlsentiment": {
|
||||
"sentiment": "sentiment",
|
||||
"label": {
|
||||
"language": "言語"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user