ma-file
(malaga
)The command ma-file
can be used to analyse files that contain
word lists. A word list consists of a number of word forms, each word
form on a line on its own. There may be empty lines in a word list. The
following example is a word list called word-list
:
table men's blue handicap
To analyse this word list, enter:
ma-file word-list result
This will produce a file result
that contains the analysis
results. If the second argument is missing, the result will be written
to a file whose name ends in .out
; for word-list
, its name
will be word-list.out
:
1: "table": [class: noun, ...] 2: "men's": [class: noun, ...] 3: "blue": [class: noun, ...] 3: "blue": [class: adjective, ...] 3: "blue": [class: name, ...] 4: "handicap: unknown
The number at the line start represents the line number of the analysed
original word form. The output format can be changed by using the options
result-format
and unknown-format
.
If a runtime error occurs during the analysis of a word, the line will be
printed in the format given by the option error-format
.
After the analysis, some statistics will be printed: