This project is not covered by Drupal’s security advisory policy.

OPAL: Opinion Analyzer

OPAL is a Drupal plugin that analyses comments posted by users and detects whether they are positive, negative or neutral. In addition, it calculates the joint polarity of all comments attached to a content type and deliveries an overall rank for the post.

The goal of the application is to show how opinion mining can aid in assessment of content such as ideas in Idea Management Systems.

By default OPAL will add snippets to all content types and comments.
For content types it will display:

  • An image that visualises balance between emotions expressed in all comments
  • Overall polarity score together with percentage of positive/negative/neutral posts
  • Amount of positive, negative and neutral posts

For each comment:

  • An image that visualises the sentiments in the comment (positive, negative or neutral)
  • Polarity score

In each case the amount of information that is shown can be customized in module settings (Site Configuration/Opinion Analyser). All the information can be themed with CSS (see module directory) but is also passed in $node and $comment objects for more advanced theming. In addition, OPAL is supported by RDFme so its possible to export the opinion mining data along with other information into RDF/XML.

Images:
Screenshot
Snippets

Demo Website:
OPAL at www.fernandotapiarico.com

The module development has been sponsored by Universidad Politecnica de Madrid and was done as part of Gi2MO project.

Initial setup

Before installing the module, you must copy the SentiWordNet database in your OPAL directory. You can download it from: here

IMPORTANT: SentiWordnet License

Project information

Releases