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

From HodHood
Jump to: navigation, search
Line 8: Line 8:
 
<th style="width: 1em;">Sentence</th>
 
<th style="width: 1em;">Sentence</th>
 
</tr>{{#for_external_table:<tr>
 
</tr>{{#for_external_table:<tr>
<td style="text-align: left;">{{#if:{{{PositiveWords}}}|{{#arraymap:{{{PositiveWords}}}|,|@|[[@]]}}|-}}</td>
+
<td style="text-align: left;">{{#if:{{{PositiveWords}}}|ok|-}}</td>
 
<td style="text-align: left;">{{#if:{{{NegativeWords}}}|{{#arraymap:{{{NegativeWords}}}|,|@|[[@]]}}|-}}</td>
 
<td style="text-align: left;">{{#if:{{{NegativeWords}}}|{{#arraymap:{{{NegativeWords}}}|,|@|[[@]]}}|-}}</td>
 
<td style="text-align: left;">{{{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:58, 6 March 2017