cvs: phpdoc /it/functions aspell.xml

From: Date: Sun, 23 Sep 2001 09:43:39 +0000
Subject: cvs: phpdoc /it/functions aspell.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969337694@lists.php.net to get a copy of this message
cucinato Sun Sep 23 05:43:39 2001 EDT Modified files: /phpdoc/it/functions aspell.xml Log: Added Italian translation Index: phpdoc/it/functions/aspell.xml diff -u /dev/null phpdoc/it/functions/aspell.xml:1.8 --- /dev/null Sun Sep 23 05:43:39 2001 +++ phpdoc/it/functions/aspell.xml Sun Sep 23 05:43:39 2001 @@ -0,0 +1,190 @@ +<?xml encoding="iso-8859-1"?> +<!-- $Revision: 1.8 $ --> + <reference id="ref.aspell"> + <title>Funzioni Aspell [deprecated]</title> + <titleabbrev>Aspell</titleabbrev> + + <partintro> + <simpara> + Le funzioni <function>aspell</function> permettono di controllare la + correttezza di una parola e di offrire suggerimenti. + </simpara> + <note> + <simpara> + aspell funziona solo con versioni molto vecchie (pi&ugrave; o meno fino alla .27.*) della + libreria aspell. N&eacute; il presente modulo, n&eacute; quelle versioni della + libreria sono pi&ugrave supportate. Se si vuole usare le + funzionalit&agrave; di controllo grammaticale in php, usare piuttosto <link + linkend="ref.pspell">pspell</link>. Usa la libreria + pspell e funziona con le nuove versioni di aspell. + </simpara> + </note> + <simpara> + &Egrave; necessaria la libreria aspell, disponibile su: <ulink + url="&url.aspell;">&url.aspell;</ulink>. + </simpara> + </partintro> + + <refentry id="function.aspell-new"> + <refnamediv> + <refname>aspell_new</refname> + <refpurpose>Carca un nuovo dizionario [deprecated]</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>aspell_new</function></funcdef> + <paramdef>string <parameter>master</parameter></paramdef> + <paramdef>string + <parameter><optional>personal</optional></parameter> </paramdef> + </funcprototype> + </funcsynopsis> + <!-- TODO: personal??? --> + <simpara> + <function>aspell_new</function> apre un nuovo dizionario e + restituisce un puntatore (link) identificatore del dizionario, da utilizzare in altre + funzioni aspell. Restituisce &false; in caso di errore. + </simpara> + <para> + <example> + <title><function>aspell_new</function></title> + <programlisting role="php"> +$aspell_link = aspell_new("italiano"); + </programlisting> + </example> + </para> + </refsect1> + </refentry> + + <refentry id="function.aspell-check"> + <refnamediv> + <refname>aspell_check</refname> + <refpurpose>Controlla una parola [deprecated]</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>aspell_check</function></funcdef> + <paramdef>int <parameter>link_dizionario</parameter></paramdef> + <paramdef>string <parameter>parola</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>aspell_check</function> controlla la compitazione di una parola + e restituisce &true; se &egrave; corretta, &false; altrimenti. + </simpara> + <para> + <example> + <title><function>aspell_check</function></title> + <programlisting> +$aspell_link = aspell_new("italiano"); + +if (aspell_check($aspell_link, "provva")) { + echo "La parola &egrave; corretta"; +} else { + echo "Spiacente, parola non corretta"; +} + </programlisting> + </example> + </para> + </refsect1> + </refentry> + + <refentry id="function.aspell-check-raw"> + <refnamediv> + <refname>aspell_check_raw</refname> + <refpurpose> + Controlla una parola senza togliere le maiuscole o cercare di eliminare gli spazi inutili [deprecated] + </refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <funcsynopsis> + <funcprototype> + <funcdef>bool <function>aspell_check_raw</function></funcdef> + <paramdef>int <parameter>link_dizionario</parameter></paramdef> + <paramdef>string <parameter>parola</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>aspell_check_raw</function> controlla la correttezza di una + parola, senza modificare le maiuscole/minusciole o cercare di eliminare gli spazi inutili + e restituisce &true; se &egrave; corretta, &false; altrimenti. + </simpara> + <para> + <example> + <title><function>aspell_check_raw</function></title> + <programlisting role="php"> +$aspell_link = aspell_new("italiano"); + +if (aspell_check_raw($aspell_link, "prova")) { + echo "La parola &grave; corretta"; +} else { + echo "Spiacente, parola non corretta"; +} + </programlisting> + </example> + </para> + </refsect1> + </refentry> + + <refentry id="function.aspell-suggest"> + <refnamediv> + <refname>aspell_suggest</refname> + <refpurpose>Suggerisce correzioni di una parola [deprecated]</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <funcsynopsis> + <funcprototype> + <funcdef>array <function>aspell_suggest</function></funcdef> + <paramdef>int <parameter>link_dizionario</parameter></paramdef> + <paramdef>string <parameter>parola</parameter></paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>aspell_suggest</function> restituisce un array di possibili + correzioni per la parola data. + </simpara> + <para> + <example> + <title><function>aspell_suggest</function></title> + <programlisting role="php"> +$aspell_link = aspell_new("italiano"); + +if (!aspell_check($aspell_link, "prova")) { + $suggerimenti = aspell_suggest($aspell_link, "prova"); + + foreach ($suggerimenti as $suggerimento) { + echo "Possibile parola corretta: $suggerimento&lt;br>\n"; + } +} + </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: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->

« previous php.doc (#969337694) next »