Bug 229527 - [NEW PORT] textproc/py-normality: Micro-library to normalize text strings
Summary: [NEW PORT] textproc/py-normality: Micro-library to normalize text strings
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Martin Wilke
URL: https://pypi.org/project/normality
Keywords:
Depends on: 229526
Blocks: 229528
  Show dependency treegraph
 
Reported: 2018-07-05 05:12 UTC by Kai Knoblich
Modified: 2018-07-28 12:23 UTC (History)
2 users (show)

See Also:


Attachments
py-normality.patch (2.79 KB, patch)
2018-07-05 05:12 UTC, Kai Knoblich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2018-07-05 05:12:02 UTC
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)
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-07-28 12:23:53 UTC
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