Aspell
PHP Manual

aspell_check_raw

(PHP 4 <= 4.2.3)

aspell_check_raw — Check a word without changing its case or trying to trim it [deprecated]

Описание

bool aspell_check_raw ( int $dictionary_link , string $word )

aspell_check_raw() checks the spelling of a word, without changing its case or trying to trim it in any way.

Список параметров

dictionary_link

The dictionnary link identifier returned by aspell_new().

word

The tested word.

Возвращаемые значения

Returns TRUE if the spelling is correct, FALSE if not.

Примеры

Example#1 aspell_check_raw() Example

<?php

$aspell_link 
aspell_new("english");

if (
aspell_check_raw($aspell_link"test")) {
    echo 
"This is a valid spelling";
} else {
    echo 
"Sorry, wrong spelling";
}

?>

Смотрите также


Aspell
PHP Manual