Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2022

Bumps gensim from 3.8.3 to 4.2.0.

Release notes

Sourced from gensim's releases.

4.2.0

A number of incremental improvements, optimizations and bugfixes: CHANGELOG

4.1.2, 2021-09-17

This is a bugfix release that addresses left over compatibility issues with older versions of numpy and MacOS.

4.1.1, 2021-09-14

This is a bugfix release that addresses compatibility issues with older versions of numpy.

4.1.0, 2021-08-15

Gensim 4.1 brings two major new functionalities:

There are several minor changes that are not backwards compatible with previous versions of Gensim. The affected functionality is relatively less used, so it is unlikely to affect most users, so we have opted to not require a major version bump. Nevertheless, we describe them below.

Improved parameter edge-case handling in KeyedVectors most_similar and most_similar_cosmul methods

We now handle both positive and negative keyword parameters consistently. They may now be either:

  1. A string, in which case the value is reinterpreted as a list of one element (the string value)
  2. A vector, in which case the value is reinterpreted as a list of one element (the vector)
  3. A list of strings
  4. A list of vectors

So you can now simply do:

    model.most_similar(positive='war', negative='peace')

instead of the slightly more involved

model.most_similar(positive=['war'], negative=['peace'])

Both invocations remain correct, so you can use whichever is most convenient. If you were somehow expecting gensim to interpret the strings as a list of characters, e.g.

model.most_similar(positive=['w', 'a', 'r'], negative=['p', 'e', 'a', 'c', 'e'])

... (truncated)

Changelog

Sourced from gensim's changelog.

4.2.0, 2022-04-29

👍 New features

  • #3188: Add get_sentence_vector() to FastText and get_mean_vector() to KeyedVectors, by @​rock420
  • #3194: Added random_seed parameter to make LsiModel reproducible, by @​parashardhapola
  • #3247: Sparse2Corpus: update getitem to work on slices, lists and ellipsis, by @​PrimozGodec
  • #3264: Detect when a fasttext executable is available in PATH, by @​pabs3
  • #3271: Added new ValueError in place of assertion error for no model data provided in lsi model, by @​mark-todd
  • #3299: Enable test_word2vec_stand_alone_script by using sys.executable for python, by @​pabs3
  • #3317: Added encoding parameter to TextDirectoryCorpus, by @​Sandman-Ren
  • #2656: Streamlining most_similar_cosmul and evaluate_word_analogies, by @​n3hrox

📚 Tutorials and docs

🔴 Bug fixes

⚠️ Removed functionality & deprecations

🔮 Testing, CI, housekeeping

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [gensim](https://github.com/RaRe-Technologies/gensim) from 3.8.3 to 4.2.0.
- [Release notes](https://github.com/RaRe-Technologies/gensim/releases)
- [Changelog](https://github.com/RaRe-Technologies/gensim/blob/develop/CHANGELOG.md)
- [Commits](piskvorky/gensim@3.8.3...4.2.0)

---
updated-dependencies:
- dependency-name: gensim
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant