Skip to content

Commit 7ad0526

Browse files
committed
docs
1 parent 3ec2de5 commit 7ad0526

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Plese follow the instructions here to install the NLP Server and CoreNLP server:
1515
If you want to use Opencalais, get a token by registering [here](http://www.opencalais.com/) and read their [terms of service](http://www.opencalais.com/open-calais-terms-of-service/)
1616

1717
## Configuration
18-
Add 'NLPSERVER_URL' to your .env file to specify the location of where the NLP Server is running.
18+
Add `NLPSERVER_URL` to your `.env` file to specify the location of where the NLP Server is running.
1919
If you want to use [CoreNLP](https://stanfordnlp.github.io/CoreNLP/download.html) or [Opencalais](http://www.opencalais.com/) also fill inn those details in .env.
2020

2121
Alternatively, update the nlp.php configuration file.
@@ -49,15 +49,15 @@ $translated_text = NLP::translate($text, null, 'pt');
4949
This package requires a running instance of the NLP Server (https://github.com/web64/nlpserver) for most of the functionality to work.
5050
See the documentation for installation instructions of the NLP Server.
5151

52-
## Included Tools
52+
## Included NLP Tools
5353
* [Language Detection](#language-detection)
5454
* [Article Extraction](#article-extraction)
55-
* [Entity Extraction (Named Entity Recognition)](#entity-extraction)
55+
* [Entity Extraction (Named Entity Recognition)](#entity-extraction-with-polyglot)
5656
* [Sentiment Analysis](#sentiment-analysis)
57-
* Summarization
58-
* Translation
59-
* Neighbouring Words
60-
* CoreNLP Entities
57+
* [Summarization](#summarization)
58+
* [Translation](#translation)
59+
* [Neighbouring Words](#neighbouring-words)
60+
* [Concepts](#concepts)
6161

6262
## Usage
6363
Include the class to use the NLP facade.
@@ -111,7 +111,9 @@ Array
111111
```
112112

113113
## Entity Extraction with Spacy
114-
A running NLP Server provides access to Spacy's entity extraction
114+
A running NLP Server provides access to Spacy's entity extraction.
115+
116+
Spacy has language models for English, German, Spanish, Portuguese, French, Italian and Dutch.
115117
```php
116118
$entities = NLP::spacy_entities($text, 'en' );
117119
/*

0 commit comments

Comments
 (0)