e39c008565
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 PR: 211058 Submitted by: Danilo G. Baio <dbaio@bsd.com.br>
18 lines
335 B
Makefile
18 lines
335 B
Makefile
# $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>
|