karlhigley / lexrank-summarizer

A Spark-based LexRank extractive summarizer for text documents
MIT License
19 stars 4 forks source link

Represent similarities as Floats instead of Doubles in LexRank #30

Closed karlhigley closed 9 years ago

karlhigley commented 9 years ago

The precision of a Double isn't necessary for the simple comparisons that are used, and this saves a few bytes per graph edge (which adds up quickly).