12.01.2014 Views

User Interface Service Software Developerís Guide - Hitech Projects

User Interface Service Software Developerís Guide - Hitech Projects

User Interface Service Software Developerís Guide - Hitech Projects

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

January 2008<br />

Public<br />

3.3.3.4 Component interfaces<br />

IContextSource<br />

Containing the following methods:<br />

public String query(String contextQueryExpression);<br />

public String subscribe(String contextSubscriptionCharacterisation, String<br />

contextSubscriptionReference);<br />

public boolean unsubscribe(String contextSubscriptionID);<br />

IDialogueManager<br />

Containing the following method:<br />

IDialogueManager::publish(Data)<br />

Creates a new entry on the blackboard. This entry contains a user input or a system output.<br />

Note that no knowledge source can actually delete an existing entry on the blackboard. At<br />

most, they can mark any entry as “having been processed”, but the actual deletion can only be<br />

realized by the blackboard controller.<br />

Every item that is published onto the blackboard shall conform to the following structure, which<br />

is undefined yet, but which shall minimally contain the following fields:<br />

• ID: unique identifier (given by the blackboard controller)<br />

• Time: time of publication<br />

• Type: speech input, gesture input, graphical output, …<br />

• Semantic content: describes the semantic content of the input or output.<br />

• Ambiguous [Boolean]: when the input is ambiguous (e.g. the user command “delete<br />

this”), it shall be noted here. The Multi-modal Fusion Module can then try to resolve<br />

such ambiguities by combining several.<br />

• ProcessedBy: the list of clients id that have processed this item so far.<br />

• Priority: Several knowledge sources may change the priority of treatment of this item:<br />

for instance, when concurrent outputs shall be delivered to the same user.<br />

It may be possible to further provide a “subscription helper” that simplifies the subscription<br />

mechanism for external applications: the idea would be to implement a simple subscription()<br />

function (with attribute/value matching instead of a full SPARQL query) that activates the<br />

complete subscription() method and returns another helper, which can be used by the<br />

application to simplify accordingly the SPARQL answer.<br />

3.3.4 Multimodal Fusion<br />

3.3.4.1 Component interface<br />

3.3.4.1.1 Multimodal Fusion <strong>Interface</strong><br />

The javadoc for the MFM interface is:<br />

Method Summary<br />

void cancel<strong>User</strong>Gesture(java.lang.String timeStamp)<br />

Signal that a gesture movement has stopped without any information<br />

void cancel<strong>User</strong>Selection(java.lang.String timeStamp)<br />

Amigo IST-2004-004182 87/114

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!