diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2016-07-15 17:29:26 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2016-07-15 17:29:26 +0000 |
commit | e39c0085655e00e7e50384cbe768aa7757b8c3fd (patch) | |
tree | 602b6f202cf0ed546d7b105d87850f5cd98dbf8d /textproc | |
parent | 6434756a2769624d9f5d284c89dade949824642e (diff) | |
download | ports-e39c0085655e00e7e50384cbe768aa7757b8c3fd.tar.gz ports-e39c0085655e00e7e50384cbe768aa7757b8c3fd.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-guess-language/Makefile | 18 | ||||
-rw-r--r-- | textproc/py-guess-language/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-guess-language/pkg-descr | 7 |
4 files changed, 29 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index c05cf74de84a..3bc927bab2eb 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1237,6 +1237,7 @@ SUBDIR += py-excelerator SUBDIR += py-feedparser SUBDIR += py-genshi + SUBDIR += py-guess-language SUBDIR += py-hexdump SUBDIR += py-html2text SUBDIR += py-hyperestraier-python diff --git a/textproc/py-guess-language/Makefile b/textproc/py-guess-language/Makefile new file mode 100644 index 000000000000..008ba4d2f09a --- /dev/null +++ b/textproc/py-guess-language/Makefile @@ -0,0 +1,18 @@ +# $FreeBSD$ + +PORTNAME= guess-language +PORTVERSION= 0.2 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dbaio@bsd.com.br +COMMENT= Guess the natural language of a text in Python + +LICENSE= LGPL21+ + +NO_ARCH= yes +USES= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> diff --git a/textproc/py-guess-language/distinfo b/textproc/py-guess-language/distinfo new file mode 100644 index 000000000000..cf2ec6db9b99 --- /dev/null +++ b/textproc/py-guess-language/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1468017268 +SHA256 (guess-language-0.2.tar.gz) = b31ba2a279b8e6a19e9aa2f8e21c5fc4a56cd5557aea3f806cba73ecf38696e7 +SIZE (guess-language-0.2.tar.gz) = 98949 diff --git a/textproc/py-guess-language/pkg-descr b/textproc/py-guess-language/pkg-descr new file mode 100644 index 000000000000..e88d6e417427 --- /dev/null +++ b/textproc/py-guess-language/pkg-descr @@ -0,0 +1,7 @@ +Attempts to determine the natural language of a selection of Unicode +(utf-8) text. Based on guesslanguage.cpp by Jacob R Rideout for KDE +which itself is based on Language::Guess by Maciej Ceglowski. Detects +over 60 languages, all languages listed in the trigrams directory +plus Japanese, Chinese, Korean and Greek. + +WWW: https://pypi.python.org/pypi/guess-language |