PHP-Stanford-NLP
PHP-Stanford-NLP copied to clipboard
Added functionality to calculate classpath to include the slf4j jar files
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
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
@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