-
Notifications
You must be signed in to change notification settings - Fork 9
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
empty array #2
Comments
I'm having the same issue. Did you ever find a solution? Thank you. |
Finally, I found a solution. My OS is windows 10. I just changed the line 71 from $tmp_path = '/tmp' to $tmp_path = './temp' in class_Stanford_POS_Tagger.php file. And it is working now :) And then, my test source is following as: Thank you for Charles Hays. |
And If you want to use your php file in different folder of class_Stanford_POS_Tagger php file. And then, test source is following as: I hope it help for you. |
After doing all these ,I am still getting null result. Am I missing anything?
Code :-
require('class_Stanford_POS_Tagger.php');
$pos = new Stanford_POS_Tagger('../PHP-Stanford-NLP-master/data/stanford-postagger-2015-12-09');
print_r($pos->array_tag("The cow jumped over the moon and the dish ran away with the spoon."));
The text was updated successfully, but these errors were encountered: