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

html_cleaner_kinship-0.2.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.

html_cleaner_kinship-0.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file html_cleaner_kinship-0.2.tar.gz.

File metadata

  • Download URL: html_cleaner_kinship-0.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for html_cleaner_kinship-0.2.tar.gz
Algorithm Hash digest
SHA256 00c46f94c76436ba44801f9971e2f636b158d51424aab5235d406b5404c51fcc
MD5 ff6b33b8b5d6401f95ccb75e8298e8d8
BLAKE2b-256 98582185888e31df60084c5722412426d2c46a01fa927b7e3f82eedf1f71782f

See more details on using hashes here.

File details

Details for the file html_cleaner_kinship-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for html_cleaner_kinship-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6278aac44d227dd1f1ebb3820427681d236315474f8061c918f2c249e0db7dcd
MD5 5a3337cc7b0fc8752d394544b9c3862e
BLAKE2b-256 89c19c62f903b8fb52619f8a8161c19567825fa6374ec5cc51db5bec9bfa28d6

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