Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37558652
en ru br
ALT Linux repositórios
S:2020.02-alt1
5.0: 2006.0704-alt2

Group :: Desenvolvimento/Perl
RPM: perl-Lingua-EN-Squeeze

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
#
#   - 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: 2020.02
Release: alt1

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
Source0: http://www.cpan.org/authors/id/N/NE/NEILB/%{module}-%{version}.tar.gz

# 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 %{module}-%{version}

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc Changes README*
%perl_vendor_privlib/Lingua/

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009