Skip to main content
License pypi Version

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')

Methods also accept iterables:

tagged_sents = t.pos_tagging(['Flat is better than nested.', 'Now is better than never.'])

Release files for texterra 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for texterra 1.0.1
File Size Uploaded
texterra-1.0.1.tar.gz 13.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for texterra 1.0.1
File Interpreter ABI Platform
texterra-1.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 34.8 kB

Release files / texterra-1.0.1.tar.gz

Download URL texterra-1.0.1.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fe62a59f488c8137b0eb81e1eebb20baec32b880f702cea6d1167baa9925e737
BLAKE2b-256 checksum
How to use checksums
8a6a8650a5806514fc65a73b3625882e931be154a1067c298731c793f47cba4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / texterra-1.0.1-py2.py3-none-any.whl

Download URL texterra-1.0.1-py2.py3-none-any.whl
Size 20.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
105029fb61d4a82a6262f34604cea1eb6e794dfdaa7c16920502e1c30622214b
BLAKE2b-256 checksum
How to use checksums
59ca88dfca18f705aff40309d0af6e512e8fc1a9c51b7befa4a01440ef97d25d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page