ark-tweet-nlp-python
ark-tweet-nlp-python copied to clipboard
empty result for the example
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.
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.
@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 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.