pytorch / text

Models, data loaders and abstractions for language processing, powered by PyTorch
https://pytorch.org/text
BSD 3-Clause "New" or "Revised" License
3.49k stars 815 forks source link

Implementing __contains__ for vocab.Vectors class #2144

Closed saeeddhqan closed 1 year ago

saeeddhqan commented 1 year ago

Thank you for taking your time. This is my first contribution to this project. I implemented the method. If I need to change any documentation or anything else, do let me know.

Thanks!

Closes #2140

github-advanced-security[bot] commented 1 year ago

You have successfully added a new CodeQL configuration .github/workflows/codeql.yml:build. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.