PageRenderTime 39ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/uplug-ru/lib/Uplug/RU.pm

https://bitbucket.org/tiedemann/uplug
Perl | 42 lines | 20 code | 18 blank | 4 comment | 3 complexity | faaf66348f7521ea8b0614dd0edd6368 MD5 | raw file
Possible License(s): GPL-3.0, LGPL-2.1, BSD-3-Clause
  1. package Uplug::RU;
  2. =head1 NAME
  3. Uplug::RU - Uplug Language pack for Russian
  4. =head1 SYNOPSIS
  5. # prepare some data
  6. uplug pre/markup -in input.txt | uplug pre/sent -l ru > sentences.xml
  7. uplug pre/ru/basic -in input.txt -out tokenized.xml
  8. # tag tokenized text in XML
  9. uplug pre/ru/tagHunPos -in tokenized.xml -out tagged.xml
  10. # parse a tagged corpus using the MaltParser
  11. uplug pre/ru/malt -in tagged -out parsed.xml
  12. # run the entire pipeline
  13. uplug pre/ru-all -in input.txt -out output.xml
  14. =head1 DESCRIPTION
  15. Note that you need to install the main components of L<Uplug> first. Download the latest version of uplug-main from L<https://bitbucket.org/tiedemann/uplug> or from CPAN and install it on your system.
  16. The Uplug::RU package includes configuration files for running annotation tools for Russian. To install configuration files and models, simply run:
  17. perl Makefile.PL
  18. make
  19. make install
  20. =head1 SEE ALSO
  21. Project website: L<https://bitbucket.org/tiedemann/uplug>
  22. CPAN: L<http://search.cpan.org/~tiedemann/uplug-main/>
  23. =cut
  24. 1;