aspell_check-raw

(ismeretlen PHP verzió)

aspell_check-raw --  Check a word without changing its case or trying to trim it

Description

boolean 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 and returns true if the spelling is correct, false if not.

Példa 1. Aspell_check_raw()

  1 
  2 $aspell_link=aspell_new ("english");
  3 if (aspell_check_raw ($aspell_link, "test")) {
  4     echo "This is a valid spelling";
  5 } else {
  6     echo "Sorry, wrong spelling";
  7 }
  8