Open Brittneygogogo opened 5 years ago
import spacy import wmd import en_core_web_sm nlp = en_core_web_sm.load() wmd_instance = wmd.WMD.SpacySimilarityHook(nlp)
Traceback (most recent call last): File "<stdin>", line 1, in <module> **AttributeError: module 'wmd' has no attribute 'WMD'**
Does anyone knows how to fix this error? Thanks!
Do you have another module or folder named "wmd" in your directory?
Environment
Code
Error
Does anyone knows how to fix this error? Thanks!