ark-tweet-nlp icon indicating copy to clipboard operation
ark-tweet-nlp copied to clipboard

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

Open Sandy4321 opened this issue 9 years ago • 0 comments

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

Sandy4321 avatar Jan 12 '16 23:01 Sandy4321