Skip to main content

textclass-en

A simple, fast Python library to extract keywords from English text.

Quick Start

import textclass_en

textclass_en.textclass("The quick brown fox jumped over the lazy dog") # result: ['quick', 'fox', 'jumped']
textclass_en.textclass("The quick brown fox jumped over the lazy dog", max_keywords=10) # result: ['quick', 'fox', 'jumped', 'lazy', 'dog']
textclass_en.textclass("The company 'OpenBrain' is about to go bankrupt because of their newest AI model.") # result: ['company', 'openbrain', 'bankrupt']
textclass_en.textclass("The company 'OpenBrain' is about to go bankrupt because of their newest AI model.", max_keywords=10) # result: ['company', 'openbrain', 'bankrupt', 'newest', 'ai', 'model']

Release files for textclass-en 0.1.0

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

Source distribution (sdist)

Source distribution for textclass-en 0.1.0
File Size Uploaded
textclass_en-0.1.0.tar.gz 2.2 kB Details

Built distribution (wheel)

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

Total release size: 5.2 kB

Release files / textclass_en-0.1.0.tar.gz

Download URL textclass_en-0.1.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
808d740d031b5cd90d1b555006176e6c49585b5f8291185f43c4e51c15c14323
BLAKE2b-256 checksum
How to use checksums
b61d7ec62f8ca29c3344f1e69d4c8d9d9329611d9560720fe388ef69776ea983
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / textclass_en-0.1.0-py2.py3-none-any.whl

Download URL textclass_en-0.1.0-py2.py3-none-any.whl
Size 2.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b98846a0687920d60c28256f854527783a8863704fafc3289811b136d3df1e01
BLAKE2b-256 checksum
How to use checksums
8b98a92facf4ffb4da0d6a56beead655bdcf799b5a49272bc905a9518ad7b505
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

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