public
Description: VSM/SVM based gem for simularity / classification / spam detection etc
Homepage: http://endax.com/opensource/redvector
Clone URL: git://github.com/endax/red-vector.git
name age message
file LICENSE Loading commit data...
file README Fri Oct 17 01:28:44 -0700 2008 testing [endax]
file Rakefile
file init.rb
directory lib/
file red-vector.gemspec Wed Sep 24 01:10:36 -0700 2008 Initial checkin [endax]
= REDVECTOR

== Under Construction

Lots to do


== Migration for now

Currently we're storing dictionary/posting in a database table:

  class AddRedVector < ActiveRecord::Migration
    def self.up
      create_table :tokens do |table|
        table.column :token, :string
        table.column :total_frequency, :integer
        table.column :number_of_postings, :integer
        table.column :idf, :float
      end
      create_table :postings do |table|
        table.column :token_id, :integer
        table.column :frequency, :integer
        table.column :indexed_id, :integer #id of the indexed record 
        table.column :indexed_type, :string #model type of indexed record
      end  
    end
  
    def self.down
      drop_table :tokens
      drop_table :postings
    end
  end

Plan is to come up with a better approach and get off of DBs / ActiveRecord

== History

Went through a couple of different rewrites - again starting from the bare essentials once 
again to expand the original purpose beyond a simple VSM - based search engine.. Lots more
to come. 

== ENDAX

Software Services shop (primarily Ruby) in San Diego, Ca.