mcontext - print error context for defined tags 

SYNOPSIS

mcontext
-f <tag_list>
-g <correct_tag_list>
{-p} <Tag>   <Correct Tag>

 

DESCRIPTION

Analyse the difference between the tags assigned to the words by mtag and the list of pre-tagged data corresponding to this text. The input files are simply the list of tags corresponding to the words in the text. The first can be prepared by the mtag program with the -t option, and the second file is the correct list of tags.
mcontext prints out the statistics on the errors appearing in the sentence context where the tag <Tag> (found by the tagger) and the <Correct Tag> (correct tag) are not identicals.
mcontext can print (with -p option) the sentences concerned.

OPTIONS

mcontext supports the following options:
-f List of tags
This file can be prepared by the mtag program with the -t option.
-g Correct tag list
Correct tag list corresponding to the file to analyse.
-p Print Sentences
Print the sentences where the tag found by the tagger <Tag> and the correct tag <Correct Tag> are not identical.

COMMAND EXAMPLES

Print out the errors between  tags and Nn.

        > mcontext -f tag.lst -g tag.corr -p V Nn
 

SEE ALSO

mpreptxt(1)
mtrain(1)
mtag(1)
mcreate(1)
mtagfreq(1)
mprint(1)
mdiff(1)
mdiffb(1)
mbiases(1)

AUTHOR

Gilbert ROBERT
(Gilbert.Robert@issco.unige.ch)
ISSCO, 54 route des Acacias
1227 Geneva, Switzerland

Comments, suggestions, and bug reports are always welcome.