toWords
Stentor API Reference / stentor-utils/src / toWords
Function: toWords()
toWords(
sentence):string[]
Defined in: packages/stentor-utils/src/speech.ts:48
From the provided sentence you return just the words in an array.
All commas and other punctuation marks will be removed.
Parameters​
sentence​
string
Returns​
string[]