public function suggest($word) 
    {
        if (!pspell_check($this->pSpell, $word)) {
            return pspell_suggest($this->pSpell, $word);
        }
        else {
            return [$word];
        }
    }
public function suggest($word) 
    {
        if (!pspell_check($this->pSpell, $word)) {
            return pspell_suggest($this->pSpell, $word);
        }
        else {
            return [$word];
        }
    }
public function suggest ( $ word ) { if ( ! pspell_check ( $ this -> pSpell , $ word ) ) { return pspell_suggest ( $ this -> pSpell , $ word ) ; } else { return [ $ word ] ; } }
Use pspell to get word suggestions
@param string $word
@return array
Use pspell to get word suggestions