howl icon indicating copy to clipboard operation
howl copied to clipboard

window size

Open Jundo26 opened this issue 3 years ago • 1 comments

why max window size == 500ms ? Is it because the duration of a word is about 500ms?

Jundo26 avatar Apr 19 '21 09:04 Jundo26

I think max_window_size can be a misleading name. It is prefixed with max as samples can possibly have variable length (shorter than the max_window_size)

The window is the single unit of a sample that is preprocessed together and fed into the model The following code should be self-explanatory https://github.com/castorini/howl/blob/55f8b92081dc5c7b98ef3a2a52de15966be663dc/howl/model/inference.py#L169-L193

ljj7975 avatar Apr 20 '21 02:04 ljj7975