![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Implements spellcheck text. More...
Public Member Functions | |
__construct ($text_element) | |
Constructs spellcheck text instance. | |
![]() | |
__construct ($text, $pre='') | |
Constructs instance. | |
get_text () | |
Retrieves text. | |
get_pre () | |
Retrieves prefix text. | |
accept (AfsSpellcheckTextVisitorInterface $visitor) | |
Accept visitors. |
Implements spellcheck text.
When a query is composed of multiple words, instances of this class are created for each valid word (ie words with no suggested correction).
__construct | ( | $text_element | ) |
Constructs spellcheck text instance.
$text_element | [in] a spellcheck text element with or without prefix text. |