Skip to main content

Textagon is a powerful tool for text data analysis, providing a means to visualize parallel representations of your data and gain insight into the impact of various lexicons on two classes of text data.

Project description

Python 3.11+ License: PSF

Textagon

Textagon is a powerful tool for text data analysis, providing a means to visualize parallel representations of your data and gain insight into the impact of various lexicons on two classes of text data.

  • Parallel Representations
  • Graph-based Feature Weighting

Installation

Prereqs

Installation

  • Package versions needed (execution will stop via a check; will add requirements.txt in the future):

    • wn 0.0.23
  • For the spellchecker (which defaults to aspell):

Initial Setup

pip install textagon 

Upgrading Textagon

pip install --upgrade textagon 

Running Textagon

import pandas as pd
from textagon.textagon import Textagon
from textagon.AFRN import AFRN

### Test cases ###

df = pd.read_csv(
    './sample_data/dvd.txt', 
    sep='\t', 
    header=None, 
    names=["classLabels", "corpus"]
)

tgon = Textagon(
    inputFile=df, 
    outputFileName="dvd"
)

tgon.RunFeatureConstruction()
tgon.RunPostFeatureConstruction()

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

textagon-0.2.0.tar.gz (18.7 MB view details)

Uploaded Source

Built Distribution

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

textagon-0.2.0-py3-none-any.whl (19.0 MB view details)

Uploaded Python 3

File details

Details for the file textagon-0.2.0.tar.gz.

File metadata

  • Download URL: textagon-0.2.0.tar.gz
  • Upload date:
  • Size: 18.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.11.0-19-generic

File hashes

Hashes for textagon-0.2.0.tar.gz
Algorithm Hash digest
SHA256 54fcf52b2c1a0e195a9e507d849ebbfaf873adf75458e5cf3634b7ab951d5a41
MD5 1f0c9b6a96a4b72f7693a6c7fcb9280e
BLAKE2b-256 66bcc949a7a69ce285125c5277705b6f14cbe3b372bb9d57103241c84c94784b

See more details on using hashes here.

File details

Details for the file textagon-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: textagon-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.9 Linux/6.11.0-19-generic

File hashes

Hashes for textagon-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 249e79baaad2b6c1832e062d58fb0c75bbfc128a777ec3e3e979ce13e52aac86
MD5 9974b69c2b75dcc62e1c43d530295c4d
BLAKE2b-256 2ad2511841193a018e8e8dfc60db0264c99695da8ce296a8323d93c3587b62a2

See more details on using hashes here.

Supported by

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