|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
eu.semaine.components.Component
eu.semaine.components.dialogue.actionproposers.BackchannelProposer
public class BackchannelProposer
| Nested Class Summary | |
|---|---|
static class |
BackchannelProposer.State
|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class eu.semaine.components.Component |
|---|
inputWaiting, isInput, isOutput, log, meta, receivers, senders, state, waitingTime |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
BackchannelProposer()
|
|
| Method Summary | |
|---|---|
void |
act()
Checks if the turn has switched to the agent |
boolean |
isSilence(SEMAINEMessage m)
Checks if the Message is ASR output and if it contains Silence. |
boolean |
isSpeaking(SEMAINEMessage m)
Checks if the Message is ASR output and if it contains a word. |
boolean |
processTurnMessage(SEMAINEMessage m)
|
void |
react(SEMAINEMessage m)
Updates the time since the user is silent and the turn taking state based on the received message |
void |
sendBackchannelSignal()
|
| Methods inherited from class eu.semaine.components.Component |
|---|
customStartIO, exitRequested, messageAvailableFrom, requestExit, run |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BackchannelProposer()
throws javax.jms.JMSException
javax.jms.JMSException| Method Detail |
|---|
public void act()
throws javax.jms.JMSException
act in class Componentjavax.jms.JMSException - if communication with the JMS server goes wrong.
public void react(SEMAINEMessage m)
throws javax.jms.JMSException
react in class Componentjavax.jms.JMSException - if communication with the JMS server goes wrong.
public void sendBackchannelSignal()
throws javax.jms.JMSException
javax.jms.JMSException
public boolean isSilence(SEMAINEMessage m)
throws javax.jms.JMSException
m - the message to check
javax.jms.JMSException
public boolean isSpeaking(SEMAINEMessage m)
throws javax.jms.JMSException
m - the message to check
javax.jms.JMSExceptionpublic boolean processTurnMessage(SEMAINEMessage m)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||