javascript - selecting an optimal span -
this pure programming question. have array of words. words have pauses after them various length (mostly zero). each word has certainty score. want select optimal span of words lookahead window.
- the lower overall certainty better (or lower 33th percentile of certainty better).
- the longer pauses on edges better (with hard minimum).
- there optimum length (like 5 seconds). closer better. there hard limits on mimimum , maximum length.
nota bene, in javascript, cannot afford using support vector machines s or like. :-) performance thoughts, calculated maybe every minute on window of 2-minute length (250 words or so).
second nota bene interested: select span of words generated automatic speech recognition manual transcription (active learning).
how approach this?
a night's sleep brought light on issue. there's little magic needed. since number of candidate spans quite limited (in worst case square of number of words in window -- 250^2), can evaluate fitness of each span , pick 1 best score.
duh, why didn't see yesterday?
Comments
Post a Comment