text2rel 0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- text2rel-0.1/PKG-INFO +42 -0
- text2rel-0.1/pyproject.toml +18 -0
- text2rel-0.1/readme.md +26 -0
- text2rel-0.1/text2rel/__init__.py +3 -0
- text2rel-0.1/text2rel/cleaner.py +909 -0
- text2rel-0.1/text2rel/io.py +12 -0
- text2rel-0.1/text2rel/llm_processor.py +442 -0
- text2rel-0.1/text2rel/reliability_assessor.py +364 -0
- text2rel-0.1/text2rel/utils.py +39 -0
text2rel-0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: text2rel
|
|
3
|
+
Version: 0.1
|
|
4
|
+
Summary: An HTML cleaner customized for kinship ties extraction from large text corpra.
|
|
5
|
+
Requires-Python: >=3.10,<3.13
|
|
6
|
+
Classifier: Programming Language :: Python :: 3
|
|
7
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
8
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
10
|
+
Requires-Dist: beautifulsoup4 (>=4.12,<5.0)
|
|
11
|
+
Requires-Dist: numpy (==1.26.4)
|
|
12
|
+
Requires-Dist: pandas (==2.2.2)
|
|
13
|
+
Requires-Dist: regex
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+

|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
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.
|
|
22
|
+
|
|
23
|
+
### Important information:
|
|
24
|
+
- For example package usage, see ```test_workflow.ipynb```
|
|
25
|
+
- For information about individual functions before the package implementation and release, see ```examples``` folder.
|
|
26
|
+
|
|
27
|
+
### Current release:
|
|
28
|
+
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).
|
|
29
|
+
|
|
30
|
+
### Files structure:
|
|
31
|
+
|
|
32
|
+
1. #### cleaner.py
|
|
33
|
+
Contains the HTMLCleaner class and thus the main logic.
|
|
34
|
+
|
|
35
|
+
2. #### utils.py
|
|
36
|
+
Contains helper functions (like JumPJumP insertion)
|
|
37
|
+
|
|
38
|
+
3. #### io.py
|
|
39
|
+
Contains the file processing logic, such as loading and saving the JSON inventory.
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "text2rel"
|
|
3
|
+
version = "0.1"
|
|
4
|
+
description = "An HTML cleaner customized for kinship ties extraction from large text corpra."
|
|
5
|
+
|
|
6
|
+
readme = "readme.md"
|
|
7
|
+
|
|
8
|
+
[tool.poetry.dependencies]
|
|
9
|
+
python = ">=3.10,<3.13"
|
|
10
|
+
pandas = "2.2.2"
|
|
11
|
+
numpy = "1.26.4"
|
|
12
|
+
regex = "*"
|
|
13
|
+
beautifulsoup4 = "^4.12"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
[build-system]
|
|
17
|
+
build-backend = "poetry.core.masonry.api"
|
|
18
|
+
requires = ["poetry-core>=1.0.0"]
|
text2rel-0.1/readme.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+

|
|
2
|
+

|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
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.
|
|
7
|
+
|
|
8
|
+
### Important information:
|
|
9
|
+
- For example package usage, see ```test_workflow.ipynb```
|
|
10
|
+
- For information about individual functions before the package implementation and release, see ```examples``` folder.
|
|
11
|
+
|
|
12
|
+
### Current release:
|
|
13
|
+
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).
|
|
14
|
+
|
|
15
|
+
### Files structure:
|
|
16
|
+
|
|
17
|
+
1. #### cleaner.py
|
|
18
|
+
Contains the HTMLCleaner class and thus the main logic.
|
|
19
|
+
|
|
20
|
+
2. #### utils.py
|
|
21
|
+
Contains helper functions (like JumPJumP insertion)
|
|
22
|
+
|
|
23
|
+
3. #### io.py
|
|
24
|
+
Contains the file processing logic, such as loading and saving the JSON inventory.
|
|
25
|
+
|
|
26
|
+
|