Closed saeeddhqan closed 1 year ago
Isn't it better to implement __contains__ for Vectors class? In this way, one can easily find out whether a vocab is in the self.itos or not.
Thanks for opening an issue @saeeddhqan! If you want to propose this feature, we can help with testing and approving.
I created the PR. Looking forward to hear from you!
🚀 Feature
Isn't it better to implement __contains__ for Vectors class? In this way, one can easily find out whether a vocab is in the self.itos or not.