Created
January 16, 2020 18:18
-
-
Save pietrop/94da62c00b477c5768fb57da52395e62 to your computer and use it in GitHub Desktop.
heuristic to estimate duration of a word, based on looking across a number of transcripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Chris Baume BBC R&D heuristic to estimate duration of a word, based on looking across a number of transcripts. | |
// from https://github.com/chrisbaume/webaligner/blob/9458df57d854e9df64a54bc23a7f0856de49730f/webaligner.js#L7 | |
// estimates the duration of a word, in seconds | |
function wordDuration(word) { | |
return 0.08475 + (0.05379 * word.length); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment