Skip to main content

DecAn is a tool for Analyze and Deconstruct chars in text for its position.

Project description

DecAn

Tool to Analyze and Deconstruct chars in a text

[Under-Development]

Installation

pip install DecAn-karjakak

Usage

For analyzing text file or sentences

decan -a path\text.txt 

For search chars or words in text file or sentences

decan -a "The Best is yet to come, yeayyy!!!" -s "Best" e y

# result:
"Best": {1: ((4, 8),)}
"Best" is 1 out of total 7 words!

'e': {5: (2, 5, 13, 22, 26)}
'e' is 5 out of total 34 chars!

'y': {5: (12, 25, 28, 29, 30)}
'y' is 5 out of total 34 chars!

For Deconstruct text file or sentences to json file

# The text file, save as json filename, and save to a directory path.
decan -d path\text.txt text path\dir 

For Constructing the deconstructed text that save in json file

decan -c path\text.json

Note

  • Still development process

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

DecAn-karjakak-0.0.7.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

DecAn_karjakak-0.0.7-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file DecAn-karjakak-0.0.7.tar.gz.

File metadata

  • Download URL: DecAn-karjakak-0.0.7.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4

File hashes

Hashes for DecAn-karjakak-0.0.7.tar.gz
Algorithm Hash digest
SHA256 a4437e15bfb3c3d5a5186803d29fbd6383a70f678c494013c91743da03c3f455
MD5 33dc5b2b55cb7493ff79487dc075b4f0
BLAKE2b-256 708b968835141400952e5bdde085fc5285ccc0e1228db6efc722b228b9084a42

See more details on using hashes here.

File details

Details for the file DecAn_karjakak-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: DecAn_karjakak-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4

File hashes

Hashes for DecAn_karjakak-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6777c2e2b78af9f1b82d5ebe4025352d0151e1c6c94e793e1bc3449866622ec7
MD5 cdeb5552ade038f1bba35578bf313c41
BLAKE2b-256 d87bbcdaab12842b3fcf59dd389d19824bd9730daf136f62521a463baf9520d8

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