Skip to content
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

kevinzzz007/ark-tweet-nlp : WindowsError: [Error 2] The system cannot find the file specified #40

Open
Sandy4321 opened this issue Jan 12, 2016 · 0 comments

Comments

@Sandy4321
Copy link

May you pls help tp run your code from
https://github.com/kevinzzz007/ark-tweet-nlp
file ark-tweet-nlp-windows.zip

CMU ARK Twitter Part-of-Speech Tagger-Python wrapper for Windows http://www.ark.cs.cmu.edu/TweetNLP/

I only added test line to your code at the end
runString("lets go to store ")

and got this error massage

File "c:\Sander\mycode\pedrobalage-TwitterHybridClassifier_dec28\ark-tweet-nlp-windows\CMUTweetTaggerWindows.py", line 42, in
runString("lets go to store ")
File "c:\Sander\mycode\pedrobalage-TwitterHybridClassifier_dec28\ark-tweet-nlp-windows\CMUTweetTaggerWindows.py", line 29, in runString
p = subprocess.Popen('java -XX:ParallelGCThreads=2 -Xmx500m -jar ark-tweet-nlp-0.3.2.jar ' + file_name,stdout=subprocess.PIPE)
File "C:\Anaconda\Lib\subprocess.py", line 710, in init
errread, errwrite)
File "C:\Anaconda\Lib\subprocess.py", line 958, in _execute_child
startupinfo)

WindowsError: [Error 2] The system cannot find the file specified
PS
actually I have the same mistake from this project
https://github.com/pedrobalage/TwitterHybridClassifier/tree/master/Data/Lexicon/NRC-Hashtag-Sentiment-Lexicon-v0.1

so I try localise problem and run your code first to use ark-tweet-nlp on windows machine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant