class Cadmium::Summarizer::KL

Overview

Source: http://www.aclweb.org/anthology/N09-1041

Defined in:

cadmium/summarizer/kl.cr

Instance methods inherited from class Cadmium::Summarizer::AbstractSummarizer

all_terms(text : String) : Array(String) all_terms, normalize_ratio(terms_ratio : Hash(String, Float64), min_ratio = 0.001, max_ratio = 0.5) : Hash(String, Float64) normalize_ratio, normalized_terms_ratio(text : String, min_ratio = 0.001, max_ratio = 0.5) : Hash(String, Float64) normalized_terms_ratio, select_sentences(text : String, max_num_sentences : Int32) : Array(String) select_sentences, significant_terms(text : String) : Array(String) significant_terms, summarize(text : String, max_num_sentences = 5) : String summarize, terms_frequencies(terms : Array(String)) : Hash(String, Int32) terms_frequencies, terms_ratio(terms_frequencies : Hash(String, Int32), number_of_terms : Int32) : Hash(String, Float64) terms_ratio