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

Группа :: Разработка/Python
Пакет: python-module-pyporter2

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

Name: python-module-pyporter2
Version: 0.0.0
Release: alt1.git02b0c

Summary: Implementation of the Porter2 (english) stemming algorithm

License: MIT/X11
Group: Development/Python
BuildArch: noarch
Url: http://www.dirolf.com/project/pyporter2

Source: %name-%version.tar

%description
This is an implementation of the Porter2 (english) stemming algorithm
in Python. It was born out of some academic work I did on clustering
algorithms in the spring of 2008. The Porter Stemming Algorithm was
first published in this 1979 paper - it is now one of the most widely
known and used stemming algorithms. An implementation of the Porter
stemmer already existed in Python, but not of the updated Porter2
stemmer. I decided to implement a Python version of Porter2 as an
exercise.

%prep
%setup -n %name-%version

%install
install -pD Stemmer.py %buildroot%python_sitelibdir/Stemmer.py
install -pD voc.txt %buildroot%_datadir/%name/voc.txt
install -pD stemmedvoc.txt %buildroot%_datadir/%name/stemmedvoc.txt

%files
%doc README
%python_sitelibdir/Stemmer.py*
%_datadir/%name/*.txt

%changelog

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

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