Skip to content

Summarize class object

Compare
Choose a tag to compare
@pszemraj pszemraj released this 18 Jan 19:47
· 7 commits to main since this release
f096278

easy-to-use API in python courtesy of a class object:

from textsum.summarize import Summarizer

summarizer = Summarizer() # loads default model and parameters
out_str = summarizer.summarize_string('This is a long string of text that will be summarized.')
print(out_str)

What's Changed

Full Changelog: v0.0.5...v0.1