synesketch.emotion
Class Empathyscope

java.lang.Object
  extended by synesketch.emotion.Empathyscope

public class Empathyscope
extends java.lang.Object

Defines logic for transfering textual affect information -- emotional manifestations recognised in text -- into visual output.

Version:
1.0
Author:
Uros Krcadinac email: uros@krcadinac.com

Method Summary
 EmotionalState feel(java.lang.String text)
          Textual affect sensing behavior, the main NLP alghoritm which uses Synesketch Lexicon and several heuristic rules.
static Empathyscope getInstance()
          Returns the Singleton instance of the Empathyscope.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Empathyscope getInstance()
                                throws java.io.IOException
Returns the Singleton instance of the Empathyscope.

Returns:
Empathyscope instance
Throws:
java.io.IOException

feel

public EmotionalState feel(java.lang.String text)
                    throws java.io.IOException
Textual affect sensing behavior, the main NLP alghoritm which uses Synesketch Lexicon and several heuristic rules.

Parameters:
text - String representing the text to be analysed
Returns:
EmotionalState which represents data recognised from the text
Throws:
java.io.IOException