class Linguist::NGramsTokenizer

Defined in:

linguist/tokenizer.cr

Constant Summary

SYMBOL_RANGES = [0..64, 91..96]

Constructors

Instance Method Summary

Constructor Detail

def self.new(max_size : Int32 = 3) #

[View source]

Instance Method Detail

def downcase?(string) #

[View source]
def max_size : Int32 #

[View source]
def max_size=(max_size : Int32) #

[View source]
def symbol?(char) #

[View source]
def tokenize(string : String) : Array(String) #

[View source]