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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-stemming | 1.0.1_1 |
| DragonFly | textproc/py-stemming | 1.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.1_1 | 1.0.1_1 | 1.0.1 | 1.0.1_1 | 1.0.1_1 |
| FreeBSD:14:quarterly | 1.0.1_1 | 1.0.1_1 | n/a | 1.0.1_1 | 1.0.1_1 |
| FreeBSD:15:latest | 1.0.1_1 | 1.0.1_1 | n/a | 1.0.1_1 | 1.0.1_1 |
| FreeBSD:15:quarterly | 1.0.1_1 | 1.0.1_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.1_1 | 1.0.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| stemming-1.0.1.tar.gz | 10954 | 59678702e1d06caffecee82910f048edf12ad89dcf430776b4b05bfb8850bc51 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.