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.1.25.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.1.25-py3-none-any.whl (19.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for textagon-0.1.25.tar.gz
Algorithm Hash digest
SHA256 c13132a1f6d823721806dfd538cd9640211111636309a68e81afaca88e79db25
MD5 0c5b83310e90a6d16c8adb10a05899b6
BLAKE2b-256 4633efad08932572b70a8789d91a029222326b6640dbf319aef9657c8abffb73

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for textagon-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 0917d1e238da7e3cbb792ee025456dc13cf7cef2365e87f725abffe512197740
MD5 4ee3ad14a3a4222f08a7dece5d437746
BLAKE2b-256 3555f996abe59825f76d65a62b0f872fea7456251bf0e4a6e4e958d793788365

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