cvs: phpdoc /fr/functions aspell.xml
| From: | Damien Seguy | Date: | Fri, 27 Oct 2000 06:53:37 +0000 |
| Subject: | cvs: phpdoc /fr/functions aspell.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969332644@lists.php.net to get a copy of this message | ||
dams Thu Oct 26 23:53:37 2000 EDT
Modified files:
/phpdoc/fr/functions aspell.xml
Log:
Synch with doc.
Index: phpdoc/fr/functions/aspell.xml diff -u phpdoc/fr/functions/aspell.xml:1.1 phpdoc/fr/functions/aspell.xml:1.2 --- phpdoc/fr/functions/aspell.xml:1.1 Fri Jul 21 03:27:50 2000 +++ phpdoc/fr/functions/aspell.xml Thu Oct 26 23:53:37 2000 @@ -1,166 +1,182 @@ - <reference id="ref.aspell"> - <title>Fonctions Aspell</title> - <titleabbrev>aspell</titleabbrev> - <partintro> - <simpara> - Les fonctions Aspell vous permettent de vérifier l'orthographe d'un mot, - et d'offrir des suggestions de corrections. Plusieurs langues sont disponible, comme - l'allemand, le suédois et le danois. - </simpara> - - <simpara> - Vous avez besoin de la librairie Aspell, disponible à : - <ulink url="http://aspell.sourceforge.net/">http://aspell.sourceforge.net/</ulink></simpara> - </partintro> - - - <refentry id="function.aspell-new"> - <refnamediv> - <refname>aspell_new</refname> - <refpurpose>Charge un nouveau dictionnaire</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcdef>int <function>aspell_new</function></funcdef> - <paramdef>string <parameter>master</parameter></paramdef> - <paramdef>string <parameter>personal</parameter></paramdef> - </funcsynopsis> - <simpara> - <function>aspell_new</function> ouvre un nouveau dictionaire, et retourne un - identifiant de dictionnaire pour utilisation ultérieure dans les fonctions aspell. - </simpara> - <para> - <example> - <title>aspell_new</title> - <programlisting> -$aspell_link=aspell_new("english"); - </programlisting> - </example></para> - </refsect1> - </refentry> - - - <refentry id="function.aspell-check"> - <refnamediv> - <refname>aspell_check</refname> - <refpurpose>Vérifie un mot</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcdef>boolean <function>aspell_check</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcsynopsis> - <simpara> - <function>aspell_check</function> vérifie l'orthographe d'un mot et retourne TRUE - si l'orthographe est correcte, et FALSE sinon. - </simpara> - <para> - <example> - <title>aspell_check</title> - <programlisting> -$aspell_link=aspell_new("english"); -if (aspell_check($aspell_link,"testt")) { - echo "L'orthographe est correcte."; -} else { - echo "Désolé, l'orthographe est incorrecte."; -} - </programlisting> - </example></para> - </refsect1> - </refentry> - - - <refentry id="function.aspell-check-raw"> - <refnamediv> - <refname>aspell_check-raw</refname> - <refpurpose> - Vérifie un mot sans en changer la casse et sans essayer de supprimer les - espaces aux extrémités. - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcdef>boolean <function>aspell_check_raw</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcsynopsis> - <simpara> - <function>aspell_check_raw</function> vérifie l'orthographe d'un mot sans en - changer la casse, et sans essayer de supprimer les espaces aux extrémités. Elle - retourne true si l'orthographe est bonne, et false sinon. - </simpara> - <para> - <example> - <title>aspell_check_raw</title> - <programlisting> -$aspell_link=aspell_new("english"); -if (aspell_check_raw($aspell_link,"testt")) { - echo "This is a valid spelling"; -} else { - echo "Sorry, wrong spelling"; -} - </programlisting> - </example></para> - </refsect1> - </refentry> - - - <refentry id="function.aspell-suggest"> - <refnamediv> - <refname>aspell_suggest</refname> - <refpurpose> - suggère l'orthographe d'un mot - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcdef>array <function>aspell_suggest</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcsynopsis> - <simpara> - <function>aspell_suggest</function> retourne un tableau contenant les orthographes - possibles d'un mot mal formé. - </simpara> - <para> - <example> - <title>aspell_suggest</title> - <programlisting> -$aspell_link=aspell_new("english"); - -if (!aspell_check($aspell_link,"testt")) { - $suggestions=aspell_suggest($aspell_link,"testt"); - - for($i=0; $i < count($suggestions); $i++) { - echo "Orthographe envisageable : " . $suggestions[$i] . "<br>"; - } -} - </programlisting> - </example></para> - </refsect1> - </refentry> - - - </reference> - -<!-- 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 -sgml-parent-document:nil -sgml-default-dtd-file:"../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: ---> + <reference id="ref.aspell"> + <title>Fonctions Aspell</title> + <titleabbrev>aspell</titleabbrev> + + <partintro> + <simpara> + Les fonctions Aspell vous permettent de vérifier l'orthographe d'un mot, + et d'offrir des suggestions de corrections. Plusieurs langues sont disponibles, + comme le franç, l'allemand, le suédois et le danois. + </simpara> + <note> + <simpara> + aspell fonctionne avec de trs vielles versions (jusqu' la version .27.* ou + presque) de la librairie aspell. Ce module, et ces versions d'aspell + ne sont plus supportes. Si vous voulez utiliser les possibilits + de vrifications d'orthographe en PHP, utilisez plutt + <link linkend="ref.pspell">pspell</link>. Ce module utilise la librairie pspell + qui fonctionne avec les nouvelles versions de aspell. + </simpara> + </note> <simpara> + Vous avez besoin de la librairie Aspell, disponible à : + <ulink url="http://aspell.sourceforge.net/">http://aspell.sourceforge.net/</ulink></simpara> + </partintro> + + + <refentry id="function.aspell-new"> + <refnamediv> + <refname>aspell_new</refname> + <refpurpose>Charge un nouveau dictionnaire</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>aspell_new</function></funcdef> + <paramdef>string <parameter>master</parameter></paramdef> + <paramdef>string <parameter>personal</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>aspell_new</function> ouvre un nouveau dictionaire, et + retourne un identifiant de dictionnaire pour utilisation ultérieure + dans les fonctions aspell. + </simpara> + <para> + <example> + <title>aspell_new</title> + <programlisting> +$aspell_link=aspell_new("english"); + </programlisting> + </example></para> + </refsect1> + </refentry> + + + <refentry id="function.aspell-check"> + <refnamediv> + <refname>aspell_check</refname> + <refpurpose>Vérifie un mot</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>boolean <function>aspell_check</function></funcdef> + <paramdef>int <parameter>dictionary_link</parameter></paramdef> + <paramdef>string <parameter>word</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>aspell_check</function> vérifie l'orthographe d'un mot et retourne TRUE + si l'orthographe est correcte, et FALSE sinon. + </simpara> + <para> + <example> + <title>aspell_check</title> + <programlisting> +$aspell_link=aspell_new("english"); +if (aspell_check($aspell_link,"testt")) { + echo "L'orthographe est correcte."; +} else { + echo "Désolé, l'orthographe est incorrecte."; +} + </programlisting> + </example></para> + </refsect1> + </refentry> + + + <refentry id="function.aspell-check-raw"> + <refnamediv> + <refname>aspell_check-raw</refname> + <refpurpose> + Vérifie un mot sans en changer la casse et sans essayer de supprimer les + espaces aux extrémités. + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcdef>boolean <function>aspell_check_raw</function></funcdef> + <paramdef>int <parameter>dictionary_link</parameter></paramdef> + <paramdef>string <parameter>word</parameter></paramdef> + </funcsynopsis> + <simpara> + <function>aspell_check_raw</function> vérifie l'orthographe + d'un mot sans en changer la casse, et sans essayer de supprimer les + espaces aux extrémités. Elle retourne true si l'orthographe + est bonne, et false sinon. + </simpara> + <para> + <example> + <title>aspell_check_raw</title> + <programlisting> +$aspell_link=aspell_new("english"); +if (aspell_check_raw($aspell_link,"testt")) { + echo "This is a valid spelling"; +} else { + echo "Sorry, wrong spelling"; +} + </programlisting> + </example></para> + </refsect1> + </refentry> + + + <refentry id="function.aspell-suggest"> + <refnamediv> + <refname>aspell_suggest</refname> + <refpurpose> + suggère l'orthographe d'un mot + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcprototype> + <funcdef>array <function>aspell_suggest</function></funcdef> + <paramdef>int <parameter>dictionary_link</parameter></paramdef> + <paramdef>string <parameter>word</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>aspell_suggest</function> retourne un tableau contenant les orthographes + possibles d'un mot mal formé. + </simpara> + <para> + <example> + <title>aspell_suggest</title> + <programlisting> +$aspell_link=aspell_new("english"); + +if (!aspell_check($aspell_link,"testt")) { + $suggestions=aspell_suggest($aspell_link,"testt"); + + for($i=0; $i < count($suggestions); $i++) { + echo "Orthographe envisageable : " . $suggestions[$i] . "<br>"; + } +} + </programlisting> + </example></para> + </refsect1> + </refentry> + + + </reference> + +<!-- 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 +sgml-parent-document:nil +sgml-default-dtd-file:"../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +-->
Index: phpdoc/fr/functions/aspell.xml diff -u phpdoc/fr/functions/aspell.xml:1.1 phpdoc/fr/functions/aspell.xml:1.2 --- phpdoc/fr/functions/aspell.xml:1.1 Fri Jul 21 03:27:50 2000 +++ phpdoc/fr/functions/aspell.xml Thu Oct 26 23:53:37 2000 @@ -1,166 +1,182 @@ - <reference id="ref.aspell"> - <title>Fonctions Aspell</title> - <titleabbrev>aspell</titleabbrev> - <partintro> - <simpara> - Les fonctions Aspell vous permettent de vérifier l'orthographe d'un mot, - et d'offrir des suggestions de corrections. Plusieurs langues sont disponible, comme - l'allemand, le suédois et le danois. - </simpara> - - <simpara> - Vous avez besoin de la librairie Aspell, disponible à : - <ulink url="http://aspell.sourceforge.net/">http://aspell.sourceforge.net/</ulink></simpara> - </partintro> - - - <refentry id="function.aspell-new"> - <refnamediv> - <refname>aspell_new</refname> - <refpurpose>Charge un nouveau dictionnaire</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcdef>int <function>aspell_new</function></funcdef> - <paramdef>string <parameter>master</parameter></paramdef> - <paramdef>string <parameter>personal</parameter></paramdef> - </funcsynopsis> - <simpara> - <function>aspell_new</function> ouvre un nouveau dictionaire, et retourne un - identifiant de dictionnaire pour utilisation ultérieure dans les fonctions aspell. - </simpara> - <para> - <example> - <title>aspell_new</title> - <programlisting> -$aspell_link=aspell_new("english"); - </programlisting> - </example></para> - </refsect1> - </refentry> - - - <refentry id="function.aspell-check"> - <refnamediv> - <refname>aspell_check</refname> - <refpurpose>Vérifie un mot</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcdef>boolean <function>aspell_check</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcsynopsis> - <simpara> - <function>aspell_check</function> vérifie l'orthographe d'un mot et retourne TRUE - si l'orthographe est correcte, et FALSE sinon. - </simpara> - <para> - <example> - <title>aspell_check</title> - <programlisting> -$aspell_link=aspell_new("english"); -if (aspell_check($aspell_link,"testt")) { - echo "L'orthographe est correcte."; -} else { - echo "Désolé, l'orthographe est incorrecte."; -} - </programlisting> - </example></para> - </refsect1> - </refentry> - - - <refentry id="function.aspell-check-raw"> - <refnamediv> - <refname>aspell_check-raw</refname> - <refpurpose> - Vérifie un mot sans en changer la casse et sans essayer de supprimer les - espaces aux extrémités. - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcdef>boolean <function>aspell_check_raw</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcsynopsis> - <simpara> - <function>aspell_check_raw</function> vérifie l'orthographe d'un mot sans en - changer la casse, et sans essayer de supprimer les espaces aux extrémités. Elle - retourne true si l'orthographe est bonne, et false sinon. - </simpara> - <para> - <example> - <title>aspell_check_raw</title> - <programlisting> -$aspell_link=aspell_new("english"); -if (aspell_check_raw($aspell_link,"testt")) { - echo "This is a valid spelling"; -} else { - echo "Sorry, wrong spelling"; -} - </programlisting> - </example></para> - </refsect1> - </refentry> - - - <refentry id="function.aspell-suggest"> - <refnamediv> - <refname>aspell_suggest</refname> - <refpurpose> - suggère l'orthographe d'un mot - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcdef>array <function>aspell_suggest</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcsynopsis> - <simpara> - <function>aspell_suggest</function> retourne un tableau contenant les orthographes - possibles d'un mot mal formé. - </simpara> - <para> - <example> - <title>aspell_suggest</title> - <programlisting> -$aspell_link=aspell_new("english"); - -if (!aspell_check($aspell_link,"testt")) { - $suggestions=aspell_suggest($aspell_link,"testt"); - - for($i=0; $i < count($suggestions); $i++) { - echo "Orthographe envisageable : " . $suggestions[$i] . "<br>"; - } -} - </programlisting> - </example></para> - </refsect1> - </refentry> - - - </reference> - -<!-- 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 -sgml-parent-document:nil -sgml-default-dtd-file:"../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: ---> + <reference id="ref.aspell"> + <title>Fonctions Aspell</title> + <titleabbrev>aspell</titleabbrev> + + <partintro> + <simpara> + Les fonctions Aspell vous permettent de vérifier l'orthographe d'un mot, + et d'offrir des suggestions de corrections. Plusieurs langues sont disponibles, + comme le franç, l'allemand, le suédois et le danois. + </simpara> + <note> + <simpara> + aspell fonctionne avec de trs vielles versions (jusqu' la version .27.* ou + presque) de la librairie aspell. Ce module, et ces versions d'aspell + ne sont plus supportes. Si vous voulez utiliser les possibilits + de vrifications d'orthographe en PHP, utilisez plutt + <link linkend="ref.pspell">pspell</link>. Ce module utilise la librairie pspell + qui fonctionne avec les nouvelles versions de aspell. + </simpara> + </note> <simpara> + Vous avez besoin de la librairie Aspell, disponible à : + <ulink url="http://aspell.sourceforge.net/">http://aspell.sourceforge.net/</ulink></simpara> + </partintro> + + + <refentry id="function.aspell-new"> + <refnamediv> + <refname>aspell_new</refname> + <refpurpose>Charge un nouveau dictionnaire</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>aspell_new</function></funcdef> + <paramdef>string <parameter>master</parameter></paramdef> + <paramdef>string <parameter>personal</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>aspell_new</function> ouvre un nouveau dictionaire, et + retourne un identifiant de dictionnaire pour utilisation ultérieure + dans les fonctions aspell. + </simpara> + <para> + <example> + <title>aspell_new</title> + <programlisting> +$aspell_link=aspell_new("english"); + </programlisting> + </example></para> + </refsect1> + </refentry> + + + <refentry id="function.aspell-check"> + <refnamediv> + <refname>aspell_check</refname> + <refpurpose>Vérifie un mot</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcprototype> + <funcdef>boolean <function>aspell_check</function></funcdef> + <paramdef>int <parameter>dictionary_link</parameter></paramdef> + <paramdef>string <parameter>word</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>aspell_check</function> vérifie l'orthographe d'un mot et retourne TRUE + si l'orthographe est correcte, et FALSE sinon. + </simpara> + <para> + <example> + <title>aspell_check</title> + <programlisting> +$aspell_link=aspell_new("english"); +if (aspell_check($aspell_link,"testt")) { + echo "L'orthographe est correcte."; +} else { + echo "Désolé, l'orthographe est incorrecte."; +} + </programlisting> + </example></para> + </refsect1> + </refentry> + + + <refentry id="function.aspell-check-raw"> + <refnamediv> + <refname>aspell_check-raw</refname> + <refpurpose> + Vérifie un mot sans en changer la casse et sans essayer de supprimer les + espaces aux extrémités. + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcdef>boolean <function>aspell_check_raw</function></funcdef> + <paramdef>int <parameter>dictionary_link</parameter></paramdef> + <paramdef>string <parameter>word</parameter></paramdef> + </funcsynopsis> + <simpara> + <function>aspell_check_raw</function> vérifie l'orthographe + d'un mot sans en changer la casse, et sans essayer de supprimer les + espaces aux extrémités. Elle retourne true si l'orthographe + est bonne, et false sinon. + </simpara> + <para> + <example> + <title>aspell_check_raw</title> + <programlisting> +$aspell_link=aspell_new("english"); +if (aspell_check_raw($aspell_link,"testt")) { + echo "This is a valid spelling"; +} else { + echo "Sorry, wrong spelling"; +} + </programlisting> + </example></para> + </refsect1> + </refentry> + + + <refentry id="function.aspell-suggest"> + <refnamediv> + <refname>aspell_suggest</refname> + <refpurpose> + suggère l'orthographe d'un mot + </refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcprototype> + <funcdef>array <function>aspell_suggest</function></funcdef> + <paramdef>int <parameter>dictionary_link</parameter></paramdef> + <paramdef>string <parameter>word</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>aspell_suggest</function> retourne un tableau contenant les orthographes + possibles d'un mot mal formé. + </simpara> + <para> + <example> + <title>aspell_suggest</title> + <programlisting> +$aspell_link=aspell_new("english"); + +if (!aspell_check($aspell_link,"testt")) { + $suggestions=aspell_suggest($aspell_link,"testt"); + + for($i=0; $i < count($suggestions); $i++) { + echo "Orthographe envisageable : " . $suggestions[$i] . "<br>"; + } +} + </programlisting> + </example></para> + </refsect1> + </refentry> + + + </reference> + +<!-- 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 +sgml-parent-document:nil +sgml-default-dtd-file:"../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +-->