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

From HodHood
Jump to: navigation, search
Line 7: Line 7:
 
<th style="width: 1em;">Negative Words</th>
 
<th style="width: 1em;">Negative Words</th>
 
<th style="width: 1em;">Sentence</th>
 
<th style="width: 1em;">Sentence</th>
</tr>{{#for_external_table:<tr>
+
</tr>{{#display_external_table:
<td style="text-align: left;">{{#ifexpr:{{{PositiveWords}}}|ok|-}}</td>
+
|template = Quran Ayah Sentiment Analysis/Row
<td style="text-align: left;">{{#if:{{{NegativeWords|}}}|{{#arraymap:{{{NegativeWords}}}|,|@|[[@]]}}|-}}</td>
+
|data = PositiveWords = PositiveWords, NegativeWords = NegativeWords, Sentence = Sentence
<td style="text-align: left;">{{{Sentence}}}</td>
+
}}</table>{{#clear_external_data:}}</includeonly>
</tr>}}</table>{{#clear_external_data:}}</includeonly>
 

Revision as of 23:08, 6 March 2017