Skip to main content

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 Textalyzer depending on the function you want to use.
    • Then use replacer = Textalyzer.ContractionReplacers() and repeat = 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 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.

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.2.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

textalyzer-0.2.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for textalyzer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 88c8def5e69de4aa7cd9c82e06ddf0346b6044df68b59f9966b42f799ff379ec
MD5 2f588ad353f7d072df46bffccc8f823b
BLAKE2b-256 c8283f6c0a07a6aa9a44a7c045b67680d898206c4005350417913226797724fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for textalyzer-0.2.0.tar.gz:

Publisher: publish-pypi.yml on LORD-KAY/Textalyzer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for textalyzer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ba892cda4880e0da3cd3e5766570587fc29917a0223ce6babac27d44f7a4eb4
MD5 68b99714ceae3ab0e4ef219cb43156fe
BLAKE2b-256 faef197d2b74845f304dfc40cdced714fb80fcafc4965e8453397ef30370b3af

See more details on using hashes here.

Provenance

The following attestation bundles were made for textalyzer-0.2.0-py3-none-any.whl:

Publisher: publish-pypi.yml on LORD-KAY/Textalyzer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.6

1 file

0.1.5

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

Supported by

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