nat-css - Corpus Search Sentence utility.
nat-css [-q <rank>] <lex1> <crp1> <lex2> <crp2> [<sent_nr> | all]
nat-css is used after the alignment process (using, for example, nat-these tool). Its objective is to search sentences where one word occurs.
nat-css
nat-these
The tool has two methods of use:
nat-css [-q <rank>] <lex1> <crp1> <lex2> <crp2>
where the tool opens the two lexicon files and the two corpora files in interactive mode. The user writes a word or a word sequence and the tool finds its occurrences on the corpus, printing the sentence from crp1 where it occurs, and aligned sentence from crp2. If the rank is provided, the tool prints the ranking or quality of the alignment, too.
crp1
crp2
rank
The other method of operation is:
nat-css [-q <rank>] <lex1> <crp1> <lex2> <crp2> (<sent_nr> | all)
where the tool prints the pair of sentences number sent_nr or all the sentences (if the all option is used). Again, if rank is used, the tool prints the ranking or quality of the alignment.
sent_nr
all
nat-rank, nat-these, NATools documentation;
Copyright (C)2002-2003 Alberto Simoes and Jose Joao Almeida Copyright (C)1998 Djoerd Hiemstra GNU GENERAL PUBLIC LICENSE (LGPL) Version 2 (June 1991)
To install Lingua::NATools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::NATools
CPAN shell
perl -MCPAN -e shell install Lingua::NATools
For more information on module installation, please visit the detailed CPAN module installation guide.