Skip to content

Commit

Permalink
Updated download links, to use HTTPS and the newest version of Stanfo…
Browse files Browse the repository at this point in the history
…rd NLP
  • Loading branch information
patrickschur committed Aug 19, 2017
1 parent 3040d8c commit 0d818b8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ $ composer require patrickschur/stanford-nlp-tagger
```

### Example
- Download the required packages for the POSTagger [here](http://nlp.stanford.edu/software/stanford-postagger-2016-10-31.zip) for English only
or [here](http://nlp.stanford.edu/software/stanford-postagger-full-2016-10-31.zip) for Arabic, Chinese, French, Spanish, and German.
- Download the required packages for the POSTagger [here](https://nlp.stanford.edu/software/stanford-postagger-2017-06-09.zip) for English only
or [here](https://nlp.stanford.edu/software/stanford-postagger-full-2017-06-09.zip) 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.)

```text
Expand Down Expand Up @@ -77,17 +77,17 @@ All packages are loaded automatically but if you want to change that you can set
```php
$pos = new \StanfordTagger\POSTagger();

$pos->setModel(__DIR__ . '/stanford-postagger-full-2016-10-31/models/english-bidirectional-distsim.tagger');
$pos->setModel(__DIR__ . '/stanford-postagger-full-2017-06-09/models/english-bidirectional-distsim.tagger');

$pos->setJarArchive(__DIR__ . '/stanford-postagger-full-2016-10-31/stanford-postagger.jar');
$pos->setJarArchive(__DIR__ . '/stanford-postagger-full-2017-06-09/stanford-postagger.jar');
```

## CRFClassifier
- For English only, download the required packages for the CRFClassifier [here](http://nlp.stanford.edu/software/stanford-ner-2016-10-31.zip).
- For English only, download the required packages for the CRFClassifier [here](https://nlp.stanford.edu/software/stanford-ner-2017-06-09.zip).
- You have to download the language models separately:
- [German models](http://nlp.stanford.edu/software/stanford-german-corenlp-2016-10-31-models.jar)
- [Spanish models](http://nlp.stanford.edu/software/stanford-spanish-corenlp-2016-10-31-models.jar)
- [Chinese models](http://nlp.stanford.edu/software/stanford-chinese-corenlp-2016-10-31-models.jar)
- [German models](https://nlp.stanford.edu/software/stanford-german-corenlp-2017-06-09-models.jar)
- [Spanish models](https://nlp.stanford.edu/software/stanford-spanish-corenlp-2017-06-09-models.jar)
- [Chinese models](https://nlp.stanford.edu/software/stanford-chinese-corenlp-2017-06-09-models.jar)
- Extract the (**.jar**) files if you downloaded a language model and add them into your directory.

### Example
Expand Down

0 comments on commit 0d818b8

Please sign in to comment.