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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

January 2008<br />

Public<br />

Example<br />

string clear<strong>User</strong>(“user01”)<br />

In this example the clear<strong>User</strong> method is called for clearing user user01 voiceprint. Upon a<br />

successful execution an example response string will be:<br />

<br />

<br />

0 <br />

user 'user0' cleared successfully<br />

<br />

1.3.1.4 Capability ISpeakerRecognition::delete<strong>User</strong>()<br />

Syntax<br />

string delete<strong>User</strong>(string userID)<br />

Description<br />

This method is used for clearing a user's voiceprint and de- registering him from speakers DB.<br />

Example<br />

string delete<strong>User</strong>(“user01”)<br />

In this example the delete<strong>User</strong> method is called for deleting user user01. Upon a successful<br />

creation an example response string will be:<br />

<br />

<br />

0 <br />

user 'user0' deleted successfully <br />

<br />

1.3.1.5 Capability ISpeakerRecognition::enroll<strong>User</strong>()<br />

Syntax<br />

string enroll<strong>User</strong>(string userID, string utteranceURL, string utteranceText, string<br />

recognitionType)<br />

Description<br />

This method is used for enrolling a new user and creating his voiceprint.<br />

Example<br />

string enroll<strong>User</strong>(“user01”, “C:\SpeakerRecognition\enrollment\utte_user01.pcm”, “”, “normal” )<br />

In this example the enroll<strong>User</strong> method is called for creating the voiceprint of user user01, using<br />

the recorded utterance utte_user01.pcm, with normal recognition type (text-indeppendent) .<br />

Upon a successful creation an example response string will be:<br />

<br />

<br />

0 <br />

user 'user0' enrolled successfully /returnMessage><br />

<br />

Amigo IST-2004-004182 22/114

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

Saved successfully!

Ooh no, something went wrong!