checkWordSegment
Run spell check on a specific word segment. This will remove any existing spell check spans for the word and add a new one if misspelled.
Return
true if the word is misspelled and a new span was added, false otherwise
Parameters
segment
The word segment to check