-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DTM import error #147
Comments
@ebaggott Sorry it has taken me a while to reply. Please stand by while I bring the docs up to date -- expect an update in this thread within the next few days. |
This will be TETHNE-130 |
@ebaggott Just an update: DTM support was removed in v0.7, but I'm bringing it back for v0.8.1. I took it out because there was a nasty memory leak, but it looks like someone patched that so we're back in business. I'll let you know when it's ready to test. In the meantime, can I get your help developing our new Q/A group, here? It would be great if you could create questions about things you've already figured out (and post your answer!), so that others who are getting started can benefit. I really appreciate it! |
@ebaggott Ok, DTM is back! For now it's in v0.8.1.dev5, which means that you'll have to upgrade Tethne with the --pre flag: pip install -U tethne --pre The API is a little different (see the example in the docstring, below). It would be great to get your feedback on this, and any ideas for how to make it easier to use. I'll write up some better documentation soon. Here's the docstring for reference:
|
Sorry, I know it's been at least a year since this was last looked at, but I was wondering if v0.8.1.dev5 is still the right version of tethne to use for DTM? I do see dtm.py and dtm.pyc in this version's model/corpus, but nothing in init.py, so as a result when I try to use dtm.from_gerrish I get
Could you please help. Thanks! |
Hello,
I'd like to use tethne.model.corpus.DTMmodel.from_gerrish. However, I can't load the requisite modules. Can you help? This is what I have tried:
from tethne.model.corpus import dtmmodel
from tethne.model.managers import DTMModelManager
from tethne.model import DTMModelManager
from tethne.model.corpus import dtmmodel
I always get the following import error:
ImportError: cannot import name DTMModelManager
Thanks!
The text was updated successfully, but these errors were encountered: