PHP-Stanford-NLP icon indicating copy to clipboard operation
PHP-Stanford-NLP copied to clipboard

Added functionality to calculate classpath to include the slf4j jar files

Open bryangruneberg opened this issue 9 years ago • 2 comments

The java call was silently failing. This code uses getJar() to determine the directory of the slf4j far files distributed with the Stanford-NLP zip

bryangruneberg avatar Jan 15 '16 19:01 bryangruneberg

This needs to be merged, I cannot get this package to work without the changes in this pull request. The only thing I think needs to change is the removal of the print_r($path_parts); on line 135 of Base.php and the removal of echo "Running: " . $cmd . "\n"; on line 159 of StanfordTagger.php

setharell avatar Aug 30 '16 19:08 setharell

@bryangruneberg @setharell Would you be so kind as to further explain why these slf4j jar files are being used versus the ones in the example. I am a bit out of date and am looking to update the repo. Thanks

agentile avatar Jul 31 '17 00:07 agentile