You can configure all speaker identification-related tasks to generate a diagnostics file. The diagnostics file logs the task initialization, processing, and completion, along with any warnings.
To return diagnostic information for a task
Include the DiagLevel and DiagFile parameters when you send the AddTask action. Set DiagLevel to a value greater than 0 to enable diagnostics. The higher the value, the more information is given. The largest value is 3. Set DiagFile to the name of the file to write the diagnostic information to (if you do not set this parameter, IDOL Speech Server automatically generates an output file name).
For example:
http://localhost:15000/action=AddTask&Type=SpkIdEvalWav&File=C:\Data\Speech.wav&TemplateSet=speakers.ats&ClosedSet=False&Out=results.ctm&DiagLevel=3&DiagFile=results.diag
This action uses port 15000 to instruct IDOL Speech Server, which is located on the local machine, to perform the SpkIdEvalWav task on the Speech.wav file and write the results to the results.ctm file and the diagnostics information to results.diag.
Note: The SpkIdFeature, SpkIdSetAdd, SpkIdSetDelete, and SpkIdSetInfo tasks do not support the creation of diagnostic files. However, the SpkIdSetAdd, SpkIdSetDelete, and SpkIdSetInfo tasks all generate a log file.
|
|