-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I tried today to install a dvb-card on my Ubuntu 12.04 (Linux blauhai-linux 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
). The installation failed with an error. After that, i tried to install python (it was already installed but i got this error):
linux:~$…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I installed sikuli-ide with
sudo apt-get install sikuli-ide
Everything was fine until I tried to start it from the terminal. I typed
sikuli-ide
But the only response I got was
[info] locale: en_US
The application was not started, furthermore there is no desktop file and sikuli-ide does not…
>>> More
-
as seen on Super User
- Search for 'Super User'
I can't import some python libraries (PIL, psycopg2) that I just installed with MacPorts. I looked through these forums, and tried to adjust my PATH variable in $HOME/.bash_profile in order to fix this but it did not work.
I added the location of PIL and psycopg2 to PATH.
I know that Terminal is…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to pass a chunk of Python code to Python in R with something like system('python ...'), and I'm wondering if there is an easy way to emulate the python console in this case. For example, suppose the code is "print 'hello world'", how can I get the output like this in R?
>>> print…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am currently struggling to call a non python program from a python script.
I have a ~1000 files that when passed through this C++ program will generate ~1000 outputs. Each output file must have a distinct name.
The command I wish to run is of the form:
program_name -input -output -o1 -o2…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello all,
I am trying to import NLTK in my python code and I get this error:
Traceback (most recent call last):
File "/home/afs/NetBeansProjects/NER/getNE_followers.py", line 7, in
import nltk
ImportError: No module named nltk
I am using NetBeans: 6.7.1, Python 2.6 NLTK.
My NLTK module is…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am embarking upon a NLP project for sentiment analysis.
I have successfully installed NLTK for python (seems like a great piece of software for this). However,I am having trouble understanding how it can be used to accomplish my task.
Here is my task:
I start with one long piece of data (lets…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I can't use the nltk wordnet lemmatizer because I can't download the wordnet corpus on my university computer due to access rights issues.
I get the following error when I try to do so:
********************************************************************** Resource 'corpora/wordnet' not found…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
Is there a way to obtain Wordnet adjective nominalizations using NLTK?
For example, for 'happy' the desired output would be 'happiness'.
I tried to dig around, but couldn't find anything.
Thanks!
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I'm doing a project for a college class I'm taking.
I'm using PHP to build a simple web app that classify tweets as "positive" (or happy) and "negative" (or sad) based on a set of dictionaries. The algorithm I'm thinking of right now is Naive Bayes classifier or decision tree.
However, I can't…
>>> More