aspell_check_raw

(PHP 3 >= 3.0.7, PHP 4 <= 4.2.3)

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

Description

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.

Parameters

dictionary_link

The dictionnary link identifier returned by aspell_new().

word

The tested word.

Return Values

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

Examples

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";
}

?>

See Also

aspell_check()


Follow phpf1 on Twitter




F1 Site Family
AJAX F1
CSS F1
Database F1
Flash F1
HTML F1
Java F1
JavaScript F1
PhotoShop F1
PHP F1
Scripts F1
Tutorial F1
Windows F1

Total time: 0.5293