The input is the plain Japanese text file (sample.txt), and the output is that shown in Figure 1, i.e., the input texts are segmented into words, and the part of speech and the sense are assigned to each segmented word.
a sense is assigned for content words, including nouns and verb or adjective, stems, but for other kinds of words the sense s set to "0."