!7 sclass Entry { S text, wordsTaken; } module ELESentencePrefixes > DynObjectTable { start { doEvery(1.0, r grab); } void grab enter { if (!ele_on()) ret; LS tok = javaTokNPunctuationWithBrackets(ele_getInput()); setList(mapI(countIterator_exclusive(1, countTokens(tok)+1), i -> nu Entry(text := getSentencePrefix(tok, i), wordsTaken := i + "/" + countTokens(tok)))); } }