cvs: phpdoc /kr/functions aspell.xml bc.xml ccvs.xml pspell.xml
| From: | Jeongha Kwon | Date: | Wed, 31 Jan 2001 14:33:37 +0000 |
| Subject: | cvs: phpdoc /kr/functions aspell.xml bc.xml ccvs.xml pspell.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969334075@lists.php.net to get a copy of this message | ||
suvia Wed Jan 31 06:33:37 2001 EDT
Modified files:
/phpdoc/kr/functions aspell.xml bc.xml ccvs.xml pspell.xml
Log:
PR: English -> Korean
Submitted by: suvia
Reviewed by: suvia
Obtained from:
Index: phpdoc/kr/functions/aspell.xml diff -u phpdoc/kr/functions/aspell.xml:1.2 phpdoc/kr/functions/aspell.xml:1.3 --- phpdoc/kr/functions/aspell.xml:1.2 Fri Jan 12 06:16:39 2001 +++ phpdoc/kr/functions/aspell.xml Wed Jan 31 06:33:37 2001 @@ -1,79 +1,75 @@ - <reference id="ref.aspell"> - <title>Aspell functions</title> - <titleabbrev>Aspell</titleabbrev> - - <partintro> - <simpara> - The <function>aspell</function> functions allows you to check the - spelling on a word and offer suggestions. - </simpara> - <note> - <simpara> - aspell works only with very old (up to .27.* or so) versions of - aspell library. Neither this module, nor those versions of aspell - library are supported any longer. If you want to use - spell-checking capabilities in php, use <link - linkend="ref.pspell">pspell</link> instead. It uses pspell - library and works with newer versions of aspell. - </simpara> - </note> - <simpara> - You need the aspell library, available from: <ulink - url="&url.aspell;">&url.aspell;</ulink>. +<!-- edited by Jeongha Kwon(SuViA) --> +<reference id="ref.aspell"> + <title>Aspell í¨ì</title> + <titleabbrev>Aspell</titleabbrev> + <partintro> + <simpara> + <function>aspell</function> í¨ìë ë¨ì´ì ì² ì를 ê²ì¬íê³ í릴 ê²½ì° ì°ìëë ë¨ì´ë¥¼ ì ìí©ëë¤.</simpara> + <note> + <simpara> + aspellì aspell ë¼ì´ë¸ë¬ë¦¬ ë²ì .27.* ì´íì ë²ì ìì ì¤íë©ëë¤. ì´ ëª¨ëê³¼ ë¤ë¥¸ ë²ì ¼ì aspell ë¼ì´ë¸ë¬ë¦¬ììë ëì´ì ì§ìëì§ ììµëë¤. PHPìì ë¨ì´ ê²ì¬ë¥¼ í ê²½ì° <link linkend="ref.pspell">pspell</link> í¨ì를 ì¬ì©íì¸ì. pspellí¨ìë pspell ë¼ì´ë¸ë¬ë¦¬ë¥¼ ì¬ì©íê³ ìµì ë²ì ì aspellê³¼ í¨ê» ì¤íë©ëë¤.</simpara> + </note> + <simpara> + aspell ë¼ì´ë¸ë¬ë¦¬ë <ulink url="&url.aspell;">&url.aspell;</ulink> ìì 구í ì ììµëë¤. </simpara> - </partintro> - - <refentry id="function.aspell-new"> - <refnamediv> - <refname>aspell_new</refname> - <refpurpose>Load a new dictionary</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> opens up a new dictionary and - returns the dictionary link identifier for use in other aspell - functions.</simpara> - <para> - <example> - <title><function>Aspell_new</function></title> - <programlisting role="php"> + </partintro> + <refentry id="function.aspell-new"> + <refnamediv> + <refname>aspell_new</refname> + <refpurpose>ì ì¬ì ì´ê¸°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </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> í¨ìë ì ì¬ì ì ì´ê³ ë¤ë¥¸ aspell í¨ììì ì¬ì©í ì ìë ì¬ì ì°ê²° identifier 를 ë°íí©ëë¤.</simpara> + <para> + <example> + <title> + <function>Aspell_new</function> + </title> + <programlisting role="php"> $aspell_link=aspell_new ("english"); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.aspell-check"> - <refnamediv> - <refname>aspell_check</refname> - <refpurpose>Check a word</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> checks the spelling of a word - and returns true if the spelling is correct, false if not. + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.aspell-check"> + <refnamediv> + <refname>aspell_check</refname> + <refpurpose>ë¨ì´ ê²ì¬</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </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> í¨ìë ë¨ì´ë¥¼ ê²ì¬íê³ ë¨ì´ê° ì¬ë°ë¥¼ ê²½ì° true, í릴 ê²½ì° false를 ë°íí©ëë¤. </simpara> - <para> - <example> - <title><function>Aspell_check</function></title> - <programlisting> + <para> + <example> + <title> + <function>Aspell_check</function> + </title> + <programlisting> $aspell_link=aspell_new ("english"); if (aspell_check ($aspell_link, "testt")) { echo "This is a valid spelling"; @@ -81,36 +77,37 @@ echo "Sorry, wrong spelling"; } </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.aspell-check-raw"> - <refnamediv> - <refname>aspell_check_raw</refname> - <refpurpose> - Check a word without changing its case or trying to trim it + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.aspell-check-raw"> + <refnamediv> + <refname>aspell_check_raw</refname> + <refpurpose> + ë¨ì´ì ì² ìê° ì¬ë°ë¥¸ì§ë§ ê²ì¬ </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>boolean <function>aspell_check_raw</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Aspell_check_raw</function> checks the spelling of a - word, without changing its case or trying to trim it in any way - and returns true if the spelling is correct, false if not. - </simpara> - <para> - <example> - <title><function>Aspell_check_raw</function></title> - <programlisting role="php"> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>boolean <function>aspell_check_raw</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>word</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Aspell_check_raw</function> í¨ìë ë¨ì´ê° ì¬ë°ë¥¸ì§ë§ ê²ì¬í©ëë¤. ë¨ì´ê° ì¬ë°ë¥¼ ê²½ì° true, í릴 ê²½ì° false를 ë°íí©ëë¤.</simpara> + <para> + <example> + <title> + <function>Aspell_check_raw</function> + </title> + <programlisting role="php"> $aspell_link=aspell_new ("english"); if (aspell_check_raw ($aspell_link, "test")) { echo "This is a valid spelling"; @@ -118,33 +115,36 @@ echo "Sorry, wrong spelling"; } </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.aspell-suggest"> - <refnamediv> - <refname>aspell_suggest</refname> - <refpurpose>Suggest spellings of a word</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <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> returns an array of possible - spellings for the given word. + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.aspell-suggest"> + <refnamediv> + <refname>aspell_suggest</refname> + <refpurpose> ë¨ì´ì ëí ì¶ì²ë¨ì´ë¥¼ ì ì</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <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>í¨ìë 주ì´ì§ ë¨ì´ì ëí ì¶ì²ë¨ì´ë¥¼ ë°°ì´íì¼ë¡ ë°íí©ëë¤. </simpara> - <para> - <example> - <title><function>Aspell_suggest</function></title> - <programlisting role="php"> + <para> + <example> + <title> + <function>Aspell_suggest</function> + </title> + <programlisting role="php"> $aspell_link=aspell_new ("english"); if (!aspell_check ($aspell_link, "test")) { @@ -155,13 +155,11 @@ } } </programlisting> - </example> - </para> - </refsect1> - </refentry> - - </reference> - + </example> + </para> + </refsect1> + </refentry> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml Index: phpdoc/kr/functions/bc.xml diff -u phpdoc/kr/functions/bc.xml:1.2 phpdoc/kr/functions/bc.xml:1.3 --- phpdoc/kr/functions/bc.xml:1.2 Fri Jan 12 06:16:39 2001 +++ phpdoc/kr/functions/bc.xml Wed Jan 31 06:33:37 2001 @@ -1,287 +1,291 @@ - <reference id="ref.bc"> - <title>BCMath Arbitrary Precision Mathematics Functions</title> - <titleabbrev>BC math</titleabbrev> - - <partintro> - <para> - These functions are only available if PHP was configured with - <option role="configure">--enable-bcmath</option>. +<!-- edited by Jeongha Kwon(SuViA) --> +<reference id="ref.bc"> + <title>BCMath Arbitrary Precision ìí í¨ì</title> + <titleabbrev>BC math</titleabbrev> + <partintro> + <para> + ì´ í¨ìë PHP ì»´íì¼ ì¤ì ì + <option role="configure">--enable-bcmath</option> ìµì ì´ ì£¼ì´ì¡ì ê²½ì°ìë§ ì¬ì© ê°ë¥í©ëë¤. </para> - <note> - <para> - Due to changes in the licensing, the BCMATH library is distributed - separate from the standard PHP source distribution. - You can download the tar-gzipped archive at the url: - <ulink url="&url.bcmath;">&url.bcmath;</ulink>. Read the - file <filename>README.BCMATH</filename> in the PHP distribution - for more information. - </para> - </note> - </partintro> - - <refentry id="function.bcadd"> - <refnamediv> - <refname>bcadd</refname> - <refpurpose>Add two arbitrary precision numbers</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcadd</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>right operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Adds the <parameter>left operand</parameter> to the - <parameter>right operand</parameter> and returns the sum in a - string. The optional <parameter>scale</parameter> parameter is - used to set the number of digits after the decimal place in the - result. - </para> - <para> - See also <function>bcsub</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bccomp"> - <refnamediv> - <refname>bccomp</refname> - <refpurpose>Compare two arbitrary precision numbers</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>bccomp</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>right operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Compares the <parameter>left operand</parameter> to the - <parameter>right operand</parameter> and returns the result as an - integer. The optional <parameter>scale</parameter> parameter is - used to set the number of digits after the decimal place which - will be used in the comparion. The return value is 0 if the two - operands are equal. If the <parameter>left operand</parameter> - is larger than the <parameter>right operand</parameter> the - return value is +1 and if the <parameter>left operand</parameter> - is less than the <parameter>right operand</parameter> the return - value is -1. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcdiv"> - <refnamediv> - <refname>bcdiv</refname> - <refpurpose>Divide two arbitrary precision numbers</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcdiv</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>right operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Divides the <parameter>left operand</parameter> by the - <parameter>right operand</parameter> and returns the result. The - optional <parameter>scale</parameter> sets the number of digits - after the decimal place in the result. - </para> - <para> - See also <function>bcmul</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcmod"> - <refnamediv> - <refname>bcmod</refname> - <refpurpose> - Get modulus of an arbitrary precision number + <note> + <para> + ë¼ì´ì¼ì¤ê° ë°ëëê¹ì§ BCMATH ë¼ì´ë¸ë¬ë¦¬ë PHP ìì¤ ë°°í¬íì í¬í¨ëì§ ìê³ ë°ë¡ ë°°í¬ë©ëë¤. + tar-gzipíìì BCMATHë¼ì´ë¸ë¬ë¦¬ë¥¼ ë¤ìì urlìì ë¤ì´ ë°ìì ììµëë¤: + <ulink url="&url.bcmath;">&url.bcmath;</ulink> . ë ìì¸í ì 보를 ìíë©´ PHP ë°°í¬íìì <filename>README.BCMATH</filename> 를 ì½ì´ë³´ì¸ì. (ìì주: PHP 4.0.4ë²ì ì´íë¶í°ë BCMATH ë¼ì´ë¸ë¬ë¦¬ ë¼ì´ì¼ì¤ê° LGPLë¡ ë°ëì´ì PHPìì¤ ë°°í¬íì í¬í¨ëì´ ììµëë¤.) + </para> + </note> + </partintro> + <refentry id="function.bcadd"> + <refnamediv> + <refname>bcadd</refname> + <refpurpose>ë arbitrary precision number를 ëí기</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcadd</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>right operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>ì + <parameter>right operand</parameter>를 ëí´ì í©ì 문ìì´ë¡ ë°íí©ëë¤. ì íì¬íì¸ <parameter>scale</parameter>ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì: <function>bcsub</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bccomp"> + <refnamediv> + <refname>bccomp</refname> + <refpurpose>ë arbitrary precision number ë¹êµ</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>bccomp</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>right operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>ì + <parameter>right operand</parameter>를 ë¹êµí´ì ì ìíì ê°ì ë°íí©ëë¤.. ì íì¬íì¸ <parameter>scale</parameter>ë ìì ëªì리ê¹ì§ ë¹êµí ì§ ì í©ëë¤. ë ê°ì´ ê°ì ê²½ì° 0,<parameter>left operand</parameter> + ê°<parameter>right operand</parameter>ë³´ë¤ í¬ë©´ +1,<parameter>left operand</parameter> + ê°<parameter>right operand</parameter>ë³´ë¤ í¬ë©´ -1ì ë°íí©ëë¤. + </para> + </refsect1> + </refentry> + <refentry id="function.bcdiv"> + <refnamediv> + <refname>bcdiv</refname> + <refpurpose>arbitrary precision number ëë기</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcdiv</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>right operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>를 + <parameter>right operand</parameter>ë¡ ëë 결과를 ë°íí©ëë¤ ì íì¬íì¸ <parameter>scale</parameter> ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì: <function>bcmul</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bcmod"> + <refnamediv> + <refname>bcmod</refname> + <refpurpose> + arbitrary precision numberì ëë¨¸ì§ êµ¬í기 </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcmod</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>modulus</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Get the modulus of the <parameter>left operand</parameter> using - <parameter>modulus</parameter>. - </para> - <para> - See also <function>bcdiv</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcmul"> - <refnamediv> - <refname>bcmul</refname> - <refpurpose>Multiply two arbitrary precision number</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcmul</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>right operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Multiply the <parameter>left operand</parameter> by the - <parameter>right operand</parameter> and returns the result. The - optional <parameter>scale</parameter> sets the number of digits - after the decimal place in the result. - </para> - <para> - See also <function>bcdiv</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcpow"> - <refnamediv> - <refname>bcpow</refname> - <refpurpose> - Raise an arbitrary precision number to another + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcmod</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>modulus</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>를 + <parameter>modulus</parameter>ë¡ ëë ë머ì§ë¥¼ 구í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì: <function>bcdiv</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bcmul"> + <refnamediv> + <refname>bcmul</refname> + <refpurpose>ëarbitrary precision number ê³±í기</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcmul</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>right operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>ì + <parameter>right operand</parameter>를 ê³±í´ì 결과를 ë°íí©ëë¤. ì íì¬íì¸ <parameter>scale</parameter> ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì:<function>bcdiv</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bcpow"> + <refnamediv> + <refname>bcpow</refname> + <refpurpose> +arbitrary precision number를 ì ê³±í기</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcpow</function> + </funcdef> + <paramdef>string <parameter>x</parameter> + </paramdef> + <paramdef>string <parameter>y</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>x</parameter>ì + <parameter>y</parameter>ì¹ì 구í©ëë¤. ì íì¬íì¸ + <parameter>scale</parameter> ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì: <function>bcsqrt</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bcscale"> + <refnamediv> + <refname>bcscale</refname> + <refpurpose> + 모ë bc ìíí¨ìì 기본 scale íë¼ë¯¸í° ì§ì . </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcpow</function></funcdef> - <paramdef>string <parameter>x</parameter></paramdef> - <paramdef>string <parameter>y</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Raise <parameter>x</parameter> to the power - <parameter>y</parameter>. The optional - <parameter>scale</parameter> can be used to set the number of - digits after the decimal place in the result. - </para> - <para> - See also <function>bcsqrt</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcscale"> - <refnamediv> - <refname>bcscale</refname> - <refpurpose> - Set default scale parameter for all bc math functions + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcscale</function> + </funcdef> + <paramdef>int <parameter>scale</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + ì´ í¨ìë scale íë¼ë¯¸í°ë¥¼ ì§ì íì§ ìì ì´íì 모ë bc ìíí¨ìì ëí´ ê¸°ë³¸ scale íë¼ë¯¸í°ë¥¼ ì§ì í©ëë¤. + </para> + </refsect1> + </refentry> + <refentry id="function.bcsqrt"> + <refnamediv> + <refname>bcsqrt</refname> + <refpurpose> + arbitray precision numberì ì 곱근 구í기 </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcscale</function></funcdef> - <paramdef>int <parameter>scale</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - This function sets the default scale parameter for all subsequent - bc math functions that do not explicitly specify a scale - parameter. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcsqrt"> - <refnamediv> - <refname>bcsqrt</refname> - <refpurpose> - Get the square root of an arbitray precision number + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcsqrt</function> + </funcdef> + <paramdef>string <parameter>operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>operand</parameter>ì ì 곱근ì ë°íí©ëë¤. + ì íì¬íì¸ <parameter>scale</parameter> ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨í¨ì:<function>bcpow</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bcsub"> + <refnamediv> + <refname>bcsub</refname> + <refpurpose> + í arbitrary precision numberìì ë¤ë¥¸ arbitrary precision number를 빼기 </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcsqrt</function></funcdef> - <paramdef>string <parameter>operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Return the square root of the <parameter>operand</parameter>. - The optional <parameter>scale</parameter> parameter sets the - number of digits after the decimal place in the result. - </para> - <para> - See also <function>bcpow</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcsub"> - <refnamediv> - <refname>bcsub</refname> - <refpurpose> - Subtract one arbitrary precision number from another - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcsub</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>right operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Subtracts the <parameter>right operand</parameter> from the - <parameter>left operand</parameter> and returns the result in a - string. The optional <parameter>scale</parameter> parameter is - used to set the number of digits after the decimal place in the - result. - </para> - <para> - See also <function>bcadd</function>. - </para> - </refsect1> - </refentry> - - </reference> - + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcsub</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>right operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>ìì + <parameter>right operand</parameter>를 ë¹¼ì 결과를 문ìì´ë¡ ë°íí©ëë¤. ì íì¬íì¸ <parameter>scale</parameter> ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì: <function>bcadd</function>. + </para> + </refsect1> + </refentry> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml Index: phpdoc/kr/functions/ccvs.xml diff -u phpdoc/kr/functions/ccvs.xml:1.2 phpdoc/kr/functions/ccvs.xml:1.3 --- phpdoc/kr/functions/ccvs.xml:1.2 Fri Jan 12 06:16:39 2001 +++ phpdoc/kr/functions/ccvs.xml Wed Jan 31 06:33:37 2001 @@ -1,3 +1,4 @@ +<!-- edited by Jeongha Kwon(SuViA) --> <!-- CCVS Documentation by Brendan W. McAdams <brendan@plexmedia.com> Copyright (c) 2000 by the PHP Group @@ -6,73 +7,47 @@ documentation for the php3 version of this module, which helped us start this document. --> - - <reference id="ref.ccvs"> - <title>CCVS API Functions</title> - <titleabbrev>CCVS</titleabbrev> - - <partintro> - <simpara> - These functions interface the CCVS API, allowing you to directly - work with CCVS from your PHP scripts. CCVS is <ulink - url="&url.redhat;">RedHat's</ulink> solution to the "middle-man" - in credit card processing. It lets you directly address the - credit card clearing houses via your *nix box and a modem. Using - the CCVS module for PHP, you can process credit cards directly - through CCVS via your PHP Scripts. The following references will - outline the process. +<reference id="ref.ccvs"> + <title>CCVS API í¨ì</title> + <titleabbrev>CCVS</titleabbrev> + <partintro> + <simpara> + ì´ í¨ìë PHPì¤í¬ë¦½í¸ìì CCVSì ì§ì ì°ê²°ì íë½íë CCVS API ì¸í°íì´ì¤ì ëë¤. CCVSë <ulink url="&url.redhat;">RedHatì</ulink> "ì¤ê°ìì¸"ì ìí ì¹´ëê²°ì¬ ì²ë¦¬ ì루ì ì ëë¤. ì´ê²ì ê°ì ìì *nix boxë 모ëì íµí´ ì ì©ì¹´ë를 ì¬ì©í ì ìê² í©ëë¤. CCVS 모ëì ì¬ì©íë©´ PHPì¤í¬ë¦½í¸ë¥¼ ì¬ì©í´ì CCVS를 íµí´ ì§ì ì ì©ì¹´ë를 ì²ë¦¬í ì ììµëë¤. ë¤ìì ê·¸ê²ì ëí ê°ë¨í ì¤ëª ì ëë¤. </simpara> - <simpara> - To enable CCVS Support in PHP, first verify your CCVS installation - directory. You will then need to configure PHP with the <option - role="configure">--with-ccvs</option> option. If you use this - option without specifying the path to your CCVS installation, PHP - Will attempt to look in the default CCVS Install location - (/usr/local/ccvs). If CCVS is in a non-standard location, run - configure with: <option - role="configure">--with-ccvs=$ccvs_path</option>, where $ccvs_path - is the path to your CCVS installation. Please note that CCVS - support requires that $ccvs_path/lib and $ccvs_path/include exist, - and include cv_api.h under the include directory and libccvs.a - under the lib directory. + <simpara> + PHPìì CCVS를 ì§ìíê² í ë ¤ë©´ CCVSê° ì ëë¡ ì¤ì¹ ëìëì§ íì¸í´ì¼ í©ëë¤. ê·¸ë¦¬ê³ PHP를 <option role="configure">--with-ccvs</option> ìµì ì ì¬ì©í´ì ì»´íì¼ ì¤ì ì í´ì¼í©ëë¤. ë§ì½ CCVSì¤ì¹ ê²½ë¡ë¥¼ ì§ì íì§ ìê³ ì´ ìµì ì ì¬ì©íë©´ PHPë CCVS 기본ì¤ì¹ ê²½ë¡(/usr/local/ccvs)를 íì¸í©ëë¤. ë§ì½ CCVS를 ë¤ë¥¸ ê²½ë¡ì ì¤ì¹ íì ¨ë¤ë©´, <option role="configure">--with-ccvs=$ccvs_path</option>ìµì ì ì¬ì©í´ì ì»´íì¼ ì¤ì ì íì ì¼í©ëë¤. $ccvs_pathë CCVSê° ì¤ì¹ë ê²½ë¡ì ëë¤. CCVS를 ì§ìí기 ìí´ìë $ccvs_path/libì $ccvs_path/include ê²½ë¡ê° ì¡´ì¬í´ì¼ íê³ iclude ëë í 리ìë cv_api.hê°, lib ëë í 리ìë libccvs.aê° ìì´ì¼ ë©ëë¤. </simpara> - <simpara> - Additionally, a ccvsd process will need to be running for the - configurations you intend to use in your PHP scripts. You will - also need to make sure the PHP Processes are running under the - same user as your CCVS was installed as (e.g. if you installed - CCVS as user 'ccvs', your PHP processes must run as 'ccvs' as - well.) + <simpara> + ëí, ccvsd íë¡ì¸ì¤ë PHP ì¤í¬ë¦½í¸ë¥¼ ì¬ì©í ì ìê² ì¤ì ì´ ë ìíìì ì¤íì í´ì¼í©ëë¤.. ê·¸ë¦¬ê³ PHP íë¡ì¸ì¤ì CCVSíë¡ì¸ì¤ê° ê°ì ì¬ì©ìì IDë¡ ì¤íì´ ëì´ì¼ í©ëë¤. (ì를 ë¤ì´, CCVS를 'ccvs'ì¬ì©ìë¡ ì¤ì¹ë¥¼ íì¼ë©´, PHP íë¡ì¸ì¤ë 'ccvs' ì¬ì©ìë¡ ì¤íì´ ëì´ì¼ í©ëë¤. </simpara> - <simpara> - Additional information about CCVS can be found at <ulink - url="&url.redhat.ccvs;">&url.redhat.ccvs;</ulink>. + <simpara> + CCVSì ëí ì¶ê° ì ë³´ë<ulink url="&url.redhat.ccvs;">&url.redhat.ccvs;</ulink>ìì ì°¾ì ì ììµëë¤. </simpara> - <simpara> - This documentation section is being worked on. Until then, RedHat - maintains slightly outdated but still useful documentation at - <ulink url="&url.redhat.support;">&url.redhat.support;</ulink>. + <simpara> + ì´ ë¬¸ìë ìì ì¤ì ëë¤. RedHatì ìë£ë ì¡°ê¸ ì¤ëëìì§ë§ + <ulink url="&url.redhat.support;">&url.redhat.support;</ulink>ì ì ì©í ì ë³´ê° ììµëë¤. </simpara> - </partintro> - - <refentry> - <refnamediv> - <refname></refname> - <refpurpose></refpurpose> - </refnamediv> - <refsect1> - <title></title> - <funcsynopsis> - <funcprototype> - <funcdef> <function></function></funcdef> - <paramdef> <parameter></parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsect1> - </refentry> - - </reference> - + </partintro> + <refentry> + <refnamediv> + <refname/> + <refpurpose/> + </refnamediv> + <refsect1> + <title/> + <funcsynopsis> + <funcprototype> + <funcdef> + <function/> + </funcdef> + <paramdef> + <parameter/> + </paramdef> + </funcprototype> + </funcsynopsis> + </refsect1> + </refentry> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml Index: phpdoc/kr/functions/pspell.xml diff -u phpdoc/kr/functions/pspell.xml:1.2 phpdoc/kr/functions/pspell.xml:1.3 --- phpdoc/kr/functions/pspell.xml:1.2 Fri Jan 12 06:16:40 2001 +++ phpdoc/kr/functions/pspell.xml Wed Jan 31 06:33:37 2001 @@ -1,47 +1,43 @@ - <reference id="ref.pspell"> - <title>Pspell Functions</title> - <titleabbrev>Pspell</titleabbrev> - - <partintro> - <simpara> - These functions allow you to check the spelling of a word and offer - suggestions. +<!-- edited by Jeongha Kwon(SuViA) --> +<reference id="ref.pspell"> + <title>Pspell í¨ì</title> + <titleabbrev>Pspell</titleabbrev> + <partintro> + <simpara> + ì´ í¨ìë ë¨ì´ì ì² ì를 ê²ì¬íê³ ì¶ì²íë ë¨ì´ë¥¼ ì ìí©ëë¤. </simpara> - <simpara> - You need the aspell and pspell libraries, available from <ulink - url="&url.aspell;">&url.aspell;</ulink> and - <ulink url="&url.pspell;">&url.pspell;</ulink> respectively, and - add the <option role="configure">--with-pspell[=dir]</option> option - when compiling php. + <simpara> + ì´ í¨ì를 ì¬ì©í기 ìí´ìë aspell ë¼ì´ë¸ë¬ë¦¬ì pspell ë¼ì´ë¸ë¬ë¦¬ê° íìí©ëë¤. ê°ê° <ulink url="&url.aspell;">&url.aspell;</ulink> ì + <ulink url="&url.pspell;">&url.pspell;</ulink> ìì ë¤ì´ë¡ë í ì ììµëë¤. ê·¸ë¦¬ê³ PHP ì»´íì¼ì <option role="configure">--with-pspell[=dir]</option> ìµì ì ì¶ê°í´ì¼í©ëë¤. </simpara> - </partintro> - - <refentry id="function.pspell-add-to-personal"> - <refnamediv> - <refname>pspell_add_to_personal</refname> - <refpurpose>Add the word to a personal wordlist.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_add_to_personal</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_add_to_personal</function> adds a word to the personal - wordlist. If you used <function>pspell_new_config</function> with - <function>pspell_config_personal</function> to open the dictionary, - you can save the wordlist later with - <function>pspell_save_wordlist</function>. Please, note that this function - will not work unless you have pspell .11.2 and aspell .32.5 or later. - </simpara> - <para> - <example> - <title><function>Pspell_add_to_personal</function></title> - <programlisting role="php"> + </partintro> + <refentry id="function.pspell-add-to-personal"> + <refnamediv> + <refname>pspell_add_to_personal</refname> + <refpurpose>ì¬ì©ì ë¨ì´ëª©ë¡ì ë¨ì´ ì¶ê°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_add_to_personal</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>word</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_add_to_personal</function> í¨ìë ì¬ì©ì ë¨ì´ëª©ë¡ì ë¨ì´ë¥¼ ì¶ê°í©ëë¤. ë§ì½ ì¬ì ì ì´ë<function>pspell_new_config</function> í¨ìì + <function>pspell_config_personal</function> í¨ì를 ì¬ì©íë©´ ëì¤ì <function>pspell_save_wordlist</function>í¨ì를 ì¬ì©í´ì ë¨ì´ëª©ë¡ì ì ì¥í ì ììµëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_add_to_personal</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); $pspell_link = pspell_new_config ($pspell_config); @@ -49,56 +45,60 @@ pspell_add_to_personal ($pspell_link, "Vlad"); pspell_save_wordlist ($pspell_link); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-add-to-session"> - <refnamediv> - <refname>pspell_add_to_session</refname> - <refpurpose>Add the word to the wordlist in the current session. + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-add-to-session"> + <refnamediv> + <refname>pspell_add_to_session</refname> + <refpurpose>íì¬ ì¸ì ì ë¨ì´ëª©ë¡ì ë¨ì´ ì¶ê° </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_add_to_session</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_add_to_session</function> adds a word to the wordlist - associated with the current session. It is very similar to + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_add_to_session</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>word</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_add_to_session</function> í¨ìë íì¬ ì¸ì ì ë¨ì´ëª©ë¡ì ë¨ì´ë¥¼ ì¶ê°í©ëë¤. ì´ê²ì ë¤ì í¨ìì ë§¤ì° ë¹ì·í©ëë¤. <function>pspell_add_to_personal</function> - </simpara> - </refsect1> - </refentry> - - <refentry id="function.pspell-check"> - <refnamediv> - <refname>pspell_check</refname> - <refpurpose>Check a word</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>boolean <function>pspell_check</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_check</function> checks the spelling of a word - and returns true if the spelling is correct, false if not. - </simpara> - <para> - <example> - <title><function>Pspell_check</function></title> - <programlisting role="php"> + </simpara> + </refsect1> + </refentry> + <refentry id="function.pspell-check"> + <refnamediv> + <refname>pspell_check</refname> + <refpurpose>ë¨ì´ ê²ì¬</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>boolean <function>pspell_check</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>word</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_check</function> í¨ìë ë¨ì´ì ì² ì를 ê²ì¬íê³ ì¬ë°ë¥¼ ê²½ì° true, íë¦´ê²½ì° false를 ë°íí©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_check</function> + </title> + <programlisting role="php"> $pspell_link = pspell_new ("en"); if (pspell_check ($pspell_link, "testt")) { @@ -107,33 +107,34 @@ echo "Sorry, wrong spelling"; } </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-clear-session"> - <refnamediv> - <refname>pspell_clear_session</refname> - <refpurpose>Clear the current session.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_clear_session</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_clear_session</function> clears the current session. - The current wordlist becomes blank, and, for example, if you try to save - it with <function>pspell_save_wordlist</function>, nothing happens. - </simpara> - <para> - <example> - <title><function>Pspell_add_to_personal</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-clear-session"> + <refnamediv> + <refname>pspell_clear_session</refname> + <refpurpose>íì¬ ì°ê²°ë ì¸ì ì ê±°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_clear_session</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_clear_session</function>í¨ìë íì¬ ì°ê²°ë ì¸ì ì ì ê±°í©ëë¤. íì¬ ë¨ì´ëª©ë¡ì ë¹ìì§ëë¤. ì를ë¤ì´ <function>pspell_save_wordlist</function>í¨ì를 ì¬ì©í´ì ë¨ì´ëª©ë¡ì ì ì¥í ë ¤ê³ íë©´ ì무ì¼ë ìê¸°ì§ ììµëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_add_to_personal</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); $pspell_link = pspell_new_config ($pspell_config); @@ -142,651 +143,588 @@ pspell_clear_session ($pspell_link); pspell_save_wordlist ($pspell_link); //"Vlad" will not be saved </programlisting> - </example> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-create"> + <refnamediv> + <refname>pspell_config_create</refname> + <refpurpose>ì¬ì ì ì´ë ì¬ì©í ì¤ì ì ìì±</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_create</function> + </funcdef> + <paramdef>string <parameter>language</parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>spelling</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>jargon</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>encoding</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_create</function> í¨ìë + <function>pspell_new</function>í¨ìì 매ì°ë¹ì·í 문ë²ì ëë¤. ì¬ì¤ + <function>pspell_new_config</function>í¨ì를 ì¬ì©í ì´íì + <function>pspell_config_create</function>í¨ì를 ì¬ì©íê² ëë©´ ëì¼í 결과를 ëíë¼ ê²ì ëë¤. + í¥ìë 기ë¥ì ì¬ì©í기 ìí´ìë ìë¡ì´ ì¤ì ì ë§ë¤ìëë¼ë + <function>pspell_new_config</function> í¨ì를 í¸ì¶í기 ì ì + <function>pspell_config_*</function> í¨ì를 ì¬ì©í´ì¼í©ëë¤. + </simpara> + <para> + language íë¼ë¯¸í°ë ëìë¡ ë ISO 639 ì¸ì´ ì½ëì ëë¤. ì íì ì¼ë¡ ISO 639 ì¸ì´ ì½ë ì´í '-' ë '_' 를 ì ê³ ëìë¡ ë ISO 3166 êµê°ì½ë를 ì¶ê°í ì ììµëë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-create"> - <refnamediv> - <refname>pspell_config_create</refname> - <refpurpose>Create a config used to open a dictionary.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_create</function></funcdef> - <paramdef>string <parameter>language</parameter></paramdef> - <paramdef>string - <parameter> - <optional>spelling</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>jargon</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>encoding</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_create</function> has a very similar syntax to - <function>pspell_new</function>. In fact, using - <function>pspell_config_create</function> immediatelly followed by - <function>pspell_new_config</function> will produce the exact same result. - However, after creating a new config, you can also use - <function>pspell_config_*</function> functions before calling - <function>pspell_new_config</function> to take advantage of some - advanced functionality. - </simpara> - <para> - The language parameter is the language code which consists of the - two letter ISO 639 language code and an optional two letter ISO - 3166 country code after a dash or underscore. - </para> - <para> - The spelling parameter is the requested spelling for languages - with more than one spelling such as English. Known values are - 'american', 'british', and 'canadian'. - </para> - <para> - The jargon parameter contains extra information to distinguish - two different words lists that have the same language and - spelling parameters. - </para> - <para> - The encoding parameter is the encoding that words are expected to - be in. Valid values are 'utf-8', 'iso8859-*', 'koi8-r', + <para> + spelling íë¼ë¯¸í°ë English ì ê°ì´ í ì² ì ì´ìì ì² ìê° ìë ì¸ì´ì ëí´ ì² ì를 ì§ì í©ëë¤. English ì ê²½ì° ìë ¤ì§ ê°ìë 'american', 'british', and 'canadian' ê° ììµëë¤. + </para> + <para> + jargon íë¼ë¯¸í°ë ëì¼í languageì spelling íë¼ë¯¸í°ë¥¼ ê°ì§ê³ ìë ë ë¤ë¥¸ ë¨ì´ 목ë¡ì 구ë³í기 ìí ì¶ê°ì ë³´ì ëë¤. + </para> + <para> + encoding íë¼ë¯¸í°ë ë¨ì´ì ì¸ì½ë© ì ë³´ì ëë¤. ê°ë¥í ê°ìë 'utf-8', 'iso8859-*', 'koi8-r', 'viscii', 'cp1252', 'machine unsigned 16', 'machine unsigned - 32'. This parameter is largely untested, so be careful when - using. + 32' ê° ììµëë¤. ì´ íë¼ë¯¸í°ë ê±°ì í ì¤í¸ëì§ ììì¼ë, ì¬ì©í ë 주ìíì¸ì. </para> - <para> - The mode parameter is the mode in which spellchecker will work. - There are several modes available: + <para> + mode íë¼ë¯¸í°ë ë¨ì´ê²ì¬ê¸°ì ì¤í모ëì ëë¤. + ìëì ëªê°ì§ ê°ë¥í 모ëê° ììµëë¤. <itemizedlist> - <listitem> - <simpara> - PSPELL_FAST - Fast mode (least number of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_NORMAL - Normal mode (more suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions) - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - For more information and examples, check out inline manual pspell - website:<ulink url="&url.pspell;">&url.pspell;</ulink>. - </para> - <para> - <example> - <title><function>Pspell_config_create</function></title> - <programlisting role="php"> + <listitem> + <simpara> + PSPELL_FAST - ë¹ ë¥¸ ì¤í모ë (ìµìíì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_NORMAL - ë³´íµ ì¤í모ë (ë ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_BAD_SPELLERS - ë린 ì¤í모ë (ê°ì¥ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + </itemizedlist> + </para> + <para> + ìì¸í ì ë³´ì ìì ë pspell ì¹ì¬ì´í¸(<ulink url="&url.pspell;">&url.pspell;</ulink>)ì 매ë´ì¼ì ì°¸ê³ íì¸ì. + </para> + <para> + <example> + <title> + <function>Pspell_config_create</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); pspell_config_repl ($pspell_config, "/var/dictionaries/custom.repl"); $pspell_link = pspell_new_personal (pspell_config); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-ignore"> - <refnamediv> - <refname>pspell_config_ignore</refname> - <refpurpose>Ignore words less than N characters long.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_ignore</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>int <parameter>n</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_ignore</function> should be used on a config - before calling <function>pspell_new_config</function>. This function - allows short words to be skipped by the spellchecker. Words less then - n characters will be skipped. - </simpara> - <para> - <example> - <title><function>Pspell_config_ignore</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-ignore"> + <refnamediv> + <refname>pspell_config_ignore</refname> + <refpurpose>문ìì 길ì´ê° në³´ë¤ ìì ë¨ì´ë 무ì</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_ignore</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>int <parameter>n</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_ignore</function> í¨ìë<function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ì´ ëì´ì¼ í©ëë¤. ì´ í¨ìë 문ì길ì´ê° në³´ë¤ ìì ë¨ì´ë ê²ì¬íì§ ìê³ ë¬´ìí©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_config_ignore</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_ignore($pspell_config, 5); $pspell_link = pspell_new_config($pspell_config); pspell_check($pspell_link, "abcd"); //will not result in an error </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-mode"> - <refnamediv> - <refname>pspell_config_mode</refname> - <refpurpose>Change the mode number of suggestions returned.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_mode</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>int <parameter>mode</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_mode</function> should be used on a config - before calling <function>pspell_new_config</function>. This function - determines how many suggestions will be returned by - <function>pspell_suggest</function>. + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-mode"> + <refnamediv> + <refname>pspell_config_mode</refname> + <refpurpose>ë°íëë ì¶ì²ë¨ì´ì ì를 ê²°ì íë ì¤í모ë ë³ê²½</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_mode</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>int <parameter>mode</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_mode</function>í¨ìë <function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ëì´ì¼ í©ëë¤. ì´ í¨ìë + <function>pspell_suggest</function>í¨ìì ìí´ ë°íëë ì¶ì² ë¨ì´ì ì를 ê²°ì í©ëë¤. </simpara> - <para> - The mode parameter is the mode in which spellchecker will work. - There are several modes available: + <para> + mode íë¼ë¯¸í°ë ë¨ì´ê²ì¬ê¸°ì ì¤í모ëì ëë¤. + ìëì ëªê°ì§ ê°ë¥í 모ëê° ììµëë¤. <itemizedlist> - <listitem> - <simpara> - PSPELL_FAST - Fast mode (least number of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_NORMAL - Normal mode (more suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions) - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - <example> - <title><function>Pspell_config_mode</function></title> - <programlisting role="php"> + <listitem> + <simpara> + PSPELL_FAST - ë¹ ë¥¸ ì¤í모ë (ìµìíì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_NORMAL - ë³´íµ ì¤í모ë (ë ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_BAD_SPELLERS - ë린 ì¤í모ë (ê°ì¥ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + </itemizedlist> + </para> + <para> + <example> + <title> + <function>Pspell_config_mode</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_mode($pspell_config, PSPELL_FAST); $pspell_link = pspell_new_config($pspell_config); pspell_check($pspell_link, "thecat"); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-personal"> - <refnamediv> - <refname>pspell_config_personal</refname> - <refpurpose>Set a file that contains personal wordlist.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_personal</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>file</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_personal</function> should be used on a config - before calling <function>pspell_new_config</function>. The personal - wordlist will be loaded and used in addition to the standard one after - you call <function>pspell_new_config</function>. If the file does not - exist, it will be created. The file is also the file where - <function>pspell_save_wordlist</function> will save personal wordlist to. - The file should be writable by whoever php runs as (e.g. nobody). Please, - note that this function will not work unless you have pspell .11.2 and - aspell .32.5 or later. - </simpara> - <para> - <example> - <title><function>Pspell_config_personal</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-personal"> + <refnamediv> + <refname>pspell_config_personal</refname> + <refpurpose>ì¬ì©ì ë¨ì´ëª©ë¡ì ì ì¥íê³ ìë íì¼ ì§ì </refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_personal</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>file</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_personal</function>ë<function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ëì´ì¼ í©ëë¤. ì¬ì©ì ë¨ì´ëª©ë¡ì ì½íì§ê³ <function>pspell_new_config</function>í¨ì를 í¸ì¶í íì íì¤ ë¨ì´ëª©ë¡ì ì¶ê°ì ì¼ë¡ ì¬ì©ë©ëë¤. íì¼ì´ ì¡´ì¬íì§ ììê²½ì° ìì±ë©ëë¤. íì¼ì + <function>pspell_save_wordlist</function>í¨ììì ì¬ì©ì ë¨ì´ëª©ë¡ì ì ì¥íë íì¼ì´ê¸°ë í©ëë¤. + íì¼ì PHP ì¤í ì¬ì©ì(ì, nobody) ê° ì°ê¸°ê°ë¥í 모ëë¡ ëì´ìì´ì¼ í©ëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_config_personal</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); $pspell_link = pspell_new_config ($pspell_config); pspell_check ($pspell_link, "thecat"); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-repl"> - <refnamediv> - <refname>pspell_config_repl</refname> - <refpurpose>Set a file that contains replacement pairs.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_repl</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>file</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_repl</function> should be used on a config - before calling <function>pspell_new_config</function>. The replacement - pairs improve the quality of the spellchecker. When a word is misspelled, - and a proper suggestion was not found in the list, - <function>pspell_store_replacement</function> can be used to store a - replacement pair and then <function>pspell_save_wordlist</function> to - save the wordlist along with the replacement pairs. The file should be - writable by whoever php runs as (e.g. nobody). Please, note that this - function will not work unless you have pspell .11.2 and aspell .32.5 or - later. - </simpara> - <para> - <example> - <title><function>Pspell_config_repl</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-repl"> + <refnamediv> + <refname>pspell_config_repl</refname> + <refpurpose>êµì ë´ì©ì í¬í¨íê³ ìë íì¼ì ì§ì </refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_repl</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>file</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_repl</function>í¨ìë <function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ëì´ì¼ í©ëë¤. êµì ë´ì©ì ë¨ì´ê²ì¬ê¸°ì ì§ì ì±ë¥ì í¥ììíµëë¤. ë¨ì´ì ì² ìê° íë¦¬ê³ ëª©ë¡ìì ì ë¹í ì¶ì²ë¨ì´ë¥¼ ì°¾ì§ ëª»íì ê²½ì°,<function>pspell_store_replacement</function>í¨ìë êµì 목ë¡ì ì ì¥íê³ <function>pspell_save_wordlist</function>í¨ìë êµì 목ë¡ì í¬í¨í ë¨ì´ëª©ë¡ì ì ì¥íëë° ì¬ì©í ì ììµëë¤. íì¼ì PHP ì¤í ì¬ì©ì(ì, nobody)ê° ì°ê¸° ê°ë¥í 모ëë¡ ëì´ ìì´ì¼ í©ëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_config_repl</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); 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_check ($pspell_link, "thecat"); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-runtogether"> - <refnamediv> - <refname>pspell_config_runtogether</refname> - <refpurpose>Consider run-together words as valid compounds.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_runtogether</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>boolean <parameter>flag</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_runtogether</function> should be used on a config - before calling <function>pspell_new_config</function>. This function - determines whether run-together words will be treated as legal - compounds. That is, "thecat" will be a legal compound, - athough there should be a space between the two - words. Changing this setting only affects the results returned - by <function>pspell_check</function>; - <function>pspell_suggest</function> will still return suggestions. - </simpara> - <para> - <example> - <title><function>Pspell_config_runtogether</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-runtogether"> + <refnamediv> + <refname>pspell_config_runtogether</refname> + <refpurpose>ì°ê²°ëë ë¨ì´ë¥¼ ì ë¹í í©ì±ì´ë¡ ê³ ë ¤</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_runtogether</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>boolean <parameter>flag</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_runtogether</function>í¨ìë <function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ëì´ì¼ í©ëë¤. ì´ í¨ìë ì°ê²°ë ë¨ì´ë¥¼ ì ë¹í í©ì±ì´ë¡ ê³ ë ¤í ì§ë¥¼ ê²°ì í©ëë¤. ì¦, ë§íìë©´ ë ë¨ì´ ì¬ì´ì 공백(space)ì´ ìì´ì¼ í ì§ë¼ë "thecat"ì ì ë¹í í©ì±ì´ê° ë©ëë¤. ì´ ì¤ì ì ë°ê¾¸ë©´ <function>pspell_check</function>í¨ìì ìí´ ë°íëë ê²°ê³¼ê°ìë§ ìí¥ì 미칩ëë¤.; + <function>pspell_suggest</function>í¨ìë ì¬ì í ì¶ì²ë¨ì´ë¥¼ ë°íí©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_config_runtogether</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_runtogether ($pspell_config, true); $pspell_link = pspell_new_config ($pspell_config); pspell_check ($pspell_link, "thecat"); </programlisting> - </example> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-save-repl"> + <refnamediv> + <refname>pspell_config_save_repl</refname> + <refpurpose>êµì ë´ì©ëª©ë¡ì ë¨ì´ëª©ë¡ê³¼ ê°ì´ ì ì¥í ì§ë¥¼ ê²°ì </refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_save_repl</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>boolean <parameter>flag</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_save_repl</function>í¨ìë <function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ëì´ì¼ í©ëë¤. ì´ í¨ìë<function>pspell_save_wordlist</function>í¨ìê° êµì ë´ì©ëª©ë¡ì ë¨ì´ëª©ë¡ê³¼ ê°ì´ ì ì¥í ì§ë¥¼ ê²°ì í©ëë¤. ì¼ë°ì ì¼ë¡ ì´ í¨ìë ì¬ì©í íìê° ììµëë¤. ìëíë©´, ë§ì½<function>pspell_config_repl</function>í¨ì를 ì¬ì©íì ê²½ì°, êµì ë´ì©ì<function>pspell_save_wordlist</function>í¨ìì ìí´ ìëì¼ë¡ ì ì¥ì´ ë©ëë¤. ë§ì½ pspell_config_repl()í¨ì를 ì¬ì©íì§ ìììê²½ì° êµì ë´ì©ì ì ì¥ëì§ ììµëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤.</simpara> + </refsect1> + </refentry> + <refentry id="function.pspell-new"> + <refnamediv> + <refname>pspell_new</refname> + <refpurpose>ì ì¬ì ì´ê¸°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_new</function> + </funcdef> + <paramdef>string <parameter>language</parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>spelling</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>jargon</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>encoding</optional> + </parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>mode</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_new</function>í¨ìë ì ì¬ì ì ì´ê³ ë¤ë¥¸ pspellí¨ììì ì¬ì©í기 ìí ì¬ì ì°ê²° identifier를 ë°íí©ëë¤. + </simpara> + <para> + language íë¼ë¯¸í°ë ëìë¡ ë ISO 639 ì¸ì´ ì½ëì ëë¤. ì íì ì¼ë¡ ISO 639 ì¸ì´ ì½ë ì´í '-' ë '_' 를 ì ê³ ëìë¡ ë ISO 3166 êµê°ì½ë를 ì¶ê°í ì ììµëë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-save-repl"> - <refnamediv> - <refname>pspell_config_save_repl</refname> - <refpurpose>Determine whether to save a replacement pairs list - along with the wordlist.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_save_repl</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>boolean <parameter>flag</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_save_repl</function> should be used on a config - before calling <function>pspell_new_config</function>. It determines - whether <function>pspell_save_wordlist</function> will save the - replacement pairs along with the wordlist. Usually there is no need to use - this function because if <function>pspell_config_repl</function> is used, - the replacement pairs will be saved by - <function>pspell_save_wordlist</function> anyway, and if it is not, - the replacement pairs will not be saved. Please, note that this function - will not work unless you have pspell .11.2 and aspell .32.5 or later. - </simpara> - </refsect1> - </refentry> - - <refentry id="function.pspell-new"> - <refnamediv> - <refname>pspell_new</refname> - <refpurpose>Load a new dictionary</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_new</function></funcdef> - <paramdef>string <parameter>language</parameter></paramdef> - <paramdef>string - <parameter> - <optional>spelling</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>jargon</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>encoding</optional> - </parameter> - </paramdef> - <paramdef>int - <parameter> - <optional>mode</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_new</function> opens up a new dictionary and - returns the dictionary link identifier for use in other pspell - functions. - </simpara> - <para> - The language parameter is the language code which consists of the - two letter ISO 639 language code and an optional two letter ISO - 3166 country code after a dash or underscore. - </para> - <para> - The spelling parameter is the requested spelling for languages - with more than one spelling such as English. Known values are - 'american', 'british', and 'canadian'. - </para> - <para> - The jargon parameter contains extra information to distinguish - two different words lists that have the same language and - spelling parameters. - </para> - <para> - The encoding parameter is the encoding that words are expected to - be in. Valid values are 'utf-8', 'iso8859-*', 'koi8-r', + <para> + spelling íë¼ë¯¸í°ë English ì ê°ì´ í ì² ì ì´ìì ì² ìê° ìë ì¸ì´ì ëí´ ì² ì를 ì§ì í©ëë¤. English ì ê²½ì° ìë ¤ì§ ê°ìë 'american', 'british', and 'canadian' ê° ììµëë¤. + </para> + <para> + jargon íë¼ë¯¸í°ë ëì¼í languageì spelling íë¼ë¯¸í°ë¥¼ ê°ì§ê³ ìë ë ë¤ë¥¸ ë¨ì´ 목ë¡ì 구ë³í기 ìí ì¶ê°ì ë³´ì ëë¤. + </para> + <para> + encoding íë¼ë¯¸í°ë ë¨ì´ì ì¸ì½ë© ì ë³´ì ëë¤. ê°ë¥í ê°ìë 'utf-8', 'iso8859-*', 'koi8-r', 'viscii', 'cp1252', 'machine unsigned 16', 'machine unsigned - 32'. This parameter is largely untested, so be careful when - using. + 32' ê° ììµëë¤. ì´ íë¼ë¯¸í°ë ê±°ì í ì¤í¸ëì§ ììì¼ë, ì¬ì©í ë 주ìíì¸ì. </para> - <para> - The mode parameter is the mode in which spellchecker will work. - There are several modes available: + <para> + mode íë¼ë¯¸í°ë ë¨ì´ê²ì¬ê¸°ì ì¤í모ëì ëë¤. + ìëì ëªê°ì§ ê°ë¥í 모ëê° ììµëë¤. <itemizedlist> - <listitem> - <simpara> - PSPELL_FAST - Fast mode (least number of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_NORMAL - Normal mode (more suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_RUN_TOGETHER - Consider run-together words as legal - compounds. That is, "thecat" will be a legal compound, - athough there should be a space between the two - words. Changing this setting only affects the results returned - by <function>pspell_check</function>; - <function>pspell_suggest</function> will still return - suggestions. - </simpara> - </listitem> - </itemizedlist> - Mode is a bitmask constructed from different constants listed - above. However, PSPELL_FAST, PSPELL_NORMAL and - PSPELL_BAD_SPELLERS are mutually exclusive, so you should select - only one of them. - </para> - <para> - For more information and examples, check out inline manual pspell - website:<ulink url="&url.pspell;">&url.pspell;</ulink>. - </para> - <para> - <example> - <title><function>Pspell_new</function></title> - <programlisting role="php"> + <listitem> + <simpara> + PSPELL_FAST - ë¹ ë¥¸ ì¤í모ë (ìµìíì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_NORMAL - ë³´íµ ì¤í모ë (ë ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_BAD_SPELLERS - ë린 ì¤í모ë (ê°ì¥ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_RUN_TOGETHER - ì°ê²°ë ë¨ì´ë¥¼ ì ë¹í í©ì±ì´ë¡ ê³ ë ¤í ì§ë¥¼ ê²°ì í©ëë¤. ì¦, ë§íìë©´ ë ë¨ì´ ì¬ì´ì 공백(space)ì´ ìì´ì¼ í ì§ë¼ë "thecat"ì ì ë¹í í©ì±ì´ê° ë©ëë¤. ì´ ì¤ì ì ë°ê¾¸ë©´ <function>pspell_check</function>í¨ìì ìí´ ë°íëë ê²°ê³¼ê°ìë§ ìí¥ì 미칩ëë¤.; + <function>pspell_suggest</function>í¨ìë ì¬ì í ì¶ì²ë¨ì´ë¥¼ ë°íí©ëë¤. + </simpara> + </listitem> + </itemizedlist> + 모ëë ìì ëì´ë ìë¡ ë¤ë¥¸ ììë¡ êµ¬ì±ë bitmask ì ëë¤. + PSPELL_FAST, PSPELL_NORMAL, PSPELL_BAD_SPELLERS ì´ ìë¡ ë°°íì ì¼ì§ë¼ë, + ì´ê²ë¤ì¤ì íëë§ì ì íí´ì¼í©ëë¤.</para> + <para> + ìì¸í ì ë³´ì ìì ë pspell ì¹ì¬ì´í¸(<ulink url="&url.pspell;">&url.pspell;</ulink>ì 매ë´ì¼ì ì°¸ê³ íì¸ì. + </para> + <para> + <example> + <title> + <function>Pspell_new</function> + </title> + <programlisting role="php"> $pspell_link = pspell_new ("en", "", "", "", (PSPELL_FAST|PSPELL_RUN_TOGETHER)); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-new-config"> - <refnamediv> - <refname>pspell_new_config</refname> - <refpurpose>Load a new dictionary with settings based on a given config - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_new_config</function></funcdef> - <paramdef>int <parameter>config</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_new_config</function> opens up a new dictionary with - settings specified in a config, created with with - <function>pspell_config_create</function> and modified with - <function>pspell_config_*</function> functions. This method provides you - with the most flexibility and has all the functionality provided by - <function>pspell_new</function> and - <function>pspell_new_personal</function>. - </simpara> - <para> - The config parameter is the one returned by - <function>pspell_config_create</function> when the config was created. - </para> - <para> - <example> - <title><function>Pspell_new_config</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-new-config"> + <refnamediv> + <refname>pspell_new_config</refname> + <refpurpose>주ì´ì§ ì¤ì ì¼ë¡ ì ì¬ì ì´ê¸°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_new_config</function> + </funcdef> + <paramdef>int <parameter>config</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_new_config</function>í¨ìë <function>pspell_config_create</function>í¨ìì ìí´ì ìì±ëê³ , + <function>pspell_config_*</function>í¨ìë¡ ìì ë ì¤ì ì ì¬ì©í´ì ì ì¬ì ì ì½ëë¤. ì´ ë°©ë²ì ê°ì¥ ìµíµì±ì´ ìê³ ,<function>pspell_new</function>í¨ìì + <function>pspell_new_personal</function>í¨ìì ìí´ ì ê³µëë 모ë 기ë¥ì ì ì ê³µí©ëë¤. + </simpara> + <para> + config íë¼ë¯¸í°ë ì¤ì ì´ ìì±ë ë<function>pspell_config_create</function>í¨ìì ìí´ ë°íëë ê²ì ëë¤. + </para> + <para> + <example> + <title> + <function>Pspell_new_config</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); pspell_config_repl ($pspell_config, "/var/dictionaries/custom.repl"); $pspell_link = pspell_new_personal (pspell_config); </programlisting> - </example> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-new-personal"> + <refnamediv> + <refname>pspell_new_personal</refname> + <refpurpose>ì¬ì©ì ë¨ì´ëª©ë¡ì¼ë¡ ì ì¬ì ì´ê¸°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_new_personal</function> + </funcdef> + <paramdef>string <parameter>personal</parameter> + </paramdef> + <paramdef>string <parameter>language</parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>spelling</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>jargon</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>encoding</optional> + </parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>mode</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_new_personal</function>í¨ìë ì¬ì©ì ë¨ì´ëª©ë¡ì¼ë¡ ì ì¬ì ì ì´ê³ ë¤ë¥¸ pspell í¨ììì ì¬ì©í기ìí ì¬ì ì´ê¸° identifier를 ë°íí©ëë¤. ìí ê²½ì°, ë¨ì´ëª©ë¡ì <function>pspell_save_wordlist</function>í¨ìì ìí´ ìì ëê³ ì ì¥ë ì ììµëë¤. êµì 목ë¡ì´ ì ì¥ëì§ ììëë¼ë, êµì 목ë¡ì ì ì¥í기 ìí´ìë<function>pspell_config_create</function>í¨ì를 ì¬ì©í´ì ì¤ì ì ìì±íê³ ,<function>pspell_config_personal + </function>í¨ì를 ì¬ì©í´ì ì¬ì©ì ë¨ì´ëª©ë¡íì¼ì ì§ì íê³ ,<function>pspell_config_repl</function>í¨ì를 ì¬ì©í´ì êµì 목ë¡íì¼ì ì§ì íê³ , + <function>pspell_new_config</function>í¨ì를 ì¬ì©í´ì ì ì¬ì ì ì´ì´ì¼ë§ í©ëë¤. + </simpara> + <para> + personal íë¼ë¯¸í°ë ë¨ì´ê° ì¶ê°ëê³ ì ì¥ë ì¬ì©ì ë¨ì´ëª©ë¡ íì¼ì ì§ì í©ëë¤. personal íë¼ë¯¸í°ë "/"ë¡ ììíë ì ëê²½ë¡ íì¼ëª ì´ì´ì¼ í©ëë¤. ìëíë©´ ê·¸ë ì§ ìì ê²½ì° ê±°ì 모ë ìì¤í ìì "/root"ì¸ $HOME ì¼ë¡ë¶í°ì ìëê²½ë¡ê° ë©ëë¤. ê·¸ê²ì ìë§ë ë¹ì ì´ ìíë ê²½ë¡ê° ìë ê²ì ëë¤.</para> + <para> + language íë¼ë¯¸í°ë ëìë¡ ë ISO 639 language ì½ëì ëë¤. ì íì ì¼ë¡ ISO 639 language ì½ë ì´í '-' ë '_' 를 ì ê³ ëìë¡ ë ISO 3166 êµê°ì½ë를 ì¶ê° í ì ììµëë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-new-personal"> - <refnamediv> - <refname>pspell_new_personal</refname> - <refpurpose>Load a new dictionary with personal wordlist</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_new_personal</function></funcdef> - <paramdef>string <parameter>personal</parameter></paramdef> - <paramdef>string <parameter>language</parameter></paramdef> - <paramdef>string - <parameter> - <optional>spelling</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>jargon</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>encoding</optional> - </parameter> - </paramdef> - <paramdef>int - <parameter> - <optional>mode</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_new_personal</function> opens up a new dictionary with - a personal wordlist and returns the dictionary link identifier for use - in other pspell functions. The wordlist can be modified and saved with - <function>pspell_save_wordlist</function>, if desired. However, the - replacement pairs are not saved. In order to save replacement pairs, you - should create a config using <function>pspell_config_create</function>, - set the personal wordlist file with <function>pspell_config_personal - </function>, set the file for replacement pairs with - <function>pspell_config_repl</function>, and open a new dictionary with - <function>pspell_new_config</function>. - </simpara> - <para> - The personal parameter specifies the file where words added to the - personal list will be stored. It should be an absolute filename - beginning with '/' because otherwise it will be relative to $HOME, - which is "/root" for most systems, and is probably not what you want. - </para> - <para> - The language parameter is the language code which consists of the - two letter ISO 639 language code and an optional two letter ISO - 3166 country code after a dash or underscore. - </para> - <para> - The spelling parameter is the requested spelling for languages - with more than one spelling such as English. Known values are - 'american', 'british', and 'canadian'. - </para> - <para> - The jargon parameter contains extra information to distinguish - two different words lists that have the same language and - spelling parameters. - </para> - <para> - The encoding parameter is the encoding that words are expected to - be in. Valid values are 'utf-8', 'iso8859-*', 'koi8-r', + <para> + spelling íë¼ë¯¸í°ë English ì ê°ì´ í ì² ì ì´ìì ì² ìê° ìë ì¸ì´ì ëí´ ì² ì를 ì§ì í©ëë¤. English ì ê²½ì° ìë ¤ì§ ê°ìë 'american', 'british', and 'canadian' ê° ììµëë¤. + </para> + <para> + jargon íë¼ë¯¸í°ë ëì¼í languageì spelling íë¼ë¯¸í°ë¥¼ ê°ì§ê³ ìë ë ë¤ë¥¸ ë¨ì´ 목ë¡ì 구ë³í기 ìí ì¶ê°ì ë³´ì ëë¤. + </para> + <para> + encoding íë¼ë¯¸í°ë ë¨ì´ì ì¸ì½ë© ì ë³´ì ëë¤. ê°ë¥í ê°ìë 'utf-8', 'iso8859-*', 'koi8-r', 'viscii', 'cp1252', 'machine unsigned 16', 'machine unsigned - 32'. This parameter is largely untested, so be careful when - using. + 32' ê° ììµëë¤. ì´ íë¼ë¯¸í°ë ê±°ì í ì¤í¸ëì§ ììì¼ë, ì¬ì©í ë 주ìíì¸ì. </para> - <para> - The mode parameter is the mode in which spellchecker will work. - There are several modes available: + <para> + mode íë¼ë¯¸í°ë ë¨ì´ê²ì¬ê¸°ì ì¤í모ëì ëë¤. + ìëì ëªê°ì§ ê°ë¥í 모ëê° ììµëë¤. <itemizedlist> - <listitem> - <simpara> - PSPELL_FAST - Fast mode (least number of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_NORMAL - Normal mode (more suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_RUN_TOGETHER - Consider run-together words as legal - compounds. That is, "thecat" will be a legal compound, - athough there should be a space between the two - words. Changing this setting only affects the results returned - by <function>pspell_check</function>; - <function>pspell_suggest</function> will still return - suggestions. - </simpara> - </listitem> - </itemizedlist> - Mode is a bitmask constructed from different constants listed - above. However, PSPELL_FAST, PSPELL_NORMAL and - PSPELL_BAD_SPELLERS are mutually exclusive, so you should select - only one of them. - </para> - <para> - For more information and examples, check out inline manual pspell - website:<ulink url="&url.pspell;">&url.pspell;</ulink>. - </para> - <para> - <example> - <title><function>Pspell_new_personal</function></title> - <programlisting role="php"> + <listitem> + <simpara> + PSPELL_FAST - ë¹ ë¥¸ ì¤í모ë (ìµìíì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_NORMAL - ë³´íµ ì¤í모ë (ë ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_BAD_SPELLERS - ë린 ì¤í모ë (ê°ì¥ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_RUN_TOGETHER - ì°ê²°ë ë¨ì´ë¥¼ ì ë¹í í©ì±ì´ë¡ ê³ ë ¤í ì§ë¥¼ ê²°ì í©ëë¤. ì¦, ë§íìë©´ ë ë¨ì´ ì¬ì´ì 공백(space)ì´ ìì´ì¼ í ì§ë¼ë "thecat"ì ì ë¹í í©ì±ì´ê° ë©ëë¤. ì´ ì¤ì ì ë°ê¾¸ë©´ <function>pspell_check</function>í¨ìì ìí´ ë°íëë ê²°ê³¼ê°ìë§ ìí¥ì 미칩ëë¤.; + <function>pspell_suggest</function>í¨ìë ì¬ì í ì¶ì²ë¨ì´ë¥¼ ë°íí©ëë¤. + </simpara> + </listitem> + </itemizedlist> + 모ëë ìì ëì´ë ìë¡ ë¤ë¥¸ ììë¡ êµ¬ì±ë bitmask ì ëë¤. + PSPELL_FAST, PSPELL_NORMAL, PSPELL_BAD_SPELLERS ì´ ìë¡ ë°°íì ì¼ì§ë¼ë, + ì´ê²ë¤ì¤ì íëë§ì ì íí´ì¼í©ëë¤. + </para> + <para> + ìì¸í ì ë³´ì ìì ë pspell ì¹ì¬ì´í¸(<ulink url="&url.pspell;">&url.pspell;</ulink>ì 매ë´ì¼ì ì°¸ê³ íì¸ì. + </para> + <para> + <example> + <title> + <function>Pspell_new_personal</function> + </title> + <programlisting role="php"> $pspell_link = pspell_new_personal ("/var/dictionaries/custom.pws", "en", "", "", "", PSPELL_FAST|PSPELL_RUN_TOGETHER)); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-save-wordlist"> - <refnamediv> - <refname>pspell_save_wordlist</refname> - <refpurpose>Save the personal wordlist to a file.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_save_wordlist</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_save_wordlist</function> saves the personal wordlist - from the current session. The dictionary has to be open with - <function>pspell_new_personal</function>, and the location of files to be - saved specified with <function>pspell_config_personal</function> and - (optionally) <function>pspell_config_repl</function>. Please, note that - this function will not work unless you have pspell .11.2 and aspell .32.5 - or later. - </simpara> - <para> - <example> - <title><function>Pspell_add_to_personal</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-save-wordlist"> + <refnamediv> + <refname>pspell_save_wordlist</refname> + <refpurpose>ì¬ì©ì ë¨ì´ëª©ë¡ì íì¼ë¡ ì ì¥</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_save_wordlist</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_save_wordlist</function>í¨ìë íì¬ ì¸ì ì ì¬ì©ì ë¨ì´ëª©ë¡ì ì ì¥í©ëë¤. ì¬ì ì + <function>pspell_new_personal</function>í¨ì를 ì¬ì©í´ì ì´ê³ , ì ì¥ë íì¼ì ìì¹ë<function>pspell_config_personal</function>í¨ì를 ì¬ì©í´ì ì§ì ëì´ì¼ íê³ , ì íì ì¼ë¡<function>pspell_config_repl</function>í¨ì를 ì¬ì©í ì ììµëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_add_to_personal</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/tmp/dicts/newdict"); $pspell_link = pspell_new_config ($pspell_config); @@ -794,43 +732,40 @@ pspell_add_to_personal ($pspell_link, "Vlad"); pspell_save_wordlist ($pspell_link); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-store-replacement"> - <refnamediv> - <refname>pspell_store_replacement</refname> - <refpurpose>Store a replacement pair for a word</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_store_replacement</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>misspelled</parameter></paramdef> - <paramdef>string <parameter>correct</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_store_replacement</function> stores a replacement pair for - a word, so that replacement can be returned by - <function>pspell_suggest</function> later. In order to be able to take - advantage of this function, you have to use - <function>pspell_new_personal</function> to open the dictionary. In order - to permanently save the replacement pair, you have to - use <function>pspell_config_personal</function> and - <function>pspell_config_repl</function> to set the path where to save your - custom wordlists, and then use <function>pspell_save_wordlist</function> - for the changes to be written to disk. Please, note that this function - will not work unless you have pspell .11.2 and aspell .32.5 or later. - </simpara> - <para> - <example> - <title><function>Pspell_store_replacement</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-store-replacement"> + <refnamediv> + <refname>pspell_store_replacement</refname> + <refpurpose>ë¨ì´ êµì 목ë¡ì ì ì¥</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_store_replacement</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>misspelled</parameter> + </paramdef> + <paramdef>string <parameter>correct</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_store_replacement</function>í¨ìë ë¨ì´ì êµì 목ë¡ì ì ì¥í©ëë¤. ê·¸ëì ëì¤ì <function>pspell_suggest</function>í¨ì를 ì¬ì©í´ì êµì ë´ì©ì ë°íí ì ììµëë¤. ì´ í¨ì를 ì¬ì©í ì ìê² í기 ìí´ì ì¬ì ì ì´ë<function>pspell_new_personal</function>í¨ì를 ì¬ì©í´ì¼ í©ëë¤. êµì 목ë¡ì ì구ì ì¼ë¡ ì ì¥í기ìí´ìë<function>pspell_config_personal</function>í¨ìì + <function>pspell_config_repl</function>í¨ì를 ì¬ì©í´ì ì¬ì©ì ë¨ì´ëª©ë¡ì ì ì¥í ê²½ë¡ë¥¼ ì§ì í´ì¼ í©ëë¤. ê·¸ë¦¬ê³ ë³ê²½ëê²ì ëì¤í¬ì ì ì¥í기 ìí´<function>pspell_save_wordlist</function> + í¨ì를 ì¬ì©í´ì¼ í©ëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_store_replacement</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); pspell_config_repl ($pspell_config, "/var/dictionaries/custom.repl"); @@ -839,33 +774,36 @@ pspell_store_replacement ($pspell_link, $misspelled, $correct); pspell_save_wordlist ($pspell_link); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-suggest"> - <refnamediv> - <refname>pspell_suggest</refname> - <refpurpose>Suggest spellings of a word</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>pspell_suggest</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_suggest</function> returns an array of possible - spellings for the given word. - </simpara> - <para> - <example> - <title><function>Pspell_suggest</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-suggest"> + <refnamediv> + <refname>pspell_suggest</refname> + <refpurpose>ë¨ì´ì ì² ì ì ì</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>array <function>pspell_suggest</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>word</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_suggest</function>í¨ìë 주ì´ì§ ë¨ì´ì ëí ê°ë¥í ì² ì를 ë°°ì´íì¼ë¡ ë°íí©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_suggest</function> + </title> + <programlisting role="php"> $pspell_link = pspell_new ("en"); if (!pspell_check ($pspell_link, "testt")) { @@ -876,13 +814,11 @@ } } </programlisting> - </example> - </para> - </refsect1> - </refentry> - - </reference> - + </example> + </para> + </refsect1> + </refentry> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml
Index: phpdoc/kr/functions/aspell.xml diff -u phpdoc/kr/functions/aspell.xml:1.2 phpdoc/kr/functions/aspell.xml:1.3 --- phpdoc/kr/functions/aspell.xml:1.2 Fri Jan 12 06:16:39 2001 +++ phpdoc/kr/functions/aspell.xml Wed Jan 31 06:33:37 2001 @@ -1,79 +1,75 @@ - <reference id="ref.aspell"> - <title>Aspell functions</title> - <titleabbrev>Aspell</titleabbrev> - - <partintro> - <simpara> - The <function>aspell</function> functions allows you to check the - spelling on a word and offer suggestions. - </simpara> - <note> - <simpara> - aspell works only with very old (up to .27.* or so) versions of - aspell library. Neither this module, nor those versions of aspell - library are supported any longer. If you want to use - spell-checking capabilities in php, use <link - linkend="ref.pspell">pspell</link> instead. It uses pspell - library and works with newer versions of aspell. - </simpara> - </note> - <simpara> - You need the aspell library, available from: <ulink - url="&url.aspell;">&url.aspell;</ulink>. +<!-- edited by Jeongha Kwon(SuViA) --> +<reference id="ref.aspell"> + <title>Aspell í¨ì</title> + <titleabbrev>Aspell</titleabbrev> + <partintro> + <simpara> + <function>aspell</function> í¨ìë ë¨ì´ì ì² ì를 ê²ì¬íê³ í릴 ê²½ì° ì°ìëë ë¨ì´ë¥¼ ì ìí©ëë¤.</simpara> + <note> + <simpara> + aspellì aspell ë¼ì´ë¸ë¬ë¦¬ ë²ì .27.* ì´íì ë²ì ìì ì¤íë©ëë¤. ì´ ëª¨ëê³¼ ë¤ë¥¸ ë²ì ¼ì aspell ë¼ì´ë¸ë¬ë¦¬ììë ëì´ì ì§ìëì§ ììµëë¤. PHPìì ë¨ì´ ê²ì¬ë¥¼ í ê²½ì° <link linkend="ref.pspell">pspell</link> í¨ì를 ì¬ì©íì¸ì. pspellí¨ìë pspell ë¼ì´ë¸ë¬ë¦¬ë¥¼ ì¬ì©íê³ ìµì ë²ì ì aspellê³¼ í¨ê» ì¤íë©ëë¤.</simpara> + </note> + <simpara> + aspell ë¼ì´ë¸ë¬ë¦¬ë <ulink url="&url.aspell;">&url.aspell;</ulink> ìì 구í ì ììµëë¤. </simpara> - </partintro> - - <refentry id="function.aspell-new"> - <refnamediv> - <refname>aspell_new</refname> - <refpurpose>Load a new dictionary</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> opens up a new dictionary and - returns the dictionary link identifier for use in other aspell - functions.</simpara> - <para> - <example> - <title><function>Aspell_new</function></title> - <programlisting role="php"> + </partintro> + <refentry id="function.aspell-new"> + <refnamediv> + <refname>aspell_new</refname> + <refpurpose>ì ì¬ì ì´ê¸°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </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> í¨ìë ì ì¬ì ì ì´ê³ ë¤ë¥¸ aspell í¨ììì ì¬ì©í ì ìë ì¬ì ì°ê²° identifier 를 ë°íí©ëë¤.</simpara> + <para> + <example> + <title> + <function>Aspell_new</function> + </title> + <programlisting role="php"> $aspell_link=aspell_new ("english"); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.aspell-check"> - <refnamediv> - <refname>aspell_check</refname> - <refpurpose>Check a word</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> checks the spelling of a word - and returns true if the spelling is correct, false if not. + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.aspell-check"> + <refnamediv> + <refname>aspell_check</refname> + <refpurpose>ë¨ì´ ê²ì¬</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </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> í¨ìë ë¨ì´ë¥¼ ê²ì¬íê³ ë¨ì´ê° ì¬ë°ë¥¼ ê²½ì° true, í릴 ê²½ì° false를 ë°íí©ëë¤. </simpara> - <para> - <example> - <title><function>Aspell_check</function></title> - <programlisting> + <para> + <example> + <title> + <function>Aspell_check</function> + </title> + <programlisting> $aspell_link=aspell_new ("english"); if (aspell_check ($aspell_link, "testt")) { echo "This is a valid spelling"; @@ -81,36 +77,37 @@ echo "Sorry, wrong spelling"; } </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.aspell-check-raw"> - <refnamediv> - <refname>aspell_check_raw</refname> - <refpurpose> - Check a word without changing its case or trying to trim it + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.aspell-check-raw"> + <refnamediv> + <refname>aspell_check_raw</refname> + <refpurpose> + ë¨ì´ì ì² ìê° ì¬ë°ë¥¸ì§ë§ ê²ì¬ </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>boolean <function>aspell_check_raw</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Aspell_check_raw</function> checks the spelling of a - word, without changing its case or trying to trim it in any way - and returns true if the spelling is correct, false if not. - </simpara> - <para> - <example> - <title><function>Aspell_check_raw</function></title> - <programlisting role="php"> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>boolean <function>aspell_check_raw</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>word</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Aspell_check_raw</function> í¨ìë ë¨ì´ê° ì¬ë°ë¥¸ì§ë§ ê²ì¬í©ëë¤. ë¨ì´ê° ì¬ë°ë¥¼ ê²½ì° true, í릴 ê²½ì° false를 ë°íí©ëë¤.</simpara> + <para> + <example> + <title> + <function>Aspell_check_raw</function> + </title> + <programlisting role="php"> $aspell_link=aspell_new ("english"); if (aspell_check_raw ($aspell_link, "test")) { echo "This is a valid spelling"; @@ -118,33 +115,36 @@ echo "Sorry, wrong spelling"; } </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.aspell-suggest"> - <refnamediv> - <refname>aspell_suggest</refname> - <refpurpose>Suggest spellings of a word</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <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> returns an array of possible - spellings for the given word. + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.aspell-suggest"> + <refnamediv> + <refname>aspell_suggest</refname> + <refpurpose> ë¨ì´ì ëí ì¶ì²ë¨ì´ë¥¼ ì ì</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <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>í¨ìë 주ì´ì§ ë¨ì´ì ëí ì¶ì²ë¨ì´ë¥¼ ë°°ì´íì¼ë¡ ë°íí©ëë¤. </simpara> - <para> - <example> - <title><function>Aspell_suggest</function></title> - <programlisting role="php"> + <para> + <example> + <title> + <function>Aspell_suggest</function> + </title> + <programlisting role="php"> $aspell_link=aspell_new ("english"); if (!aspell_check ($aspell_link, "test")) { @@ -155,13 +155,11 @@ } } </programlisting> - </example> - </para> - </refsect1> - </refentry> - - </reference> - + </example> + </para> + </refsect1> + </refentry> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml Index: phpdoc/kr/functions/bc.xml diff -u phpdoc/kr/functions/bc.xml:1.2 phpdoc/kr/functions/bc.xml:1.3 --- phpdoc/kr/functions/bc.xml:1.2 Fri Jan 12 06:16:39 2001 +++ phpdoc/kr/functions/bc.xml Wed Jan 31 06:33:37 2001 @@ -1,287 +1,291 @@ - <reference id="ref.bc"> - <title>BCMath Arbitrary Precision Mathematics Functions</title> - <titleabbrev>BC math</titleabbrev> - - <partintro> - <para> - These functions are only available if PHP was configured with - <option role="configure">--enable-bcmath</option>. +<!-- edited by Jeongha Kwon(SuViA) --> +<reference id="ref.bc"> + <title>BCMath Arbitrary Precision ìí í¨ì</title> + <titleabbrev>BC math</titleabbrev> + <partintro> + <para> + ì´ í¨ìë PHP ì»´íì¼ ì¤ì ì + <option role="configure">--enable-bcmath</option> ìµì ì´ ì£¼ì´ì¡ì ê²½ì°ìë§ ì¬ì© ê°ë¥í©ëë¤. </para> - <note> - <para> - Due to changes in the licensing, the BCMATH library is distributed - separate from the standard PHP source distribution. - You can download the tar-gzipped archive at the url: - <ulink url="&url.bcmath;">&url.bcmath;</ulink>. Read the - file <filename>README.BCMATH</filename> in the PHP distribution - for more information. - </para> - </note> - </partintro> - - <refentry id="function.bcadd"> - <refnamediv> - <refname>bcadd</refname> - <refpurpose>Add two arbitrary precision numbers</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcadd</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>right operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Adds the <parameter>left operand</parameter> to the - <parameter>right operand</parameter> and returns the sum in a - string. The optional <parameter>scale</parameter> parameter is - used to set the number of digits after the decimal place in the - result. - </para> - <para> - See also <function>bcsub</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bccomp"> - <refnamediv> - <refname>bccomp</refname> - <refpurpose>Compare two arbitrary precision numbers</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>bccomp</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>right operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Compares the <parameter>left operand</parameter> to the - <parameter>right operand</parameter> and returns the result as an - integer. The optional <parameter>scale</parameter> parameter is - used to set the number of digits after the decimal place which - will be used in the comparion. The return value is 0 if the two - operands are equal. If the <parameter>left operand</parameter> - is larger than the <parameter>right operand</parameter> the - return value is +1 and if the <parameter>left operand</parameter> - is less than the <parameter>right operand</parameter> the return - value is -1. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcdiv"> - <refnamediv> - <refname>bcdiv</refname> - <refpurpose>Divide two arbitrary precision numbers</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcdiv</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>right operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Divides the <parameter>left operand</parameter> by the - <parameter>right operand</parameter> and returns the result. The - optional <parameter>scale</parameter> sets the number of digits - after the decimal place in the result. - </para> - <para> - See also <function>bcmul</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcmod"> - <refnamediv> - <refname>bcmod</refname> - <refpurpose> - Get modulus of an arbitrary precision number + <note> + <para> + ë¼ì´ì¼ì¤ê° ë°ëëê¹ì§ BCMATH ë¼ì´ë¸ë¬ë¦¬ë PHP ìì¤ ë°°í¬íì í¬í¨ëì§ ìê³ ë°ë¡ ë°°í¬ë©ëë¤. + tar-gzipíìì BCMATHë¼ì´ë¸ë¬ë¦¬ë¥¼ ë¤ìì urlìì ë¤ì´ ë°ìì ììµëë¤: + <ulink url="&url.bcmath;">&url.bcmath;</ulink> . ë ìì¸í ì 보를 ìíë©´ PHP ë°°í¬íìì <filename>README.BCMATH</filename> 를 ì½ì´ë³´ì¸ì. (ìì주: PHP 4.0.4ë²ì ì´íë¶í°ë BCMATH ë¼ì´ë¸ë¬ë¦¬ ë¼ì´ì¼ì¤ê° LGPLë¡ ë°ëì´ì PHPìì¤ ë°°í¬íì í¬í¨ëì´ ììµëë¤.) + </para> + </note> + </partintro> + <refentry id="function.bcadd"> + <refnamediv> + <refname>bcadd</refname> + <refpurpose>ë arbitrary precision number를 ëí기</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcadd</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>right operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>ì + <parameter>right operand</parameter>를 ëí´ì í©ì 문ìì´ë¡ ë°íí©ëë¤. ì íì¬íì¸ <parameter>scale</parameter>ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì: <function>bcsub</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bccomp"> + <refnamediv> + <refname>bccomp</refname> + <refpurpose>ë arbitrary precision number ë¹êµ</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>bccomp</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>right operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>ì + <parameter>right operand</parameter>를 ë¹êµí´ì ì ìíì ê°ì ë°íí©ëë¤.. ì íì¬íì¸ <parameter>scale</parameter>ë ìì ëªì리ê¹ì§ ë¹êµí ì§ ì í©ëë¤. ë ê°ì´ ê°ì ê²½ì° 0,<parameter>left operand</parameter> + ê°<parameter>right operand</parameter>ë³´ë¤ í¬ë©´ +1,<parameter>left operand</parameter> + ê°<parameter>right operand</parameter>ë³´ë¤ í¬ë©´ -1ì ë°íí©ëë¤. + </para> + </refsect1> + </refentry> + <refentry id="function.bcdiv"> + <refnamediv> + <refname>bcdiv</refname> + <refpurpose>arbitrary precision number ëë기</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcdiv</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>right operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>를 + <parameter>right operand</parameter>ë¡ ëë 결과를 ë°íí©ëë¤ ì íì¬íì¸ <parameter>scale</parameter> ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì: <function>bcmul</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bcmod"> + <refnamediv> + <refname>bcmod</refname> + <refpurpose> + arbitrary precision numberì ëë¨¸ì§ êµ¬í기 </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcmod</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>modulus</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - Get the modulus of the <parameter>left operand</parameter> using - <parameter>modulus</parameter>. - </para> - <para> - See also <function>bcdiv</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcmul"> - <refnamediv> - <refname>bcmul</refname> - <refpurpose>Multiply two arbitrary precision number</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcmul</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>right operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Multiply the <parameter>left operand</parameter> by the - <parameter>right operand</parameter> and returns the result. The - optional <parameter>scale</parameter> sets the number of digits - after the decimal place in the result. - </para> - <para> - See also <function>bcdiv</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcpow"> - <refnamediv> - <refname>bcpow</refname> - <refpurpose> - Raise an arbitrary precision number to another + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcmod</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>modulus</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>를 + <parameter>modulus</parameter>ë¡ ëë ë머ì§ë¥¼ 구í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì: <function>bcdiv</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bcmul"> + <refnamediv> + <refname>bcmul</refname> + <refpurpose>ëarbitrary precision number ê³±í기</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcmul</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>right operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>ì + <parameter>right operand</parameter>를 ê³±í´ì 결과를 ë°íí©ëë¤. ì íì¬íì¸ <parameter>scale</parameter> ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì:<function>bcdiv</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bcpow"> + <refnamediv> + <refname>bcpow</refname> + <refpurpose> +arbitrary precision number를 ì ê³±í기</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcpow</function> + </funcdef> + <paramdef>string <parameter>x</parameter> + </paramdef> + <paramdef>string <parameter>y</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>x</parameter>ì + <parameter>y</parameter>ì¹ì 구í©ëë¤. ì íì¬íì¸ + <parameter>scale</parameter> ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì: <function>bcsqrt</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bcscale"> + <refnamediv> + <refname>bcscale</refname> + <refpurpose> + 모ë bc ìíí¨ìì 기본 scale íë¼ë¯¸í° ì§ì . </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcpow</function></funcdef> - <paramdef>string <parameter>x</parameter></paramdef> - <paramdef>string <parameter>y</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Raise <parameter>x</parameter> to the power - <parameter>y</parameter>. The optional - <parameter>scale</parameter> can be used to set the number of - digits after the decimal place in the result. - </para> - <para> - See also <function>bcsqrt</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcscale"> - <refnamediv> - <refname>bcscale</refname> - <refpurpose> - Set default scale parameter for all bc math functions + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcscale</function> + </funcdef> + <paramdef>int <parameter>scale</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + ì´ í¨ìë scale íë¼ë¯¸í°ë¥¼ ì§ì íì§ ìì ì´íì 모ë bc ìíí¨ìì ëí´ ê¸°ë³¸ scale íë¼ë¯¸í°ë¥¼ ì§ì í©ëë¤. + </para> + </refsect1> + </refentry> + <refentry id="function.bcsqrt"> + <refnamediv> + <refname>bcsqrt</refname> + <refpurpose> + arbitray precision numberì ì 곱근 구í기 </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcscale</function></funcdef> - <paramdef>int <parameter>scale</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <para> - This function sets the default scale parameter for all subsequent - bc math functions that do not explicitly specify a scale - parameter. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcsqrt"> - <refnamediv> - <refname>bcsqrt</refname> - <refpurpose> - Get the square root of an arbitray precision number + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcsqrt</function> + </funcdef> + <paramdef>string <parameter>operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>operand</parameter>ì ì 곱근ì ë°íí©ëë¤. + ì íì¬íì¸ <parameter>scale</parameter> ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨í¨ì:<function>bcpow</function>. + </para> + </refsect1> + </refentry> + <refentry id="function.bcsub"> + <refnamediv> + <refname>bcsub</refname> + <refpurpose> + í arbitrary precision numberìì ë¤ë¥¸ arbitrary precision number를 빼기 </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcsqrt</function></funcdef> - <paramdef>string <parameter>operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Return the square root of the <parameter>operand</parameter>. - The optional <parameter>scale</parameter> parameter sets the - number of digits after the decimal place in the result. - </para> - <para> - See also <function>bcpow</function>. - </para> - </refsect1> - </refentry> - - <refentry id="function.bcsub"> - <refnamediv> - <refname>bcsub</refname> - <refpurpose> - Subtract one arbitrary precision number from another - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>string <function>bcsub</function></funcdef> - <paramdef>string <parameter>left operand</parameter></paramdef> - <paramdef>string <parameter>right operand</parameter></paramdef> - <paramdef>int - <parameter><optional>scale</optional></parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <para> - Subtracts the <parameter>right operand</parameter> from the - <parameter>left operand</parameter> and returns the result in a - string. The optional <parameter>scale</parameter> parameter is - used to set the number of digits after the decimal place in the - result. - </para> - <para> - See also <function>bcadd</function>. - </para> - </refsect1> - </refentry> - - </reference> - + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>string <function>bcsub</function> + </funcdef> + <paramdef>string <parameter>left operand</parameter> + </paramdef> + <paramdef>string <parameter>right operand</parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>scale</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <para> + <parameter>left operand</parameter>ìì + <parameter>right operand</parameter>를 ë¹¼ì 결과를 문ìì´ë¡ ë°íí©ëë¤. ì íì¬íì¸ <parameter>scale</parameter> ë ê²°ê³¼ê°ì ìì ì리ì를 ì§ì í©ëë¤. + </para> + <para> + ê´ë ¨ í¨ì: <function>bcadd</function>. + </para> + </refsect1> + </refentry> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml Index: phpdoc/kr/functions/ccvs.xml diff -u phpdoc/kr/functions/ccvs.xml:1.2 phpdoc/kr/functions/ccvs.xml:1.3 --- phpdoc/kr/functions/ccvs.xml:1.2 Fri Jan 12 06:16:39 2001 +++ phpdoc/kr/functions/ccvs.xml Wed Jan 31 06:33:37 2001 @@ -1,3 +1,4 @@ +<!-- edited by Jeongha Kwon(SuViA) --> <!-- CCVS Documentation by Brendan W. McAdams <brendan@plexmedia.com> Copyright (c) 2000 by the PHP Group @@ -6,73 +7,47 @@ documentation for the php3 version of this module, which helped us start this document. --> - - <reference id="ref.ccvs"> - <title>CCVS API Functions</title> - <titleabbrev>CCVS</titleabbrev> - - <partintro> - <simpara> - These functions interface the CCVS API, allowing you to directly - work with CCVS from your PHP scripts. CCVS is <ulink - url="&url.redhat;">RedHat's</ulink> solution to the "middle-man" - in credit card processing. It lets you directly address the - credit card clearing houses via your *nix box and a modem. Using - the CCVS module for PHP, you can process credit cards directly - through CCVS via your PHP Scripts. The following references will - outline the process. +<reference id="ref.ccvs"> + <title>CCVS API í¨ì</title> + <titleabbrev>CCVS</titleabbrev> + <partintro> + <simpara> + ì´ í¨ìë PHPì¤í¬ë¦½í¸ìì CCVSì ì§ì ì°ê²°ì íë½íë CCVS API ì¸í°íì´ì¤ì ëë¤. CCVSë <ulink url="&url.redhat;">RedHatì</ulink> "ì¤ê°ìì¸"ì ìí ì¹´ëê²°ì¬ ì²ë¦¬ ì루ì ì ëë¤. ì´ê²ì ê°ì ìì *nix boxë 모ëì íµí´ ì ì©ì¹´ë를 ì¬ì©í ì ìê² í©ëë¤. CCVS 모ëì ì¬ì©íë©´ PHPì¤í¬ë¦½í¸ë¥¼ ì¬ì©í´ì CCVS를 íµí´ ì§ì ì ì©ì¹´ë를 ì²ë¦¬í ì ììµëë¤. ë¤ìì ê·¸ê²ì ëí ê°ë¨í ì¤ëª ì ëë¤. </simpara> - <simpara> - To enable CCVS Support in PHP, first verify your CCVS installation - directory. You will then need to configure PHP with the <option - role="configure">--with-ccvs</option> option. If you use this - option without specifying the path to your CCVS installation, PHP - Will attempt to look in the default CCVS Install location - (/usr/local/ccvs). If CCVS is in a non-standard location, run - configure with: <option - role="configure">--with-ccvs=$ccvs_path</option>, where $ccvs_path - is the path to your CCVS installation. Please note that CCVS - support requires that $ccvs_path/lib and $ccvs_path/include exist, - and include cv_api.h under the include directory and libccvs.a - under the lib directory. + <simpara> + PHPìì CCVS를 ì§ìíê² í ë ¤ë©´ CCVSê° ì ëë¡ ì¤ì¹ ëìëì§ íì¸í´ì¼ í©ëë¤. ê·¸ë¦¬ê³ PHP를 <option role="configure">--with-ccvs</option> ìµì ì ì¬ì©í´ì ì»´íì¼ ì¤ì ì í´ì¼í©ëë¤. ë§ì½ CCVSì¤ì¹ ê²½ë¡ë¥¼ ì§ì íì§ ìê³ ì´ ìµì ì ì¬ì©íë©´ PHPë CCVS 기본ì¤ì¹ ê²½ë¡(/usr/local/ccvs)를 íì¸í©ëë¤. ë§ì½ CCVS를 ë¤ë¥¸ ê²½ë¡ì ì¤ì¹ íì ¨ë¤ë©´, <option role="configure">--with-ccvs=$ccvs_path</option>ìµì ì ì¬ì©í´ì ì»´íì¼ ì¤ì ì íì ì¼í©ëë¤. $ccvs_pathë CCVSê° ì¤ì¹ë ê²½ë¡ì ëë¤. CCVS를 ì§ìí기 ìí´ìë $ccvs_path/libì $ccvs_path/include ê²½ë¡ê° ì¡´ì¬í´ì¼ íê³ iclude ëë í 리ìë cv_api.hê°, lib ëë í 리ìë libccvs.aê° ìì´ì¼ ë©ëë¤. </simpara> - <simpara> - Additionally, a ccvsd process will need to be running for the - configurations you intend to use in your PHP scripts. You will - also need to make sure the PHP Processes are running under the - same user as your CCVS was installed as (e.g. if you installed - CCVS as user 'ccvs', your PHP processes must run as 'ccvs' as - well.) + <simpara> + ëí, ccvsd íë¡ì¸ì¤ë PHP ì¤í¬ë¦½í¸ë¥¼ ì¬ì©í ì ìê² ì¤ì ì´ ë ìíìì ì¤íì í´ì¼í©ëë¤.. ê·¸ë¦¬ê³ PHP íë¡ì¸ì¤ì CCVSíë¡ì¸ì¤ê° ê°ì ì¬ì©ìì IDë¡ ì¤íì´ ëì´ì¼ í©ëë¤. (ì를 ë¤ì´, CCVS를 'ccvs'ì¬ì©ìë¡ ì¤ì¹ë¥¼ íì¼ë©´, PHP íë¡ì¸ì¤ë 'ccvs' ì¬ì©ìë¡ ì¤íì´ ëì´ì¼ í©ëë¤. </simpara> - <simpara> - Additional information about CCVS can be found at <ulink - url="&url.redhat.ccvs;">&url.redhat.ccvs;</ulink>. + <simpara> + CCVSì ëí ì¶ê° ì ë³´ë<ulink url="&url.redhat.ccvs;">&url.redhat.ccvs;</ulink>ìì ì°¾ì ì ììµëë¤. </simpara> - <simpara> - This documentation section is being worked on. Until then, RedHat - maintains slightly outdated but still useful documentation at - <ulink url="&url.redhat.support;">&url.redhat.support;</ulink>. + <simpara> + ì´ ë¬¸ìë ìì ì¤ì ëë¤. RedHatì ìë£ë ì¡°ê¸ ì¤ëëìì§ë§ + <ulink url="&url.redhat.support;">&url.redhat.support;</ulink>ì ì ì©í ì ë³´ê° ììµëë¤. </simpara> - </partintro> - - <refentry> - <refnamediv> - <refname></refname> - <refpurpose></refpurpose> - </refnamediv> - <refsect1> - <title></title> - <funcsynopsis> - <funcprototype> - <funcdef> <function></function></funcdef> - <paramdef> <parameter></parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsect1> - </refentry> - - </reference> - + </partintro> + <refentry> + <refnamediv> + <refname/> + <refpurpose/> + </refnamediv> + <refsect1> + <title/> + <funcsynopsis> + <funcprototype> + <funcdef> + <function/> + </funcdef> + <paramdef> + <parameter/> + </paramdef> + </funcprototype> + </funcsynopsis> + </refsect1> + </refentry> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml Index: phpdoc/kr/functions/pspell.xml diff -u phpdoc/kr/functions/pspell.xml:1.2 phpdoc/kr/functions/pspell.xml:1.3 --- phpdoc/kr/functions/pspell.xml:1.2 Fri Jan 12 06:16:40 2001 +++ phpdoc/kr/functions/pspell.xml Wed Jan 31 06:33:37 2001 @@ -1,47 +1,43 @@ - <reference id="ref.pspell"> - <title>Pspell Functions</title> - <titleabbrev>Pspell</titleabbrev> - - <partintro> - <simpara> - These functions allow you to check the spelling of a word and offer - suggestions. +<!-- edited by Jeongha Kwon(SuViA) --> +<reference id="ref.pspell"> + <title>Pspell í¨ì</title> + <titleabbrev>Pspell</titleabbrev> + <partintro> + <simpara> + ì´ í¨ìë ë¨ì´ì ì² ì를 ê²ì¬íê³ ì¶ì²íë ë¨ì´ë¥¼ ì ìí©ëë¤. </simpara> - <simpara> - You need the aspell and pspell libraries, available from <ulink - url="&url.aspell;">&url.aspell;</ulink> and - <ulink url="&url.pspell;">&url.pspell;</ulink> respectively, and - add the <option role="configure">--with-pspell[=dir]</option> option - when compiling php. + <simpara> + ì´ í¨ì를 ì¬ì©í기 ìí´ìë aspell ë¼ì´ë¸ë¬ë¦¬ì pspell ë¼ì´ë¸ë¬ë¦¬ê° íìí©ëë¤. ê°ê° <ulink url="&url.aspell;">&url.aspell;</ulink> ì + <ulink url="&url.pspell;">&url.pspell;</ulink> ìì ë¤ì´ë¡ë í ì ììµëë¤. ê·¸ë¦¬ê³ PHP ì»´íì¼ì <option role="configure">--with-pspell[=dir]</option> ìµì ì ì¶ê°í´ì¼í©ëë¤. </simpara> - </partintro> - - <refentry id="function.pspell-add-to-personal"> - <refnamediv> - <refname>pspell_add_to_personal</refname> - <refpurpose>Add the word to a personal wordlist.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_add_to_personal</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_add_to_personal</function> adds a word to the personal - wordlist. If you used <function>pspell_new_config</function> with - <function>pspell_config_personal</function> to open the dictionary, - you can save the wordlist later with - <function>pspell_save_wordlist</function>. Please, note that this function - will not work unless you have pspell .11.2 and aspell .32.5 or later. - </simpara> - <para> - <example> - <title><function>Pspell_add_to_personal</function></title> - <programlisting role="php"> + </partintro> + <refentry id="function.pspell-add-to-personal"> + <refnamediv> + <refname>pspell_add_to_personal</refname> + <refpurpose>ì¬ì©ì ë¨ì´ëª©ë¡ì ë¨ì´ ì¶ê°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_add_to_personal</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>word</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_add_to_personal</function> í¨ìë ì¬ì©ì ë¨ì´ëª©ë¡ì ë¨ì´ë¥¼ ì¶ê°í©ëë¤. ë§ì½ ì¬ì ì ì´ë<function>pspell_new_config</function> í¨ìì + <function>pspell_config_personal</function> í¨ì를 ì¬ì©íë©´ ëì¤ì <function>pspell_save_wordlist</function>í¨ì를 ì¬ì©í´ì ë¨ì´ëª©ë¡ì ì ì¥í ì ììµëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_add_to_personal</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); $pspell_link = pspell_new_config ($pspell_config); @@ -49,56 +45,60 @@ pspell_add_to_personal ($pspell_link, "Vlad"); pspell_save_wordlist ($pspell_link); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-add-to-session"> - <refnamediv> - <refname>pspell_add_to_session</refname> - <refpurpose>Add the word to the wordlist in the current session. + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-add-to-session"> + <refnamediv> + <refname>pspell_add_to_session</refname> + <refpurpose>íì¬ ì¸ì ì ë¨ì´ëª©ë¡ì ë¨ì´ ì¶ê° </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_add_to_session</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_add_to_session</function> adds a word to the wordlist - associated with the current session. It is very similar to + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_add_to_session</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>word</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_add_to_session</function> í¨ìë íì¬ ì¸ì ì ë¨ì´ëª©ë¡ì ë¨ì´ë¥¼ ì¶ê°í©ëë¤. ì´ê²ì ë¤ì í¨ìì ë§¤ì° ë¹ì·í©ëë¤. <function>pspell_add_to_personal</function> - </simpara> - </refsect1> - </refentry> - - <refentry id="function.pspell-check"> - <refnamediv> - <refname>pspell_check</refname> - <refpurpose>Check a word</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>boolean <function>pspell_check</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_check</function> checks the spelling of a word - and returns true if the spelling is correct, false if not. - </simpara> - <para> - <example> - <title><function>Pspell_check</function></title> - <programlisting role="php"> + </simpara> + </refsect1> + </refentry> + <refentry id="function.pspell-check"> + <refnamediv> + <refname>pspell_check</refname> + <refpurpose>ë¨ì´ ê²ì¬</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>boolean <function>pspell_check</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>word</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_check</function> í¨ìë ë¨ì´ì ì² ì를 ê²ì¬íê³ ì¬ë°ë¥¼ ê²½ì° true, íë¦´ê²½ì° false를 ë°íí©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_check</function> + </title> + <programlisting role="php"> $pspell_link = pspell_new ("en"); if (pspell_check ($pspell_link, "testt")) { @@ -107,33 +107,34 @@ echo "Sorry, wrong spelling"; } </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-clear-session"> - <refnamediv> - <refname>pspell_clear_session</refname> - <refpurpose>Clear the current session.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_clear_session</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_clear_session</function> clears the current session. - The current wordlist becomes blank, and, for example, if you try to save - it with <function>pspell_save_wordlist</function>, nothing happens. - </simpara> - <para> - <example> - <title><function>Pspell_add_to_personal</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-clear-session"> + <refnamediv> + <refname>pspell_clear_session</refname> + <refpurpose>íì¬ ì°ê²°ë ì¸ì ì ê±°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_clear_session</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_clear_session</function>í¨ìë íì¬ ì°ê²°ë ì¸ì ì ì ê±°í©ëë¤. íì¬ ë¨ì´ëª©ë¡ì ë¹ìì§ëë¤. ì를ë¤ì´ <function>pspell_save_wordlist</function>í¨ì를 ì¬ì©í´ì ë¨ì´ëª©ë¡ì ì ì¥í ë ¤ê³ íë©´ ì무ì¼ë ìê¸°ì§ ììµëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_add_to_personal</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); $pspell_link = pspell_new_config ($pspell_config); @@ -142,651 +143,588 @@ pspell_clear_session ($pspell_link); pspell_save_wordlist ($pspell_link); //"Vlad" will not be saved </programlisting> - </example> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-create"> + <refnamediv> + <refname>pspell_config_create</refname> + <refpurpose>ì¬ì ì ì´ë ì¬ì©í ì¤ì ì ìì±</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_create</function> + </funcdef> + <paramdef>string <parameter>language</parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>spelling</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>jargon</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>encoding</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_create</function> í¨ìë + <function>pspell_new</function>í¨ìì 매ì°ë¹ì·í 문ë²ì ëë¤. ì¬ì¤ + <function>pspell_new_config</function>í¨ì를 ì¬ì©í ì´íì + <function>pspell_config_create</function>í¨ì를 ì¬ì©íê² ëë©´ ëì¼í 결과를 ëíë¼ ê²ì ëë¤. + í¥ìë 기ë¥ì ì¬ì©í기 ìí´ìë ìë¡ì´ ì¤ì ì ë§ë¤ìëë¼ë + <function>pspell_new_config</function> í¨ì를 í¸ì¶í기 ì ì + <function>pspell_config_*</function> í¨ì를 ì¬ì©í´ì¼í©ëë¤. + </simpara> + <para> + language íë¼ë¯¸í°ë ëìë¡ ë ISO 639 ì¸ì´ ì½ëì ëë¤. ì íì ì¼ë¡ ISO 639 ì¸ì´ ì½ë ì´í '-' ë '_' 를 ì ê³ ëìë¡ ë ISO 3166 êµê°ì½ë를 ì¶ê°í ì ììµëë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-create"> - <refnamediv> - <refname>pspell_config_create</refname> - <refpurpose>Create a config used to open a dictionary.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_create</function></funcdef> - <paramdef>string <parameter>language</parameter></paramdef> - <paramdef>string - <parameter> - <optional>spelling</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>jargon</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>encoding</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_create</function> has a very similar syntax to - <function>pspell_new</function>. In fact, using - <function>pspell_config_create</function> immediatelly followed by - <function>pspell_new_config</function> will produce the exact same result. - However, after creating a new config, you can also use - <function>pspell_config_*</function> functions before calling - <function>pspell_new_config</function> to take advantage of some - advanced functionality. - </simpara> - <para> - The language parameter is the language code which consists of the - two letter ISO 639 language code and an optional two letter ISO - 3166 country code after a dash or underscore. - </para> - <para> - The spelling parameter is the requested spelling for languages - with more than one spelling such as English. Known values are - 'american', 'british', and 'canadian'. - </para> - <para> - The jargon parameter contains extra information to distinguish - two different words lists that have the same language and - spelling parameters. - </para> - <para> - The encoding parameter is the encoding that words are expected to - be in. Valid values are 'utf-8', 'iso8859-*', 'koi8-r', + <para> + spelling íë¼ë¯¸í°ë English ì ê°ì´ í ì² ì ì´ìì ì² ìê° ìë ì¸ì´ì ëí´ ì² ì를 ì§ì í©ëë¤. English ì ê²½ì° ìë ¤ì§ ê°ìë 'american', 'british', and 'canadian' ê° ììµëë¤. + </para> + <para> + jargon íë¼ë¯¸í°ë ëì¼í languageì spelling íë¼ë¯¸í°ë¥¼ ê°ì§ê³ ìë ë ë¤ë¥¸ ë¨ì´ 목ë¡ì 구ë³í기 ìí ì¶ê°ì ë³´ì ëë¤. + </para> + <para> + encoding íë¼ë¯¸í°ë ë¨ì´ì ì¸ì½ë© ì ë³´ì ëë¤. ê°ë¥í ê°ìë 'utf-8', 'iso8859-*', 'koi8-r', 'viscii', 'cp1252', 'machine unsigned 16', 'machine unsigned - 32'. This parameter is largely untested, so be careful when - using. + 32' ê° ììµëë¤. ì´ íë¼ë¯¸í°ë ê±°ì í ì¤í¸ëì§ ììì¼ë, ì¬ì©í ë 주ìíì¸ì. </para> - <para> - The mode parameter is the mode in which spellchecker will work. - There are several modes available: + <para> + mode íë¼ë¯¸í°ë ë¨ì´ê²ì¬ê¸°ì ì¤í모ëì ëë¤. + ìëì ëªê°ì§ ê°ë¥í 모ëê° ììµëë¤. <itemizedlist> - <listitem> - <simpara> - PSPELL_FAST - Fast mode (least number of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_NORMAL - Normal mode (more suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions) - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - For more information and examples, check out inline manual pspell - website:<ulink url="&url.pspell;">&url.pspell;</ulink>. - </para> - <para> - <example> - <title><function>Pspell_config_create</function></title> - <programlisting role="php"> + <listitem> + <simpara> + PSPELL_FAST - ë¹ ë¥¸ ì¤í모ë (ìµìíì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_NORMAL - ë³´íµ ì¤í모ë (ë ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_BAD_SPELLERS - ë린 ì¤í모ë (ê°ì¥ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + </itemizedlist> + </para> + <para> + ìì¸í ì ë³´ì ìì ë pspell ì¹ì¬ì´í¸(<ulink url="&url.pspell;">&url.pspell;</ulink>)ì 매ë´ì¼ì ì°¸ê³ íì¸ì. + </para> + <para> + <example> + <title> + <function>Pspell_config_create</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); pspell_config_repl ($pspell_config, "/var/dictionaries/custom.repl"); $pspell_link = pspell_new_personal (pspell_config); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-ignore"> - <refnamediv> - <refname>pspell_config_ignore</refname> - <refpurpose>Ignore words less than N characters long.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_ignore</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>int <parameter>n</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_ignore</function> should be used on a config - before calling <function>pspell_new_config</function>. This function - allows short words to be skipped by the spellchecker. Words less then - n characters will be skipped. - </simpara> - <para> - <example> - <title><function>Pspell_config_ignore</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-ignore"> + <refnamediv> + <refname>pspell_config_ignore</refname> + <refpurpose>문ìì 길ì´ê° në³´ë¤ ìì ë¨ì´ë 무ì</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_ignore</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>int <parameter>n</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_ignore</function> í¨ìë<function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ì´ ëì´ì¼ í©ëë¤. ì´ í¨ìë 문ì길ì´ê° në³´ë¤ ìì ë¨ì´ë ê²ì¬íì§ ìê³ ë¬´ìí©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_config_ignore</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_ignore($pspell_config, 5); $pspell_link = pspell_new_config($pspell_config); pspell_check($pspell_link, "abcd"); //will not result in an error </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-mode"> - <refnamediv> - <refname>pspell_config_mode</refname> - <refpurpose>Change the mode number of suggestions returned.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_mode</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>int <parameter>mode</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_mode</function> should be used on a config - before calling <function>pspell_new_config</function>. This function - determines how many suggestions will be returned by - <function>pspell_suggest</function>. + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-mode"> + <refnamediv> + <refname>pspell_config_mode</refname> + <refpurpose>ë°íëë ì¶ì²ë¨ì´ì ì를 ê²°ì íë ì¤í모ë ë³ê²½</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_mode</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>int <parameter>mode</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_mode</function>í¨ìë <function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ëì´ì¼ í©ëë¤. ì´ í¨ìë + <function>pspell_suggest</function>í¨ìì ìí´ ë°íëë ì¶ì² ë¨ì´ì ì를 ê²°ì í©ëë¤. </simpara> - <para> - The mode parameter is the mode in which spellchecker will work. - There are several modes available: + <para> + mode íë¼ë¯¸í°ë ë¨ì´ê²ì¬ê¸°ì ì¤í모ëì ëë¤. + ìëì ëªê°ì§ ê°ë¥í 모ëê° ììµëë¤. <itemizedlist> - <listitem> - <simpara> - PSPELL_FAST - Fast mode (least number of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_NORMAL - Normal mode (more suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions) - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - <example> - <title><function>Pspell_config_mode</function></title> - <programlisting role="php"> + <listitem> + <simpara> + PSPELL_FAST - ë¹ ë¥¸ ì¤í모ë (ìµìíì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_NORMAL - ë³´íµ ì¤í모ë (ë ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_BAD_SPELLERS - ë린 ì¤í모ë (ê°ì¥ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + </itemizedlist> + </para> + <para> + <example> + <title> + <function>Pspell_config_mode</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_mode($pspell_config, PSPELL_FAST); $pspell_link = pspell_new_config($pspell_config); pspell_check($pspell_link, "thecat"); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-personal"> - <refnamediv> - <refname>pspell_config_personal</refname> - <refpurpose>Set a file that contains personal wordlist.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_personal</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>file</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_personal</function> should be used on a config - before calling <function>pspell_new_config</function>. The personal - wordlist will be loaded and used in addition to the standard one after - you call <function>pspell_new_config</function>. If the file does not - exist, it will be created. The file is also the file where - <function>pspell_save_wordlist</function> will save personal wordlist to. - The file should be writable by whoever php runs as (e.g. nobody). Please, - note that this function will not work unless you have pspell .11.2 and - aspell .32.5 or later. - </simpara> - <para> - <example> - <title><function>Pspell_config_personal</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-personal"> + <refnamediv> + <refname>pspell_config_personal</refname> + <refpurpose>ì¬ì©ì ë¨ì´ëª©ë¡ì ì ì¥íê³ ìë íì¼ ì§ì </refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_personal</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>file</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_personal</function>ë<function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ëì´ì¼ í©ëë¤. ì¬ì©ì ë¨ì´ëª©ë¡ì ì½íì§ê³ <function>pspell_new_config</function>í¨ì를 í¸ì¶í íì íì¤ ë¨ì´ëª©ë¡ì ì¶ê°ì ì¼ë¡ ì¬ì©ë©ëë¤. íì¼ì´ ì¡´ì¬íì§ ììê²½ì° ìì±ë©ëë¤. íì¼ì + <function>pspell_save_wordlist</function>í¨ììì ì¬ì©ì ë¨ì´ëª©ë¡ì ì ì¥íë íì¼ì´ê¸°ë í©ëë¤. + íì¼ì PHP ì¤í ì¬ì©ì(ì, nobody) ê° ì°ê¸°ê°ë¥í 모ëë¡ ëì´ìì´ì¼ í©ëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_config_personal</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); $pspell_link = pspell_new_config ($pspell_config); pspell_check ($pspell_link, "thecat"); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-repl"> - <refnamediv> - <refname>pspell_config_repl</refname> - <refpurpose>Set a file that contains replacement pairs.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_repl</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>file</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_repl</function> should be used on a config - before calling <function>pspell_new_config</function>. The replacement - pairs improve the quality of the spellchecker. When a word is misspelled, - and a proper suggestion was not found in the list, - <function>pspell_store_replacement</function> can be used to store a - replacement pair and then <function>pspell_save_wordlist</function> to - save the wordlist along with the replacement pairs. The file should be - writable by whoever php runs as (e.g. nobody). Please, note that this - function will not work unless you have pspell .11.2 and aspell .32.5 or - later. - </simpara> - <para> - <example> - <title><function>Pspell_config_repl</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-repl"> + <refnamediv> + <refname>pspell_config_repl</refname> + <refpurpose>êµì ë´ì©ì í¬í¨íê³ ìë íì¼ì ì§ì </refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_repl</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>file</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_repl</function>í¨ìë <function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ëì´ì¼ í©ëë¤. êµì ë´ì©ì ë¨ì´ê²ì¬ê¸°ì ì§ì ì±ë¥ì í¥ììíµëë¤. ë¨ì´ì ì² ìê° íë¦¬ê³ ëª©ë¡ìì ì ë¹í ì¶ì²ë¨ì´ë¥¼ ì°¾ì§ ëª»íì ê²½ì°,<function>pspell_store_replacement</function>í¨ìë êµì 목ë¡ì ì ì¥íê³ <function>pspell_save_wordlist</function>í¨ìë êµì 목ë¡ì í¬í¨í ë¨ì´ëª©ë¡ì ì ì¥íëë° ì¬ì©í ì ììµëë¤. íì¼ì PHP ì¤í ì¬ì©ì(ì, nobody)ê° ì°ê¸° ê°ë¥í 모ëë¡ ëì´ ìì´ì¼ í©ëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_config_repl</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); 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_check ($pspell_link, "thecat"); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-runtogether"> - <refnamediv> - <refname>pspell_config_runtogether</refname> - <refpurpose>Consider run-together words as valid compounds.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_runtogether</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>boolean <parameter>flag</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_runtogether</function> should be used on a config - before calling <function>pspell_new_config</function>. This function - determines whether run-together words will be treated as legal - compounds. That is, "thecat" will be a legal compound, - athough there should be a space between the two - words. Changing this setting only affects the results returned - by <function>pspell_check</function>; - <function>pspell_suggest</function> will still return suggestions. - </simpara> - <para> - <example> - <title><function>Pspell_config_runtogether</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-runtogether"> + <refnamediv> + <refname>pspell_config_runtogether</refname> + <refpurpose>ì°ê²°ëë ë¨ì´ë¥¼ ì ë¹í í©ì±ì´ë¡ ê³ ë ¤</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_runtogether</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>boolean <parameter>flag</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_runtogether</function>í¨ìë <function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ëì´ì¼ í©ëë¤. ì´ í¨ìë ì°ê²°ë ë¨ì´ë¥¼ ì ë¹í í©ì±ì´ë¡ ê³ ë ¤í ì§ë¥¼ ê²°ì í©ëë¤. ì¦, ë§íìë©´ ë ë¨ì´ ì¬ì´ì 공백(space)ì´ ìì´ì¼ í ì§ë¼ë "thecat"ì ì ë¹í í©ì±ì´ê° ë©ëë¤. ì´ ì¤ì ì ë°ê¾¸ë©´ <function>pspell_check</function>í¨ìì ìí´ ë°íëë ê²°ê³¼ê°ìë§ ìí¥ì 미칩ëë¤.; + <function>pspell_suggest</function>í¨ìë ì¬ì í ì¶ì²ë¨ì´ë¥¼ ë°íí©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_config_runtogether</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_runtogether ($pspell_config, true); $pspell_link = pspell_new_config ($pspell_config); pspell_check ($pspell_link, "thecat"); </programlisting> - </example> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-config-save-repl"> + <refnamediv> + <refname>pspell_config_save_repl</refname> + <refpurpose>êµì ë´ì©ëª©ë¡ì ë¨ì´ëª©ë¡ê³¼ ê°ì´ ì ì¥í ì§ë¥¼ ê²°ì </refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_config_save_repl</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>boolean <parameter>flag</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_config_save_repl</function>í¨ìë <function>pspell_new_config</function>í¨ì를 í¸ì¶í기 ì ì ì¤ì ëì´ì¼ í©ëë¤. ì´ í¨ìë<function>pspell_save_wordlist</function>í¨ìê° êµì ë´ì©ëª©ë¡ì ë¨ì´ëª©ë¡ê³¼ ê°ì´ ì ì¥í ì§ë¥¼ ê²°ì í©ëë¤. ì¼ë°ì ì¼ë¡ ì´ í¨ìë ì¬ì©í íìê° ììµëë¤. ìëíë©´, ë§ì½<function>pspell_config_repl</function>í¨ì를 ì¬ì©íì ê²½ì°, êµì ë´ì©ì<function>pspell_save_wordlist</function>í¨ìì ìí´ ìëì¼ë¡ ì ì¥ì´ ë©ëë¤. ë§ì½ pspell_config_repl()í¨ì를 ì¬ì©íì§ ìììê²½ì° êµì ë´ì©ì ì ì¥ëì§ ììµëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤.</simpara> + </refsect1> + </refentry> + <refentry id="function.pspell-new"> + <refnamediv> + <refname>pspell_new</refname> + <refpurpose>ì ì¬ì ì´ê¸°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_new</function> + </funcdef> + <paramdef>string <parameter>language</parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>spelling</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>jargon</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>encoding</optional> + </parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>mode</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_new</function>í¨ìë ì ì¬ì ì ì´ê³ ë¤ë¥¸ pspellí¨ììì ì¬ì©í기 ìí ì¬ì ì°ê²° identifier를 ë°íí©ëë¤. + </simpara> + <para> + language íë¼ë¯¸í°ë ëìë¡ ë ISO 639 ì¸ì´ ì½ëì ëë¤. ì íì ì¼ë¡ ISO 639 ì¸ì´ ì½ë ì´í '-' ë '_' 를 ì ê³ ëìë¡ ë ISO 3166 êµê°ì½ë를 ì¶ê°í ì ììµëë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-config-save-repl"> - <refnamediv> - <refname>pspell_config_save_repl</refname> - <refpurpose>Determine whether to save a replacement pairs list - along with the wordlist.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_config_save_repl</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>boolean <parameter>flag</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_config_save_repl</function> should be used on a config - before calling <function>pspell_new_config</function>. It determines - whether <function>pspell_save_wordlist</function> will save the - replacement pairs along with the wordlist. Usually there is no need to use - this function because if <function>pspell_config_repl</function> is used, - the replacement pairs will be saved by - <function>pspell_save_wordlist</function> anyway, and if it is not, - the replacement pairs will not be saved. Please, note that this function - will not work unless you have pspell .11.2 and aspell .32.5 or later. - </simpara> - </refsect1> - </refentry> - - <refentry id="function.pspell-new"> - <refnamediv> - <refname>pspell_new</refname> - <refpurpose>Load a new dictionary</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_new</function></funcdef> - <paramdef>string <parameter>language</parameter></paramdef> - <paramdef>string - <parameter> - <optional>spelling</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>jargon</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>encoding</optional> - </parameter> - </paramdef> - <paramdef>int - <parameter> - <optional>mode</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_new</function> opens up a new dictionary and - returns the dictionary link identifier for use in other pspell - functions. - </simpara> - <para> - The language parameter is the language code which consists of the - two letter ISO 639 language code and an optional two letter ISO - 3166 country code after a dash or underscore. - </para> - <para> - The spelling parameter is the requested spelling for languages - with more than one spelling such as English. Known values are - 'american', 'british', and 'canadian'. - </para> - <para> - The jargon parameter contains extra information to distinguish - two different words lists that have the same language and - spelling parameters. - </para> - <para> - The encoding parameter is the encoding that words are expected to - be in. Valid values are 'utf-8', 'iso8859-*', 'koi8-r', + <para> + spelling íë¼ë¯¸í°ë English ì ê°ì´ í ì² ì ì´ìì ì² ìê° ìë ì¸ì´ì ëí´ ì² ì를 ì§ì í©ëë¤. English ì ê²½ì° ìë ¤ì§ ê°ìë 'american', 'british', and 'canadian' ê° ììµëë¤. + </para> + <para> + jargon íë¼ë¯¸í°ë ëì¼í languageì spelling íë¼ë¯¸í°ë¥¼ ê°ì§ê³ ìë ë ë¤ë¥¸ ë¨ì´ 목ë¡ì 구ë³í기 ìí ì¶ê°ì ë³´ì ëë¤. + </para> + <para> + encoding íë¼ë¯¸í°ë ë¨ì´ì ì¸ì½ë© ì ë³´ì ëë¤. ê°ë¥í ê°ìë 'utf-8', 'iso8859-*', 'koi8-r', 'viscii', 'cp1252', 'machine unsigned 16', 'machine unsigned - 32'. This parameter is largely untested, so be careful when - using. + 32' ê° ììµëë¤. ì´ íë¼ë¯¸í°ë ê±°ì í ì¤í¸ëì§ ììì¼ë, ì¬ì©í ë 주ìíì¸ì. </para> - <para> - The mode parameter is the mode in which spellchecker will work. - There are several modes available: + <para> + mode íë¼ë¯¸í°ë ë¨ì´ê²ì¬ê¸°ì ì¤í모ëì ëë¤. + ìëì ëªê°ì§ ê°ë¥í 모ëê° ììµëë¤. <itemizedlist> - <listitem> - <simpara> - PSPELL_FAST - Fast mode (least number of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_NORMAL - Normal mode (more suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_RUN_TOGETHER - Consider run-together words as legal - compounds. That is, "thecat" will be a legal compound, - athough there should be a space between the two - words. Changing this setting only affects the results returned - by <function>pspell_check</function>; - <function>pspell_suggest</function> will still return - suggestions. - </simpara> - </listitem> - </itemizedlist> - Mode is a bitmask constructed from different constants listed - above. However, PSPELL_FAST, PSPELL_NORMAL and - PSPELL_BAD_SPELLERS are mutually exclusive, so you should select - only one of them. - </para> - <para> - For more information and examples, check out inline manual pspell - website:<ulink url="&url.pspell;">&url.pspell;</ulink>. - </para> - <para> - <example> - <title><function>Pspell_new</function></title> - <programlisting role="php"> + <listitem> + <simpara> + PSPELL_FAST - ë¹ ë¥¸ ì¤í모ë (ìµìíì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_NORMAL - ë³´íµ ì¤í모ë (ë ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_BAD_SPELLERS - ë린 ì¤í모ë (ê°ì¥ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_RUN_TOGETHER - ì°ê²°ë ë¨ì´ë¥¼ ì ë¹í í©ì±ì´ë¡ ê³ ë ¤í ì§ë¥¼ ê²°ì í©ëë¤. ì¦, ë§íìë©´ ë ë¨ì´ ì¬ì´ì 공백(space)ì´ ìì´ì¼ í ì§ë¼ë "thecat"ì ì ë¹í í©ì±ì´ê° ë©ëë¤. ì´ ì¤ì ì ë°ê¾¸ë©´ <function>pspell_check</function>í¨ìì ìí´ ë°íëë ê²°ê³¼ê°ìë§ ìí¥ì 미칩ëë¤.; + <function>pspell_suggest</function>í¨ìë ì¬ì í ì¶ì²ë¨ì´ë¥¼ ë°íí©ëë¤. + </simpara> + </listitem> + </itemizedlist> + 모ëë ìì ëì´ë ìë¡ ë¤ë¥¸ ììë¡ êµ¬ì±ë bitmask ì ëë¤. + PSPELL_FAST, PSPELL_NORMAL, PSPELL_BAD_SPELLERS ì´ ìë¡ ë°°íì ì¼ì§ë¼ë, + ì´ê²ë¤ì¤ì íëë§ì ì íí´ì¼í©ëë¤.</para> + <para> + ìì¸í ì ë³´ì ìì ë pspell ì¹ì¬ì´í¸(<ulink url="&url.pspell;">&url.pspell;</ulink>ì 매ë´ì¼ì ì°¸ê³ íì¸ì. + </para> + <para> + <example> + <title> + <function>Pspell_new</function> + </title> + <programlisting role="php"> $pspell_link = pspell_new ("en", "", "", "", (PSPELL_FAST|PSPELL_RUN_TOGETHER)); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-new-config"> - <refnamediv> - <refname>pspell_new_config</refname> - <refpurpose>Load a new dictionary with settings based on a given config - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_new_config</function></funcdef> - <paramdef>int <parameter>config</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_new_config</function> opens up a new dictionary with - settings specified in a config, created with with - <function>pspell_config_create</function> and modified with - <function>pspell_config_*</function> functions. This method provides you - with the most flexibility and has all the functionality provided by - <function>pspell_new</function> and - <function>pspell_new_personal</function>. - </simpara> - <para> - The config parameter is the one returned by - <function>pspell_config_create</function> when the config was created. - </para> - <para> - <example> - <title><function>Pspell_new_config</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-new-config"> + <refnamediv> + <refname>pspell_new_config</refname> + <refpurpose>주ì´ì§ ì¤ì ì¼ë¡ ì ì¬ì ì´ê¸°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_new_config</function> + </funcdef> + <paramdef>int <parameter>config</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_new_config</function>í¨ìë <function>pspell_config_create</function>í¨ìì ìí´ì ìì±ëê³ , + <function>pspell_config_*</function>í¨ìë¡ ìì ë ì¤ì ì ì¬ì©í´ì ì ì¬ì ì ì½ëë¤. ì´ ë°©ë²ì ê°ì¥ ìµíµì±ì´ ìê³ ,<function>pspell_new</function>í¨ìì + <function>pspell_new_personal</function>í¨ìì ìí´ ì ê³µëë 모ë 기ë¥ì ì ì ê³µí©ëë¤. + </simpara> + <para> + config íë¼ë¯¸í°ë ì¤ì ì´ ìì±ë ë<function>pspell_config_create</function>í¨ìì ìí´ ë°íëë ê²ì ëë¤. + </para> + <para> + <example> + <title> + <function>Pspell_new_config</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); pspell_config_repl ($pspell_config, "/var/dictionaries/custom.repl"); $pspell_link = pspell_new_personal (pspell_config); </programlisting> - </example> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-new-personal"> + <refnamediv> + <refname>pspell_new_personal</refname> + <refpurpose>ì¬ì©ì ë¨ì´ëª©ë¡ì¼ë¡ ì ì¬ì ì´ê¸°</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_new_personal</function> + </funcdef> + <paramdef>string <parameter>personal</parameter> + </paramdef> + <paramdef>string <parameter>language</parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>spelling</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>jargon</optional> + </parameter> + </paramdef> + <paramdef>string + <parameter> + <optional>encoding</optional> + </parameter> + </paramdef> + <paramdef>int + <parameter> + <optional>mode</optional> + </parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_new_personal</function>í¨ìë ì¬ì©ì ë¨ì´ëª©ë¡ì¼ë¡ ì ì¬ì ì ì´ê³ ë¤ë¥¸ pspell í¨ììì ì¬ì©í기ìí ì¬ì ì´ê¸° identifier를 ë°íí©ëë¤. ìí ê²½ì°, ë¨ì´ëª©ë¡ì <function>pspell_save_wordlist</function>í¨ìì ìí´ ìì ëê³ ì ì¥ë ì ììµëë¤. êµì 목ë¡ì´ ì ì¥ëì§ ììëë¼ë, êµì 목ë¡ì ì ì¥í기 ìí´ìë<function>pspell_config_create</function>í¨ì를 ì¬ì©í´ì ì¤ì ì ìì±íê³ ,<function>pspell_config_personal + </function>í¨ì를 ì¬ì©í´ì ì¬ì©ì ë¨ì´ëª©ë¡íì¼ì ì§ì íê³ ,<function>pspell_config_repl</function>í¨ì를 ì¬ì©í´ì êµì 목ë¡íì¼ì ì§ì íê³ , + <function>pspell_new_config</function>í¨ì를 ì¬ì©í´ì ì ì¬ì ì ì´ì´ì¼ë§ í©ëë¤. + </simpara> + <para> + personal íë¼ë¯¸í°ë ë¨ì´ê° ì¶ê°ëê³ ì ì¥ë ì¬ì©ì ë¨ì´ëª©ë¡ íì¼ì ì§ì í©ëë¤. personal íë¼ë¯¸í°ë "/"ë¡ ììíë ì ëê²½ë¡ íì¼ëª ì´ì´ì¼ í©ëë¤. ìëíë©´ ê·¸ë ì§ ìì ê²½ì° ê±°ì 모ë ìì¤í ìì "/root"ì¸ $HOME ì¼ë¡ë¶í°ì ìëê²½ë¡ê° ë©ëë¤. ê·¸ê²ì ìë§ë ë¹ì ì´ ìíë ê²½ë¡ê° ìë ê²ì ëë¤.</para> + <para> + language íë¼ë¯¸í°ë ëìë¡ ë ISO 639 language ì½ëì ëë¤. ì íì ì¼ë¡ ISO 639 language ì½ë ì´í '-' ë '_' 를 ì ê³ ëìë¡ ë ISO 3166 êµê°ì½ë를 ì¶ê° í ì ììµëë¤. </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-new-personal"> - <refnamediv> - <refname>pspell_new_personal</refname> - <refpurpose>Load a new dictionary with personal wordlist</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_new_personal</function></funcdef> - <paramdef>string <parameter>personal</parameter></paramdef> - <paramdef>string <parameter>language</parameter></paramdef> - <paramdef>string - <parameter> - <optional>spelling</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>jargon</optional> - </parameter> - </paramdef> - <paramdef>string - <parameter> - <optional>encoding</optional> - </parameter> - </paramdef> - <paramdef>int - <parameter> - <optional>mode</optional> - </parameter> - </paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_new_personal</function> opens up a new dictionary with - a personal wordlist and returns the dictionary link identifier for use - in other pspell functions. The wordlist can be modified and saved with - <function>pspell_save_wordlist</function>, if desired. However, the - replacement pairs are not saved. In order to save replacement pairs, you - should create a config using <function>pspell_config_create</function>, - set the personal wordlist file with <function>pspell_config_personal - </function>, set the file for replacement pairs with - <function>pspell_config_repl</function>, and open a new dictionary with - <function>pspell_new_config</function>. - </simpara> - <para> - The personal parameter specifies the file where words added to the - personal list will be stored. It should be an absolute filename - beginning with '/' because otherwise it will be relative to $HOME, - which is "/root" for most systems, and is probably not what you want. - </para> - <para> - The language parameter is the language code which consists of the - two letter ISO 639 language code and an optional two letter ISO - 3166 country code after a dash or underscore. - </para> - <para> - The spelling parameter is the requested spelling for languages - with more than one spelling such as English. Known values are - 'american', 'british', and 'canadian'. - </para> - <para> - The jargon parameter contains extra information to distinguish - two different words lists that have the same language and - spelling parameters. - </para> - <para> - The encoding parameter is the encoding that words are expected to - be in. Valid values are 'utf-8', 'iso8859-*', 'koi8-r', + <para> + spelling íë¼ë¯¸í°ë English ì ê°ì´ í ì² ì ì´ìì ì² ìê° ìë ì¸ì´ì ëí´ ì² ì를 ì§ì í©ëë¤. English ì ê²½ì° ìë ¤ì§ ê°ìë 'american', 'british', and 'canadian' ê° ììµëë¤. + </para> + <para> + jargon íë¼ë¯¸í°ë ëì¼í languageì spelling íë¼ë¯¸í°ë¥¼ ê°ì§ê³ ìë ë ë¤ë¥¸ ë¨ì´ 목ë¡ì 구ë³í기 ìí ì¶ê°ì ë³´ì ëë¤. + </para> + <para> + encoding íë¼ë¯¸í°ë ë¨ì´ì ì¸ì½ë© ì ë³´ì ëë¤. ê°ë¥í ê°ìë 'utf-8', 'iso8859-*', 'koi8-r', 'viscii', 'cp1252', 'machine unsigned 16', 'machine unsigned - 32'. This parameter is largely untested, so be careful when - using. + 32' ê° ììµëë¤. ì´ íë¼ë¯¸í°ë ê±°ì í ì¤í¸ëì§ ììì¼ë, ì¬ì©í ë 주ìíì¸ì. </para> - <para> - The mode parameter is the mode in which spellchecker will work. - There are several modes available: + <para> + mode íë¼ë¯¸í°ë ë¨ì´ê²ì¬ê¸°ì ì¤í모ëì ëë¤. + ìëì ëªê°ì§ ê°ë¥í 모ëê° ììµëë¤. <itemizedlist> - <listitem> - <simpara> - PSPELL_FAST - Fast mode (least number of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_NORMAL - Normal mode (more suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions) - </simpara> - </listitem> - <listitem> - <simpara> - PSPELL_RUN_TOGETHER - Consider run-together words as legal - compounds. That is, "thecat" will be a legal compound, - athough there should be a space between the two - words. Changing this setting only affects the results returned - by <function>pspell_check</function>; - <function>pspell_suggest</function> will still return - suggestions. - </simpara> - </listitem> - </itemizedlist> - Mode is a bitmask constructed from different constants listed - above. However, PSPELL_FAST, PSPELL_NORMAL and - PSPELL_BAD_SPELLERS are mutually exclusive, so you should select - only one of them. - </para> - <para> - For more information and examples, check out inline manual pspell - website:<ulink url="&url.pspell;">&url.pspell;</ulink>. - </para> - <para> - <example> - <title><function>Pspell_new_personal</function></title> - <programlisting role="php"> + <listitem> + <simpara> + PSPELL_FAST - ë¹ ë¥¸ ì¤í모ë (ìµìíì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_NORMAL - ë³´íµ ì¤í모ë (ë ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_BAD_SPELLERS - ë린 ì¤í모ë (ê°ì¥ë§ì ì¶ì²ë¨ì´) + </simpara> + </listitem> + <listitem> + <simpara> + PSPELL_RUN_TOGETHER - ì°ê²°ë ë¨ì´ë¥¼ ì ë¹í í©ì±ì´ë¡ ê³ ë ¤í ì§ë¥¼ ê²°ì í©ëë¤. ì¦, ë§íìë©´ ë ë¨ì´ ì¬ì´ì 공백(space)ì´ ìì´ì¼ í ì§ë¼ë "thecat"ì ì ë¹í í©ì±ì´ê° ë©ëë¤. ì´ ì¤ì ì ë°ê¾¸ë©´ <function>pspell_check</function>í¨ìì ìí´ ë°íëë ê²°ê³¼ê°ìë§ ìí¥ì 미칩ëë¤.; + <function>pspell_suggest</function>í¨ìë ì¬ì í ì¶ì²ë¨ì´ë¥¼ ë°íí©ëë¤. + </simpara> + </listitem> + </itemizedlist> + 모ëë ìì ëì´ë ìë¡ ë¤ë¥¸ ììë¡ êµ¬ì±ë bitmask ì ëë¤. + PSPELL_FAST, PSPELL_NORMAL, PSPELL_BAD_SPELLERS ì´ ìë¡ ë°°íì ì¼ì§ë¼ë, + ì´ê²ë¤ì¤ì íëë§ì ì íí´ì¼í©ëë¤. + </para> + <para> + ìì¸í ì ë³´ì ìì ë pspell ì¹ì¬ì´í¸(<ulink url="&url.pspell;">&url.pspell;</ulink>ì 매ë´ì¼ì ì°¸ê³ íì¸ì. + </para> + <para> + <example> + <title> + <function>Pspell_new_personal</function> + </title> + <programlisting role="php"> $pspell_link = pspell_new_personal ("/var/dictionaries/custom.pws", "en", "", "", "", PSPELL_FAST|PSPELL_RUN_TOGETHER)); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-save-wordlist"> - <refnamediv> - <refname>pspell_save_wordlist</refname> - <refpurpose>Save the personal wordlist to a file.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_save_wordlist</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_save_wordlist</function> saves the personal wordlist - from the current session. The dictionary has to be open with - <function>pspell_new_personal</function>, and the location of files to be - saved specified with <function>pspell_config_personal</function> and - (optionally) <function>pspell_config_repl</function>. Please, note that - this function will not work unless you have pspell .11.2 and aspell .32.5 - or later. - </simpara> - <para> - <example> - <title><function>Pspell_add_to_personal</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-save-wordlist"> + <refnamediv> + <refname>pspell_save_wordlist</refname> + <refpurpose>ì¬ì©ì ë¨ì´ëª©ë¡ì íì¼ë¡ ì ì¥</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_save_wordlist</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_save_wordlist</function>í¨ìë íì¬ ì¸ì ì ì¬ì©ì ë¨ì´ëª©ë¡ì ì ì¥í©ëë¤. ì¬ì ì + <function>pspell_new_personal</function>í¨ì를 ì¬ì©í´ì ì´ê³ , ì ì¥ë íì¼ì ìì¹ë<function>pspell_config_personal</function>í¨ì를 ì¬ì©í´ì ì§ì ëì´ì¼ íê³ , ì íì ì¼ë¡<function>pspell_config_repl</function>í¨ì를 ì¬ì©í ì ììµëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_add_to_personal</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/tmp/dicts/newdict"); $pspell_link = pspell_new_config ($pspell_config); @@ -794,43 +732,40 @@ pspell_add_to_personal ($pspell_link, "Vlad"); pspell_save_wordlist ($pspell_link); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-store-replacement"> - <refnamediv> - <refname>pspell_store_replacement</refname> - <refpurpose>Store a replacement pair for a word</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>int <function>pspell_store_replacement</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>misspelled</parameter></paramdef> - <paramdef>string <parameter>correct</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_store_replacement</function> stores a replacement pair for - a word, so that replacement can be returned by - <function>pspell_suggest</function> later. In order to be able to take - advantage of this function, you have to use - <function>pspell_new_personal</function> to open the dictionary. In order - to permanently save the replacement pair, you have to - use <function>pspell_config_personal</function> and - <function>pspell_config_repl</function> to set the path where to save your - custom wordlists, and then use <function>pspell_save_wordlist</function> - for the changes to be written to disk. Please, note that this function - will not work unless you have pspell .11.2 and aspell .32.5 or later. - </simpara> - <para> - <example> - <title><function>Pspell_store_replacement</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-store-replacement"> + <refnamediv> + <refname>pspell_store_replacement</refname> + <refpurpose>ë¨ì´ êµì 목ë¡ì ì ì¥</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>int <function>pspell_store_replacement</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>misspelled</parameter> + </paramdef> + <paramdef>string <parameter>correct</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_store_replacement</function>í¨ìë ë¨ì´ì êµì 목ë¡ì ì ì¥í©ëë¤. ê·¸ëì ëì¤ì <function>pspell_suggest</function>í¨ì를 ì¬ì©í´ì êµì ë´ì©ì ë°íí ì ììµëë¤. ì´ í¨ì를 ì¬ì©í ì ìê² í기 ìí´ì ì¬ì ì ì´ë<function>pspell_new_personal</function>í¨ì를 ì¬ì©í´ì¼ í©ëë¤. êµì 목ë¡ì ì구ì ì¼ë¡ ì ì¥í기ìí´ìë<function>pspell_config_personal</function>í¨ìì + <function>pspell_config_repl</function>í¨ì를 ì¬ì©í´ì ì¬ì©ì ë¨ì´ëª©ë¡ì ì ì¥í ê²½ë¡ë¥¼ ì§ì í´ì¼ í©ëë¤. ê·¸ë¦¬ê³ ë³ê²½ëê²ì ëì¤í¬ì ì ì¥í기 ìí´<function>pspell_save_wordlist</function> + í¨ì를 ì¬ì©í´ì¼ í©ëë¤. ì´ í¨ìë pspell .11.2ì aspell .32.5 ëë ì´íì ë²ì ììë§ ì¤íë©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_store_replacement</function> + </title> + <programlisting role="php"> $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); pspell_config_repl ($pspell_config, "/var/dictionaries/custom.repl"); @@ -839,33 +774,36 @@ pspell_store_replacement ($pspell_link, $misspelled, $correct); pspell_save_wordlist ($pspell_link); </programlisting> - </example> - </para> - </refsect1> - </refentry> - - <refentry id="function.pspell-suggest"> - <refnamediv> - <refname>pspell_suggest</refname> - <refpurpose>Suggest spellings of a word</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcprototype> - <funcdef>array <function>pspell_suggest</function></funcdef> - <paramdef>int <parameter>dictionary_link</parameter></paramdef> - <paramdef>string <parameter>word</parameter></paramdef> - </funcprototype> - </funcsynopsis> - <simpara> - <function>Pspell_suggest</function> returns an array of possible - spellings for the given word. - </simpara> - <para> - <example> - <title><function>Pspell_suggest</function></title> - <programlisting role="php"> + </example> + </para> + </refsect1> + </refentry> + <refentry id="function.pspell-suggest"> + <refnamediv> + <refname>pspell_suggest</refname> + <refpurpose>ë¨ì´ì ì² ì ì ì</refpurpose> + </refnamediv> + <refsect1> + <title>ì¤ëª </title> + <funcsynopsis> + <funcprototype> + <funcdef>array <function>pspell_suggest</function> + </funcdef> + <paramdef>int <parameter>dictionary_link</parameter> + </paramdef> + <paramdef>string <parameter>word</parameter> + </paramdef> + </funcprototype> + </funcsynopsis> + <simpara> + <function>Pspell_suggest</function>í¨ìë 주ì´ì§ ë¨ì´ì ëí ê°ë¥í ì² ì를 ë°°ì´íì¼ë¡ ë°íí©ëë¤. + </simpara> + <para> + <example> + <title> + <function>Pspell_suggest</function> + </title> + <programlisting role="php"> $pspell_link = pspell_new ("en"); if (!pspell_check ($pspell_link, "testt")) { @@ -876,13 +814,11 @@ } } </programlisting> - </example> - </para> - </refsect1> - </refentry> - - </reference> - + </example> + </para> + </refsect1> + </refentry> +</reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml