Closed vanderlee closed 1 year ago
Looking into the data splitWord method in Syllable appears to be somewhat useless; it produces incorrect results at times.
splitWord
When provided with the same single-word input with random punctuation, splitText produces the results expected for splitWord.
splitText
Propose to mark splitWord as deprecated and route to splitText internally.
Similarly, the proposed splitWords would be better based on splitText.
splitWords
splitWord is probably faster than splitText if used for a single word. Would keep it.
Can this issue be closed?
Agreed
Looking into the data
splitWord
method in Syllable appears to be somewhat useless; it produces incorrect results at times.When provided with the same single-word input with random punctuation,
splitText
produces the results expected forsplitWord
.Propose to mark
splitWord
as deprecated and route tosplitText
internally.Similarly, the proposed
splitWords
would be better based onsplitText
.