Content-type: text/html Man page of wnnenvrc

wnnenvrc

Section: File Formats (4)
Updated: 27 January 2006
Index Return to Main Contents
 

NAME

wnnenvrc - Kana-kanji conversion environment configuration file  

SYNOPSIS

/usr/lib/wnn/ja_JP/wnnenvrc 

 

DESCRIPTION

wnnenvrc is a file that sets the environment for Kana-Kanji conversion. If entries are duplicated, the last setting is used except for setdic, the dictionary file specification. Up to 128 files can be specified using setdic, Lines starting with semicolons (;) are comments.

The following can be set in the wnnevnrc file.

o setdic <dictionary_file_name> <frequency_file_name> <dictionary_priority> <dictionary_read-only_setting> <frequency_read-only_setting> <dictionary_file_password_file_name> <frequency_file_password_file_name> <Kana-Kanji_conversion/Kanji-Kana_conversion>

<frequency_file_name>

Specifies the name of the frequency file of the specified dictionary for the frequency file name. The frequency in the dictionary file will be used if "-" is specified. The following specification can be used at the beginning of file names.

!

Uses a client file.

:

Uses a jserver file.

omitted

Uses a jserver file.

<dictionary_priority>

Specifies the dictionary priority as a decimal value.

<dictionary_read-only_setting>

Specifies the dictionary read-only setting as follows:

1

Read-only

2

Temporary learning

3

Group dictionary

4

Merge dictionary

0

Others

The dictionary file will not be updated if read-only is specified.

If temporary learning is specified, data will not be written to the disk when the file is saved.

Specifies a group or merge dictionary if a single dictionary is to be used by multiple users.

<frequency_read-only_setting>

Specifies the frequency read-only setting as follows:

1

Read-only

2

Temporary learning

0

Others

The frequency file will not be updated if read-only is specified.

If temporary learning is specified, data will not be written to the disk when the file is saved.

<dictionary_file_password_file_name>

Specifies the name of the file containing the dictionary file passwords.

<frequency_file_password_file_name>

Specifies the name of the file containing the frequency file passwords.

<Kana-Kanji_conversion/Kanji-Kana_conversion>

Specifies 0 for Kana-Kanji conversion and 1 for Kanji-Kana conversion.

In not all the arguments are provided, the default values will be used from the second argument on. The default values are:

-  5  0  0  -  -  0

o set_fi_system_dic <FI-related_system_dictionary_file_name> <FI-related_frequency_file_name> <FI-related_frequency_read-only_setting> <FI-related_frequency file_password_file_name>

<FI-related_frequency_file_name>

Specifies the name of the FI-related frequency file of the specified FI-related system dictionary for the frequency file name. The frequency in the FI-related system dictionary file will not be updated if "-" is specified. The following specification can be used at the beginning of file names.

!

Uses a client file.

:

Uses a jserver file.

omitted

Uses a jserver file.

<FI-related_frequency_read-only_setting>

Specifies the FI-related frequency read-only setting as follows:

1

Read-only

2

Temporary learning

3

Group dictionary

0

Others

The FI-related frequency will not be updated if read-only is specified.

If temporary learning is specified, data will not be written to the disk when the file is saved.

Specifies a group dictionary if a single dictionary/frequency is to be used by multiple users.

<FI-related_frequency file_password_file_name>

Specifies the name of the file containing the FI-related frequency file password.

   

o set_fi_user_dic <FI-related_user_dictionary_file_name> <FI-related_user_dictionary_read-only_setting> <FI-related_user_dictionary_file_password_file_name>

<FI-related_user_dictionary_file_name>

The following can be used at the beginning of FI-related user dictionary file names.

!

Uses a client file.

:

Uses a jserver file.

omitted

Uses a jserver file.

<FI-related_user_dictionary_read-only_setting>

Specifies the FI-related user dictionary read-only setting as follows:

1

Read-only

2

Temporary learning

3

Group dictionary

0

Others

The FI-related user dictionary file will not be updated if read-only is specified.

If temporary learning is specified, data will not be written to the disk when the file is saved.

Specifies a group dictionary if a single dictionary is to be used by multiple users.

<FI-related_user_dictionary_file_password_file_name>

Specifies the name of the file containing the FI-related user dictionary file password.

o muhenkan_gakusyuu <no-conversion_learning_dictionary_file_name> <no-conversion_learning_dictionary_read-only_setting> <no-conversion_learning_dictionary_priority> <no-conversion_learning_dictionary_file_password_file_name> <Kana-Kanji_conversion/Kanji-Kana_conversion>

No-conversion learning is used to automatically record candidates in the no-conversion learning dictionary when candidates are confirmed in Hiragana, Katakana, or roman characters.

<no-conversion_learning_dictionary_file_name>

The following can be used at the beginning of no-conversion learning dictionary file names.

!

Uses a client file.

:

Uses a jserver file.

omitted

Uses a jserver file.

<no-conversion_learning_dictionary_read-only_setting>

