Difference between revisions of "Template:Quran Ayah Sentiment Analysis"

From HodHood
Jump to: navigation, search
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 +
== Ayah Sentiment Analysis ==
 
<includeonly>{{get
 
<includeonly>{{get
|from = ayah_sentiment_analysis
+
|from = qayah_sentiment_analysis
|where = ayah = "{{PAGENAME}}"
+
|where = WikiPageName= "{{PAGENAME}}"
|data = PositiveWords = positive_words, NegativeWords = negative_words, Sentence = sentence
+
|data = PositiveWords = PositiveWords, NegativeWords = NegativeWords, Sentence = Sentance
}}<table class="wikitable"><tr>
+
}}<table class="wikitable sortable mw-collapsible" style="text-align: center; margin: 0px; width: 100%;"><tr>
<th>Positive Words</th>
+
<th style="width: 1em;">Positive Words</th>
<th>Negative Words</th>
+
<th style="width: 1em;">Negative Words</th>
<th>Sentence</th>
+
<th style="width: 1em;">Sentence</th>
 
</tr>{{#for_external_table:<tr>
 
</tr>{{#for_external_table:<tr>
<td>{{#arraymap:{{{PositiveWords}}}|,|@|[[@]]}}</td>
+
<td style="text-align: left;">{{#if:{{{PositiveWords}}}|{{{PositiveWords}}}|{{{PositiveWords}}}}}</td>
<td>{{#arraymap:{{{NegativeWords}}}|,|@|[[@]]}}</td>
+
<td style="text-align: left;">{{#if:{{{NegativeWords}}}|{{{NegativeWords}}}|{{{NegativeWords}}}}}</td>
<td>{{{Sentence}}}</td>
+
<td style="text-align: left;">{{{Sentence}}}</td>
 
</tr>}}</table>{{#clear_external_data:}}</includeonly>
 
</tr>}}</table>{{#clear_external_data:}}</includeonly>
 +
<!-- {{#arraymap:{{{NegativeWords}}}|,|@|[[@]]}}|-}} -->
 +
Sentiment Analysis is process of determining the emotional tone behind a series of words, used to gain an understanding of the attitudes, opinions and emotions expressed within text.

Latest revision as of 07:27, 8 February 2018

Ayah Sentiment Analysis

Sentiment Analysis is process of determining the emotional tone behind a series of words, used to gain an understanding of the attitudes, opinions and emotions expressed within text.