summarizer
summarizer
Inspired from sumy, summarizer lets you summarize any input text through extraction based algorithms.
As of now, the following algorithms are implemented :
- Luhn
- KL divergence based summarizer (WIP)
- SumBasic
- TextRank
More are being worked on.
Installation
-
Add the dependency to your
shard.yml
:dependencies: cadmium_summarizer: github: cadmiumcr/summarizer
-
Run
shards install
Usage
require "cadmium_summarizer"
SumBasic.new.summarize(long_text)
Contributing
- Fork it (https://github.com/cadmiumcr/summarizer/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Rémy Marronnier - creator and maintainer
Repository
summarizer
Owner
Statistic
- 2
- 2
- 1
- 1
- 3
- over 4 years ago
- August 26, 2019
License
MIT License
Links
Synced at
Thu, 07 Nov 2024 10:33:11 GMT
Languages