textarium: easy-to-use Python package for text analysis.
What is it?
textarium is a Python package that provides flexible text analysis functions designed to make text analysis intuitive and easy. It aims to be the high-level tool for preparing text-data and complex analysis or NLP modeling.
Installation
Binary installer for the latest released version are available at the Python Package Index (PyPI).
# Type this in your command-line
pip install textarium
Getting started
from textarium import Text
import nltk
nltk.download('wordnet')
s = "This a text example. You can preprocess and analyze it with this package."
text = Text(s, lang='en')
text.prepare()
print(text.prepared_text)
from textarium import Corpus
import nltk
nltk.download('wordnet')
txts = [
"Hello! My name is Mr.Parker.",
"I have a website https://parker.com.",
"It has about 5000 visitors per day.",
"I track it with a simple html-block like this:",
"<div>Google.Analytics</div>",
]
c = Corpus(txts, lang='en')
c.info()
c = c.filter(condition=lambda x: len(x.split() > 5), attribute="raw_text")
c.info()
c.prepare()
print(c)
Documentation
The official documentation is hosted on Github.io: https://6b656b.github.io/textarium
License
Metadata
Release files for textarium 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| textarium-0.1.10.tar.gz | 2.1 MB | Without provenance | Details for textarium-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| textarium-0.1.10-py3-none-any.whl | Python 3 | none | any | Details for textarium-0.1.10-py3-none-any.whl |
Total release size: 5.1 MB
Release files / textarium-0.1.10.tar.gz
| Download URL | textarium-0.1.10.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1154605f88a410c0f929a2f7620a6c425fd5a16087d8a3985d998ee0ea475aa5
|
|
BLAKE2b-256 checksum How to use checksums |
444ef0748f2f8713b30ad5423859fbb75d29adb56eb80aa8febe167537fe9a50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / textarium-0.1.10-py3-none-any.whl
| Download URL | textarium-0.1.10-py3-none-any.whl |
|---|---|
| Size | 3.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0ed1b5f4bc137e63bfe4e8f62175b02e24921916c2fd3110b5d5b24e6da609b
|
|
BLAKE2b-256 checksum How to use checksums |
cc0f83bfd89ec2f3191ba57e423d8bba13024f1768a722c3c942b42e3f9df1af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for textarium 0.1.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.