karlhigley / lexrank-summarizer

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

Pre-filter the graph edges rather than filtering the graph itself #1

Closed karlhigley closed 9 years ago

karlhigley commented 9 years ago

This saves some work by avoiding the creation of unnecessary edges that will only be filtered out later anyway. May as well do the filtering up front and only construct the graph with the required edges.