Subword Spotting and Its Applications