Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed FastTextKeyedVectors handling in add_vector #3389

Merged
merged 1 commit into from
Dec 12, 2022

Commits on Sep 29, 2022

  1. Fixed issue when using add_vector with FastTextKeyedVectors

    Since Gensim 4.0, 'key' in FastTextKeyedVectors always returns True by design.
    The proper way to check if a key already exists is with 'key' in FastTextKeyedVectors.key_to_index.
    dcarron committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    29f4060 View commit details
    Browse the repository at this point in the history