Skip to content

User can supply a custom list of stopwords to TextRank#8

Merged
jhrcook merged 3 commits intomainfrom
stopwords
Mar 3, 2021
Merged

User can supply a custom list of stopwords to TextRank#8
jhrcook merged 3 commits intomainfrom
stopwords

Conversation

@jhrcook
Copy link
Copy Markdown
Owner

@jhrcook jhrcook commented Mar 3, 2021

The stopwords are removed from Sentences' set of words and, thus, excluded from the similarity calculations of PageRank.

jhrcook added 3 commits March 3, 2021 06:28
- added as optional initialization param to Setence
- attribute added to TextRank
- minor refactoring of coppied code in TextRank initializers for
  creating `sentences` when `text` is changed
@jhrcook jhrcook added the enhancement New feature or request label Mar 3, 2021
@jhrcook jhrcook self-assigned this Mar 3, 2021
Copy link
Copy Markdown
Owner Author

@jhrcook jhrcook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go.

@jhrcook jhrcook merged commit e9abfc2 into main Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant