biling2thesaurus - converts a ":"-separated bilingual dictionary to ISO thesaurus
biling2thesaurus [-l1=EN|-l2=FR] bilingDict > thesaurus
Converts a Bilingue dictionary into a ISO-thesaurus.
Input format: lines containing
term1 : term2 : class
or
term1: term2
<term1 lang1>:<term1 lang2>:<class> <term2 lang1>:<term2 lang2>:<class>
Input files may have a encoding declaration. Example:
%encoding UTF-8
<term1 lang1> LANG2 <term1 lang2> BT <class> <term2 lang1> LANG2 <term2 lang2> BT <class>
-l1=FR baselang is lang2; lang1 is french -l2=FR baselang is lang1; lang2 is french -rel=IOF Relation tag is IOF (default BT) -norel Ignore classes in the inputfile (default: show relations) -sep="::" field separator is "::" (default ":") -bl=PT baselang is PT (makes a %baselang PT in output file)
J.Joao Almeida, jj@di.uminho.pt
perl(1).
To install Biblio::Thesaurus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Biblio::Thesaurus
CPAN shell
perl -MCPAN -e shell install Biblio::Thesaurus
For more information on module installation, please visit the detailed CPAN module installation guide.