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

From HodHood
Jump to: navigation, search
Line 3: Line 3:
 
|where = ayah = "{{PAGENAME}}"
 
|where = ayah = "{{PAGENAME}}"
 
|data = PositiveWords = positive_words, NegativeWords = negative_words, Sentence = sentence
 
|data = PositiveWords = positive_words, NegativeWords = negative_words, Sentence = sentence
}}<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;">{{#arraymap:{{{PositiveWords}}}|,|@|[[@]]}}</td>
<td>{{#arraymap:{{{NegativeWords}}}|,|@|[[@]]}}</td>
+
<td style="text-align: left;">{{#arraymap:{{{NegativeWords}}}|,|@|[[@]]}}</td>
<td>{{{Sentence}}}</td>
+
<td style="text-align: left;">{{{Sentence}}}</td>
 
</tr>}}</table>{{#clear_external_data:}}</includeonly>
 
</tr>}}</table>{{#clear_external_data:}}</includeonly>

Revision as of 22:49, 6 March 2017