German

Flat
Julius - Processing Time
User: Lartz
Date: 1/7/2016 3:27 am
Views: 8455
Rating: 0

Hi,

I'm using Julius (In Server Module Mode) for a university project where the spoken command gets recognized by julius and is then sent to a piece of software, which interprets the input and then does something depending on the command given.

To evaluate the system I wanted to measure some times, mostly in the piece of software i developed. But also the following two:

1. Length of each spoken word, which I get from the julius output. (no probs there)

2. The time it took julius to process (or recognize) each word or preferably the entire command.

Does anyone know if and how, if possible, I can get the second time? Haven't found anything in the docs unfortunately.

 

Thanks in advance,

Lars

Re: Julius - Processing Time
User: colbec
Date: 1/12/2016 7:05 am
Views: 98
Rating: 1

Presumably in the dialog manager (the software that communicates with Julius) the socket connection is set up and then there is a function which listens for output from Julius on the socket. Have you tried wrapping this listening function in a timer? You can ask Julius to record the speech input, get the timestamp and length of that input and compare it to the time that the function "hears" something on the socket.

Re: Julius - Processing Time
User: Lartz
Date: 1/12/2016 8:29 am
Views: 69
Rating: 0

That's actually a nice idea. Unfortunately julius only seems to set off timestamps in seconds (unix timestamp), which is not precise enough.

Example:

<INPUT STATUS="ENDREC" TIME="1452608640"/>

Re: Julius - Processing Time
User: colbec
Date: 1/12/2016 9:04 am
Views: 90
Rating: 0

For example:

~/vox/athena> ls -la --time-style=full-iso failwavs/2016.0112.095904.wav
-rw-r--r-- 1 colin users 48044 2016-01-12 09:59:05.658992764 -0500 failwavs/2016.0112.095904.wav

The file creation time is stored in the system to quite fine granularity. The DM ought to have similar granularity to get the heard time. The above is on a Linux openSUSE system. What are you using for OS and DM?

Re: Julius - Processing Time
User: Lartz
Date: 1/13/2016 2:05 am
Views: 313
Rating: 0

Ubuntu 14.04 and the DM is in C++, written in Qt

Re: Julius - Processing Time
User: Lartz
Date: 2/4/2016 6:07 am
Views: 3333
Rating: 0

A bit late, but this solution works great. Thanks for your help

PreviousNext