-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- introduces a `Summarizer` class object defined in `summarize.py` - this helps organize/wrangle the many functions required for processing & enables easier usage in python API fairly straightforward ```python from textsum.summarize import Summarizer summ = Summarizer() output_path = summ.summarize_file('test.txt', batch_length=1024) print(f"summary saved to {output_path.resolve()}") ``` `Summarizer` of course, accepts several different kwargs for defining model and so on Signed-off-by: Peter <[email protected]> Signed-off-by: peter szemraj <[email protected]>
- Loading branch information
Showing
9 changed files
with
582 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
# Changelog | ||
### Changelog | ||
|
||
All notable changes to this project will be documented in this file. Dates are displayed in UTC. | ||
|
||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). | ||
|
||
#### [v0.0.5](https://github.com/pszemraj/textsum/compare/v0.0.1...v0.0.5) | ||
|
||
> 16 January 2023 | ||
- Summarization Pipeline CLI [`#2`](https://github.com/pszemraj/textsum/pull/2) | ||
|
||
#### v0.0.1 | ||
|
||
> 20 December 2022 | ||
- min working example [`#1`](https://github.com/pszemraj/textsum/pull/1) | ||
- 🚚 migrate docsum space files [`a33b00c`](https://github.com/pszemraj/textsum/commit/a33b00c676add7db63a163b37f6ca6dba61d646b) | ||
- 🎉 add pyscaffold skeleton [`cacaea3`](https://github.com/pszemraj/textsum/commit/cacaea3840ac620dedfcbdce8f92ae023fbf161b) | ||
- Initial commit [`ec48913`](https://github.com/pszemraj/textsum/commit/ec48913456d314908838db7574183e21e698a066) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.