From owner-cvs-ports@FreeBSD.ORG Sun Sep 24 19:52:00 2006 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3595C16A40F; Sun, 24 Sep 2006 19:52:00 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0283143D53; Sun, 24 Sep 2006 19:52:00 +0000 (GMT) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8OJpxZS064535; Sun, 24 Sep 2006 19:51:59 GMT (envelope-from miwi@repoman.freebsd.org) Received: (from miwi@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8OJpxM0064534; Sun, 24 Sep 2006 19:51:59 GMT (envelope-from miwi) Message-Id: <200609241951.k8OJpxM0064534@repoman.freebsd.org> From: Martin Wilke Date: Sun, 24 Sep 2006 19:51:59 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/textproc Makefile ports/textproc/p5-Text-Language-Guess Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2006 19:52:00 -0000 miwi 2006-09-24 19:51:59 UTC FreeBSD ports repository Modified files: textproc Makefile Added files: textproc/p5-Text-Language-Guess Makefile distinfo pkg-descr pkg-plist Log: Text::Language::Guess guesses a document's language. Its implementation is simple: Using "Text::ExtractWords" and "Lingua::StopWords" from CPAN, it determines how many of the known stopwords the document contains for each language supported by "Lingua::StopWords". Each word in the document recognized as stopword of a particular language scores one point for this language. The "language_guess()" function takes a document as a parameter and returns the abbreviation of the language that it is most likely written in. Author: Mike Schilli WWW: http://search.cpan.org/~mschilli/Text-Language-Guess-0.02/ PR: ports/103571 Submitted by: Masahiro Teramoto Revision Changes Path 1.1062 +1 -0 ports/textproc/Makefile 1.1 +34 -0 ports/textproc/p5-Text-Language-Guess/Makefile (new) 1.1 +3 -0 ports/textproc/p5-Text-Language-Guess/distinfo (new) 1.1 +14 -0 ports/textproc/p5-Text-Language-Guess/pkg-descr (new) 1.1 +9 -0 ports/textproc/p5-Text-Language-Guess/pkg-plist (new)