From: Adil Kaleem on
Hi all
I'm a masters student in NLP. I needed to download the Brown corpus.
I'm unable to download from nltk.org with the python CLI. My network
connection is behind a proxy server so it's creating a problem. Since
I don't know a bit of python, so unable to figure a way out. Can
someone help me in this regard either how to solve my downloading
problem or how to get Brown Corpus from some other link.
Thanks in advance.
From: Peter Pearson on
On Sat, 1 May 2010 06:28:33 -0700 (PDT), Adil Kaleem wrote:
> Hi all
> I'm a masters student in NLP. I needed to download the Brown corpus.
> I'm unable to download from nltk.org with the python CLI. My network
> connection is behind a proxy server so it's creating a problem. Since
> I don't know a bit of python, so unable to figure a way out. Can
> someone help me in this regard either how to solve my downloading
> problem or how to get Brown Corpus from some other link.
> Thanks in advance.

As I understand it (from Wikipedia), the Brown Corpus is a
collection of samples of modern American English text, and
nltk.org provides a Python toolkit for exploring said Corpus.

I'm trying to figure out whether you're trying to get the
Corpus or the toolkit. Neither interpretation looks
plausible: if you're after the Corpus itself and you don't
know a bit of Python, why are you struggling with Python?
On the other hand, if you're after the toolkit, what's the
problem? People download Python modules all the time. And
besides, why would you be after the toolkit if you don't
know a bit of Python?

If your goal is to learn enough Python to use the toolkit,
you'll find this newsgroup full of smart and helpful people.

But you'll have to be a little more explicit about what
you're trying to do and more specific about what obstacles
you encounter. As you might see by looking at other threads
on this newsgroup, the queries that get the most prompt and
useful responses usually include blocks of quoted text of
the form "I type this [cut-and-pasted block] and get
this response [another cut-and-pasted block]."

--
To email me, substitute nowhere->spamcop, invalid->net.
From: Steven D'Aprano on
On Sat, 01 May 2010 06:28:33 -0700, Adil Kaleem wrote:

> Hi all
> I'm a masters student in NLP. I needed to download the Brown corpus. I'm
> unable to download from nltk.org with the python CLI. My network
> connection is behind a proxy server so it's creating a problem. Since I
> don't know a bit of python, so unable to figure a way out.

This has nothing to do with Python, it is a network issue. Talk to your
network administrator and get him to fix the proxy, or give you a way to
bypass it. Or if you have an internet connection at home, download it
from there.


--
Steven
From: Adil Kaleem on
On May 1, 10:54 pm, Peter Pearson <ppear...(a)nowhere.invalid> wrote:

>
> As I understand it (from Wikipedia), the Brown Corpus is a
> collection of samples of modern American English text, and
> nltk.org provides a Python toolkit for exploring said Corpus.
>
> I'm trying to figure out whether you're trying to get the
> Corpus or the toolkit.  Neither interpretation looks
> plausible: if you're after the Corpus itself and you don't
> know a bit of Python, why are you struggling with Python?
> On the other hand, if you're after the toolkit, what's the
> problem? People download Python modules all the time.  And
> besides, why would you be after the toolkit if you don't
> know a bit of Python?
>
> If your goal is to learn enough Python to use the toolkit,
> you'll find this newsgroup full of smart and helpful people.
>
> But you'll have to be a little more explicit about what
> you're trying to do and more specific about what obstacles
> you encounter.  As you might see by looking at other threads
> on this newsgroup, the queries that get the most prompt and
> useful responses usually include blocks of quoted text of
> the form "I type this [cut-and-pasted block] and get
> this response [another cut-and-pasted block]."
>
> --
> To email me, substitute nowhere->spamcop, invalid->net.



Hi Peter,
Thanks for replying. Appreciate your pain in writing. I'm sorry I
wasn't proper in my question. I downloaded the toolkit and from it I
wanted to download the corpora. But since my system is behind the
proxy (no direct connection), I couldn't download the corpora as was
the process told for downloading using Python IDLE. The exact steps/
codes to write were given on the website for downloading but was only
for a direct connection. I didn't knew the process of configuring IDLE
for a proxy network for the download. And lastly since I'm unaware of
Python programming, I faced the problem. This was my total essence of
the problem and in this regard, I sought to take help from the very
best of this language knowers i.e, you all.
But nonetheless, I got my problem solved. One amongst you, Shashank
Singh, in this group helped me in solving the problem. I thank him
again for taking all the pain in making the system work for me. Thanks
Shashank, I owe you man.

Thank you Peter for giving your precious time in reading and replying
to my problem.
From: Adil Kaleem on
On May 2, 6:30 am, Steven D'Aprano <st...(a)REMOVE-THIS-
cybersource.com.au> wrote:
> On Sat, 01 May 2010 06:28:33 -0700, Adil Kaleem wrote:
> > Hi all
> > I'm a masters student in NLP. I needed to download the Brown corpus. I'm
> > unable to download from nltk.org with the python CLI. My network
> > connection is behind a proxy server so it's creating a problem. Since I
> > don't know a bit of python, so unable to figure a way out.
>
> This has nothing to do with Python, it is a network issue. Talk to your
> network administrator and get him to fix the proxy, or give you a way to
> bypass it. Or if you have an internet connection at home, download it
> from there.
>
> --
> Steven


Hi Steven,
It all had to do with configuring the network from Python IDLE,
aliter: It all had to do with Python. I could have done it, the
bypasssing. But I couldn't have learned anything if I hadn't fought
with the problem, of course it was Shashank Singh from this group who
helped me through. Bypassing is always not good, atleast for me and
therefore I came to seek the help of you all.
Thanks Steven in reading and replying to my problem.

--
Adil