You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tmylk
changed the title
Move Pattern warning from import time to when lemmatization is used
Move "Pattern not installed" warning from import time to when lemmatization is used
Nov 13, 2016
@tmylk , @souravsingh . I have fixed this issue. I moved 'has_pattern()' method's pattern installation check to lemmatize method. The warning will only occur when user calls the lemmatization method and if the pattern library is not installed. I also modified the call to "has_pattern" in corpora/wikicorpus's constructor.
It confuses many first time users as the warning is the first thing they see when importing gensim.
The text was updated successfully, but these errors were encountered: