BSD Ports

textproc/py-pystemmer 2.0.1_1 MidnightBSD

Snowball Stemming Algorithms for Information Retrieval

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit, bsd3
Categories
textproc, python

Description

PyStemmer provides access to efficient algorithms for calculating a "stemmed" form of a word. This is a form with most of the common morphological endings removed; hopefully representing a common linguistic base form. This is most useful in building search engines and information retrieval software; for example, a search with stemming enabled should be able to find a document containing "cycling" given the query "cycles".

PyStemmer provides algorithms for several (mainly european) languages, by wrapping the libstemmer library from the Snowball project in a Python module. It also provides access to the classic Porter stemming algorithm for english: although this has been superceded by an improved algorithm, the original algorithm may be of interest to information retrieval researchers wishing to reproduce results of earlier experiments.

In the other systems

SystemPortVersion
MidnightBSDtextproc/py-pystemmer2.0.1_1
FreeBSDtextproc/py-pystemmer3.1.0
DragonFlytextproc/py-pystemmer2.0.1_1
HardenedBSDtextproc/py-pystemmer3.1.0
GhostBSDtextproc/py-pystemmer3.1.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}pystemmer

From mports:

cd /usr/mports/textproc/py-pystemmer && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pystemmer>0:textproc/py-pystemmer

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
PyStemmer-2.0.1.tar.gz5593299b81c35302f1d2a5ad9465b85986db246990db93d97d3e8f129269ed7102788e
Master sites 2
  • PYPI
  • http://snowball.tartarus.org/wrappers/