dmmiller612 / bert-extractive-summarizer

Easy to use extractive text summarization with BERT
MIT License
1.38k stars 305 forks source link

Explained variation vs number of sentences #100

Closed gmolinah closed 3 years ago

gmolinah commented 3 years ago

Hi, nice library! I want to determine the optimal numbers of clusters/sentences by using the Elbow method, so it would be useful if i can get the explained variation of each clusterization. Is that stored in some attibute?

dmmiller612 commented 3 years ago

This is actually a great feature suggestion. I will look at adding it this weekend.

dmmiller612 commented 3 years ago

Supported as of pypi version 0.7.1. There is also updated documentation in the readme in how to use it.