%define upstream_name Lingua-EN-Tagger %define upstream_version 0.23 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Part-of-speech tagger for English natural language processing License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Lingua/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 0.840.0 BuildRequires: perl(HTML::Parser) >= 3.450.0 BuildRequires: perl(HTML::Tagset) >= 3.200.0 BuildRequires: perl(Lingua::Stem) >= 0.810.0 BuildRequires: perl(Memoize) >= 1.10.0 BuildRequires: perl(Memoize::ExpireLRU) >= 0.550.0 BuildRequires: perl(Storable) >= 2.100.0 %description The module is a probability based, corpus-trained tagger that assigns POS tags to English text based on a lookup dictionary and a set of probability values. The tagger assigns appropriate tags based on conditional probabilities - it examines the preceding tag to determine the appropriate tag for the current word. Unknown words are classified according to word morphology or can be set to be treated as nouns or other parts of speech. The tagger also extracts as many nouns and noun phrases as it can, using a set of regular expressions. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.230.0-2.mga3 + Revision: 369013 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Oct 03 2012 jquelin <jquelin> 0.230.0-1.mga3 + Revision: 302404 - update to 0.23 * Mon Oct 01 2012 jquelin <jquelin> 0.220.0-1.mga3 + Revision: 301280 - update to 0.22 * Thu Jul 12 2012 jquelin <jquelin> 0.200.0-1.mga3 + Revision: 270277 - update to 0.20 * Tue Jun 05 2012 jquelin <jquelin> 0.190.0-1.mga3 + Revision: 255068 - update to 0.19 * Sun Jan 23 2011 jquelin <jquelin> 0.160.0-2.mga1 + Revision: 33918 - mageia rebuild - imported package perl-Lingua-EN-Tagger