Difference between revisions of "Template:Quran Ayah Sentiment Analysis"
From HodHood
Line 8: | Line 8: | ||
<th>Sentence</th> | <th>Sentence</th> | ||
</tr>{{#for_external_table:<tr> | </tr>{{#for_external_table:<tr> | ||
− | <td>{{#if:{{{PositiveWords | + | <td>{{#if:{{{PositiveWords}}}|{{#arraymap:{{{PositiveWords}}}|,|@|[[@]]}}|-}}</td> |
− | <td>{{#if:{{{NegativeWords | + | <td>{{#if:{{{NegativeWords}}}|{{#arraymap:{{{NegativeWords}}}|,|@|[[@]]}}|-}}</td> |
<td>{{{Sentence}}}</td> | <td>{{{Sentence}}}</td> | ||
</tr>}}</table>{{#clear_external_data:}}</includeonly> | </tr>}}</table>{{#clear_external_data:}}</includeonly> |