sa-file (malaga)
Using the command sa-file, you can analyse files that contain
sentence lists. In a sentence list, each sentence stands in a line on
its own; empty lines are permitted. Here is an example, a sentence list
named sentence-list:
He sleeps.
He slept.
He has slept.
He had slept.
To analyse this sentence list, enter:
sa-file sentence-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 sentence-list, its name will be sentence-list.out.
1: "He sleeps.": [functor: [syn: <S3>, sem: <"sleep">]]
2: "He slept.": [functor: [syn: <S3>, sem: <"sleep">]]
3: "He has slept.": [functor: [syn: <S3>, sem: <"have", "sleep">]]
4: "He had slept.": [functor: [syn: <S3>, sem: <"have", "sleep">]]
The number at the line start represents the line number of the analysed
original sentence. 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 sentence, the line will be
printed in the format given by the option error-format.
After the analysis, some statistics will be printed: