hyphenate

fun hyphenate(word: String): List<Int>

Indices in word where a hyphen may be inserted (word[0,i) + - + word[i,)).