moa
. For example, see
supplied env-moa file.
MOA_DICTDIR
: directory in which dictionary files are.
In this directory, the above 4 kind dictionary must be located.
In distributed MoA, there is 4 dictionary in dict-test
and dict-datum
.
MOA_TABLEDIR
: directory in which table files are.
In this directory, the above 2 kind table must be localted.
In distributed MoA, only one table TRANTBL
is
supplied currently. And one table is used as cTable and mTable
without any difference. In future, I will make two tables and
two tables can be different.
MOA_CTABLE
: cTable's file name. It must be located in
MOA_TABLEDIR
directory.
MOA_MTABLE
: mTable's file name. It must be located in
MOA_TABLEDIR
directory.
MOA_CACHE
: must be '0' or '1'. When it is set to
'0', then memory-cache for N-Type
dictionary is not used. When it is set to '1' or is not set,
use memory-cache.
MOA_LOGDIR
: directory in which the log file is
generated in the case LOG_STATISTIC
is defined
when compiling.
moa
can be executed. The options are like the followings :
-c
or -f data-file
: Where input comes from ?-c
means input is from standard input till EOF. And
-f data-file
means that moa
read data from
data-file
line by line and processing read line until
EOF.
-h
: for brief help message
-n dict-name
: N-Type dictionary, default name is 'nn'.
-e dict-name
: E-Type dictionary, default name is 'ee'.
-i dict-name
: I-Type dictionary, default name is 'ii'.
-u dict-name
: U-Type dictionary, default name is 'uu'.
datum/TRANTBL
contains connectivity
informations but is not human-readible. So to change this file or
lookup the informations in this file, use chkcon
utility.
You can simply type chkcon
to get help message.