Skip to main content

An HTML cleaner customized for kinship ties extraction from large text corpra.

Project description

Alt text PyPI version

This is the package implementation of the code for the kinship ties and relational information from large text corpora, such as genealogies, biographies, and historical dictionaries.

Important information:

  • For example package usage, see test_workflow.ipynb
  • For information about individual functions before the package implementation and release, see examples folder.

Current release:

Current release includes inventory creation, setting text bounds, assigning font usage and selecting appropriate text chunks from the files (including restriction to "MainText" fonts and JumPJumP insertion).

Files structure:

  1. cleaner.py

Contains the HTMLCleaner class and thus the main logic.

  1. utils.py

Contains helper functions (like JumPJumP insertion)

  1. io.py

Contains the file processing logic, such as loading and saving the JSON inventory.

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

text2rel-0.1.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

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

text2rel-0.1-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file text2rel-0.1.tar.gz.

File metadata

  • Download URL: text2rel-0.1.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Darwin/23.1.0

File hashes

Hashes for text2rel-0.1.tar.gz
Algorithm Hash digest
SHA256 f589280b36b7c002b89ea8aefc1bb3de59deb587f4aa691e30030d9cdbc68974
MD5 1f4c59692ec431a329ead970f1271e68
BLAKE2b-256 58619b9dc1847f349b868f644c6b822493cc770add7bb782963914ece094d14d

See more details on using hashes here.

File details

Details for the file text2rel-0.1-py3-none-any.whl.

File metadata

  • Download URL: text2rel-0.1-py3-none-any.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.12 Darwin/23.1.0

File hashes

Hashes for text2rel-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c86218f4227fd4de3a5f1e2132dd5d9ba15447265818d314e898bb70ff78abb9
MD5 626c723493d8be8146fea6153a0981c4
BLAKE2b-256 cfa565fea6166690f1ff17d5f30da24b5ff038a6aa86184759be5726e56dcaea

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