mirror of
https://github.com/php/doc-ja.git
synced 2026-03-23 22:52:11 +01:00
enchant : fix XML by converting para to simpara tags via script
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 5f8047c12b4078a6f686b2b0589e9284c47bf155 Maintainer: takagi Status: ready -->
|
||||
|
||||
<book xml:id="book.enchant" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="book.enchant">
|
||||
<?phpdoc extension-membership="bundledexternal" ?>
|
||||
<title>Enchant スペリングライブラリ</title>
|
||||
<titleabbrev>Enchant</titleabbrev>
|
||||
@@ -10,7 +9,7 @@
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.enchant">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
<simpara>
|
||||
Enchant は、<link xlink:href="&url.enchant;">Enchant ライブラリ</link>
|
||||
を PHP から利用できるようにしたものです。Enchant は、
|
||||
すべてのスペリングライブラリの上位に位置するもので、
|
||||
@@ -18,45 +17,45 @@
|
||||
また、各ライブラリが搭載していないかもしれない機能についても実装しています。
|
||||
すべての機能が "動作します"。
|
||||
いろんな意味で、あらゆる意味で "動作しています"。
|
||||
</para>
|
||||
</simpara>
|
||||
<para>
|
||||
Enchant は以下のバックエンドをサポートしています。
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>Aspell/Pspell (Ispell の後継です)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>Ispell (昔からあり、デファクトスタンダードとされています)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>MySpell/Hunspell (OOo プロジェクトや Mozilla が使用しています)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>Uspell (イディッシュ語、ヘブライ語および東欧諸国語用のもので、AbiWord の CVS 内で "uspell" モジュールとしてホストされています)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>Hspell (ヘブライ語)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
<literal>AppleSpell (Mac OSX)</literal>
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
||||
|
||||
&reference.enchant.setup;
|
||||
&reference.enchant.constants;
|
||||
&reference.enchant.examples;
|
||||
@@ -65,7 +64,6 @@
|
||||
&reference.enchant.enchantdictionary;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -86,4 +84,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 6c7300690f0328443314af3bec6aa3ce374ae368 Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<section xml:id="enchant.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="enchant.installation">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
<simpara>
|
||||
<link linkend="enchant.requirements">必須ライブラリ</link>
|
||||
がインストールされていれば、PHP のコンパイル時に
|
||||
<option role="configure">--with-enchant[=dir]</option>
|
||||
オプションを追加するだけで enchant を有効にできます。
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
Windows ユーザーがこの拡張モジュールを使うには、
|
||||
<filename>php_enchant.dll</filename> を有効にしなければいけません。
|
||||
</para>
|
||||
</simpara>
|
||||
<note>
|
||||
<title>Windows で必要な追加のセットアップ</title>
|
||||
<para>
|
||||
<simpara>
|
||||
&ext.windows.path.dll;
|
||||
<filename>libenchant.dll</filename>,
|
||||
<filename>glib-2.dll</filename>,
|
||||
<filename>gmodule-2.dll</filename>.
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
さらに、
|
||||
<filename>lib/enchant/</filename> に同梱されている
|
||||
プロバイダを少なくともひとつ、
|
||||
@@ -37,10 +37,9 @@
|
||||
このパスは、レジストリ
|
||||
<literal>HKEY_CURRENT_USER\SOFTWARE\Enchant\Config\Module_Dir</literal>
|
||||
の値を任意のパスに設定することでカスタマイズできます。
|
||||
</para>
|
||||
</simpara>
|
||||
</note>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: mumumu Status: ready -->
|
||||
<reference xml:id="class.enchantbroker" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: mumumu Status: ready -->
|
||||
<reference xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="class.enchantbroker" role="class">
|
||||
|
||||
<title>EnchantBroker クラス</title>
|
||||
<titleabbrev>EnchantBroker</titleabbrev>
|
||||
@@ -11,10 +11,10 @@
|
||||
<!-- {{{ EnchantBroker intro -->
|
||||
<section xml:id="enchantbroker.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
<simpara>
|
||||
PHP 8.0.0 以降、
|
||||
<literal>enchant_broker</literal> リソースを置き換える完全不透明クラスです。
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: mumumu Status: ready -->
|
||||
<reference xml:id="class.enchantdictionary" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: mumumu Status: ready -->
|
||||
<reference xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="class.enchantdictionary" role="class">
|
||||
|
||||
<title>EnchantDictionary クラス</title>
|
||||
<titleabbrev>EnchantDictionary</titleabbrev>
|
||||
@@ -11,10 +11,10 @@
|
||||
<!-- {{{ EnchantDictionary intro -->
|
||||
<section xml:id="enchantdictionary.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
<simpara>
|
||||
PHP 8.0.0 以降、
|
||||
<literal>enchant_dict</literal> リソースを置き換える完全不透明クラスです。
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-describe">
|
||||
<refnamediv>
|
||||
@@ -13,10 +13,10 @@
|
||||
<type>array</type><methodname>enchant_broker_describe</methodname>
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Enchant プロバイダを列挙し、その基本情報を通知します。
|
||||
同じ情報が phpinfo() からでも取得できます。
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -28,9 +28,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
利用可能な Enchant プロバイダの一覧と、その詳細を &array; として返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-dict-exists">
|
||||
<refnamediv>
|
||||
@@ -14,9 +14,9 @@
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>tag</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
辞書が存在するかどうかを調べます。空でないタグを使用します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -25,9 +25,9 @@
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
空でない、LOCALE 形式のタグ。例: us_US、ch_DE など。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -35,9 +35,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
タグが存在する場合に &true;、存在しない場合に &false; を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-free-dict">
|
||||
<refnamediv>
|
||||
@@ -19,10 +19,10 @@
|
||||
<type>bool</type><methodname>enchant_broker_free_dict</methodname>
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
辞書を開放します。
|
||||
PHP 8.0.0 以降では、この関数を呼び出す代わりに、オブジェクト自体を unset することを推奨します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -33,9 +33,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-free">
|
||||
<refnamediv>
|
||||
@@ -19,10 +19,10 @@
|
||||
<type>bool</type><methodname>enchant_broker_free</methodname>
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
ブローカーをその辞書とともに開放します。
|
||||
PHP 8.0.0 以降では、この関数を呼び出さず、オブジェクト自体を unset することを推奨します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -34,9 +34,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: mumumu Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: mumumu Status: ready -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-get-dict-path">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_get_dict_path</refname>
|
||||
@@ -19,9 +19,9 @@
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
指定されたバックエンドの辞書のパスを取得します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -31,9 +31,9 @@
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
辞書のタイプ。たとえば、<constant>ENCHANT_MYSPELL</constant> または <constant>ENCHANT_ISPELL</constant>。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -41,10 +41,10 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
成功した場合、辞書のディレクトリパスを返します。
|
||||
&return.falseforfailure;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
@@ -73,9 +73,9 @@
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
<simpara>
|
||||
この関数は、拡張モジュールが Enchant v1 を使ってコンパイルされた場合にのみ利用可能です。
|
||||
</para>
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-get-error">
|
||||
<refnamediv>
|
||||
@@ -13,9 +13,9 @@
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>enchant_broker_get_error</methodname>
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
このブローカーで発生した直近のエラーを返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -26,10 +26,10 @@
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
エラーが見つかった場合にメッセージ文字列、それ以外の場合に &false;
|
||||
を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-init">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_init</refname>
|
||||
@@ -16,14 +16,14 @@
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
</para>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
成功した場合にブローカーリソース、それ以外の場合に &false; を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-list-dicts">
|
||||
<refnamediv>
|
||||
@@ -13,9 +13,9 @@
|
||||
<type>array</type><methodname>enchant_broker_list_dicts</methodname>
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
使用可能な辞書の一覧と、その詳細を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -27,9 +27,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
使用可能な辞書の一覧と、その詳細を &array; として返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-request-dict">
|
||||
<refnamediv>
|
||||
@@ -14,10 +14,10 @@
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>tag</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
タグを使用して新しい辞書を作成します。空でない言語タグで、
|
||||
使用したい辞書を指定します ("en_US"、"de_DE"、...)。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -26,9 +26,9 @@
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
ロケールを表すタグ。例えば en_US、de_DE など。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -36,9 +36,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
成功した場合に辞書リソース、&return.falseforfailure;。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
@@ -69,11 +69,11 @@
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
<title><function>enchant_broker_request_dict</function> の例</title>
|
||||
<para>
|
||||
<simpara>
|
||||
辞書が存在するかどうかを
|
||||
<function>enchant_broker_dict_exists</function>
|
||||
で調べ、それを要求します。
|
||||
</para>
|
||||
</simpara>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-request-pwl-dict">
|
||||
<refnamediv>
|
||||
@@ -14,10 +14,10 @@
|
||||
<methodparam><type>EnchantBroker</type><parameter>broker</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
PWL ファイルを使用して辞書を作成します。
|
||||
PWL ファイルは、一行にひとつの単語を記述したパーソナル単語ファイルです。
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -27,10 +27,10 @@
|
||||
<varlistentry>
|
||||
<term><parameter>filename</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
PWL ファイルへのパス。
|
||||
ファイルが存在しない場合は、可能であれば新しいファイルを作ります。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -38,9 +38,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
成功した場合に辞書リソース、&return.falseforfailure;。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: mumumu Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: mumumu Status: ready -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-set-dict-path">
|
||||
<refnamediv>
|
||||
<refname>enchant_broker_set_dict_path</refname>
|
||||
@@ -20,9 +20,9 @@
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>path</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
指定されたバックエンドの辞書のパスを設定します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -32,17 +32,17 @@
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
辞書のタイプ。たとえば、<constant>ENCHANT_MYSPELL</constant> または <constant>ENCHANT_ISPELL</constant>。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>path</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
辞書のディレクトリパス。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -50,9 +50,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
@@ -81,9 +81,9 @@
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
<simpara>
|
||||
この関数は、拡張モジュールが Enchant v1 を使ってコンパイルされた場合にのみ利用可能です。
|
||||
</para>
|
||||
</simpara>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-broker-set-ordering">
|
||||
<refnamediv>
|
||||
@@ -15,13 +15,13 @@
|
||||
<methodparam><type>string</type><parameter>tag</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>ordering</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
'タグ' で表される言語で使用する辞書の優先順位を宣言します。
|
||||
順位は、プロバイダ名をカンマ区切りでつないだリストで表します。
|
||||
例外として、言語タグに "*" を使用すると、あらゆる言語についての
|
||||
デフォルトの順位を宣言します。
|
||||
明示的に順位を指定しなかった言語についてはこれが使用されます。
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -31,28 +31,28 @@
|
||||
<varlistentry>
|
||||
<term><parameter>tag</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
言語タグ。"*" を使用すると、あらゆる言語についての
|
||||
デフォルトの順位を宣言します。
|
||||
明示的に順位を指定しなかった言語についてはこれが使用されます。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>ordering</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
プロバイダ名をカンマ区切りでつないだリスト。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-add-to-session">
|
||||
<refnamediv>
|
||||
@@ -14,10 +14,10 @@
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
指定した辞書に単語を追加します。
|
||||
追加されるのは、アクティブなスペルチェックセッションについてのみです。
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -27,9 +27,9 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
追加する単語。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
@@ -37,9 +37,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.void;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: mumumu Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: mumumu Status: ready -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-add">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_add</refname>
|
||||
@@ -13,9 +13,9 @@
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
指定した辞書の単語リストに単語を追加します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -24,18 +24,18 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
追加する単語。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-check">
|
||||
<refnamediv>
|
||||
@@ -14,10 +14,10 @@
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
単語のスペルが正しい場合に &true;、
|
||||
そうでない場合に &false; を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -27,19 +27,19 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
調べる単語。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
単語のスペルが正しい場合に &true;、
|
||||
そうでない場合に &false; を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-describe">
|
||||
<refnamediv>
|
||||
@@ -13,9 +13,9 @@
|
||||
<type>array</type><methodname>enchant_dict_describe</methodname>
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
辞書の詳細を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -27,9 +27,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
@@ -59,11 +59,11 @@
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
<title><function>enchant_broker_dict_describe</function> の例</title>
|
||||
<para>
|
||||
<simpara>
|
||||
辞書が存在するかどうかを
|
||||
<function>enchant_broker_dict_exists</function> で調べ、
|
||||
その詳細を表示します。
|
||||
</para>
|
||||
</simpara>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-get-error">
|
||||
<refnamediv>
|
||||
@@ -13,9 +13,9 @@
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>enchant_dict_get_error</methodname>
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
現在のスペリングセッションの、直近のエラーを返します。
|
||||
</para>
|
||||
</simpara>
|
||||
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@@ -26,10 +26,10 @@
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
エラーメッセージを表す文字列、あるいはエラーが発生していない場合に
|
||||
&false; を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: mumumu Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: mumumu Status: ready -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-is-added">
|
||||
<refnamediv>
|
||||
<refname>enchant_dict_is_added</refname>
|
||||
@@ -13,9 +13,9 @@
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
現在のセッションに、指定された単語が存在するかを調べる。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -24,19 +24,19 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
調べる単語。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
単語が存在した場合、&true; を返します。
|
||||
存在しない場合、&false; を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-quick-check">
|
||||
<refnamediv>
|
||||
@@ -15,11 +15,11 @@
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter role="reference">suggestions</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
単語のスペルが正しい場合は &true;、そうでない場合は &false;
|
||||
を返します。変数 suggestions を指定している場合は、
|
||||
そこに修正候補が格納されます。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -28,28 +28,28 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
調べる単語。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>suggestions</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
単語のスペルが間違っている場合に、
|
||||
この変数の中に修正候補の配列が格納されます。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
単語のスペルが正しい場合に &true;、
|
||||
そうでない場合に &false; を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-store-replacement">
|
||||
<refnamediv>
|
||||
@@ -15,12 +15,12 @@
|
||||
<methodparam><type>string</type><parameter>misspelled</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>correct</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
'mis' の修正候補として 'cor' を使用します。
|
||||
@mis が @cor に置き換えられることに注意しましょう。
|
||||
今後 @mis が登場すると、それは @cor で置き換えられます。
|
||||
そのため、@cor が修正候補の中で衝突するかもしれません。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -29,26 +29,26 @@
|
||||
<varlistentry>
|
||||
<term><parameter>misspelled</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
修正する単語。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>correct</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
正しい単語。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
&return.success;
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 9ee6a360c83bc83ee0f78d853278742d2ad9c3cd Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.enchant-dict-suggest">
|
||||
<refnamediv>
|
||||
@@ -14,8 +14,8 @@
|
||||
<methodparam><type>EnchantDictionary</type><parameter>dictionary</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>word</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -24,18 +24,18 @@
|
||||
<varlistentry>
|
||||
<term><parameter>word</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
修正候補を調べる単語。
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
単語のスペルが間違っている場合に、修正候補の配列を返します。
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
|
||||
|
||||
@@ -1,27 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 765b2d6eec7dfbaeed900b32aa91a1360d73df42 Maintainer: takagi Status: ready -->
|
||||
<!-- EN-Revision: a6b55f8de61955b35c83fec32651201cce4aa383 Maintainer: takagi Status: ready -->
|
||||
<!-- Credits: mumumu -->
|
||||
|
||||
<chapter xml:id="enchant.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="enchant.setup">
|
||||
&reftitle.setup;
|
||||
|
||||
<!-- {{{ Requirements -->
|
||||
<section xml:id="enchant.requirements">
|
||||
&reftitle.required;
|
||||
<para>
|
||||
<simpara>
|
||||
このバージョンは、Dom Lachowicz による
|
||||
<link xlink:href="&url.enchant;">Enchant ライブラリ</link>
|
||||
の関数を使用しています。
|
||||
Enchant 1.2.4 以降が必要です。
|
||||
Enchant 2.0.0 以降は、PHP 8.0.0 以降でのみサポートされています。
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
Enchant には <link xlink:href="&url.glib;">Glib 2.6</link> 以降も必要です。
|
||||
Windows 用のコンパイル済みのライブラリは
|
||||
<link xlink:href="&url.glib.windows;">&url.glib.windows;</link>
|
||||
にあります。
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
@@ -32,16 +31,15 @@
|
||||
<!-- {{{ Resources -->
|
||||
<section xml:id="enchant.resources">
|
||||
&reftitle.resources;
|
||||
<para>
|
||||
<simpara>
|
||||
PHP 8.0.0 より前のバージョンでは、
|
||||
この拡張モジュールでは二種類のリソースを使用しています。ひとつは
|
||||
ブローカー (バックエンドマネージャ) で、もうひとつが辞書です。
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
</chapter>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -62,4 +60,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user