Difference between revisions of "Template:Quran Ayah Sentiment Analysis"
From HodHood
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>{{# | + | </tr>{{#for_external_table:<tr> |
− | + | <td style="text-align: left;">{{#ifexpr:{{{PositiveWords}}}|ok|-}}</td> | |
− | }}</table>{{#clear_external_data:}}</includeonly> | + | <td style="text-align: left;">{{#if:{{{NegativeWords|}}}|{{#arraymap:{{{NegativeWords}}}|,|@|[[@]]}}|-}}</td> |
+ | <td style="text-align: left;">{{{Sentence}}}</td> | ||
+ | </tr>}}</table>{{#clear_external_data:}}</includeonly> |