Textwiser

Latest version: v2.0.1

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

Scan your dependencies

Page 1 of 3

2.0.1

-------------------------------------------------------------------------------
minor:
- Added `bpemb` to requirements as it is no longer a mandatory requirement for flair

-------------------------------------------------------------------------------

2.0.0

-------------------------------------------------------------------------------
major:
- Update CI test environment to Python 3.8, 3.9, 3.10, 3.11 and drop 3.7
- Remove support for Python 3.6 and Python 3.7
- Fix scipy version temporarily until `gensim` releases a patch for the following issue
Source: https://github.com/piskvorky/gensim/issues/3525
- Temporarily commented three tests in `test_doc2vec.py` for the same reason above
Source: https://github.com/fidelity/textwiser/blob/master/tests/test_doc2vec.py

-------------------------------------------------------------------------------

1.5.1

-------------------------------------------------------------------------------
minor:
- Change the binary parameter of sklearn models to be a boolean
Source: https://github.com/fidelity/textwiser/blob/2eb5d19c82f357e6d8e3fce5f4aa65bf71312100/textwiser/embeddings/random.py#L41
- Fix a test issue caused by umap fit_transform
The issue is caused by the new scipy version. So, issue is fixed by commenting the assertion and adding the version with which it would pass
Source: https://github.com/fidelity/textwiser/blob/fix/failed_tests/tests/test_umap.py#L23

-------------------------------------------------------------------------------

1.5.0

-------------------------------------------------------------------------------
major:
- Utilize ELMo from TFHub and remove allennlp dependency

-------------------------------------------------------------------------------

1.4.0

-------------------------------------------------------------------------------
major:
- Update UMAP to return deterministic output in latest version
Source: https://github.com/fidelity/textwiser/blob/39bad042104c41d0d57174b49941882af79cc3db/textwiser/transformations/umap_.py#L23
- Update SVD to return deterministic output
Source: https://github.com/fidelity/textwiser/blob/39bad042104c41d0d57174b49941882af79cc3db/textwiser/transformations/svd.py#L26
- Update Word2Vec and Doc2Vec with latest gensim training
Source: https://github.com/fidelity/textwiser/blob/39bad042104c41d0d57174b49941882af79cc3db/textwiser/embeddings/word.py#L204
Source: https://github.com/fidelity/textwiser/blob/39bad042104c41d0d57174b49941882af79cc3db/textwiser/embeddings/doc2vec.py#L25

minor:
- Disable non-relevant transformers warning
- Add full requirement install option (see requirements_full.txt)
- Make gensim requirement explicit instead of relying on flair's dependency tree
- Directly utilize ELMo from allennlp instead of flair by bumping allennlp requirement

-------------------------------------------------------------------------------

1.3.2

-------------------------------------------------------------------------------
minor:
- Added upper bound for flair (less or equal to 0.9) to pass python3.9 unit tests

-------------------------------------------------------------------------------

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.