cvs: phpdoc-fr /reference/aspell configure.xml reference.xml /reference/aspell/functions aspell-check-raw.xml aspell-check.xml aspell-new.xml
aspell-suggest.xml
| From: | Mehdi Achour | Date: | Mon, 01 Mar 2004 10:51:36 +0000 |
| Subject: | cvs: phpdoc-fr /reference/aspell configure.xml reference.xml /reference/aspell/functions aspell-check-raw.xml aspell-check.xml aspell-new.xml aspell-suggest.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-1907@lists.php.net to get a copy of this message | ||
didou Mon Mar 1 05:51:36 2004 EDT
Modified files:
/phpdoc-fr/reference/aspell configure.xml reference.xml
/phpdoc-fr/reference/aspell/functions aspell-check-raw.xml
aspell-check.xml
aspell-new.xml
aspell-suggest.xml
Log:
aspell is up to date
http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/configure.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/aspell/configure.xml diff -u phpdoc-fr/reference/aspell/configure.xml:1.5 phpdoc-fr/reference/aspell/configure.xml:1.6 --- phpdoc-fr/reference/aspell/configure.xml:1.5 Wed Feb 25 07:34:11 2004 +++ phpdoc-fr/reference/aspell/configure.xml Mon Mar 1 05:51:35 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <section id="aspell.installation"> &reftitle.install; <para id="aspell.configure"> http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/reference.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/aspell/reference.xml diff -u phpdoc-fr/reference/aspell/reference.xml:1.7 phpdoc-fr/reference/aspell/reference.xml:1.8 --- phpdoc-fr/reference/aspell/reference.xml:1.7 Wed Feb 25 07:34:11 2004 +++ phpdoc-fr/reference/aspell/reference.xml Mon Mar 1 05:51:35 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <reference id="ref.aspell"> <title>Aspell [Obs.]</title> <titleabbrev>Aspell</titleabbrev> @@ -9,12 +10,11 @@ &reftitle.intro; <para> Les fonctions Aspell vous permettent de vérifier l'orthographe d'un mot, - et d'offrir des suggestions de correction. Plusieurs langues sont disponibles, - comme le français, l'anglais, l'allemand, le suédois ou le danois. + et d'offrir des suggestions de correction. </para> <note> <para> - Cette extension a été retirée de &php; est n'est plus disponible + Cette extension a été retirée de &php; et n'est plus disponible depuis &php; 4.3.0. Si vou voulez utiliser un outil de correction orthographique avec &php;, voyez plutôt <link linkend="ref.pspell">pspell</link>. Elle utilise la librairie pspell et fonctionne avec les nouvelles versions @@ -28,7 +28,9 @@ <para> Aspell fonctionne avec de très vielles versions (jusqu'à la version .27.* ou presque) de la librairie Aspell. Ce module, et ces versions - d'Aspell, sont disponibles sur <ulink url="&url.aspell;">&url.aspell;</ulink>. + d'Aspell ne sont plus maintenues ou supportées. + Si vous en avez besoin, la lirairie Aspell est disponible sur <ulink + url="&url.aspell;">&url.aspell;</ulink>. </para> </section> http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.7 phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.8 --- phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.7 Tue Feb 24 13:08:15 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml Mon Mar 1 05:51:36 2004 @@ -1,9 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/aspell.xml, last change in rev 1.11 --> -<!-- last change to 'aspell-check-raw' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <refentry id="function.aspell-check-raw"> <refnamediv> <refname>aspell_check_raw</refname> @@ -31,12 +29,15 @@ <programlisting role="php"> <![CDATA[ <?php - $aspell_link = aspell_new("french"); - if (aspell_check_raw($aspell_link,"testt")) { + +$aspell_link = aspell_new("french"); + +if (aspell_check_raw($aspell_link,"testt")) { echo "L'orthographe est OK"; - } else { +} else { echo "Attention : faute d'orthographe"; - } +} + ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/functions/aspell-check.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/aspell/functions/aspell-check.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.6 phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.7 --- phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.6 Tue Feb 24 13:08:15 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-check.xml Mon Mar 1 05:51:36 2004 @@ -1,9 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/aspell.xml, last change in rev 1.2 --> -<!-- last change to 'aspell-check' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <refentry id="function.aspell-check"> <refnamediv> <refname>aspell_check</refname> @@ -18,8 +16,7 @@ </methodsynopsis> <simpara> <function>aspell_check</function> vérifie l'orthographe d'un mot - et retourne &true; si l'orthographe est correcte, - et &false; sinon. + et retourne &true; si l'orthographe est correcte, &false; sinon. </simpara> <para> <example> @@ -27,12 +24,15 @@ <programlisting role="php"> <![CDATA[ <?php - $aspell_link = aspell_new("english"); - if (aspell_check($aspell_link,"testt")) { + +$aspell_link = aspell_new("french"); + +if (aspell_check($aspell_link, "testt")) { echo "L'orthographe est correcte."; - } else { +} else { echo "Désolé, l'orthographe est incorrecte."; - } +} + ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/functions/aspell-new.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/aspell/functions/aspell-new.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.6 phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.7 --- phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.6 Tue Feb 24 13:08:15 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-new.xml Mon Mar 1 05:51:36 2004 @@ -1,9 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/aspell.xml, last change in rev 1.2 --> -<!-- last change to 'aspell-new' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <refentry id="function.aspell-new"> <refnamediv> <refname>aspell_new</refname> @@ -17,9 +15,9 @@ <methodparam choice="opt"><type>string</type><parameter>personal</parameter></methodparam> </methodsynopsis> <simpara> - <function>aspell_new</function> ouvre un nouveau dictionaire, et + <function>aspell_new</function> ouvre un nouveau dictionaire et retourne un identifiant de dictionnaire pour utilisation ultérieure - dans les fonctions aspell. <function>aspell_new</function> retourne &false; + avec les fonctions aspell. <function>aspell_new</function> retourne &false; en cas d'erreur. </simpara> <para> @@ -28,7 +26,7 @@ <programlisting role="php"> <![CDATA[ <?php - $aspell_link = aspell_new("english"); +$aspell_link = aspell_new("french"); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/functions/aspell-suggest.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/aspell/functions/aspell-suggest.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.6 phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.7 --- phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.6 Tue Feb 24 13:08:15 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-suggest.xml Mon Mar 1 05:51:36 2004 @@ -1,9 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/aspell.xml, last change in rev 1.11 --> -<!-- last change to 'aspell-suggest' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <refentry id="function.aspell-suggest"> <refnamediv> <refname>aspell_suggest</refname> @@ -18,7 +16,7 @@ </methodsynopsis> <simpara> <function>aspell_suggest</function> retourne un tableau contenant - les orthographes possibles d'un mot mal formé. + les orthographes possibles d'un mot mal orthographié. </simpara> <para> <example> @@ -26,13 +24,16 @@ <programlisting role="php"> <![CDATA[ <?php - $aspell_link = aspell_new("french"); - if (!aspell_check($aspell_link,"testt")) { - $suggestions = aspell_suggest($aspell_link,"testt"); - for($i=0; $i < count($suggestions); $i++) { - echo "Orthographes envisageables : " . $suggestions[$i] . "<BR>"; +$aspell_link = aspell_new("french"); + +if (!aspell_check($aspell_link, "testt")) { + $suggestions = aspell_suggest($aspell_link, "testt"); + + foreach ($suggestions as $suggestion) { + echo "Orthographe envisageable : $suggestion<br />\n"; } - } +} + ?> ]]> </programlisting>
http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/configure.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/aspell/configure.xml diff -u phpdoc-fr/reference/aspell/configure.xml:1.5 phpdoc-fr/reference/aspell/configure.xml:1.6 --- phpdoc-fr/reference/aspell/configure.xml:1.5 Wed Feb 25 07:34:11 2004 +++ phpdoc-fr/reference/aspell/configure.xml Mon Mar 1 05:51:35 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <section id="aspell.installation"> &reftitle.install; <para id="aspell.configure"> http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/reference.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/aspell/reference.xml diff -u phpdoc-fr/reference/aspell/reference.xml:1.7 phpdoc-fr/reference/aspell/reference.xml:1.8 --- phpdoc-fr/reference/aspell/reference.xml:1.7 Wed Feb 25 07:34:11 2004 +++ phpdoc-fr/reference/aspell/reference.xml Mon Mar 1 05:51:35 2004 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <reference id="ref.aspell"> <title>Aspell [Obs.]</title> <titleabbrev>Aspell</titleabbrev> @@ -9,12 +10,11 @@ &reftitle.intro; <para> Les fonctions Aspell vous permettent de vérifier l'orthographe d'un mot, - et d'offrir des suggestions de correction. Plusieurs langues sont disponibles, - comme le français, l'anglais, l'allemand, le suédois ou le danois. + et d'offrir des suggestions de correction. </para> <note> <para> - Cette extension a été retirée de &php; est n'est plus disponible + Cette extension a été retirée de &php; et n'est plus disponible depuis &php; 4.3.0. Si vou voulez utiliser un outil de correction orthographique avec &php;, voyez plutôt <link linkend="ref.pspell">pspell</link>. Elle utilise la librairie pspell et fonctionne avec les nouvelles versions @@ -28,7 +28,9 @@ <para> Aspell fonctionne avec de très vielles versions (jusqu'à la version .27.* ou presque) de la librairie Aspell. Ce module, et ces versions - d'Aspell, sont disponibles sur <ulink url="&url.aspell;">&url.aspell;</ulink>. + d'Aspell ne sont plus maintenues ou supportées. + Si vous en avez besoin, la lirairie Aspell est disponible sur <ulink + url="&url.aspell;">&url.aspell;</ulink>. </para> </section> http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.7 phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.8 --- phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml:1.7 Tue Feb 24 13:08:15 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-check-raw.xml Mon Mar 1 05:51:36 2004 @@ -1,9 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/aspell.xml, last change in rev 1.11 --> -<!-- last change to 'aspell-check-raw' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <refentry id="function.aspell-check-raw"> <refnamediv> <refname>aspell_check_raw</refname> @@ -31,12 +29,15 @@ <programlisting role="php"> <![CDATA[ <?php - $aspell_link = aspell_new("french"); - if (aspell_check_raw($aspell_link,"testt")) { + +$aspell_link = aspell_new("french"); + +if (aspell_check_raw($aspell_link,"testt")) { echo "L'orthographe est OK"; - } else { +} else { echo "Attention : faute d'orthographe"; - } +} + ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/functions/aspell-check.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/aspell/functions/aspell-check.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.6 phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.7 --- phpdoc-fr/reference/aspell/functions/aspell-check.xml:1.6 Tue Feb 24 13:08:15 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-check.xml Mon Mar 1 05:51:36 2004 @@ -1,9 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/aspell.xml, last change in rev 1.2 --> -<!-- last change to 'aspell-check' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <refentry id="function.aspell-check"> <refnamediv> <refname>aspell_check</refname> @@ -18,8 +16,7 @@ </methodsynopsis> <simpara> <function>aspell_check</function> vérifie l'orthographe d'un mot - et retourne &true; si l'orthographe est correcte, - et &false; sinon. + et retourne &true; si l'orthographe est correcte, &false; sinon. </simpara> <para> <example> @@ -27,12 +24,15 @@ <programlisting role="php"> <![CDATA[ <?php - $aspell_link = aspell_new("english"); - if (aspell_check($aspell_link,"testt")) { + +$aspell_link = aspell_new("french"); + +if (aspell_check($aspell_link, "testt")) { echo "L'orthographe est correcte."; - } else { +} else { echo "Désolé, l'orthographe est incorrecte."; - } +} + ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/functions/aspell-new.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/aspell/functions/aspell-new.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.6 phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.7 --- phpdoc-fr/reference/aspell/functions/aspell-new.xml:1.6 Tue Feb 24 13:08:15 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-new.xml Mon Mar 1 05:51:36 2004 @@ -1,9 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/aspell.xml, last change in rev 1.2 --> -<!-- last change to 'aspell-new' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <refentry id="function.aspell-new"> <refnamediv> <refname>aspell_new</refname> @@ -17,9 +15,9 @@ <methodparam choice="opt"><type>string</type><parameter>personal</parameter></methodparam> </methodsynopsis> <simpara> - <function>aspell_new</function> ouvre un nouveau dictionaire, et + <function>aspell_new</function> ouvre un nouveau dictionaire et retourne un identifiant de dictionnaire pour utilisation ultérieure - dans les fonctions aspell. <function>aspell_new</function> retourne &false; + avec les fonctions aspell. <function>aspell_new</function> retourne &false; en cas d'erreur. </simpara> <para> @@ -28,7 +26,7 @@ <programlisting role="php"> <![CDATA[ <?php - $aspell_link = aspell_new("english"); +$aspell_link = aspell_new("french"); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/aspell/functions/aspell-suggest.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/aspell/functions/aspell-suggest.xml diff -u phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.6 phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.7 --- phpdoc-fr/reference/aspell/functions/aspell-suggest.xml:1.6 Tue Feb 24 13:08:15 2004 +++ phpdoc-fr/reference/aspell/functions/aspell-suggest.xml Mon Mar 1 05:51:36 2004 @@ -1,9 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> - -<!-- splitted from ./fr/functions/aspell.xml, last change in rev 1.11 --> -<!-- last change to 'aspell-suggest' in en/ tree in rev 1.2 --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- Reviewed: no --> <refentry id="function.aspell-suggest"> <refnamediv> <refname>aspell_suggest</refname> @@ -18,7 +16,7 @@ </methodsynopsis> <simpara> <function>aspell_suggest</function> retourne un tableau contenant - les orthographes possibles d'un mot mal formé. + les orthographes possibles d'un mot mal orthographié. </simpara> <para> <example> @@ -26,13 +24,16 @@ <programlisting role="php"> <![CDATA[ <?php - $aspell_link = aspell_new("french"); - if (!aspell_check($aspell_link,"testt")) { - $suggestions = aspell_suggest($aspell_link,"testt"); - for($i=0; $i < count($suggestions); $i++) { - echo "Orthographes envisageables : " . $suggestions[$i] . "<BR>"; +$aspell_link = aspell_new("french"); + +if (!aspell_check($aspell_link, "testt")) { + $suggestions = aspell_suggest($aspell_link, "testt"); + + foreach ($suggestions as $suggestion) { + echo "Orthographe envisageable : $suggestion<br />\n"; } - } +} + ?> ]]> </programlisting>