Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37506309
en ru br
Репозитории ALT
S:2020.02-alt1
5.1: 2006.0704-alt2
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Lingua-EN-Squeeze

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

#
#   - Lingua::EN::Squeeze -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       Lingua::EN::Squeeze
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Lingua-EN-Squeeze
%define m_distro Lingua-EN-Squeeze
%define m_name Lingua::EN::Squeeze
%define m_author_id unknown
%define _enable_test 1

Name: perl-Lingua-EN-Squeeze
Version: 2006.0704
Release: alt2

Summary: Shorten text to minimum syllables by using hash table lookup and vowel deletion

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch
Source: http://search.cpan.org//CPAN/authors/id/J/JA/JARIAALTO/%m_distro-%version.tar.bz2

# Automatically added by buildreq on Tue Jun 17 2008

BuildRequires: perl-YAML perl-devel

%description
Squeeze english text to most compact format possible so that it is barely
readable. Be sure to convert all text to lowercase before using the
SqueezeText() for maximum compression, because optimizations have been
designed mostly for uncapitalized letters.

"Warning: Each line is processed multiple times, so prepare for slow
conversion time"

You can use this module e.g. to preprocess text before it is sent to
electronic media that has some maximum text size limit. For example pagers
have an arbitrary text size limit, typically around 200 characters, which
you want to fill as much as possible. Alternatively you may have GSM
cellular phone which is capable of receiving Short Messages (SMS), whose
message size limit is 160 characters. For demonstration of this module's
SqueezeText() function, this paragraph's conversion result is presented
below. See yourself if it's readable (Yes, it takes some time to get used
to). The compression ratio is typically 30-40%%.

%prep
%setup -q -n %m_distro-%version

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc ChangeLog README
%perl_vendor_privlib/Lingua/
%perl_vendor_man3dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin