# mail/OSBF-lua - The NetBSD Packages Collection

Lua C module for text classification

    OSBF-Lua (Orthogonal Sparse Bigrams with confidence Factor) is a Lua C module
    for text classification. It is a port of the OSBF classifier implemented in
    the CRM114 project. This implementation attempts to put focus on the
    classification task itself by using Lua as the scripting language, a powerful
    yet light-weight and fast language, which makes it easier to build and test
    more elaborated filters and training methods.

    The OSBF algorithm is a typical Bayesian classifier but enhanced with two
    techniques originally developed for the CRM114 project: Orthogonal Sparse
    Bigrams - OSB, for feature extraction, and Exponential Differential Document
    Count - EDDC (a.k.a Confidence Factor), for automatic feature selection.
    Combined, these two techniques produce a highly accurate classifier. OSBF
    was developed focused on two classes, SPAM and NON-SPAM, so the performance
    for more than two classes may not be the same.

    spamfilter.lua is an anti-spam filter written in Lua using the OSBF-lua
    module.  It takes special advantage of EDDC to introduce TONE-HR, a highly
    effective training method. The combination of OSB, EDDC and TONE-HR to
    enhance a classical Bayesian classifier resulted in the best spam filtering
    performance in TREC's Spam Track 2006 and the CEAS 2008 Live Spam Filter
    Challenge.

- Source version: `osbf-lua-2.0.4nb6`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://github.com/arunpersaud/osbf-lua
- License: gnu-gpl-v2
- Package history: cvs, hg, git

## Build dependencies

pkgtools/mktools devel/gmake pkgtools/cwrappers

## Runtime dependencies

lang/lua52

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | aarch64 | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | aarch64eb | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | alpha | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | earmv4 | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | earmv4 | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | earmv6hf | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | earmv6hf | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | earmv7hf | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | earmv7hf | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | i386 | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | i386 | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | m68k | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | powerpc | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | powerpc | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | powerpc | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | sh3el | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | sparc64 | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | sparc64 | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | vax | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | x86_64 | osbf-lua-2.0.4nb6.tgz
NetBSD 10.0 | x86_64 | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | aarch64 | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | aarch64 | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | aarch64eb | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | aarch64eb | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | earmv6hf | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | earmv6hf | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | earmv7hf | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | earmv7hf | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | i386 | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | i386 | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | m68k | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | m68k | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | riscv64 | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | riscv64 | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | riscv64 | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | sh3el | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | vax | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | vax | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | x86_64 | osbf-lua-2.0.4nb6.tgz
NetBSD 11.0 | x86_64 | osbf-lua-2.0.4nb6.tgz
NetBSD 9.0 | aarch64 | osbf-lua-2.0.4nb6.tgz
NetBSD 9.0 | aarch64 | osbf-lua-2.0.4nb6.tgz
NetBSD 9.0 | earmv6hf | osbf-lua-2.0.4nb6.tgz
NetBSD 9.0 | earmv6hf | osbf-lua-2.0.4nb6.tgz
NetBSD 9.0 | earmv7hf | osbf-lua-2.0.4nb6.tgz
NetBSD 9.0 | earmv7hf | osbf-lua-2.0.4nb6.tgz
NetBSD 9.0 | i386 | osbf-lua-2.0.4nb6.tgz
NetBSD 9.0 | i386 | osbf-lua-2.0.4nb6.tgz
NetBSD 9.0 | powerpc | osbf-lua-2.0.4nb6.tgz
NetBSD 9.0 | x86_64 | osbf-lua-2.0.4nb6.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.