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 <[EMAIL PROTECTED]> 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