org.hops.dm.tad
Class utterance

java.lang.Object
  extended by org.hops.dm.tad.utterance
All Implemented Interfaces:
java.io.Serializable

public class utterance
extends java.lang.Object
implements java.io.Serializable

User/system utterance information typedef struct{ float score; turn participant; sentence input; queueact acts; ut_status status; }utterance;

Version:
3.0
Author:
Meritxell Gonzalez
See Also:
Serialized Form

Field Summary
 queueact acts
          action interpretation of the sentence
 java.lang.String input
          sentence
 turn participant
          user / system
 double score
          confidence level of the transcripted sentence 1.0 for text, and 1.0 for system needed for voice/user
 ut_status status
          status of the utterance
 
Constructor Summary
utterance()
          Creates a new instance of utterance
utterance(utterance _u)
          Creates a new instance of utterance and copy the utterance input values
 
Method Summary
 java.lang.Object clone()
          Creates and returns a copy of this object.
 boolean is_noinput()
          the user said nothing (voice)
 boolean is_nomatch()
          the user said something not understandable (voice)
 boolean is_parsererror()
          there is no semantic interpretation
 java.lang.String toFriendString()
          Returns a string representation of the object.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

score

public double score
confidence level of the transcripted sentence 1.0 for text, and 1.0 for system needed for voice/user


participant

public turn participant
user / system


input

public java.lang.String input
sentence


acts

public queueact acts
action interpretation of the sentence


status

public ut_status status
status of the utterance

Constructor Detail

utterance

public utterance()
Creates a new instance of utterance


utterance

public utterance(utterance _u)
Creates a new instance of utterance and copy the utterance input values

Method Detail

clone

public java.lang.Object clone()
Creates and returns a copy of this object.

Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object

toFriendString

public java.lang.String toFriendString()
Returns a string representation of the object.


is_noinput

public boolean is_noinput()
the user said nothing (voice)


is_parsererror

public boolean is_parsererror()
there is no semantic interpretation


is_nomatch

public boolean is_nomatch()
the user said something not understandable (voice)