synesketch.emotion
Class SynesthetiatorEmotion

java.lang.Object
  extended by synesketch.Synesthetiator
      extended by synesketch.emotion.SynesthetiatorEmotion

public class SynesthetiatorEmotion
extends Synesthetiator

Defines behavior for transfering textual affect information -- emotional manifestations recognised in text -- into visual output and notifying Processing applet (PApplet) about that new information.

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

Constructor Summary
SynesthetiatorEmotion(processing.core.PApplet parent)
          Class constructor that sets parent Processing applet (PApplet).
 
Method Summary
 void synesthetise(java.lang.String text)
          Defines behaviour of transferring affective textual information into visual information (defines the synesthetic ablilites).
 
Methods inherited from class synesketch.Synesthetiator
notifyPApplet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynesthetiatorEmotion

public SynesthetiatorEmotion(processing.core.PApplet parent)
                      throws java.lang.Exception
Class constructor that sets parent Processing applet (PApplet). Parent applet is to be notified about the text event -- the recognition of a current emotion in text.

Parameters:
parent -
Throws:
java.lang.Exception
Method Detail

synesthetise

public void synesthetise(java.lang.String text)
                  throws java.io.IOException
Defines behaviour of transferring affective textual information into visual information (defines the synesthetic ablilites).

Specified by:
synesthetise in class Synesthetiator
Parameters:
text - String containing the text which is to be analyzed
Throws:
java.lang.Exception
java.io.IOException