Phonetic-based word spotter: various configurations and application to event spotting