Linear time warping

The simplest way to deal with variable duration is to stretch the unknown word to have the same duration as the template.