Created attachment 194887 [details] py-normality.patch Hello, attached is the patch that adds the Python package textproc/py-normality, which is a Python micro-package that contains a small set of text normalization functions for easier re-use. These functions accept a snippet of unicode or utf-8 encoded text and remove various classes of characters, such as diacritics, punctuation etc. This is useful as a preparation to further text analysis. QA: ~~~ - poudriere (11.2-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK - portlint -> OK Note: - Before this package can be committed, the port devel/py-banal must be added to the ports tree first (see also PR #229526: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229526)
A commit references this bug: Author: miwi Date: Sat Jul 28 12:22:53 UTC 2018 New revision: 475545 URL: https://svnweb.freebsd.org/changeset/ports/475545 Log: Normality is a Python micro-package that contains a small set of text normalization functions for easier re-use. These functions accept a snippet of unicode or utf-8 encoded text and remove various classes of characters, such as diacritics, punctuation etc. This is useful as a preparation to further text analysis. WWW: https://github.com/pudo/normality PR: 229527 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Changes: head/textproc/Makefile head/textproc/py-normality/ head/textproc/py-normality/Makefile head/textproc/py-normality/distinfo head/textproc/py-normality/pkg-descr