Implemented the FrameDropper. It will drop one out of every Nth frame, as specified by the property:
Implemented the FrameDropper. It will drop one out of every Nth frame,
as specified by the property:

edu.cmu.sphinx.frontend.FrameDropper.dropEveryNthFrame (default is -1)

If this property <= 1, then no frames are dropped.

You can also specify that you replace the dropped frame with the previous frame:

edu.cmu.sphinx.frontend.FrameDropper.replaceNthWithPrevious=true (default false)

Experiments show that setting this to true gives almost no WER increase,
but faster decoding:

Replace Nth  WER       RT
-------------------------------
2            18.852%   1.57 xRT
3            18.579%   1.67 xRT
4            20.765%   1.70 xRT
No drop      18.579%   1.85 xRT

On the other hand, just dropping the frame without replacing it with the
previous one gives worse WER as we drop more frames. Bhiksha said it shouldn't,
so we should look more into it.


git-svn-id: a8b04003a33e1d3e001b9d20391fa392a9f62d91@2094 94700074-3cef-4d97-a70e-9c8c206c02f5

deepstupid/sphinx5