csli.dialog.app.calo.addressee
Class GenerousAddresseeDetector
java.lang.Object
csli.dialog.app.calo.addressee.AddresseeDetector
csli.dialog.app.calo.addressee.GenerousAddresseeDetector
- All Implemented Interfaces:
- Service, AddresseeDetectorService
public class GenerousAddresseeDetector
- extends AddresseeDetector
A generous addressee detector - once initialized on a meeting, the addressees "detected" for a particular utterance
are everyone in the meeting except for the current speaker. This might be useful for inferring training data from
noisy feedback.
- Author:
- mpurver
|
Method Summary |
Set<String> |
detect(String speakId,
boolean addToModel)
Detect addressee(s) for a given Speak event, optionally asserting in the OPI model via the NOMOSAddressee
property |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenerousAddresseeDetector
public GenerousAddresseeDetector(CorporaOpi_2_0 model)
detect
public Set<String> detect(String speakId,
boolean addToModel)
- Description copied from class:
AddresseeDetector
- Detect addressee(s) for a given Speak event, optionally asserting in the OPI model via the NOMOSAddressee
property
- Specified by:
detect in class AddresseeDetector
- Parameters:
speakId - the ID of the SpeakaddToModel - if true, assert NOMOSAddressee
- Returns:
- the (possibly empty) Set of IDs of the addressed Persons.