BSD Ports

textproc/py-stemming 1.0.1_1 FreeBSD

Algorithms for stemming

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
PD
Categories
textproc, python
Package size
24.9 KiB, 115.2 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
FreeBSDtextproc/py-stemming1.0.1_1
DragonFlytextproc/py-stemming1.0.1_1

Install

Binary package:

pkg install py312-stemming

From the ports tree:

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

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

RUN_DEPENDS=	py312-stemming>0:textproc/py-stemming

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.1_11.0.1_11.0.11.0.1_11.0.1_1
FreeBSD:14:quarterly1.0.1_11.0.1_1n/a1.0.1_11.0.1_1
FreeBSD:15:latest1.0.1_11.0.1_1n/a1.0.1_11.0.1_1
FreeBSD:15:quarterly1.0.1_11.0.1_1n/an/an/a
FreeBSD:16:latest1.0.1_11.0.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Message after installing

===>   NOTICE:

The py312-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

Files

distinfo 1
FileSizeSHA256
stemming-1.0.1.tar.gz1095459678702e1d06caffecee82910f048edf12ad89dcf430776b4b05bfb8850bc51
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.