Closed felipehummel closed 10 years ago
That's pretty good, I've been trying to make my local version mondo-independent and my way lacks some features you have. I'm going to track this PR.
I just saw this now. Sorry for the delay. Will review this later and will merge it. Thanks! :)
Hi, I've done a few things:
DummyKeywordService
(and correspondingtrait KeywordService
) so we don't need the Mongo dependency, as it seems, for me, the blog and category counts are not crucial for the algorithm. I'm planning of adding a way to plug in a external source of IDF (inverse-document frequency) to be used instead of the Mongo blog/category thing.Summary
case class to be returned bySummarizer
instead of the actual JSON. It acts as aTraversable[String]
to help printing/handling sentences.