Specifies the no-conversion learning dictionary read-only setting as follows:

1

Read-only

2

Temporary learning

3

Group dictionary

0

Others

The no-conversion learning dictionary file will not be updated if read-only is specified.

If temporary learning is specified, data will not be written to the disk when the file is saved.

Specifies a group dictionary if a single dictionary is to be used by multiple users.

<no-conversion_learning_dictionary_priority>

Specifies the no-conversion learning dictionary priority as a decimal value.

<no-conversion_learning_dictionary_file_password_file_name>

Specifies the name of the file containing the no-conversion learning dictionary file password.

<Kana-Kanji_conversion/Kanji-Kana_conversion>

Specifies 0 for Kana-Kanji conversion and 1 for Kanji-Kana conversion.

o bunsetsugiri_gakusyuu <rephrasing_learning_dictionary_file_name> <rephrasing_learning_dictionary_read-only_setting> <rephrasing_learning_dictionary_priority> <rephrasing_learning_dictionary_file_password_file_name> <Kana-Kanji_conversion/Kanji-Kana_conversion>

Rephrasing learning is used to record as one phrase in the rephrasing learning dictionary the phrase before and the phrase after a rephrasing point made when confirming phrases.

<rephrasing_learning_dictionary_file_name>

The following can be used at the beginning of rephrasing learning dictionary file names.

!

Uses a client file.

:

Uses a jserver file.

omitted

Uses a jserver file.

<rephrasing_learning_dictionary_read-only_setting>

Specifies the rephrasing learning dictionary read-only setting as follows:

1

Read-only

2

Temporary learning

3

Group dictionary

0

Others

The rephrasing learning dictionary file will not be updated if read-only is specified.

If temporary learning is specified, data will not be written to the disk when the file is saved.

Specifies a group dictionary if a single dictionary is to be used by multiple users.

<rephrasing_learning_dictionary_priority>

Specifies the rephrasing learning dictionary priority as a decimal number.

<rephrasing_learning_dictionary_file_password_file_name>

Specifies the name of the file containing the rephrasing learning dictionary file password.

<Kana-Kanji_conversion/Kanji-Kana_conversion>

Specifies 0 for Kana-Kanji conversion and 1 for Kanji-Kana conversion.

o setfuzokugo auxiliary_word_file_name

setgrammar auxiliary_word_file_name

Specifies the auxiliary word file name.

o setparam number 0...number 16

Specifies the ten conversion parameters and pseudo-part of speech frequencies as integers. Defaults are given in parentheses.

number 0

N for N (long) phrase analysis (5)

number 1

Maximum number of short phrases in a long phrase (10)

number 2

Main word frequency parameter (2)

number 3

Short phrase length parameter (45)

number 4

Main word length parameter (0)

number 5

Bit parameter to indicate immediate previous usage (80)

number 6

Dictionary parameter (5)

number 7

Short phrase evaluation parameter (1)

number 8

Long phrase length parameter (20)

number 9

Number of short phrases parameter (0)

number 10

Pseudo-part of speech "number" frequency (400)

number 11

Pseudo-part of speech "Kana" frequency (-100)

number 12

Pseudo-part of speech "English number" frequency (400)

number 13

Pseudo-part of speech "symbol" frequency (80)

number 14

Pseudo-part of speech "closing parentheses" frequency (200)

number 15

Pseudo-part of speech "auxillary word" frequency (2)

number 16

Pseudo-part of speech "opening parentheses" frequency (200)

o confirm

Asks the user to confirm whether or not to create a dictionary or frequency file if a dictionary or frequency file after this entry does not exist.

o confirm1

Asks the user once to confirm whether or not to create a dictionary or frequency file if a dictionary or frequency file after this entry does not exist and then continues using the confirmation thereafter.

o create_without_confirm

Creates dictionary or frequency file unconditionally if a dictionary or frequency file after this entry does not exist.

o no_create

Does not create dictionary or frequency file if a dictionary or frequency file after this entry does not exist.

o saisyu_siyou last-useage_top-priority_processing_specification

last-useage top-priority processing provides the last-used homophone as the first candidate and then lists the remaining candidates in order of previous confirmation (up to six candidates). Specifies TRUE to enable this processing and FALSE to disable it.

o fukugou_yuusen composite-word_priority_conversion_specification

Composite-word priority conversion gives priority to candidates that do not contain auxilliary words. Specifies TRUE to enable this processing and FALSE to disable it.

o okuri_kijun Okurigana_processing_rule

Okurigana processing is used to provide the first candidate according to the specified rules (rules, maximum, minimum) when converting words that can have different Okurigana. Specifies REGULATION to provide candidates according to the basic rule, Specifies YES to provide the maximum Okurigana, and Specifies NO to provide the minimum Okurigana.

o settou_kouho initial_prefix_candidate

Specifies HIRAGANA to provide Hiragana candidates first for prefixes and Specifies KANJI to provide Kanji candidates first.

o rendaku euphonic_change_processing_specification

