Public Member Functions
|BadWord (int _lineIndex, int _wordIndex, const QByteArray &_resultInfo)|
|Bad Word Constructor. |
|const QByteArray &||_resultInfo|
Bad Word Constructor.
This is the initializer for the BadWord object.
Lines that begin with '&' are lines where a list of correction words were found.
& parserr 32 154: pars err, pars-err, parser,...
'&' ~ denotes a line with suggestions 'parserr' ~ indicates the incorrect word '32' ~ indicates how many suggestions are given '154' ~ the character position on this line where the misspelled word is found ':' ~ separates the list of suggestions 'pars err' ~ the first suggestion ',' ~ suggestion delimiter 'pars-err' ~ the second suggestion
# dhdhuhudhddhhe 10
'#' ~ denotes a line with no suggestions 'dhdhuhudhddhhe' ~ indicates the incorrect word '10' ~ indicates the character position on the line where the bad word was found.
|_wordIndex||int ~ Word position within the entire text where the bad word was found. Words are chunks of text separated by spaces. Therefore, it is possible to take this word index and split up the input text by space and find the bad word by this index value... more or less.|
|_resultInfo||QByteArray ~ Result response that comes from the spell checker. This text has the bad word, information about where it's located within the body of text, and all the possible correct word suggestions.|
~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
Commence Database User Support Group Forum
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC