A text analyzer for repeating and contraction characters
Project description
Textalyzer
Textalyzer is a lightweight python module or library to help ease analyzing of text or words in a particular sentence and manipulating it. Textalyzer analyzes repeating words and contracted words or contractions.
Class Functions Involved in this module
[-] ContractionReplacers
[-] RepeatingReplacers
Usage
-Place the file in a folder where you have either read or write and read permisson. Eg. /opinionmining/lib/Textalyzer.py
-Import the module into your application.
from opinionmining.lib.Textalyzer import "Function To Use"
sample = "I can't wait for the football match"
object = ContractionReplacers()
data = object.text_replacers(sample)
Sample
Repeating words
- Repeating words like helloooooooooooo - textalyzer help format this word by removing the o's to its normal word "hello"
- Contractions like I'm - Textalyzer help format this word by converting it to it's normal word "I am"
Dependencies
- nltk
- Download the WordNet corpus before using
RepeatingReplacers:python -m nltk.downloader wordnet
PyPI
-
Textalyzer is available at python package index.
Installation Guide
- Download textalyzer using pip
- pip install textalyzer
- Import textalyzer into your project by using
from textalyzer import Textalyzerdepending on the function you want to use. - Then use
replacer = Textalyzer.ContractionReplacers()andrepeat = Textalyzer.RepeatingReplacers()
- ## Or - Simple do
import textalyzer - Then Use
data = textalyzer.Textalyzer replacer = data.ContractionReplacers()
Alternatively
- You can download the tarball file from
pypi.python.org/pypi/textalyzer - Extract the tarball file
- Navigate into the extracted folder and install using
python setup.py install
To Check Whether it's installed
- type
pip freezeto display the list of installed packages
- Download textalyzer using pip
Why This
- Textalyzer is mostly used by python programmers who are more involved with Natural Language Processing , Machine Learning, Text Extraction and others.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file textalyzer-0.2.0.tar.gz.
File metadata
- Download URL: textalyzer-0.2.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88c8def5e69de4aa7cd9c82e06ddf0346b6044df68b59f9966b42f799ff379ec
|
|
| MD5 |
2f588ad353f7d072df46bffccc8f823b
|
|
| BLAKE2b-256 |
c8283f6c0a07a6aa9a44a7c045b67680d898206c4005350417913226797724fb
|
Provenance
The following attestation bundles were made for textalyzer-0.2.0.tar.gz:
Publisher:
publish-pypi.yml on LORD-KAY/Textalyzer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
textalyzer-0.2.0.tar.gz -
Subject digest:
88c8def5e69de4aa7cd9c82e06ddf0346b6044df68b59f9966b42f799ff379ec - Sigstore transparency entry: 1758406052
- Sigstore integration time:
-
Permalink:
LORD-KAY/Textalyzer@f5fa34a5d9f06545e40364b9af66d17d440a141b -
Branch / Tag:
refs/heads/master - Owner: https://github.com/LORD-KAY
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f5fa34a5d9f06545e40364b9af66d17d440a141b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file textalyzer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: textalyzer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ba892cda4880e0da3cd3e5766570587fc29917a0223ce6babac27d44f7a4eb4
|
|
| MD5 |
68b99714ceae3ab0e4ef219cb43156fe
|
|
| BLAKE2b-256 |
faef197d2b74845f304dfc40cdced714fb80fcafc4965e8453397ef30370b3af
|
Provenance
The following attestation bundles were made for textalyzer-0.2.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on LORD-KAY/Textalyzer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
textalyzer-0.2.0-py3-none-any.whl -
Subject digest:
3ba892cda4880e0da3cd3e5766570587fc29917a0223ce6babac27d44f7a4eb4 - Sigstore transparency entry: 1758406128
- Sigstore integration time:
-
Permalink:
LORD-KAY/Textalyzer@f5fa34a5d9f06545e40364b9af66d17d440a141b -
Branch / Tag:
refs/heads/master - Owner: https://github.com/LORD-KAY
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f5fa34a5d9f06545e40364b9af66d17d440a141b -
Trigger Event:
workflow_dispatch
-
Statement type: