Группа :: Разработка/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 можно просмотреть здесь
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 можно просмотреть здесь