You are here

public function SearchApiSpellcheckInterface::suggestString in Search API Spellcheck 7

Takes a string and returns either the string with spelling suggestions or FALSE if none could be found.

Parameters

string $original_string: A single word or full sentance.

Return value

A string if any suggestions could be applied or FALSE if none could be applied.

1 method overrides SearchApiSpellcheckInterface::suggestString()
SearchApiSpellcheck::suggestString in includes/SearchApiSpellcheck.inc
Check if any of the added spellcheck suggestions match either all or part of the string.

File

includes/SearchApiSpellcheck.inc, line 19
Spellcheck Service Interface and Class.

Class

SearchApiSpellcheckInterface
@file Spellcheck Service Interface and Class.

Code

public function suggestString($original_string);