cvs: phpdoc-de /reference/pspell/functions pspell-store-replacement.xml

From: Date: Fri, 23 Aug 2002 16:50:12 +0000
Subject: cvs: phpdoc-de /reference/pspell/functions pspell-store-replacement.xml
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-135@lists.php.net to get a copy of this message
samesch Fri Aug 23 12:50:12 2002 EDT Added files: /phpdoc-de/reference/pspell/functions pspell-store-replacement.xml Log: added; in sync with EN-Rev. 1.2 Index: phpdoc-de/reference/pspell/functions/pspell-store-replacement.xml +++ phpdoc-de/reference/pspell/functions/pspell-store-replacement.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: samesch Status: ready --> <!-- splitted from ./en/functions/pspell.xml, last change in rev 1.1 --> <refentry id="function.pspell-store-replacement"> <refnamediv> <refname>pspell_store_replacement</refname> <refpurpose> Speichert das Ersetzen-Paar für ein Wort </refpurpose> </refnamediv> <refsect1> <title>Beschreibung</title> <methodsynopsis> <type>int</type><methodname>pspell_store_replacement</methodname> <methodparam><type>int</type><parameter>wörterbuch_link</parameter></methodparam> <methodparam><type>string</type><parameter>falsch</parameter></methodparam> <methodparam><type>string</type><parameter>richtig</parameter></methodparam> </methodsynopsis> <simpara> <function>pspell_store_replacement</function> speichert das Ersetzen-Paar für ein Wort, damit dieses Ersetzen-Paar später von <function>pspell_suggest</function> zurückgegeben werden kann. Um von dieser Funktion profitieren zu können, müssen Sie <function>pspell_new_personal</function> zum Öffnen des Wörterbuchs verwenden. Um das Ersetzen-Paar dauerhaft zu speichern, müssen Sie <function>pspell_config_personal</function> und <function>pspell_config_repl</function> verwenden, um den Pfad zu setzen, unter dem Ihre selbst erstellten Wortlisten gespeichert werden sollen und dann <function>pspell_save_wordlist</function>, damit die Änderungen auf die Festplatte geschrieben werden. Bitte beachten Sie, dass diese Funktion nicht funktioniert, wenn Sie nicht pspell .11.2 und aspell .32.5 oder höher haben. </simpara> <para> <example> <title><function>pspell_store_replacement</function></title> <programlisting role="php"> <![CDATA[ $pspell_config = pspell_config_create ("de"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); pspell_config_repl ($pspell_config, "/var/dictionaries/custom.repl"); $pspell_link = pspell_new_config ($pspell_config); pspell_store_replacement ($pspell_link, $falsch, $richtig); pspell_save_wordlist ($pspell_link); ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.doc.de (#135) next »