e66faea1be
BACT is a machine learning tool for labeled orderd trees. The important characteristic is that the input example x is represented not in a numerical feature vector (bag-of-words) but in a labeled ordered tree. Closes Homebrew/homebrew#13816. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
13 lines
332 B
Ruby
13 lines
332 B
Ruby
require 'formula'
|
|
|
|
class Bact < Formula
|
|
homepage 'http://chasen.org/~taku/software/bact/'
|
|
url 'http://chasen.org/~taku/software/bact/bact-0.13.tar.gz'
|
|
sha1 'cdc8815e9258868699d98449598058011e993218'
|
|
|
|
def install
|
|
system "make"
|
|
system "make test"
|
|
bin.install "bact_learn", "bact_classify","bact_mkmodel"
|
|
end
|
|
end
|