jserverrc は、かな漢字変換サーバ jserver 起動時の基本設定を行う初期化ファイルです。
jserver の起動オプション -f での指定
/etc/wnn/ja_JP/jserverrc (システム設定)
/usr/lib/wnn/ja_JP/jserverrc (初期設定)
エントリ 設定値
エントリ 設定値
:
「設定値」にはファイル名やパス、数値などが入ります。
「エントリ」と「設定値」の間は、半角スペースまたはタブで区切ります。
セミコロン (;) ではじまる行はコメントとなります。
エントリ名 |
書式 設定値 / 設定内容 |
readfile |
readfile 辞書ファイル名 jserver が起動時に読み込む辞書ファイル名を指定します。 ここで指定された辞書は、プロセスが終了するまで jserver が保持し続けます。 |
max_client |
max_client 整数値 続できるクライアントの最大数を指定します。 未設定時には 64 が初期値として適用されます。 |
max_sticky_env |
max_sticky_env 整数値 固定化する環境の最大数を指定します。 環境の固定化とは、クライアントを終了してもユーザーの設定環境を jserver が記憶し続ける事です。環境の再作成が不要になるため、次回クライアントの接続処理が速くなります。 未設定時には、10 が初期値として適用されます。 |
jserver_dir |
jserver_dir パス jserver が管理する辞書ディレクトリを指定します。 ユーザー単語登録辞書や頻度ファイルが、指定されたディレクトリ以下で管理されます。 @VARDIR を用いて表記を簡略化することも可能です。 @VARDIR は以下のパスを示します。 /var/lib/wnn/ja_JP 未設定時には標準の辞書ディレクトリが初期値として適用されます。 |
def_param |
def_param 整数値 整数値 整数値 … かな漢字変換に使用する変換パラメータ値や擬似品詞の頻度が整数値で設定されています。 初期値のままで使用してください。 |
set_giji_eisuu |
set_giji_eisuu code code code 指定したコードの文字を、「英数字」の擬似品詞として使用できるようになります。 最大 20 コードが指定可能です。16 進数、10 進数、8 進数で表記できます。 |
ondisk_off |
ondisk_off 辞書 OnDisk 機能を使用しない場合、エントリのみ記述します。 辞書 OnDisk 機能を使わない場合は、メモリ使用量が増加します。 |
autosave |
autosave 整数値 自動保存を実行する変換 / 確定回数を指定します。 ここで指定した回数の変換 / 確定を行うと、自動的にユーザー辞書ファイルへの書き込み保存を行います。0 を指定した場合は自動保存は行われません。 |
jserver_dir @VARDIR/dic readfile system/fisd readfile system/kihon.dic ;readfile system/kihon3_4.dic readfile system/symbol.dic ;readfile system/symbol_noat.dic readfile system/tel.dic readfile system/zip.dic readfile system/tankan.dic readfile system/tankan2.dic ;readfile system/tankan3.dic ;readfile system/tankan3_4.dic readfile system/ikeiji.dic readfile system/rensou.dic readfile system/kougo.fzk readfile option/jinmei.dic readfile option/chimei.dic readfile option/address.dic readfile option/station.dic readfile option/kana_english.dic readfile option/enterprise.dic readfile option/airport.dic readfile option/university.dic readfile option/zoo.dic readfile option/botanical_garden.dic readfile option/aquarium.dic readfile option/conveni.dic readfile option/amusement.dic readfile option/computer.dic readfile option/business.dic readfile option/food.dic readfile option/hobby.dic readfile option/mailextend.dic readfile option/person.dic readfile option/sports.dic readfile option/spot.dic readfile yosoku/learn.dat def_param 5 10 2 45 0 80 5 1 20 0 400 -100 … set_giji_eisuu '-' '_' 0x20 '—' '_' ' ̄' autosave 0 |