class Cadmium::Glove::Parser

Defined in:

glove/parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(text : String, *, stem : Bool = true, alphabetic : Bool = true, normalize : Bool = true, stop_words : Array(String) = [] of String, min_length : Int32 = 3, max_length : Int32 = 25) #

[View source]

Instance Method Detail

def alphabetic(text) #

[View source]
def downcase(text) #

[View source]
def normalize(tokens) #

[View source]
def split(text) #

[View source]
def stem(tokens) #

[View source]
def stop_words(tokens) #

[View source]
def tokenize #

[View source]
def tokens : Array(String) #

[View source]