Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
luhn-summary
master
Top Level Namespace
Built with Crystal 1.9.2
2023-10-07 19:54:22 UTC
Top Level Namespace
Defined in:
Method Summary
get_keywords
(text, min_ratio =
0.001
, max_ratio =
0.5
)
get_sentence_weight
(sentence, keywords)
summarize
(text, max_num_sentences =
10
)
Method Detail
def
get_keywords
(text, min_ratio =
0.001
, max_ratio =
0.5
)
#
[
View source
]
def
get_sentence_weight
(sentence, keywords)
#
[
View source
]
def
summarize
(text, max_num_sentences =
10
)
#
[
View source
]