Sha256: cb8600cb55078932cd6a551c6a8eebba7e4e07a28e335c3e90c3335bb611e916
Contents?: true
Size: 429 Bytes
Versions: 4
Compression:
Stored size: 429 Bytes
Contents
require 'rubygems' require 'forwardable' require File.join(File.dirname(__FILE__), 'twss/engine') module TWSS Version = '0.0.2' class << self extend Forwardable def_delegators :engine, :threshold, :threshold= def classify(str) engine.classify(str) end def engine @engine ||= TWSS::Engine.new end end end # Shortcut for TWSS.classify(str) def TWSS(str) TWSS.classify(str) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
twss-0.0.5 | lib/twss.rb |
twss-0.0.4 | lib/twss.rb |
twss-0.0.3 | lib/twss.rb |
twss-0.0.2 | lib/twss.rb |