Mac OS X 10.5: Mac OS X 10.4 以前からのタイ語ユーザ辞書の変更点

  • 最終更新日: 07 5月, 2008
  • 記事: HT1180

概要

Mac OS X 10.5 では、Mac OS X 10.4 以前と比べてタイ語のユーザ辞書の処理方法が変更されています。

Mac OS X 10.5 ではタイ語の単語間の区切りを識別するために内蔵辞書を使っていますが、この辞書にない単語 (たとえば特殊な用語など) を使う場合は、ユーザ辞書機能を利用して独自の単語のリストを提供し、システム内蔵の辞書を補足することができます。

Mac OS X 10.5 の内蔵辞書機能にタイ語の特殊な単語を追加するには、以下の手順を実行します。

対象製品

Mac OS X 10.5

Mac OS X 10.4.x 以前では、タイ語のユーザ辞書が「~/ライブラリ/Dictionaries」、「/ライブラリ/Dictionaries」、および「/ネットワーク/ライブラリ/Dictionaries」に標準テキストファイルとして保存されていました。タイ語のユーザ辞書ファイルには「.thaidict」という拡張子が必要で、次のいずれかのエンコーディングを使う必要がありました。

  • UTF-8、UTF-8 BOM あり
  • ネイティブエンディアン UTF-16、BOM なし

辞書ファイルでは各行に 1 単語ずつ入力し、単語の終わりはホワイトスペースか行末でなければなりません。ホワイトスペースで始まる行はコメント行として処理されます。

Mac OS X 10.5 以降では、タイ語のユーザ辞書が上記とは異なる方法で処理されます。

  • ファイル名の末尾は「-Thai.txt」でなければなりません。名前が「.thaidict」で終わっている既存の辞書は、名前を変更する必要があります。名前を変更しないと、既存の辞書は無視されます。たとえば、「MyDict.thaidict」という辞書ファイルは「MyDict-Thai.txt」という名前に変更します。
  • 使用できるファイルエンコーディングは次のいずれかです。
    • BOM 付きユニコードのいずれか (UTF-8、エンディアン制限なし UTF-16、またはエンディアン制限なし UTF-32)
    • ネイティブエンディアン UTF-16、BOM なし

注意:テキストエディットでは BOM 付きの UTF-8 ファイルを保存できないので、UTF-16 として保存してください。

Mac OS X 10.5 の辞書の保存場所と辞書ファイルのフォーマットは以前と同じです。

追加情報

BOM (バイトオーダーマーク) の詳細については、こちらの Web サイト を参照してください。

Important: Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. Apple provides this only as a convenience to our users. Apple has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and Apple assumes no responsibility in this regard. Please understand that a third-party site is independent from Apple and that Apple has no control over the content on that website. Please contact the vendor for additional information.

Not helpful Somewhat helpful Helpful Very helpful Solved my problem