Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
ext
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.rdoc

rtimbl

rtimbl is a Ruby interface to the C++ machine-learning library Timbl. This is very much a work in progress. If you happen to come across this, keep that in mind.

View the TiMBL Homepage.

installation

sudo gem install markisisme-rtimbl
  • make sure you already have Timbl version 6.1.5 installed on your system.

usage

  • first require the library

    require 'rtimbl'
    include Ruby_timbl
    
  • now use commands as defined by the Timbl API.

    rt = TimblAPI.new("-k3")
    rt.learn("/path/to/file")
    result = rt.classify("5,0,0,1,0,?") # result is a TargetValue object
    

Copyright © 2009 Mark Shirley. See LICENSE for details.

About

A Ruby interface to the Timbl machine-learning library

Resources

License

Packages

No packages published
You can’t perform that action at this time.