Skip to main content

API for natural language processing.

Project description

This package provides a Python interface for Texterra API. Texterra is a toolkit for natural language processing and knowledge base utilization, developed by a team of researchers at the Ivannikov Institute for System Programming.

See https://texterra.ispras.ru for more information about Texterra project.

Features

  • Language detection

  • Tokenization

  • Lemmatization

  • Sentence boundary detection

  • Part-of-speech tagging

  • Named entity recognition

  • Labelled dependency parsing

  • Term disambiguation

  • Key concepts extraction

  • Subjectivity detection

  • Sentiment analysis

  • Spelling correction

Currently, 2 languages are supported: English and Russian.

Installation

To install this SDK run:

python setup.py install

or you can install using pip:

pip install texterra

Documentation

You can use pydoc to get help on the package:

pydoc texterra

and check the documentation of methods:

pydoc texterra.api

Usage

To use Texterra API in your project, you first need to get an API key here. Then, import the package and use your API key to create an access object:

import texterra
t = texterra.API('YOURKEY')

To access different tools, simply call the corresponding method:

tags = t.pos_tagging('Hello World')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

texterra-1.0.0.tar.gz (13.3 kB view hashes)

Uploaded Source

Built Distribution

texterra-1.0.0-py2.py3-none-any.whl (20.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page