enchant
「enchant」の意味
「enchant」は、魅了する、魅力に取りつかれる、魔法をかけるといった意味を持つ英単語である。主に、人や物が他者を魅了し、心を引きつける状況を表現する際に用いられる。また、魔法や魔術によって、何らかの効果をもたらすことも指す。「enchant」の発音・読み方
「enchant」の発音は、/ɛnˈʧænt/であり、IPAのカタカナ読みでは「エンチャント」となる。日本人が発音するカタカナ英語では、「エンチャント」と読むことが一般的である。「enchant」の定義を英語で解説
Enchant is defined as "to attract and hold the attention of (someone) by being interesting, pretty, etc." or "to put a magic spell on (someone or something)." It is used to describe situations where someone or something captivates others and draws their attention, as well as to indicate the effects brought about by magic or sorcery.「enchant」の類語
「enchant」の類語には、captivate(魅了する)、fascinate(魅了する)、bewitch(魅了する、魔法をかける)、charm(魅力を持つ、魅了する)などがある。これらの単語は、いずれも他者を引きつける魅力や、魔法のような力を持つことを表現する際に用いられる。「enchant」に関連する用語・表現
「enchant」に関連する用語や表現としては、enchantment(魅力、魔法)、enchanting(魅力的な)、enchanter(魔法使い、魅了する人)、enchanted(魅了された、魔法にかけられた)などがある。これらの言葉は、魅力や魔法に関連した状況や人物を表す際に使用される。「enchant」の例文
1. Her beautiful singing voice enchanted the audience.(彼女の美しい歌声は観客を魅了した。) 2. The magician enchanted the objects to move on their own.(魔法使いは物体が自分で動くように魔法をかけた。) 3. The enchanting scenery of the mountains captivated the tourists.(山々の魅力的な景色に観光客たちは魅了された。) 4. The enchanter cast a spell on the villagers.(魔法使いは村人たちに魔法をかけた。) 5. She wore an enchanted necklace that protected her from harm.(彼女は身に害が及ばないように守る魔法がかけられたネックレスを身に着けていた。) 6. The enchantment of the forest was too strong for them to resist.(森の魅力は彼らには抵抗できないほど強かった。) 7. The movie's enchanting story captured the hearts of the viewers.(その映画の魅力的な物語は視聴者の心を捉えた。) 8. The enchanted garden was filled with magical creatures.(魔法にかけられた庭園には、魔法の生き物がいっぱいいた。) 9. The enchanter's spell made the prince fall in love with the princess.(魔法使いの呪文で王子は王女に恋をした。) 10. The enchanting aroma of the flowers filled the room.(花々の魅力的な香りが部屋中に広がった。)enchant 関数
導入
Enchant は、» Enchant ライブラリ を PHP から利用できるようにしたものです。Enchant は、 すべてのスペリングライブラリの上位に位置するもので、 統一された操作性を提供します。 また、各ライブラリが搭載していないかもしれない機能についても実装しています。 すべての機能が "動作します"。 いろんな意味で、あらゆる意味で "動作しています"。Enchat は以下のバックエンドをサポートしています。
-
Aspell/Pspell (Ispell の後継です)
-
Ispell (昔からあり、デファクトスタンダードとされています)
-
MySpell/Hunspell (OOo プロジェクトや Mozilla が使用しています)
-
Uspell (イディッシュ語、ヘブライ語および東欧諸国語用のもので、AbiWord の CVS 内で "uspell" モジュールとしてホストされています)
-
Hspell (ヘブライ語)
-
AppleSpell (Mac OSX)
要件
このバージョンは、Dom Lachowicz による » Enchant ライブラリ の関数を使用しています。 Enchant 1.2.4 以降が必要です。インストール手順
この PECL 拡張モジュールをインストールする方法は、 マニュアルの PECL 拡張モジュールのインストール という章にあります。 新規リリース・ダウンロード・ソースファイル・管理者情報・CHANGELOG といった関連する情報については、次の場所にあります。 » http://pecl.php.net/package/enchant.実行時設定
設定ディレクティブは定義されていません。リソース型
この拡張モジュールでは二種類のリソースを使用しています。ひとつは ブローカー (バックエンドマネージャ) で、もうひとつが辞書です。例
例 551. Enchant の使用例
<?php
$tag = 'en_US';
$r = enchant_broker_init();
$bprovides = enchant_broker_describe($r);
echo "現在のブローカーは、次のバックエンドを提供します。\n";
print_r($bprovides);
$dicts = enchant_broker_list_dicts($r);
print_r($dicts);
if (enchant_broker_dict_exists($r,$tag)) {
$d = enchant_broker_request_dict($r, $tag);
$dprovides = enchant_dict_describe($d);
echo "dictionary $tag provides:\n";
$spellerrors = enchant_dict_check($d, "soong");
print_r($dprovides);
echo "found $spellerrors spell errors\n";
if ($spellerrors) {
$suggs = enchant_dict_suggest($d, "soong");
echo "'soong' の修正候補:";
print_r($suggs);
}
enchant_broker_free_dict($d);
} else {
}
enchant_broker_free($r);
?>
目次
- enchant_broker_describe — Enchant プロバイダを列挙する
- enchant_broker_dict_exists — 辞書が存在するかどうかを調べる。空でないタグを使用する
- enchant_broker_free_dict — 辞書リソースを開放する
- enchant_broker_free — ブローカーリソースおよびその辞書を開放する
- enchant_broker_get_error — ブローカーの直近のエラーを返す
- enchant_broker_init — 要求を満たすブローカーオブジェクトを作成する
- enchant_broker_list_dicts — 使用可能な辞書の一覧を返す
- enchant_broker_request_dict — タグを使用して新しい辞書を作成する
- enchant_broker_request_pwl_dict — PWL ファイルを使用して辞書を作成する。PWL ファイルは、一行にひとつの単語を記述したパーソナル単語ファイルとなる。
- enchant_broker_set_ordering — その言語で使用する辞書の優先順位を宣言する
- enchant_dict_add_to_personal — パーソナル単語リストに単語を追加する
- enchant_dict_add_to_session — '単語' を、このスペルチェックセッションに追加する
- enchant_dict_check — 単語のスペルが正しいかどうかを調べる
- enchant_dict_describe — 個々の辞書について説明する
- enchant_dict_get_error — 現在のスペリングセッションの直近のエラーを返す
- enchant_dict_is_in_session — このスペリングセッションに '単語' が存在するかどうかを調べる
- enchant_dict_quick_check — 単語のスペルが正しいかどうかを調べ、修正候補を提供する
- enchant_dict_store_replacement — 単語の修正候補を追加する
- enchant_dict_suggest — 修正候補となる値の一覧を返す
エンチャント
エンチャント(Enchant)
- エンチャント (ゲーム) - Minecraftにおいてアイテムに特殊効果を付加するシステム
- エンチャント (ロックバンド) - アメリカ合衆国のネオ・プログレッシブ・ロックバンド
- Enchant (ソフトウェア) - 自由ソフトウェアプロジェクト
- Enchant (ORβITのアルバム) - 日韓合同ダンスボーカルグループORβITの1stミニアルバム
固有名詞の分類
- enchantのページへのリンク