ports/78159: [NEW PORT] devel/libbnr: GPL implementation of the Bayesian Noise Reduction algorithm

Ion-Mihai IOnut Tetcu itetcu at people.tecnik93.com
Sun Feb 27 19:20:11 UTC 2005


>Number:         78159
>Category:       ports
>Synopsis:       [NEW PORT] devel/libbnr: GPL implementation of the Bayesian Noise Reduction algorithm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 27 19:20:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:


System: FreeBSD 5.3-STABLE #0: Thu Feb 10 17:38:05 EET 2005



>Description:


Bayesian Noise Reduction is a statistical approach to evaluating coherence by
instantiating a series of machine-generated contexts to serve as a means of
contrast. This makes it possible to identify text that is out of context using
a form of pattern consistency checking. BNR attempts to solve the problem
commonly referred to as "Bayesian Noise" which, in its simplest definition,
refers to irrelevant data present in a message being classified. Bayesian Noise
Reduction dubs irrelevant text in order to provide cleaner classification and
is implemented as a pre-filter to existing language classification functions.

BNR is used in Dspam (mail/dspam, mail/dspam-devel - the ports don't depent on this one)


>How-To-Repeat:





>Fix:


--- libbnr-2.0.3.shar begins here ---
# 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:
#
#	libbnr
#	libbnr/Makefile
#	libbnr/distinfo
#	libbnr/pkg-descr
#	libbnr/pkg-plist
#
echo c - libbnr
mkdir -p libbnr > /dev/null 2>&1
echo x - libbnr/Makefile
sed 's/^X//' >libbnr/Makefile << 'END-of-libbnr/Makefile'
X# New ports collection makefile for:	libbnr
X# Date created:				2005-02-27
X# Whom:			Ion-Mihai "IOnut" Tetcu<itetcu at people.tecnik93.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libbnr
XPORTVERSION=	2.0.3
XCATEGORIES=	devel mail
XMASTER_SITES=	http://dspam.nuclearelephant.com/sources/extras/ \
X		http://people.tecnik93.com/~itetcu/FreeBSD/ports/libbnr/sources/
X
XMAINTAINER=	itetcu at people.tecnik93.com
XCOMMENT=	GPL implementation of the Bayesian Noise Reduction algorithm
X
XUSE_LIBTOOL_VER=15
XINSTALLS_SHLIB=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=	--includedir=${PREFIX}/include/${PORTNAME}
X
X.ifdef(GDBS)
XCFLAGS+=	-g -DDEBUG
X.endif
X
XPORTDOCS=	README
X
Xpost-install:
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}
X.ifndef(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-libbnr/Makefile
echo x - libbnr/distinfo
sed 's/^X//' >libbnr/distinfo << 'END-of-libbnr/distinfo'
XMD5 (libbnr-2.0.3.tar.gz) = 4bbff2cab5d352c6d3bdbb706037e40e
XSIZE (libbnr-2.0.3.tar.gz) = 293199
END-of-libbnr/distinfo
echo x - libbnr/pkg-descr
sed 's/^X//' >libbnr/pkg-descr << 'END-of-libbnr/pkg-descr'
XBayesian Noise Reduction is a statistical approach to evaluating coherence by
Xinstantiating a series of machine-generated contexts to serve as a means of
Xcontrast. This makes it possible to identify text that is out of context using
Xa form of pattern consistency checking. BNR attempts to solve the problem
Xcommonly referred to as "Bayesian Noise" which, in its simplest definition,
Xrefers to irrelevant data present in a message being classified. Bayesian Noise
XReduction dubs irrelevant text in order to provide cleaner classification and
Xis implemented as a pre-filter to existing language classification functions.
X
XBNR is used in Dspam (mail/dspam, mail/dspam-devel - the ports don't depent on
Xthis one)
X
XSee www for white-paper and presentation.
X
XWWW: http://www.nuclearelephant.com/papers/bnr.html
END-of-libbnr/pkg-descr
echo x - libbnr/pkg-plist
sed 's/^X//' >libbnr/pkg-plist << 'END-of-libbnr/pkg-plist'
Xinclude/libbnr/bnr.h
Xinclude/libbnr/hash.h
Xinclude/libbnr/list.h
Xlib/libbnr.a
Xlib/libbnr.so
Xlib/libbnr.so.2
X%%EXAMPLESDIR%%/example.c
X at dirrm share/examples/libbnr
X at dirrm include/libbnr
END-of-libbnr/pkg-plist
exit

--- libbnr-2.0.3.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list