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

empty result for the example

Open Yuminzhou opened this issue 7 years ago • 3 comments

Hi, I run this example at my end (Windows 10): print CMUTweetTagger.runtagger_parse(['example tweet 1', 'example tweet 2'])

no error but the result is '[[]]', empty I also specify the directory of jar file, but the result is still empty. pls help, thanks a lot.

Yuminzhou avatar Jan 21 '18 06:01 Yuminzhou

Sorry, I'm not supporting this, I haven't done for a long time. I've just updated the README to say this. If you wanted to fork the repo and fix the issue, I'd be happy to update the README to point at your repo. Good luck, Ian.

ianozsvald avatar Jan 22 '18 20:01 ianozsvald

@Yuminzhou Download and extract the tgz file from this link. Then copy paste the CMUTweetTagger.py inside the extracted dir and then run the file using python CMUTweetTagger.py

The error was because all the required files to run the code were not found earlier. If you are still getting errors, comment line 94 "success = check_scripts_....()", add the line "success = True" below it and then run the code. Something like this... #success = check_script_is_present() success = True I hope this helps.

esh-b avatar Mar 25 '18 04:03 esh-b

@esh-b The issue is not that. I have the same problem, and after checking i got this error: java.io.FileNotFoundException: \dev\stdin (The system cannot find the path specified) But i cannot find how to fix this.

dpasch01 avatar Oct 06 '18 09:10 dpasch01