eu.semaine.components.dialogue.actionproposers
Class DataImporter

java.lang.Object
  extended by eu.semaine.components.dialogue.actionproposers.DataImporter

public class DataImporter
extends java.lang.Object

This class imports the data needed for the UtteranceProposer

Version:
0.1 - dummy class
Author:
Mark tM

Constructor Summary
DataImporter(java.lang.String contextFile, java.lang.String groupFile)
          Creates a new DataImporter
 
Method Summary
 int getCharacter(java.lang.String phrase)
          Returns the Feature-integer representation of the given Character
 java.util.ArrayList<eu.semaine.components.dialogue.datastructures.ContextTemplate> importContextData()
          Reads the ContextData and returns this
 java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> importGroupData()
          Reads the GroupData and returs this
 java.lang.String readLine(java.io.BufferedReader reader)
          Reads the next line of the given Reader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataImporter

public DataImporter(java.lang.String contextFile,
                    java.lang.String groupFile)
Creates a new DataImporter

Parameters:
contextFile -
groupFile -
Method Detail

importGroupData

public java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> importGroupData()
Reads the GroupData and returs this

Returns:

importContextData

public java.util.ArrayList<eu.semaine.components.dialogue.datastructures.ContextTemplate> importContextData()
Reads the ContextData and returns this

Returns:

getCharacter

public int getCharacter(java.lang.String phrase)
Returns the Feature-integer representation of the given Character

Parameters:
phrase -
Returns:

readLine

public java.lang.String readLine(java.io.BufferedReader reader)
Reads the next line of the given Reader

Parameters:
reader -
Returns: