Skip to content
This repository has been archived by the owner on Dec 1, 2018. It is now read-only.

empty result for the example #11

Open
Yuminzhou opened this issue Jan 21, 2018 · 3 comments
Open

empty result for the example #11

Yuminzhou opened this issue Jan 21, 2018 · 3 comments

Comments

@Yuminzhou
Copy link

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.

@ianozsvald
Copy link
Owner

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.

@esh-b
Copy link

esh-b commented Mar 25, 2018

@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.

@dpasch01
Copy link

dpasch01 commented Oct 6, 2018

@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.

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

No branches or pull requests

4 participants