grobid-client-python 0.1.3__tar.gz → 0.1.4__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.
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/PKG-INFO +1 -1
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/TEI2LossyJSON.py +0 -4
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/TEI2Markdown.py +0 -2
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client_python.egg-info/PKG-INFO +1 -1
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/pyproject.toml +1 -1
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/.github/workflows/ci-build.yml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/.github/workflows/ci-release.yml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/.gitignore +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/LICENSE +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/MANIFEST.in +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/Readme.md +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/config.json +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/example.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/__init__.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/client.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/TEI2LossyJSON_cli.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/TEI2Markdown_cli.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/__init__.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/__main__.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/validate_json_refs.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/grobid_client.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client_python.egg-info/SOURCES.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client_python.egg-info/dependency_links.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client_python.egg-info/entry_points.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client_python.egg-info/requires.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client_python.egg-info/top_level.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/pytest.ini +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/requirements.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/20180928112135.png +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/20180928112138.csv +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_pdf/0046d83a-edd6-4631-b57c-755cdcce8b7f.pdf +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_pdf/0046d83a-edd6-4631-b57c-755cdcce8b7f.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_pdf/mjb3wlzxcb2mc-migowebupload-1766042162782.grobid.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-1.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-2.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-3.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-4.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-5.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-6.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-7.txt +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/setup.cfg +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/__init__.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/conftest.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/0046d83a-edd6-4631-b57c-755cdcce8b7f.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/__init__.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/article_withdrawn.grobid.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/10.1038_s41477-023-01501-1.grobid.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/10.1038_s41477-023-01501-1.json +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/10.1038_s41586-023-05895-y.grobid.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/10.1038_s41586-023-05895-y.json +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/10.1038_s41598-023-32039-z.grobid.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/10.1038_s41598-023-32039-z.json +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/10.1371_journal.pone.0218311.grobid.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/10.1371_journal.pone.0218311.json +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/10.7554_elife.78558.grobid.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/10.7554_elife.78558.json +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/refs_offsets/2021.naacl-main.224.grobid.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/repeated_text/ijms-24-05988.grobid.tei.xml +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/repeated_text/ijms-24-05988.json +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/resources/repeated_text/ijms-24-05988.md +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/run_tests.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/test_client.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/test_config.json +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/test_conversions.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/test_grobid_client.py +0 -0
- {grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/tests/test_integration.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: grobid-client-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Simple python client for GROBID REST services
|
|
5
5
|
Author-email: Patrice Lopez <patrice.lopez@science-miner.com>
|
|
6
6
|
Maintainer-email: Patrice Lopez <patrice.lopez@science-miner.com>, Luca Foppiano <lucanoro@duck.com>
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/TEI2LossyJSON.py
RENAMED
|
@@ -875,8 +875,6 @@ def get_refs_with_offsets(element):
|
|
|
875
875
|
def _clean_text(text: str) -> str:
|
|
876
876
|
if not text:
|
|
877
877
|
return ""
|
|
878
|
-
import re
|
|
879
|
-
import html
|
|
880
878
|
text = re.sub(r'\s+', ' ', text.strip())
|
|
881
879
|
text = html.unescape(text)
|
|
882
880
|
return text
|
|
@@ -961,8 +959,6 @@ def get_formatted_passage(head_paragraph, head_section, paragraph_id, element):
|
|
|
961
959
|
def _clean_text_local(text: str) -> str:
|
|
962
960
|
if not text:
|
|
963
961
|
return ""
|
|
964
|
-
import re
|
|
965
|
-
import html
|
|
966
962
|
text = re.sub(r'\s+', ' ', text.strip())
|
|
967
963
|
text = html.unescape(text)
|
|
968
964
|
return text
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/TEI2Markdown.py
RENAMED
|
@@ -648,8 +648,6 @@ class TEI2MarkdownConverter:
|
|
|
648
648
|
|
|
649
649
|
def _extract_year(self, date_text: str) -> str:
|
|
650
650
|
"""Extract year from date text, handling various formats."""
|
|
651
|
-
import re
|
|
652
|
-
|
|
653
651
|
# Look for 4-digit year patterns
|
|
654
652
|
year_match = re.search(r'\b(19|20)\d{2}\b', date_text)
|
|
655
653
|
if year_match:
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client_python.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: grobid-client-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Simple python client for GROBID REST services
|
|
5
5
|
Author-email: Patrice Lopez <patrice.lopez@science-miner.com>
|
|
6
6
|
Maintainer-email: Patrice Lopez <patrice.lopez@science-miner.com>, Luca Foppiano <lucanoro@duck.com>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/TEI2LossyJSON_cli.py
RENAMED
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/TEI2Markdown_cli.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client/format/validate_json_refs.py
RENAMED
|
File without changes
|
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client_python.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/grobid_client_python.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-1.txt
RENAMED
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-2.txt
RENAMED
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-3.txt
RENAMED
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-4.txt
RENAMED
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-5.txt
RENAMED
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-6.txt
RENAMED
|
File without changes
|
{grobid_client_python-0.1.3 → grobid_client_python-0.1.4}/resources/test_txt/reference-strings-7.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|