[ You are here: XTF -> Tag Reference -> crossQuery -> Search Result Formatter -> Spelling Suggestion Tag ]

Spelling Suggestion

This tag contains a spelling suggestion for a single term from the original query submitted to the Text Engine. It will appear directly within a Spelling Correction Result tag.
<suggestion origTerm      = "OriginalWord"
            suggestedTerm = "ReplacementWord"/>
where
origTerm="OriginalWord" is the (potentially) misspelled term found in the original query.
suggestedTerm="ReplacementWord" is the best correction that the spelling engine could find for the original term. This may be two words if the original word should be split (e.g. "harrypotter" -> "harry potter"). This may be an empty string, indicating that the original word should be removed from the query (e.g. "usa" "bility" -> "usability" "empty"