class Trigram

Defined in:

trigram.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(& : self -> ) : self #

[View source]
def self.new #

[View source]

Class Method Detail

def self.parse(str : String) : Array(Int32) #

[View source]

Instance Method Detail

def add(str : String) : Int32 #

[View source]
def delete(str : String, id : Int32) : Nil #

[View source]
def doc_ids : Hash(Int32, Bool) #

[View source]
def intersect(first : Hash(Int32, Bool), second : Hash(Int32, Bool)) : Hash(Int32, Bool) #

[View source]
def max_doc_id : Int32 #

[View source]
def query(str : String) : Array(Int32) #

[View source]
def trigrams : Hash(Int32, Result) #

[View source]