检查一个单字,即使拼错也不改变或修正。
语法: boolean aspell_check_raw(int dictionary_link, string word);
传回值: 布林值
函式种类: 资料处理
本函式检查单字的拼字。若拼字正确则传回 true,不正确则传回 false。本函式不会改变或者修正使用者的拼字。
$aspell_link=aspell_new("english");if (aspell_check_raw($aspell_link,"testt")) { echo "This is a valid spelling";} else { echo "Sorry, wrong spelling";}