Skip to main content

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 analyze repeating words, contracted words or contractions and formatting them properly.

# Class Functions Involved in this module
[-] RegexpReplacer <br>
[-] RepeatCharacter

# Usage
-Place the file in a folder where you have either read or write and read permisson. Eg. /opinionmining/lib/Textalyzer.py<br/>
-Import the module into your application.<br/>
<hr/>
from opinionmining.lib.Textalyzer import "Function To Use" <br>
sample = "I can't wait for the football match" <br>
object = RegexpReplacer() <br>
data = object.replace(sample)<br>

# Sample
## Repeating words
- Repeating words like helloooooooooooo - textalyzer help format this word by removing the o's to its normal word "hello"<br/>
- Contractions like I'm - Textalyzer help format this word by converting it to it's normal word "I am"
# Dependencies
- wordnet
- Install wordnet by installing nltk
# PyPI
- Textalyzer is available at python package index.
## Installation Guide
- Download textalyzer using pip<br>
- pip install textalyzer<br>
- Import textalyzer into your project by using ```from textalyzer import Textalyzer``` depending on the function you want to use.<br>
   - The use ``` replacer = Textalyzer.RegexpReplacer() and repeat = Textalyzer.RepeatCharacter() ``` <br>
   - ## Or
- Simple do ```import textalyzer``` <br>
- Then Use ``` data = textalyzer.Textalyzer ``` <br>
- ``` replacer = data.RegexpReplacer() ``` <br>

## Alternatively
- [x] You can download the tarball file from `pypi.python.org/pypi/textalyzer`
- [x] Extract the tarball file
- [x] Navigate into the extracted folder and install using `python setup.py install`

**To Check Whether it's installed**
- type `pip freeze` to display the list of installed packages
# 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

textalyzer-0.1.5.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file textalyzer-0.1.5.tar.gz.

File metadata

  • Download URL: textalyzer-0.1.5.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for textalyzer-0.1.5.tar.gz
Algorithm Hash digest
SHA256 18c1186b981c9099378150d9a284d7770ad94975c53b03615656198c84a0f8c3
MD5 c487788df532eccf5eb0f38e2fae4641
BLAKE2b-256 279ac9c49bc35755e2b6dab354ca64848ff592470109cb164cee91eacc60290b

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