aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-guess-language
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-07-15 17:29:26 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-07-15 17:29:26 +0000
commite39c0085655e00e7e50384cbe768aa7757b8c3fd (patch)
tree602b6f202cf0ed546d7b105d87850f5cd98dbf8d /textproc/py-guess-language
parent6434756a2769624d9f5d284c89dade949824642e (diff)
downloadports-e39c0085655e00e7e50384cbe768aa7757b8c3fd.tar.gz
ports-e39c0085655e00e7e50384cbe768aa7757b8c3fd.zip
Notes
Diffstat (limited to 'textproc/py-guess-language')
-rw-r--r--textproc/py-guess-language/Makefile18
-rw-r--r--textproc/py-guess-language/distinfo3
-rw-r--r--textproc/py-guess-language/pkg-descr7
3 files changed, 28 insertions, 0 deletions
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