array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.enchant-dict-store-replacement.php', 1 => 'enchant_dict_store_replacement', ), 'up' => array ( 0 => 'ref.enchant.php', 1 => 'Fonctions Enchant', ), 'prev' => array ( 0 => 'function.enchant-dict-quick-check.php', 1 => 'enchant_dict_quick_check', ), 'next' => array ( 0 => 'function.enchant-dict-suggest.php', 1 => 'enchant_dict_suggest', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/enchant/functions/enchant-dict-store-replacement.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 )
enchant_dict_store_replacement — Ajoute une orthographe pour un mot
$dictionary
, string $misspelled
, string $correct
): void
Ajoute une orthographe pour mis
en utilisant cor
.
Notez que si vous remplacez @mis par @cor, alors il est probable que les futures occurrences
den@mis seront remplacées par @cor. Ainsi, @cor sera ajouté à la liste des suggestions.
dictionary
Un dictionnaire Enchant retourné par enchant_broker_request_dict() ou enchant_broker_request_pwl_dict().
misspelled
Le mot à traiter
correct
Le mot correct
Version | Description |
---|---|
8.0.0 |
dictionary attend désormais une instance de EnchantDictionary ;
auparavant, une ressource était attendu.
|