svn commit: r443539 - in head/textproc: . py-stemming
Rene Ladan
rene at FreeBSD.org
Tue Jun 13 21:02:47 UTC 2017
Author: rene
Date: Tue Jun 13 21:02:46 2017
New Revision: 443539
URL: https://svnweb.freebsd.org/changeset/ports/443539
Log:
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.
WWW: https://pypi.python.org/pypi/stemming
Added:
head/textproc/py-stemming/
head/textproc/py-stemming/Makefile (contents, props changed)
head/textproc/py-stemming/distinfo (contents, props changed)
head/textproc/py-stemming/pkg-descr (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Tue Jun 13 20:37:06 2017 (r443538)
+++ head/textproc/Makefile Tue Jun 13 21:02:46 2017 (r443539)
@@ -1339,6 +1339,7 @@
SUBDIR += py-sphinxcontrib-fulltoc
SUBDIR += py-sphinxcontrib-httpdomain
SUBDIR += py-sphinxcontrib-programoutput
+ SUBDIR += py-stemming
SUBDIR += py-syck
SUBDIR += py-tabletext
SUBDIR += py-terminaltables
Added: head/textproc/py-stemming/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-stemming/Makefile Tue Jun 13 21:02:46 2017 (r443539)
@@ -0,0 +1,20 @@
+# Created by: Rene Ladan <rene at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= stemming
+PORTVERSION= 1.0.1
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rene at FreeBSD.org
+COMMENT= Algorithms for stemming
+
+LICENSE= PD
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/textproc/py-stemming/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-stemming/distinfo Tue Jun 13 21:02:46 2017 (r443539)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1497386383
+SHA256 (stemming-1.0.1.tar.gz) = 59678702e1d06caffecee82910f048edf12ad89dcf430776b4b05bfb8850bc51
+SIZE (stemming-1.0.1.tar.gz) = 10954
Added: head/textproc/py-stemming/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-stemming/pkg-descr Tue Jun 13 21:02:46 2017 (r443539)
@@ -0,0 +1,19 @@
+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.
+
+WWW: https://pypi.python.org/pypi/stemming
More information about the svn-ports-all
mailing list