[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
user:zeman:interset:how-to-use [2017/01/13 18:10]
zeman
user:zeman:interset:how-to-use [2017/01/16 13:03]
zeman
Line 3: Line 3:
 ===== Installation ===== ===== Installation =====
  
-If you exist on the ÚFAL network and use Perl from PerlBrew, you probably already have ''Lingua::Interset'' available (depending on which Perl version you take from PerlBrew). Or you can point your `PERL5LIBdirectly to Dan's version in ''/home/zeman/projekty/interset/lib''. Otherwise you can install ''Lingua::Interset'' from CPAN, e.g. using+If you exist on the ÚFAL network and use Perl from PerlBrew, you probably already have ''Lingua::Interset'' available (depending on which Perl version you take from PerlBrew). Or you can point your ''PERL5LIB'' directly to Dan's version in ''/home/zeman/projekty/interset/lib''. Otherwise you can install ''Lingua::Interset'' from CPAN, e.g. using
  
 <code bash>cpanm Lingua::Interset</code> <code bash>cpanm Lingua::Interset</code>
Line 40: Line 40:
 setenv PATH /home/zeman/projekty/interset/bin:$PATH</code> setenv PATH /home/zeman/projekty/interset/bin:$PATH</code>
  
-Once the variable is set, writing a conversion script is very easy. Here is an example:+Once the variable is set, writing a conversion script is very easy. Here is an example (note that in CoNLL-X files we often merge the contents of the CPOS, POS and FEATS columns to create one long string that will be seen by Interset as one “tag”):
  
 <code perl> <code perl>

[ Back to the navigation ] [ Back to the content ]