Euphonic change processing does not provide candidates with euphonic changes to voiced sounds first. Specifies TRUE to enable this processing and FALSE to disable it.

o yuragi long_vowel/alternate_spelling_processing_specification

Long vowel/alternate spelling processing enables the conversion of long vowels and alternate spellings. Specifies TRUE to enable this processing and FALSE to disable it.

o okuri_gakusyu Okurigana_process_learning

Okurigana processing learning enables learning the previously confirmed Okurigana processing rule and using it for the next conversion. Specifies TRUE to enable this processing and FALSE to disable it.

o settou_gakusyu prefix_learning_specification

Prefix learning enables learning the previously confirmed prefix information (Hiragana or Kanji) and using it for the next converstion. Specifies TRUE to enable this processing and FALSE to disable it.

o setubi_gakusyu suffix_learning_specification

Suffix learning enables learning the previously confirmed suffix information (provide or do not provide) and using it for the next converstion. Specifies TRUE to enable this processing and FALSE to disable it.

o hanyou_gakusyu general_learning_specification

General learning enables learning of the previously confirmed general word candidate information (Hiragana, Katakana, or Kanji)and using it for the next conversion. Specifies TRUE to enable this processing and FALSE to disable it.

o hindo_kakuritu Wnn8_frequency_increase_coefficient

Specifies the Wnn8 frequency learning method. Specifies HIGH to learn quickly, Specifies LOW to learn slowly, Specifies ALWAYS to always learn, and Specifies NOT to never learn.

o fi_hindo_kakuritu FI-related frequency_increase_coefficient

Specifies the FI-related frequency learning method. Specifies HIGH to learn quickly, Specifies LOW to learn slowly, Specifies ALWAYS to always learn, and Specifies NOT to never learn.

o use_hinsi part_of_speech_for_conversion_1 part_of_speech_for_conversion_2...

Specifies the list of part of speech names to be used in conversion, separating names with spaces or tabs.

o unuse_hinsi part_of_speech_not_used_1 part_of_speech_not_used_2...

Specifies the list of part of speech names not to be used in conversion, separating names with spaces or tabs.

o giji_number pseudo-number_initial_conversion_candidate

Specifies the first candidate to be given for converting pseudo-numbers.

KANSUUJI

Kanji numbers with unit

KANOLD

Old Kanji numbers with unit

HANCAN

Half-width numbers with commas

ZENCAN

Full-width number with commas

HAN

Half-width numbers without commas

ZEN

Full-width number without commas

KAN

Kanji without unit

o giji_eisuu pseudo_alphabet_initial_converson_candidate

Specifies HAN to provide half-width conversion candidates first for pseudo-alphabet characters and Specifies ZEN to provide full-width candidates first.

o giji_kigou pseudo_symbol_initial_converson_candidate

Specifies HAN to provide half-width conversion candidates first for pseudo-symbols, Specifies ZEN to provide full-width candidates first, and Specifies ASC to provide ASCII candidates first.

o kutouten period_input_mode

Specifies TRUE to input periods as full-width period and specifies FALSE to input periods as ".".

o kakko parenthesis_input_mode

Specify TRUE to input full-width parentheses and FALSE to input bracket parentheses.

o kigou symbol_input_mode

Specifies TRUE to set the symbol input mode to "full-width bullet" and specifies FALSE to set it to "full-width slash".

o yosoku_use easy_input_mode_setting

Specifies TRUE to use the easy input mode and specifies FALSE to unuse it.

o yosoku_max_disp number_of_easy_input_candidate_lists

Specifies from 1 to 10 for the display number of easy input candidate lists.

o yosoku_realtime easy_input_candidate_auto

Specifies TRUE to auto-display the easy input candidate and specifies FALSE to not auto-display it.

o boin_kabusoku when_vowel_excess_and_deficiency_input_correct_setting

Specifies TRUE to do input correction when vowel excess and deficiency, and specifies FALSE to no do.

o shiin_choka when_consonant_exceed_input_correct_setting

Specifies TRUE to do input correction when consonant is exceeded, and specifies FALSE to no do.

o n_choka when_N_exceed_input_correct_setting

Specifies TRUE to do input correction when [N] is exceeded, and specifies FALSE to no do.

o nihongo_kousei Japanese_proofread_setting

Specifies TRUE to do Japanese proofreading and specifies FALSE to no do.

The first @USR used in arguments in setdic, setjishopath, or sethindopath will be expanded into the startup user_name.  

EXAMPLES

Example 1

setdic [email protected]/ud         -              15 0 0 - - 0
setdic system/kihon.dic  [email protected]/kihon.h  6 1 0 - - 0
set_fi_user_dic          [email protected]/fiud         0 -

 

NOTES

Specifies dictionary and frequency file names on the machine that started the jserver connected to Wnn8LE. If the specified user dictionary and frequency files do not exist, they will be created on the machie that started jserver.  

SEE ALSO

jserver(1M), uumrc(4)


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
NOTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:37:14 GMT, October 02, 2010