Skip to main content

A simple but useful python library.

Project description

PyTextProMax

A simple but useful python library.

POEWERED BY CITTIDABOZO
Latest release => 1.0.0

PyTextProMax is a library that can help in automating the hardest task of all,
getting the actual meaning of a sentence.

Features

  • Get the emotion of a sentence
  • Get the keywords of said sentence
  • Get the named entities in said sentence

And of course PyTextProMax itself is open source with a public repository on GitHub.

Installation

PyTextProMax requires python 3.11 to run.

Use the following command to install it:

pip install PyTextProMax

Development

Want to contribute in the project or come up with ideas? Add me on discord using my discord id “964421984844939285”.

Building for source

Use the following command to download the PyTextProMax source.

git clone https://github.com/CittiTheBozo/PyTextProMax.git

Usage

from PyTextProMax import *

text = "The Apple Inc. is planning on opening a new store in San Francisco." PyTextProMax = PyTextProMax() emotion = PyTextProMax.get_emotion(text) listofkeywords = PyTextProMax.extract_keywords(text) listofentities = PyTextProMax.get_entities(text)

print(f'\nBase sentence: '{text}<span class="hljs-string">'') print(f' Emotion: {emotion}.') print(f' Keywords: {listofkeywords}.') print(f' Named entities: {listofentities}.')

Output should be :

Base sentence: 'The Apple Inc. is planning on opening a new store in San Francisco.'
 Emotion: Neutral \ Unrecognized.
  Keywords: ['apple', 'planning', 'opening', 'new', 'store', 'san', 'francisco'].
   Named entities: ['The Apple Inc.', 'San Francisco'].
You can use it any way you want, this is just an example of how you should use it.

Project details


Release history Release notifications | RSS feed

This version

2.5

Download files

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

Source Distribution

PyTextProMax-2.5.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

PyTextProMax-2.5-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file PyTextProMax-2.5.tar.gz.

File metadata

  • Download URL: PyTextProMax-2.5.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for PyTextProMax-2.5.tar.gz
Algorithm Hash digest
SHA256 56419950b3b1fd0fa654d5645a25bd8bc424b73793a6b32d6b7bce32dc19e686
MD5 5ae1b21822d81b1511b1629a5c9465b7
BLAKE2b-256 13282226d39dde5d178ee8fe22b0fcd53df6b64884cb091874abba849bf87e61

See more details on using hashes here.

File details

Details for the file PyTextProMax-2.5-py3-none-any.whl.

File metadata

  • Download URL: PyTextProMax-2.5-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for PyTextProMax-2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9ed83d04a2a2e5b263a83ea828e7dca2540f50adc24a1b638115e4d7958aeb59
MD5 25bf91819654150bb5788f28d201e345
BLAKE2b-256 0bce0f35683f34e6bec00a800a2b7f1bf72c7fb5e0f63d9984724b7b4ee5ac95

See more details on using hashes here.

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