Pytextrank

Latest version: v3.3.0

Safety actively analyzes 639068 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

3.2.0

2021-07-17

Various support for `spaCy` 3.1.x updates, which changes some interfaces.

- **NB: THE SCRUBBER UPDATE WILL BREAK PREVIOUS RELEASES**
- allow Span as scrubber argument, to align with spaCy 3.1.x; kudos Ankush-Chander
- add lgtm code reviews (slow, not integrating into GitHub PRs directly)
- evaluating grayskull to generate a conda-forge recipe
- add use of pipdeptree to analyze dependencies
- use KG from biblio.ttl to generate bibliography
- fixed overlooked comment from earlier code; kudos debraj135
- add visualisation using altair; kudos louisguitton
- add scrubber usage in sample notebook; kudos Ankush-Chander
- integrating use of MkRefs to generate semantic reference pages in docs

3.1.1

2021-03-25

* fix the span length calculation in explanation notebook; kudos Ankush-Chander
* add `BiasedTextRank` by Ankush-Chander (many thanks!)
* add conda `environment.yml` plus instructions
* use `bandit` to check for security issues
* use `codespell` to check for spelling errors
* add `pre-commit` checks in general
* update `doc._.phrases` in the call to `change_focus()` so the summarization will sync with the latest focus

3.1.0

2021-03-12

* rename `master` branch to `main`
* add a factory class that assigns each doc its own Textrank object; kudos Ankush-Chander
* refactor the stopwords feature as a constructor argument
* add `get_unit_vector()` method to expose the characteristic *unit vector*
* add `calc_sent_dist()` method to expose the sentence distance measures (for summarization)
* include a unit test for summarization
* updated contributor instructions
* `pylint` coverage for code checking
* linking definitions and citations in source code apidocs to our online docs
* updated links on PyPi

3.0.1

2021-02-27

* `mypy` coverage for type annotations
* add DOI to README and CITATION
* now deploying online docs at <https://derwen.ai/docs/ptr/>

3.0.0

2021-02-14

* **THIS WILL BREAK THINGS!!!**
* support for `spaCy` 3.0.x; kudos Lord-V15
* full integration of `PositionRank`
* migrated all unit tests to `pytest`
* removed use of `logger` for debugging, introducing `icecream` instead

2.1.0

2021-01-31

* add `PositionRank` by louisguitton (many thanks!)
* fixes chunk in `explain_summ.ipynb` by anna-droid-beep
* add option `preserve_order` in TextRank.summary by kavorite
* tested with `spaCy` 2.3.5

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.