Skip to main content

Extract keywords from English text

Project description

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

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

textclass_en-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textclass_en-0.1.0-py2.py3-none-any.whl (2.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file textclass_en-0.1.0.tar.gz.

File metadata

  • Download URL: textclass_en-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for textclass_en-0.1.0.tar.gz
Algorithm Hash digest
SHA256 808d740d031b5cd90d1b555006176e6c49585b5f8291185f43c4e51c15c14323
MD5 70243d45a4be8bcc0a06e2b737c7cd56
BLAKE2b-256 b61d7ec62f8ca29c3344f1e69d4c8d9d9329611d9560720fe388ef69776ea983

See more details on using hashes here.

File details

Details for the file textclass_en-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: textclass_en-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for textclass_en-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b98846a0687920d60c28256f854527783a8863704fafc3289811b136d3df1e01
MD5 1af4bd9fc030e48e83ca60922d3e6b64
BLAKE2b-256 8b98a92facf4ffb4da0d6a56beead655bdcf799b5a49272bc905a9518ad7b505

See more details on using hashes here.

Supported by

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