class Trigram
- Trigram
- Reference
- Object
Defined in:
trigram.crConstructors
Class Method Summary
Instance Method Summary
- #add(str : String) : Int32
- #delete(str : String, id : Int32) : Nil
- #doc_ids : Hash(Int32, Bool)
- #intersect(first : Hash(Int32, Bool), second : Hash(Int32, Bool)) : Hash(Int32, Bool)
- #max_doc_id : Int32
- #query(str : String) : Array(Int32)
- #trigrams : Hash(Int32, Result)
Constructor Detail
Class Method Detail
Instance Method Detail
def intersect(first : Hash(Int32, Bool), second : Hash(Int32, Bool)) : Hash(Int32, Bool)
#