BSD Ports

textproc/py-stemming 1.0.1_1 DragonFly

Algorithms for stemming

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
PD
Categories
python, textproc
Package size
22.7 KiB, 124.5 KiB installed

Description

Python implementations of the Porter, Porter2, Paice-Husk, and Lovins stemming algorithms for English. These implementations are straightforward and efficient, unlike some Python versions of the same algorithms available on the Web. This package is an extraction of the stemming code included in the Whoosh search engine.

Note that these are *pure Python* implementations. Python wrappers for, e.g. the Snoball stemmers and the C implementation of the Porter stemmer are available on PyPI and will be faster if using compiled code is an option for you.

Stemming algorithms attempt to automatically remove suffixes (and in some cases prefixes) in order to find the "root word" or stem of a given word. This is useful in various natural language processing scenarios, such as search.

In general ``porter2`` is the best overall stemming algorithm, but not necessarily the fastest or most aggressive.

In the other systems

SystemPortVersion
DragonFlytextproc/py-stemming1.0.1_1
FreeBSDtextproc/py-stemming1.0.1_1

Install

Binary package:

pkg install py311-stemming

From DPorts:

cd /usr/dports/textproc/py-stemming && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The py311-stemming port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing