From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 25 09:30:21 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 487E916A4B3 for ; Sat, 25 Oct 2003 09:30:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FA6643FBF for ; Sat, 25 Oct 2003 09:30:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9PGUHFY039728 for ; Sat, 25 Oct 2003 09:30:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9PGUHAe039727; Sat, 25 Oct 2003 09:30:17 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 25 Oct 2003 09:30:17 -0700 (PDT) Resent-Message-Id: <200310251630.h9PGUHAe039727@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cheng-Lung Sung Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADF4D16A4B3 for ; Sat, 25 Oct 2003 09:22:15 -0700 (PDT) Received: from mail.dragon2.net (sungsung.csie.nctu.edu.tw [140.113.215.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97F5F43FAF for ; Sat, 25 Oct 2003 09:22:14 -0700 (PDT) (envelope-from clsung@dragon2.net) Received: from localhost (localhost.csie.nctu.edu.tw [127.0.0.1]) by mail.dragon2.net (Postfix) with ESMTP id 086A5154D4; Sat, 25 Oct 2003 16:23:40 +0000 (GMT) Received: from mail.dragon2.net ([127.0.0.1])port 10024) with ESMTP id 70579-03; Sun, 26 Oct 2003 00:23:39 +0800 (CST) Received: by mail.dragon2.net (Postfix, from userid 1022) id 6A69C1538A; Sun, 26 Oct 2003 00:23:39 +0800 (CST) Message-Id: <20031025162339.6A69C1538A@mail.dragon2.net> Date: Sun, 26 Oct 2003 00:23:39 +0800 (CST) From: Cheng-Lung Sung To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: clsung@tiger2.net Subject: ports/58527: New port: devel/p5-Algorithm-NaiveBayes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cheng-Lung Sung List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 16:30:21 -0000 >Number: 58527 >Category: ports >Synopsis: New port: devel/p5-Algorithm-NaiveBayes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Oct 25 09:30:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 4.8-RELEASE-p13 i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD sungsung.csie.nctu.edu.tw 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #3: Wed Oct 8 07:32:16 CST 2003 root@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386 >Description: New port, for people who concern about Naive-Bayes Algorithm. Note: source name:Algorithm-NaiveBayes-0.02_01.tar.gz That's why I put 0.02_01 in PORTVERSION Sec. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Algorithm-NaiveBayes # p5-Algorithm-NaiveBayes/Makefile # p5-Algorithm-NaiveBayes/distinfo # p5-Algorithm-NaiveBayes/pkg-descr # p5-Algorithm-NaiveBayes/pkg-plist # echo c - p5-Algorithm-NaiveBayes mkdir -p p5-Algorithm-NaiveBayes > /dev/null 2>&1 echo x - p5-Algorithm-NaiveBayes/Makefile sed 's/^X//' >p5-Algorithm-NaiveBayes/Makefile << 'END-of-p5-Algorithm-NaiveBayes/Makefile' X# New ports collection makefile for: Algorithm::NaiveBayes X# Date created: Oct 25 2003 X# Whom: clsung@dragon2.net X# X# $FreeBSD$ X# X XPORTNAME= Algorithm-NaiveBayes XPORTVERSION= 0.02_01 XPORTREVISION= 0 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Algorithm XPKGNAMEPREFIX= p5- X XMAINTAINER= clsung@dragon2.net XCOMMENT= Perl class performing Bayesian prediction of categories X XPERL_CONFIGURE= yes X XMAN3= Algorithm::NaiveBayes.3 X X.include END-of-p5-Algorithm-NaiveBayes/Makefile echo x - p5-Algorithm-NaiveBayes/distinfo sed 's/^X//' >p5-Algorithm-NaiveBayes/distinfo << 'END-of-p5-Algorithm-NaiveBayes/distinfo' XMD5 (Algorithm-NaiveBayes-0.02_01.tar.gz) = b0d09696095467a3815ac6a7afb53a94 END-of-p5-Algorithm-NaiveBayes/distinfo echo x - p5-Algorithm-NaiveBayes/pkg-descr sed 's/^X//' >p5-Algorithm-NaiveBayes/pkg-descr << 'END-of-p5-Algorithm-NaiveBayes/pkg-descr' XThis module implements the classic "Naive Bayes" machine learning algorithm. XIt is a well-studied probabilistic algorithm often used in automatic text Xcategorization. Compared to other algorithms (kNN, SVM, Decision Trees), Xit's pretty fast and reasonably competitive in the quality of its results. X XA paper by Fabrizio Sebastiani provides a really good introduction to Xtext categorization: Xhttp://faure.iei.pi.cnr.it/~fabrizio/Publications/ACMCS02.pdf X XWWW: http://search.cpan.org/dist/Algorithm-NaiveBayes/ X XAuthor: Ken Williams END-of-p5-Algorithm-NaiveBayes/pkg-descr echo x - p5-Algorithm-NaiveBayes/pkg-plist sed 's/^X//' >p5-Algorithm-NaiveBayes/pkg-plist << 'END-of-p5-Algorithm-NaiveBayes/pkg-plist' X%%SITE_PERL%%/Algorithm/NaiveBayes.pm X%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Discrete.pm X%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Frequency.pm X%%SITE_PERL%%/Algorithm/NaiveBayes/Model/Gaussian.pm X%%SITE_PERL%%/Algorithm/NaiveBayes/Util.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/NaiveBayes/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm/NaiveBayes X@dirrm %%SITE_PERL%%/Algorithm/NaiveBayes/Model X@dirrm %%SITE_PERL%%/Algorithm/NaiveBayes X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Algorithm 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Algorithm/Util 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Algorithm 2>/dev/null || true END-of-p5-Algorithm-NaiveBayes/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: