Download the PHP package patrickschur/stanford-nlp-tagger without Composer
On this page you can find all versions of the php package patrickschur/stanford-nlp-tagger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download patrickschur/stanford-nlp-tagger
More information about patrickschur/stanford-nlp-tagger
Files in patrickschur/stanford-nlp-tagger
Download patrickschur/stanford-nlp-tagger
More information about patrickschur/stanford-nlp-tagger
Files in patrickschur/stanford-nlp-tagger
Vendor patrickschur
Package stanford-nlp-tagger
Short Description PHP wrapper for the Stanford Natural Language Processing library. Supports POSTagger and CRFClassifier.
License MIT
Homepage https://github.com/patrickschur/stanford-nlp-tagger
Package stanford-nlp-tagger
Short Description PHP wrapper for the Stanford Natural Language Processing library. Supports POSTagger and CRFClassifier.
License MIT
Homepage https://github.com/patrickschur/stanford-nlp-tagger
Please rate this library. Is it a good library?
Informations about the package stanford-nlp-tagger
stanford-nlp-tagger
A PHP wrapper for the Stanford Natural Language Processing library. Supports POSTagger and CRFClassifier. Loads automatically the right packages and detects the language of the given text.
Requirements
- You have to install Java in version 1.8+ or higher.
- Download the right packages and extract them into the directory. (The script loads automatically the right packages, no matter where they are.)
Installation with Composer
Example
- Download the required packages for the POSTagger here for English only or here for Arabic, Chinese, French, Spanish, and German.
- Extract the (.zip) package into your directory. (Please do not rename the packages, only if you want to add this packages manually.)
Results in
setOutputFormat()
There are three ways of output formats (xml, slashTags and tsv)
Result as XML:
or use
for
setModel(), setJarArchive() and setClassfier()
All packages are loaded automatically but if you want to change that you can set them manually.
CRFClassifier
- For English only, download the required packages for the CRFClassifier here.
- You have to download the language models separately:
- Extract the (.jar) files if you downloaded a language model and add them into your directory.
Example
Contribute
Feel free to contribute to this repository. Any help is welcome.
All versions of stanford-nlp-tagger with dependencies
PHP Build Version
Package Version
The package patrickschur/stanford-nlp-tagger contains the following files
Loading the files please wait ....