Flexible Stand-Alone Keyword Recognition Application Using Dynamic Time Warping

  • Miquel Ferrarons
  • Xavier Anguera
  • Jordi Luque
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8854)


We introduce a Query-by-Example (QbE) application for smart-phone devices that implements a recently proposed memory-efficient dynamic programming algorithm [1] for the task of keyword search. The application compares acoustic keywords with the audio input from the microphone and reacts to detected keywords with actions in the phone. These keywords are recorded by the user, who also defines what actions will be performed by each one. One of these keywords is defined to be a trigger keyword, which is used to wake up the system and thus reduce false detections. All keywords can be freely chosen by the user. In Monitor mode, the application stays listening to audio acquired through the microphone and reacts when the trigger + some keyword are matched. All processing is done locally on the phone, which is able to react in real-time to incoming keywords. In this paper we describe the application, review the matching algorithm we used and show experimentally that it successfully reacts to voice commands in a variety of acoustic conditions.


Mobile search dynamic time warping query-by-example keyword recognition 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Anguera, X., Ferrarons, M.: Memory efficient subsequence dtw for query-by-example spoken term detection. In: 2013 IEEE International Conference on Multimedia and Expo (ICME), pp. 1–6. IEEE (2013)Google Scholar
  2. 2.
    Schalkwyk, J., Beeferman, D., Beaufays, F., Byrne, B., Chelba, C., Cohen, M., Kamvar, M., Strope, B.: “your word is my command”: Google search by voice: A case study. In: Neustein, A. (ed.) Advances in Speech Recognition, pp. 61–90. Springer US (2010),
  3. 3.
    Acero, A., Bernstein, N., Chambers, R., Ju, Y., Li, X., Odell, J., Nguyen, P., Scholz, O., Zweig, G.: Live search for mobile: web services by voice on the cellphone. In: IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2008, pp. 5256–5259 (March 2008)Google Scholar
  4. 4.
    Shen, W., White, C.M., Hazen, T.J.: A comparison of query-by-example methods for spoken term detection. DTIC Document, Tech. Rep. (2009)Google Scholar
  5. 5.
    Rabiner, L.R., Sambur, M.R.: An algorithm for determining the endpoints of isolated utterances. Bell System Technical Journal 54(2), 297–315 (1975)CrossRefGoogle Scholar
  6. 6.
    Lee, H., Chang, S., Yook, D., Kim, Y.: A voice trigger system using keyword and speaker recognition for mobile devices. IEEE Transactions on Consumer Electronics 55(4), 2377–2384 (2009)CrossRefGoogle Scholar
  7. 7.
    Sakoe, H., Chiba, S.: Dynamic programming algorithm optimization for spoken word recognition. IEEE Transactions on Acoustics, Speech and Signal Processing 26(1), 43–49 (1978)CrossRefzbMATHGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Miquel Ferrarons
    • 1
    • 2
  • Xavier Anguera
    • 1
  • Jordi Luque
    • 1
  1. 1.Edificio Telefonica-Diagonal 00Telefonica ResearchBarcelonaSpain
  2. 2.Universitat Autonoma de BarcelonaBarcelonaSpain

Personalised recommendations