These are chat archives for cltk/cltk

13th
Aug 2016
Manvendra Singh
@manu-chroma
Aug 13 2016 12:34
off-topic: I tried Bash on Ubuntu on Windows after Anniversary Update Windows 10 . For those of you who aren't aware of it
I tried setting up CLTK dev environment on it and then running the test suite.
blob
This has been the result.
Also, I noticed that numpy and pandas are hidden dependencies of CLTK while running the tests. They are not explicitly mentioned in the requirements.txt file but popped as import error due to not being on my system
numpy is pre-installed on almost all linux distros now. So maybe that's why no one encountered that error.
Manvendra Singh
@manu-chroma
Aug 13 2016 12:41
The errors in the test suite seem trivial.
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 14:50
Manvendra, this is great news!
Thank you for testing. These seem like trivial errors to me, too. Is this Ubuntu-on-Windows stable yet? And can you install python3 and then do a typical virtualenv?
If so, would you like to update the docs with some directions? https://github.com/cltk/cltk/blob/master/docs/installation.rst#with-pip
Manvendra Singh
@manu-chroma
Aug 13 2016 15:12
That's exactly the procedure I followed. Installed python tools, virtualenv and other dependencies.
Created a virtual environment, installed dependencies and ran the setup.py
Yes, it looks fairly stable in the time I have used it so far.
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 15:14
Ah, sorry, I meant to ask: will it work for the average user, when they install with pip?
Manvendra Singh
@manu-chroma
Aug 13 2016 15:16
I'll see why the tests are failing very soon. After I'm done with that, I'll run a standard pip installation and get back to you.
I think it should work well for an average user
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 15:16
So encouraging. For once Windows did something smart!
Also think about how users should install the optional dependencies (pandas, gensim, a few others). Hopefully pip will be enough
Manvendra Singh
@manu-chroma
Aug 13 2016 15:17
Haha, true indeed!
it should help in expanding CLTK reach :smile:
For these modules, we can add them in the requirements.txtfile
what do you think of that ?
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 15:24
Yes, we can add them to requirements.txt -- I forget how up to date it is
But I only want devs to use requirements.txt -- it is not usual for our devs
It isn't common for our users to pull source
Manvendra Singh
@manu-chroma
Aug 13 2016 15:25
yes, I understand
Also, while running the test suite for the first time, huge amounts of corpora were being downloaded
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 15:27
Yes, I actually want to remove some of the corpora downloads from it. One small one should be enough.
Maybe two
Manvendra Singh
@manu-chroma
Aug 13 2016 15:27
If we can display the cltk.log file in the terminal during this procedure, it would be really great for the devs
oh okay, that would be really great
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 15:28
How about this: I'll rm some corpus downloads from test_corpus.py
Manvendra Singh
@manu-chroma
Aug 13 2016 15:28
yeah, sounds great
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 15:28
About adding printouts, I'm torn
Manvendra Singh
@manu-chroma
Aug 13 2016 15:29
logger works really well
I think running test suite in verbose mode would give some amount of visual cue
nosetests -v cltk/tests/
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 15:30
oh, I haven't done that.
Manvendra Singh
@manu-chroma
Aug 13 2016 15:31
pls try that. I can update the docs accordingly if you'd like that
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 15:32
Let me think about it. I have to go in a sec, unfortunately. @manu-chroma do you have enough work to keep you busy for the next 24 hours?
If we can get Windows enabled, this'll be a huge step forward
Manvendra Singh
@manu-chroma
Aug 13 2016 15:32
Yes I do. we can talk about this later
I am very positive we'll have windows support
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 15:32
Terrific, have a great day/eve :)
Manvendra Singh
@manu-chroma
Aug 13 2016 15:33
without barely changing the code base (most important fact here)
sure, you too!
Kyle P. Johnson
@kylepjohnson
Aug 13 2016 15:33
Great. I'd love for you to write a blog post, too, once you're done (I can help)
awesome
Manvendra Singh
@manu-chroma
Aug 13 2016 15:33
sounds great! :smile: