|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsli.dialog.app.calo.addressee.AddresseeDetector
public abstract class AddresseeDetector
An abstract addressee detector
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
logger
|
protected Set<CorporaOpi_2_0.NOMOSPerson> |
speakers
|
protected List<String> |
speakIds
|
protected List<CorporaOpi_2_0.NOMOSSpeak> |
speaks
|
| Constructor Summary | |
|---|---|
AddresseeDetector(CorporaOpi_2_0 model)
|
|
| Method Summary | |
|---|---|
Set<String> |
detect(String speak)
Detect addressee(s) for a given Speak event, but do not assert in the model. |
abstract Set<String> |
detect(String speak,
boolean addToModel)
Detect addressee(s) for a given Speak event, optionally asserting in the OPI model via the NOMOSAddressee property |
void |
doMeeting(String meeting)
Detect addressees for all Speak events within a Meeting, and assert via the NOMOSAddressee property. |
Set<String> |
doSpeak(String speak)
Detect addressee(s) for a given Speak event, and assert via the NOMOSAddressee property. |
JPanel |
getGui()
Get a Swing JPanel which provides a GUI to this service. |
String |
getTitle()
Get the name of this service as it should appear in the GUI. |
void |
init(CorporaOpi_2_0 model)
Initialize this addressee detector on a model containing some utterances |
boolean |
isServiceAlive()
Is the service happy and alive? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<CorporaOpi_2_0.NOMOSSpeak> speaks
protected List<String> speakIds
protected Set<CorporaOpi_2_0.NOMOSPerson> speakers
protected static org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public AddresseeDetector(CorporaOpi_2_0 model)
| Method Detail |
|---|
public void init(CorporaOpi_2_0 model)
model - public void doMeeting(String meeting)
AddresseeDetectorService
doMeeting in interface AddresseeDetectorServicemeeting - the ID of the Meeting to processpublic Set<String> doSpeak(String speak)
AddresseeDetectorService
doSpeak in interface AddresseeDetectorServicespeak - the ID of the Speak to process
public Set<String> detect(String speak)
AddresseeDetectorService
detect in interface AddresseeDetectorServicespeak - the ID of the Speak to process
public abstract Set<String> detect(String speak,
boolean addToModel)
speak - the ID of the SpeakaddToModel - if true, assert NOMOSAddressee
public JPanel getGui()
Service
getGui in interface Servicepublic String getTitle()
Service
getTitle in interface Servicepublic boolean isServiceAlive()
Service
isServiceAlive in interface Service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||