-
Notifications
You must be signed in to change notification settings - Fork 249
Description
Duplicate from issue #192 (solved in 2018) but cannot apply solution on textacy 0.10
Hi, I'm using Textacy on Google Colab environment, running a default hosted runtim, installed through !pip3 install textacy
I've run into the same problem as the OP in #192 , I'm following the official document examples, version installed is the latest (textacy-0.10.0).
When trying dir(textacy) this the output:
['Corpus', 'DEFAULT_DATA_DIR', 'TextStats', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', 'about', 'cache', 'constants', 'corpus', 'datasets', 'extract', 'io', 'ke', 'lang_utils', 'load_spacy_lang', 'logger', 'logging', 'make_spacy_doc', 'network', 'preprocessing', 'set_doc_extensions', 'similarity', 'spacier', 'text_stats', 'text_utils', 'utils', 'vsm']
textacy.vsm.Vectorizer results in:
textacy.vsm.vectorizers.Vectorizer
but textacy.Vectorizer gives:
`AttributeError Traceback (most recent call last)
in ()
----> 1 textacy.Vectorizer
AttributeError: module 'textacy' has no attribute 'Vectorizer'`
Thanks for any help!