/textprocessing

Go client for the text-processing.com API's

Primary LanguageGoMIT LicenseMIT

API client for text-processing.com

This is a small wrapper / client for the natural language processing API's found at text-processing.com.

The website provides 4 API's:

  1. Stemming and Lemmatization API
  2. Sentiment Analysis API
  3. Tagging and Chunk Extraction API
  4. Phrase Extraction and Named Entity Recognition API

The original API is documented at: http://text-processing.com/docs/index.html

Stemming and Lemmatization API

API documented at: http://text-processing.com/docs/phrases.html

Status: Not implemented yet

Sentiment Analysis API

API documented at: http://text-processing.com/docs/phrases.html

Status: Not implemented yet

Tagging and Chunk Extraction API

API documented at: http://text-processing.com/docs/phrases.html

Status: Not implemented yet

Phrase Extraction and Named Entity Recognition API

API documented at: http://text-processing.com/docs/phrases.html

Example

This example comes from phrase_test.go:

result, err := ExtractPhrase("John hit the ball.")

Then result contains:

map[
    DATE:[ball] 
    PERSON:[John] 
    VP:[hit] 
    LOCATION:[John]
]

License

The MIT License (MIT). Please see the LICENSE file for more information.