MoA's usage
Date : 95.8.1 (Mon), bgjang
This page contains full explanations about MoA itself and the other
utilities provided. For short brief help message,
type executables without options.
moa
Morphological Analyzer. It needs 4 kinds dictionary and 2 tables to be
executed. If anyone is not supplied, then it will say an error and die.
- N-Type dictionary :
a dictionary which contains normal words and its POS and frequency.
- E-Type dictionary :
a dictionary which contains exceptional words or words used in
contraction recovery.
- I-Type dictionary :
a dictionary which contains words can have a irregular form.
- U-Type dictionary :
a dictionary which contains word information used in unknown
word processing step.
- cTable : connectivity table
for normal word searching.
- mTable : connectivity table
for unknown word searching.
The dictionary/table locations is determined by 4 environment variables.
It must be set to execute 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.
If the above 4 environment variables are set, then 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 : default name is 'nn'.
-e dict-name : default name is 'ee'.
-i dict-name : default name is 'ii'.
-u dict-name : default name is 'uu'.
chkcon
Connectivity Checker.
dictman
Dictionary Manager.
Home of MoA
Byoung-Gyu, Chang / bgjang@csone.kaist.ac.kr