Upload folder using huggingface_hub
Browse files- .gitignore +4 -0
- README.md +43 -13
- defextra_required_pdfs.csv +76 -0
- defextra_required_pdfs.md +77 -0
- docs/defextra_hydration.md +67 -27
- docs/get_pdfs.md +12 -3
- pyproject.toml +16 -0
- scripts/defextra_markers.py +26 -20
- scripts/hydrate_defextra.py +8 -8
- uv.lock +0 -0
.gitignore
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.venv
|
| 2 |
+
__pycache__
|
| 3 |
+
outputs/
|
| 4 |
+
grobid_out/
|
README.md
CHANGED
|
@@ -4,22 +4,35 @@ language: en
|
|
| 4 |
task_categories:
|
| 5 |
- text-classification
|
| 6 |
- question-answering
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
# DefExtra
|
| 10 |
|
|
|
|
|
|
|
| 11 |
DefExtra contains 268 definition records (term, definition, context, type) from 75 papers. **We do not ship excerpts from papers** due to copyright. Instead, we ship legal markers and scripts that let users hydrate the dataset from their own PDFs.
|
| 12 |
|
| 13 |
-
Why this workflow
|
|
|
|
| 14 |
- We cannot redistribute copyrighted excerpts.
|
| 15 |
- We therefore ship **only localization markers** plus scripts to reconstruct the text from user‑supplied PDFs.
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
1) Put PDFs in `pdfs/` (filename should match `paper_id`, DOI/PII alias, or arXiv ID).
|
| 19 |
2) Start a GROBID server (see `docs/defextra_hydration.md`).
|
| 20 |
3) Hydrate:
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 23 |
--legal-csv data/defextra_legal.csv \
|
| 24 |
--pdf-dir pdfs \
|
| 25 |
--grobid-out grobid_out \
|
|
@@ -28,24 +41,41 @@ python scripts/hydrate_defextra.py \
|
|
| 28 |
--require-complete
|
| 29 |
```
|
| 30 |
|
| 31 |
-
Getting PDFs
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
-
Data files
|
| 35 |
- `data/defextra_legal.csv` / `data/defextra_legal.parquet`: DefExtra markers (no excerpts).
|
| 36 |
|
| 37 |
-
Scripts
|
|
|
|
| 38 |
- `scripts/hydrate_defextra.py`: hydrate DefExtra from PDFs + GROBID.
|
| 39 |
- `scripts/pdf_to_grobid.py`: batch GROBID runner (requires a running GROBID server).
|
| 40 |
- `scripts/list_defextra_pdfs.py`: list required PDFs + download links.
|
| 41 |
- `scripts/build_defextra_test_pdfs.py`: build a test PDF set from a larger PDF pool.
|
| 42 |
- `scripts/report_defextra_status.py`: summarize missing items by paper/definition.
|
| 43 |
-
- `scripts/compare_defextra_csvs.py`: compare hydrated output to a reference.
|
| 44 |
|
| 45 |
-
Documentation
|
| 46 |
-
|
| 47 |
-
- `docs/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
-
Notes
|
| 50 |
- Hash IDs are typically Semantic Scholar paper IDs; many PDFs can be obtained from Semantic Scholar.
|
| 51 |
- If you see PDF hash mismatch warnings, verify you have the correct paper version and rerun with `--allow-pdf-hash-mismatch` only after manual inspection.
|
|
|
|
| 4 |
task_categories:
|
| 5 |
- text-classification
|
| 6 |
- question-answering
|
| 7 |
+
- text-retrieval
|
| 8 |
---
|
| 9 |
|
| 10 |
# DefExtra
|
| 11 |
|
| 12 |
+
## Overview
|
| 13 |
+
|
| 14 |
DefExtra contains 268 definition records (term, definition, context, type) from 75 papers. **We do not ship excerpts from papers** due to copyright. Instead, we ship legal markers and scripts that let users hydrate the dataset from their own PDFs.
|
| 15 |
|
| 16 |
+
Why this workflow:
|
| 17 |
+
|
| 18 |
- We cannot redistribute copyrighted excerpts.
|
| 19 |
- We therefore ship **only localization markers** plus scripts to reconstruct the text from user‑supplied PDFs.
|
| 20 |
|
| 21 |
+
## Examples (from our own papers; after hydration)
|
| 22 |
+
|
| 23 |
+
| Source | Concept | Definition | Context (excerpt) |
|
| 24 |
+
| --- | --- | --- | --- |
|
| 25 |
+
| [https://aclanthology.org/2024.lrec-main.952](https://aclanthology.org/2024.lrec-main.952) | `media bias` | “a skewed portrayal of information favoring certain group interests, which manifests in multiple facets, including political, gender, racial, and linguistic biases.” | “Media bias is a skewed portrayal of information favoring certain group interests … Such subtypes of bias … make the classification of media bias a challenging task.” |
|
| 26 |
+
| [https://arxiv.org/abs/2312.16148](https://arxiv.org/abs/2312.16148) | `spin bias` | “a form of bias introduced either by leaving out necessary information or by adding unnecessary information.” | “Spin Bias describes a form of bias introduced either by leaving out necessary information … or by adding unnecessary information.” |
|
| 27 |
+
|
| 28 |
+
## Quickstart (DefExtra hydration)
|
| 29 |
+
|
| 30 |
1) Put PDFs in `pdfs/` (filename should match `paper_id`, DOI/PII alias, or arXiv ID).
|
| 31 |
2) Start a GROBID server (see `docs/defextra_hydration.md`).
|
| 32 |
3) Hydrate:
|
| 33 |
+
|
| 34 |
+
```bash
|
| 35 |
+
uv run python scripts/hydrate_defextra.py \
|
| 36 |
--legal-csv data/defextra_legal.csv \
|
| 37 |
--pdf-dir pdfs \
|
| 38 |
--grobid-out grobid_out \
|
|
|
|
| 41 |
--require-complete
|
| 42 |
```
|
| 43 |
|
| 44 |
+
## Getting PDFs
|
| 45 |
+
|
| 46 |
+
- See `docs/get_pdfs.md` for sources and a helper script that lists required PDFs.
|
| 47 |
+
- `defextra_required_pdfs.csv` and `defextra_required_pdfs.md` are precomputed lists.
|
| 48 |
+
|
| 49 |
+
## Environment (uv)
|
| 50 |
+
|
| 51 |
+
- This repo ships a `pyproject.toml` with all dependencies.
|
| 52 |
+
- Run any script with `uv run python ...` and uv will resolve/install deps.
|
| 53 |
+
|
| 54 |
+
## Data files
|
| 55 |
|
|
|
|
| 56 |
- `data/defextra_legal.csv` / `data/defextra_legal.parquet`: DefExtra markers (no excerpts).
|
| 57 |
|
| 58 |
+
## Scripts
|
| 59 |
+
|
| 60 |
- `scripts/hydrate_defextra.py`: hydrate DefExtra from PDFs + GROBID.
|
| 61 |
- `scripts/pdf_to_grobid.py`: batch GROBID runner (requires a running GROBID server).
|
| 62 |
- `scripts/list_defextra_pdfs.py`: list required PDFs + download links.
|
| 63 |
- `scripts/build_defextra_test_pdfs.py`: build a test PDF set from a larger PDF pool.
|
| 64 |
- `scripts/report_defextra_status.py`: summarize missing items by paper/definition.
|
|
|
|
| 65 |
|
| 66 |
+
## Documentation
|
| 67 |
+
|
| 68 |
+
- [`docs/defextra_hydration.md`](docs/defextra_hydration.md) (technical details, CLI flags, markers).
|
| 69 |
+
- [`docs/get_pdfs.md`](docs/get_pdfs.md) (how to find PDFs).
|
| 70 |
+
- See [`docs/defextra_hydration.md`](docs/defextra_hydration.md) for technical details and [`docs/get_pdfs.md`](docs/get_pdfs.md) for PDF sources.
|
| 71 |
+
|
| 72 |
+
## Expected minor mismatches
|
| 73 |
+
|
| 74 |
+
- Small differences vs. the manual reference can occur due to PDF/GROBID text normalization.
|
| 75 |
+
- Typical cases: line‑break hyphenation, spacing around numbers, citation formatting.
|
| 76 |
+
- These are documented and do not affect the ability to hydrate all entries.
|
| 77 |
+
|
| 78 |
+
## Notes
|
| 79 |
|
|
|
|
| 80 |
- Hash IDs are typically Semantic Scholar paper IDs; many PDFs can be obtained from Semantic Scholar.
|
| 81 |
- If you see PDF hash mismatch warnings, verify you have the correct paper version and rerun with `--allow-pdf-hash-mismatch` only after manual inspection.
|
defextra_required_pdfs.csv
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
paper_id,normalized_id,paper_title,paper_doi,paper_arxiv,preferred_pdf_name,alias_pdf_names,url_semanticscholar,url_doi,url_arxiv,url_acl
|
| 2 |
+
0090023afc66cd2741568599057f4e82b566137c,0090023afc66cd2741568599057f4e82b566137c,A Survey on Bias and Fairness in Machine Learning,,1908.09635v3,0090023afc66cd2741568599057f4e82b566137c.pdf,,https://www.semanticscholar.org/paper/0090023afc66cd2741568599057f4e82b566137c,,https://arxiv.org/abs/1908.09635v3,
|
| 3 |
+
016f7a076ac272db106fbcea056752c7307f676a,016f7a076ac272db106fbcea056752c7307f676a,Racial and Ethnic Disparities in Crime and Criminal Justice in the United States,10.1086/449253,,016f7a076ac272db106fbcea056752c7307f676a.pdf,,https://www.semanticscholar.org/paper/016f7a076ac272db106fbcea056752c7307f676a,https://doi.org/10.1086/449253,,
|
| 4 |
+
0209e602acaeab882fee84e244caf574cf345ef9,0209e602acaeab882fee84e244caf574cf345ef9,How numeracy influences risk comprehension and medical decision making.,10.1037/a0017327,,0209e602acaeab882fee84e244caf574cf345ef9.pdf,,https://www.semanticscholar.org/paper/0209e602acaeab882fee84e244caf574cf345ef9,https://doi.org/10.1037/a0017327,,
|
| 5 |
+
033b21cf1c6d3bdae587e673452b994443bf3546,033b21cf1c6d3bdae587e673452b994443bf3546,Defining narrative,10.1017/cbo9780511816932.004,,033b21cf1c6d3bdae587e673452b994443bf3546.pdf,,https://www.semanticscholar.org/paper/033b21cf1c6d3bdae587e673452b994443bf3546,https://doi.org/10.1017/cbo9780511816932.004,,
|
| 6 |
+
03c4bb2121b3dd2b5302d37c81e84092a501bc91,03c4bb2121b3dd2b5302d37c81e84092a501bc91,"Platformed racism: the mediation and circulation of an Australian race-based controversy on Twitter, Facebook and YouTube",10.1080/1369118x.2017.1293130,,03c4bb2121b3dd2b5302d37c81e84092a501bc91.pdf,,https://www.semanticscholar.org/paper/03c4bb2121b3dd2b5302d37c81e84092a501bc91,https://doi.org/10.1080/1369118x.2017.1293130,,
|
| 7 |
+
044031c8bf57c9155572d26b0627af5ca80677f6,044031c8bf57c9155572d26b0627af5ca80677f6,Participatory journalism practices in the media and beyond: an international comparative study of initiatives in online newspapers,10.1080/17512780802281065#.U_tm2bSvvVo,,044031c8bf57c9155572d26b0627af5ca80677f6.pdf,,https://www.semanticscholar.org/paper/044031c8bf57c9155572d26b0627af5ca80677f6,https://doi.org/10.1080/17512780802281065#.u_tm2bsvvvo,,
|
| 8 |
+
057bd5a3a6b652dfd1419128aae578478f5891b0,057bd5a3a6b652dfd1419128aae578478f5891b0,The Stigma Complex,10.1146/annurev-soc-071312-145702,,057bd5a3a6b652dfd1419128aae578478f5891b0.pdf,,https://www.semanticscholar.org/paper/057bd5a3a6b652dfd1419128aae578478f5891b0,https://doi.org/10.1146/annurev-soc-071312-145702,,
|
| 9 |
+
05b3fc81364c2ad10c3b58b3cefcf191f6feb120,05b3fc81364c2ad10c3b58b3cefcf191f6feb120,Constructing a Climate Change Logic: An Institutional Perspective on the “Tragedy of the Commons”,10.1287/orsc.1120.0799,,05b3fc81364c2ad10c3b58b3cefcf191f6feb120.pdf,,https://www.semanticscholar.org/paper/05b3fc81364c2ad10c3b58b3cefcf191f6feb120,https://doi.org/10.1287/orsc.1120.0799,,
|
| 10 |
+
05bfced33d92944b7a0672490c371342d28ee076,05bfced33d92944b7a0672490c371342d28ee076,,,,05bfced33d92944b7a0672490c371342d28ee076.pdf,,https://www.semanticscholar.org/paper/05bfced33d92944b7a0672490c371342d28ee076,,,
|
| 11 |
+
09116cf5a3160f310b7c82ec1dc8b86e3850829c,09116cf5a3160f310b7c82ec1dc8b86e3850829c,The Role of the Media in the Construction of Public Belief and Social Change,10.5964/jspp.v1i1.96,,09116cf5a3160f310b7c82ec1dc8b86e3850829c.pdf,,https://www.semanticscholar.org/paper/09116cf5a3160f310b7c82ec1dc8b86e3850829c,https://doi.org/10.5964/jspp.v1i1.96,,
|
| 12 |
+
09c660d438e8b372f3e77504c069255b85c00256,09c660d438e8b372f3e77504c069255b85c00256,Construal-level theory of psychological distance.,10.1037/a0018963,,09c660d438e8b372f3e77504c069255b85c00256.pdf,,https://www.semanticscholar.org/paper/09c660d438e8b372f3e77504c069255b85c00256,https://doi.org/10.1037/a0018963,,
|
| 13 |
+
0d23df558a30492946059c017343a431dc3dc172,0d23df558a30492946059c017343a431dc3dc172,Intermedia Agenda Setting in the Social Media Age: How Traditional Players Dominate the News Agenda in Election Times,10.1177/1940161217704969,,0d23df558a30492946059c017343a431dc3dc172.pdf,,https://www.semanticscholar.org/paper/0d23df558a30492946059c017343a431dc3dc172,https://doi.org/10.1177/1940161217704969,,
|
| 14 |
+
0f7eda998bbce003745ff2fdbcaa1d9a8119368b,0f7eda998bbce003745ff2fdbcaa1d9a8119368b,ECHO CHAMBERS AND EPISTEMIC BUBBLES,10.1017/epi.2018.32,,0f7eda998bbce003745ff2fdbcaa1d9a8119368b.pdf,,https://www.semanticscholar.org/paper/0f7eda998bbce003745ff2fdbcaa1d9a8119368b,https://doi.org/10.1017/epi.2018.32,,
|
| 15 |
+
14bf8b0a9961f5c95b62861c9b7f3d5fcf778dcf,14bf8b0a9961f5c95b62861c9b7f3d5fcf778dcf,Unified BHPS work-life histories: combining multiple sources into a user-Unified BHPS work-life histories: combining multiple sources into a userfriendly format friendly format,,,14bf8b0a9961f5c95b62861c9b7f3d5fcf778dcf.pdf,,https://www.semanticscholar.org/paper/14bf8b0a9961f5c95b62861c9b7f3d5fcf778dcf,,,
|
| 16 |
+
1538c4777271ae6abb542801dac01423f4d566ad,1538c4777271ae6abb542801dac01423f4d566ad,Understanding the Role and Methods of Meta-Analysis in IS Research,10.17705/1cais.01632,,1538c4777271ae6abb542801dac01423f4d566ad.pdf,,https://www.semanticscholar.org/paper/1538c4777271ae6abb542801dac01423f4d566ad,https://doi.org/10.17705/1cais.01632,,
|
| 17 |
+
167f1d5e64b874bea86acdef6d5476da904fec6a,167f1d5e64b874bea86acdef6d5476da904fec6a,"Confirmation, Discontinuation, and Information in Hypothesis Testing",,,167f1d5e64b874bea86acdef6d5476da904fec6a.pdf,,https://www.semanticscholar.org/paper/167f1d5e64b874bea86acdef6d5476da904fec6a,,,
|
| 18 |
+
17734113f254a64b3bae312713edba3b1e34fb56,17734113f254a64b3bae312713edba3b1e34fb56,The Emergence of Deepfake Technology: A Review,,,17734113f254a64b3bae312713edba3b1e34fb56.pdf,,https://www.semanticscholar.org/paper/17734113f254a64b3bae312713edba3b1e34fb56,,,
|
| 19 |
+
1901.00596v4,1901.00596v4,A Comprehensive Survey on Graph Neural Networks,,1901.00596v4,1901.00596v4.pdf,,,,https://arxiv.org/abs/1901.00596v4,
|
| 20 |
+
1acbc58041a408e33ba33e2f0af5808f2bc56ff1,1acbc58041a408e33ba33e2f0af5808f2bc56ff1,Crop variety management for climate adaptation supported by citizen science,10.1073/pnas.1813720116,,1acbc58041a408e33ba33e2f0af5808f2bc56ff1.pdf,,https://www.semanticscholar.org/paper/1acbc58041a408e33ba33e2f0af5808f2bc56ff1,https://doi.org/10.1073/pnas.1813720116,,
|
| 21 |
+
1ccc69b50a7495af1547833415f89536619c93e9,1ccc69b50a7495af1547833415f89536619c93e9,The Dynamics of Public Attention: Agenda-Setting Theory Meets Big Data,10.1111/jcom.12088,,1ccc69b50a7495af1547833415f89536619c93e9.pdf,,https://www.semanticscholar.org/paper/1ccc69b50a7495af1547833415f89536619c93e9,https://doi.org/10.1111/jcom.12088,,
|
| 22 |
+
2025.acl-long.1513,2025.acl-long.1513,"PolyNarrative: A Multilingual, Multilabel, Multi-domain Dataset for Narrative Extraction from News Articles",,,2025.acl-long.1513.pdf,,,,,
|
| 23 |
+
2106.04554v2,2106.04554v2,A Survey of Transformers,,2106.04554v2,2106.04554v2.pdf,,,,https://arxiv.org/abs/2106.04554v2,
|
| 24 |
+
2106.16117v1,2106.16117v1,"ENERGY SECURITY: KEY CONCEPTS, COMPONENTS, AND CHANGE OF THE PARADIGM",,,2106.16117v1.pdf,,,,,
|
| 25 |
+
22170e94588cf3b970ff8855c946a130aaa065c2,22170e94588cf3b970ff8855c946a130aaa065c2,Explaining Bargaining Impasse: The Role of Self-Serving Biases,,,22170e94588cf3b970ff8855c946a130aaa065c2.pdf,,https://www.semanticscholar.org/paper/22170e94588cf3b970ff8855c946a130aaa065c2,,,
|
| 26 |
+
22cb049f711570de72ea60a5f6b49fdf4459d589,22cb049f711570de72ea60a5f6b49fdf4459d589,"""From Protest to Agenda-Building: Description Bias in Media Coverage of Protest Events in Washington, D.C.""",,,22cb049f711570de72ea60a5f6b49fdf4459d589.pdf,,https://www.semanticscholar.org/paper/22cb049f711570de72ea60a5f6b49fdf4459d589,,,
|
| 27 |
+
2303.14725v2,2303.14725v2,"Natural Language Reasoning, A Survey",10.1145/nnnnnnn.nnnnnnn,2303.14725v2,2303.14725v2.pdf,,,https://doi.org/10.1145/nnnnnnn.nnnnnnn,https://arxiv.org/abs/2303.14725v2,
|
| 28 |
+
235c4f33d5bfc81bfa09a2458fcc0e42ef4454dc,235c4f33d5bfc81bfa09a2458fcc0e42ef4454dc,Understanding Propaganda: The Epistemic Merit Model and Its Application to Art Author(s),,,235c4f33d5bfc81bfa09a2458fcc0e42ef4454dc.pdf,,https://www.semanticscholar.org/paper/235c4f33d5bfc81bfa09a2458fcc0e42ef4454dc,,,
|
| 29 |
+
23eb7b57f821ec3b579605540b494d7c079a8467,23eb7b57f821ec3b579605540b494d7c079a8467,Beyond prejudice as simple antipathy: Hostile and benevolent sexism across cultures.,10.1037//0022-3514.79.5.763,,23eb7b57f821ec3b579605540b494d7c079a8467.pdf,,https://www.semanticscholar.org/paper/23eb7b57f821ec3b579605540b494d7c079a8467,https://doi.org/10.1037//0022-3514.79.5.763,,
|
| 30 |
+
24589ef86242ff182e7bae495b94e7c11931f20c,24589ef86242ff182e7bae495b94e7c11931f20c,Listening to Birds in the Anthropocene: The Anxious Semiotics of Sound in a Human-Dominated World,,,24589ef86242ff182e7bae495b94e7c11931f20c.pdf,,https://www.semanticscholar.org/paper/24589ef86242ff182e7bae495b94e7c11931f20c,,,
|
| 31 |
+
261a5f3b2fe61904107a2e80d4a9426532cd4b06,261a5f3b2fe61904107a2e80d4a9426532cd4b06,Refugees as People: The Portrayal of Refugees in American Human Interest Stories,10.1093/jrs/feq019,,261a5f3b2fe61904107a2e80d4a9426532cd4b06.pdf,,https://www.semanticscholar.org/paper/261a5f3b2fe61904107a2e80d4a9426532cd4b06,https://doi.org/10.1093/jrs/feq019,,
|
| 32 |
+
262153e94c3632ccf213dac45a93d8ff3cc3ff98,262153e94c3632ccf213dac45a93d8ff3cc3ff98,"Stance, Style, and the Linguistic Individual",,,262153e94c3632ccf213dac45a93d8ff3cc3ff98.pdf,,https://www.semanticscholar.org/paper/262153e94c3632ccf213dac45a93d8ff3cc3ff98,,,
|
| 33 |
+
264c3ad2d861782583e41130677fb6d7856f9dc3,264c3ad2d861782583e41130677fb6d7856f9dc3,Mandatory Non-financial Disclosure and Its Influence on CSR: An International Comparison,10.1007/s10551-019-04200-0,,264c3ad2d861782583e41130677fb6d7856f9dc3.pdf,,https://www.semanticscholar.org/paper/264c3ad2d861782583e41130677fb6d7856f9dc3,https://doi.org/10.1007/s10551-019-04200-0,,
|
| 34 |
+
26af8e81a7ca5b137912acb81d8c19f38fce0200,26af8e81a7ca5b137912acb81d8c19f38fce0200,Undone Science: Charting Social Movement and Civil Society Challenges to Research Agenda Setting,10.1177/0162243909345836,,26af8e81a7ca5b137912acb81d8c19f38fce0200.pdf,,https://www.semanticscholar.org/paper/26af8e81a7ca5b137912acb81d8c19f38fce0200,https://doi.org/10.1177/0162243909345836,,
|
| 35 |
+
2d1201d181da2166ccbf1e922634b8b74a58f141,2d1201d181da2166ccbf1e922634b8b74a58f141,,10.1177/1354066107074284],,2d1201d181da2166ccbf1e922634b8b74a58f141.pdf,,https://www.semanticscholar.org/paper/2d1201d181da2166ccbf1e922634b8b74a58f141,https://doi.org/10.1177/1354066107074284],,
|
| 36 |
+
304b9778edf07175e6964dfa3f37cacec6006197,304b9778edf07175e6964dfa3f37cacec6006197,Secured and Sorted Mobilities: Examples from the Airport,,,304b9778edf07175e6964dfa3f37cacec6006197.pdf,,https://www.semanticscholar.org/paper/304b9778edf07175e6964dfa3f37cacec6006197,,,
|
| 37 |
+
32e71a5d430dafa32b3ac8df7d2b5554b55c3f29,32e71a5d430dafa32b3ac8df7d2b5554b55c3f29,NBER WORKING PAPER SERIES THE FOX NEWS EFFECT: MEDIA BIAS AND VOTING,,,32e71a5d430dafa32b3ac8df7d2b5554b55c3f29.pdf,,https://www.semanticscholar.org/paper/32e71a5d430dafa32b3ac8df7d2b5554b55c3f29,,,
|
| 38 |
+
3457607,3457607,A Survey on Bias and Fairness in Machine Learning,10.1145/3457607,,3457607.pdf,,,https://doi.org/10.1145/3457607,,
|
| 39 |
+
34ec13e4a17aff92546ab99472e3ce95524d9add,34ec13e4a17aff92546ab99472e3ce95524d9add,Should we worry about filter bubbles?,10.14763/2016.1.401,,34ec13e4a17aff92546ab99472e3ce95524d9add.pdf,,https://www.semanticscholar.org/paper/34ec13e4a17aff92546ab99472e3ce95524d9add,https://doi.org/10.14763/2016.1.401,,
|
| 40 |
+
35266513e601aed2e2707e9263b2ccd466644b60,35266513e601aed2e2707e9263b2ccd466644b60,The Origins and Consequences of Affective Polarization in the United States,10.1146/annurev-polisci-051117-,,35266513e601aed2e2707e9263b2ccd466644b60.pdf,,https://www.semanticscholar.org/paper/35266513e601aed2e2707e9263b2ccd466644b60,https://doi.org/10.1146/annurev-polisci-051117-,,
|
| 41 |
+
3584741,3584741,A Survey on Event-Based News Narrative Extraction,10.1145/3584741,,3584741.pdf,,,https://doi.org/10.1145/3584741,,
|
| 42 |
+
35ed340b12c10a5a66504cb2396800486fa5aa26,35ed340b12c10a5a66504cb2396800486fa5aa26,Partisans without Constraint: Political Polarization and Trends in American Public Opinion 1,,,35ed340b12c10a5a66504cb2396800486fa5aa26.pdf,,https://www.semanticscholar.org/paper/35ed340b12c10a5a66504cb2396800486fa5aa26,,,
|
| 43 |
+
3a03068318afdaa75a9dbdcbf960d63bf8035f0e,3a03068318afdaa75a9dbdcbf960d63bf8035f0e,Local Does as Local Is: Information Content of the Geography of Individual Investors' Common Stock Investments,,,3a03068318afdaa75a9dbdcbf960d63bf8035f0e.pdf,,https://www.semanticscholar.org/paper/3a03068318afdaa75a9dbdcbf960d63bf8035f0e,,,
|
| 44 |
+
3b50e1808471dd5a8d19a50ef227b03774b80cae,3b50e1808471dd5a8d19a50ef227b03774b80cae,Transport and social exclusion: investigating the possibility of promoting inclusion through virtual mobility,,,3b50e1808471dd5a8d19a50ef227b03774b80cae.pdf,,https://www.semanticscholar.org/paper/3b50e1808471dd5a8d19a50ef227b03774b80cae,,,
|
| 45 |
+
4232b05abe413bf3294a560082b0b6bb72dc5a27,4232b05abe413bf3294a560082b0b6bb72dc5a27,The Social Determinants of Health: Coming of Age,10.1146/annurev-publhealth-031210-101218,,4232b05abe413bf3294a560082b0b6bb72dc5a27.pdf,,https://www.semanticscholar.org/paper/4232b05abe413bf3294a560082b0b6bb72dc5a27,https://doi.org/10.1146/annurev-publhealth-031210-101218,,
|
| 46 |
+
4243aa9bacd51bc02d4240378e7528912962b53e,4243aa9bacd51bc02d4240378e7528912962b53e,BRANDING THE NATION: TOWARDS A BETTER UNDERSTANDING,,,4243aa9bacd51bc02d4240378e7528912962b53e.pdf,,https://www.semanticscholar.org/paper/4243aa9bacd51bc02d4240378e7528912962b53e,,,
|
| 47 |
+
4b33419863b96c270d5875af9bd5af3ce5dbb1e2,4b33419863b96c270d5875af9bd5af3ce5dbb1e2,The Social Amplification of Risk A Conceptual Framework,,,4b33419863b96c270d5875af9bd5af3ce5dbb1e2.pdf,,https://www.semanticscholar.org/paper/4b33419863b96c270d5875af9bd5af3ce5dbb1e2,,,
|
| 48 |
+
4d65bab6f9b1fd61885fe187e6014a89592df187,4d65bab6f9b1fd61885fe187e6014a89592df187,"NBER WORKING PAPER SERIES TRANSPARENCY, REPRODUCIBILITY, AND THE CREDIBILITY OF ECONOMICS RESEARCH",,,4d65bab6f9b1fd61885fe187e6014a89592df187.pdf,,https://www.semanticscholar.org/paper/4d65bab6f9b1fd61885fe187e6014a89592df187,,,
|
| 49 |
+
4eb5a9745dfc892cb42ed427a5f08e6abf8df7e3,4eb5a9745dfc892cb42ed427a5f08e6abf8df7e3,"Affective polarization, local contexts and public opinion in America",10.1038/s41562-020-01012-5,,4eb5a9745dfc892cb42ed427a5f08e6abf8df7e3.pdf,,https://www.semanticscholar.org/paper/4eb5a9745dfc892cb42ed427a5f08e6abf8df7e3,https://doi.org/10.1038/s41562-020-01012-5,,
|
| 50 |
+
502c9122dda395eb30bd0707a85bc235d4e6e3ba,502c9122dda395eb30bd0707a85bc235d4e6e3ba,"How to Do a Systematic Review: A Best Practice Guide for Conducting and Reporting Narrative Reviews, Meta-Analyses, and Meta-Syntheses",10.1146/annurev-psych-010418-,,502c9122dda395eb30bd0707a85bc235d4e6e3ba.pdf,,https://www.semanticscholar.org/paper/502c9122dda395eb30bd0707a85bc235d4e6e3ba,https://doi.org/10.1146/annurev-psych-010418-,,
|
| 51 |
+
73bfad11b96a69cb882028ead115751adb55252d,73bfad11b96a69cb882028ead115751adb55252d,The science of fake news,10.1126/science.aao2998,,73bfad11b96a69cb882028ead115751adb55252d.pdf,,https://www.semanticscholar.org/paper/73bfad11b96a69cb882028ead115751adb55252d,https://doi.org/10.1126/science.aao2998,,
|
| 52 |
+
885c3154386e3dd1ff6a12e566152846186f9569,885c3154386e3dd1ff6a12e566152846186f9569,Partisan Polarization Is the Primary Psychological Motivation behind Political Fake News Sharing on Twitter,10.1017/s0003055421000290,,885c3154386e3dd1ff6a12e566152846186f9569.pdf,,https://www.semanticscholar.org/paper/885c3154386e3dd1ff6a12e566152846186f9569,https://doi.org/10.1017/s0003055421000290,,
|
| 53 |
+
8dd6a2c9c88c9b3465484228c93f4dcc11cfeab9,8dd6a2c9c88c9b3465484228c93f4dcc11cfeab9,Automated Hate Speech Detection and the Problem of Offensive Language,,,8dd6a2c9c88c9b3465484228c93f4dcc11cfeab9.pdf,,https://www.semanticscholar.org/paper/8dd6a2c9c88c9b3465484228c93f4dcc11cfeab9,,,
|
| 54 |
+
95560085f16dfe9b556d0eea424ef4f7977fb647,95560085f16dfe9b556d0eea424ef4f7977fb647,,,,95560085f16dfe9b556d0eea424ef4f7977fb647.pdf,,https://www.semanticscholar.org/paper/95560085f16dfe9b556d0eea424ef4f7977fb647,,,
|
| 55 |
+
How_to_define_ecology_on_the_basis_of_its_current_understanding,How_to_define_ecology_on_the_basis_of_its_current_understanding,How to define ecology on the basis of its current understanding?,10.2478/foecol-2021-0001,,How_to_define_ecology_on_the_basis_of_its_current_understanding.pdf,,,https://doi.org/10.2478/foecol-2021-0001,,
|
| 56 |
+
Rosen_gjcpi_2018_3,Rosen_gjcpi_2018_3,"Issues, Concepts and Applications for Sustainability",10.12893/gjcpi.2018.3.4,,Rosen_gjcpi_2018_3.pdf,,,https://doi.org/10.12893/gjcpi.2018.3.4,,
|
| 57 |
+
Survey_on_terminology_extraction_from_texts,Survey_on_terminology_extraction_from_texts,Survey on terminology extraction from texts,10.1186/s40537-025-01077-x,,Survey_on_terminology_extraction_from_texts.pdf,,,https://doi.org/10.1186/s40537-025-01077-x,,
|
| 58 |
+
a7b52fa3ff2606013a6ab9ba294743d7de637e6a,a7b52fa3ff2606013a6ab9ba294743d7de637e6a,Examining the Impact of Structural Racism on Food Insecurity,10.1097/fch.0000000000000183,,a7b52fa3ff2606013a6ab9ba294743d7de637e6a.pdf,,https://www.semanticscholar.org/paper/a7b52fa3ff2606013a6ab9ba294743d7de637e6a,https://doi.org/10.1097/fch.0000000000000183,,
|
| 59 |
+
bff1326ea0f792e3557fc8ad0731733ba7f8b091,bff1326ea0f792e3557fc8ad0731733ba7f8b091,PRIOR ALLIANCES WITH TARGETS AND ACQUISITION PERFORMANCE IN KNOWLEDGE-INTENSIVE INDUSTRIES,10.1287/orsc.1100.0528,,bff1326ea0f792e3557fc8ad0731733ba7f8b091.pdf,,https://www.semanticscholar.org/paper/bff1326ea0f792e3557fc8ad0731733ba7f8b091,https://doi.org/10.1287/orsc.1100.0528,,
|
| 60 |
+
c1e92f1be2387d14dcfaa5e1640a9939724a312a,c1e92f1be2387d14dcfaa5e1640a9939724a312a,TITLE: An empirical examination of echo chambers in US climate policy networks,,,c1e92f1be2387d14dcfaa5e1640a9939724a312a.pdf,,https://www.semanticscholar.org/paper/c1e92f1be2387d14dcfaa5e1640a9939724a312a,,,
|
| 61 |
+
c84a169e6df175c4662012d3ba7dbf8fa1b5abc9,c84a169e6df175c4662012d3ba7dbf8fa1b5abc9,‘Fake news’ is the invention of a liar: How false information circulates within the hybrid news system,10.1177/0011392119837536,,c84a169e6df175c4662012d3ba7dbf8fa1b5abc9.pdf,,https://www.semanticscholar.org/paper/c84a169e6df175c4662012d3ba7dbf8fa1b5abc9,https://doi.org/10.1177/0011392119837536,,
|
| 62 |
+
daw084,daw084,Just a subtle difference? Findings from a systematic review on definitions of nutrition literacy and food literacy,10.1093/heapro/daw084,,daw084.pdf,,,https://doi.org/10.1093/heapro/daw084,,
|
| 63 |
+
doi:10.1145/3677092,3677092,,,,3677092.pdf,,,,,
|
| 64 |
+
dx.doi.org/https://doi.org/10.1016/j.ipm.2021.102505,j.ipm.2021.102505,,,,j.ipm.2021.102505.pdf,S0306457321000157.pdf;1-s2.0-S0306457321000157-main.pdf;S0957417423021437.pdf;1-s2.0-S0957417423021437-main.pdf;S0306457321000157.pdf;1-s2.0-S0306457321000157-main.pdf;S0957417423021437.pdf;1-s2.0-S0957417423021437-main.pdf,,https://doi.org/dx.doi.org/https://doi.org/10.1016/j.ipm.2021.102505,,
|
| 65 |
+
eb29476dd81aefedf2896db42f039f003a0ec5bf,eb29476dd81aefedf2896db42f039f003a0ec5bf,Organic or Local? Investigating Consumer Preference for Fresh Produce Using a Choice Experiment with Real Economic Incentives,,,eb29476dd81aefedf2896db42f039f003a0ec5bf.pdf,,https://www.semanticscholar.org/paper/eb29476dd81aefedf2896db42f039f003a0ec5bf,,,
|
| 66 |
+
frai-06-1225093,frai-06-1225093,Rationalization for explainable NLP: a survey,,,frai-06-1225093.pdf,,,,,
|
| 67 |
+
https://aclanthology.org/2021.findings-emnlp.101,2021.findings-emnlp.101,,,,2021.findings-emnlp.101.pdf,,,,,https://aclanthology.org/2021.findings-emnlp.101
|
| 68 |
+
https://aclanthology.org/2024.lrec-main.952,2024.lrec-main.952,,,,2024.lrec-main.952.pdf,,,,,https://aclanthology.org/2024.lrec-main.952
|
| 69 |
+
https://arxiv.org/abs/2312.16148,2312.16148,,,,2312.16148.pdf,,,,,
|
| 70 |
+
https://link.springer.com/article/10.1007/s00799-018-0261-y,s00799-018-0261-y,,,,s00799-018-0261-y.pdf,,,,,
|
| 71 |
+
https://media-bias-research.org/wp-content/uploads/2024/07/Preprint_ICWSM_25_NewsUnfold,Preprint_ICWSM_25_NewsUnfold,,,,Preprint_ICWSM_25_NewsUnfold.pdf,,,,,
|
| 72 |
+
https://www.sciencedirect.com/science/article/pii/S0957417423021437,S0957417423021437,,,,S0957417423021437.pdf,,,,,
|
| 73 |
+
icomputing.0124,icomputing.0124,A Survey of Task Planning with Large Language Models,10.34133/icomputing.0124,,icomputing.0124.pdf,,,https://doi.org/10.34133/icomputing.0124,,
|
| 74 |
+
s10462-022-10338-7,s10462-022-10338-7,A survey on narrative extraction from textual data,10.1007/s10462-022-10338-7,,s10462-022-10338-7.pdf,,,https://doi.org/10.1007/s10462-022-10338-7,,
|
| 75 |
+
s10816-016-9274-2,s10816-016-9274-2,Quality Assurance in Archaeological Survey,10.1007/s10816-016-9274-2,,s10816-016-9274-2.pdf,,,https://doi.org/10.1007/s10816-016-9274-2,,
|
| 76 |
+
s40537-025-01077-x,s40537-025-01077-x,Survey on terminology extraction from texts,10.1186/s40537-025-01077-x,,s40537-025-01077-x.pdf,,,https://doi.org/10.1186/s40537-025-01077-x,,
|
defextra_required_pdfs.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# DefExtra required PDFs
|
| 2 |
+
|
| 3 |
+
- 0090023afc66cd2741568599057f4e82b566137c — A Survey on Bias and Fairness in Machine Learning (https://www.semanticscholar.org/paper/0090023afc66cd2741568599057f4e82b566137c, https://arxiv.org/abs/1908.09635v3)
|
| 4 |
+
- 016f7a076ac272db106fbcea056752c7307f676a — Racial and Ethnic Disparities in Crime and Criminal Justice in the United States (https://www.semanticscholar.org/paper/016f7a076ac272db106fbcea056752c7307f676a, https://doi.org/10.1086/449253)
|
| 5 |
+
- 0209e602acaeab882fee84e244caf574cf345ef9 — How numeracy influences risk comprehension and medical decision making. (https://www.semanticscholar.org/paper/0209e602acaeab882fee84e244caf574cf345ef9, https://doi.org/10.1037/a0017327)
|
| 6 |
+
- 033b21cf1c6d3bdae587e673452b994443bf3546 — Defining narrative (https://www.semanticscholar.org/paper/033b21cf1c6d3bdae587e673452b994443bf3546, https://doi.org/10.1017/cbo9780511816932.004)
|
| 7 |
+
- 03c4bb2121b3dd2b5302d37c81e84092a501bc91 — Platformed racism: the mediation and circulation of an Australian race-based controversy on Twitter, Facebook and YouTube (https://www.semanticscholar.org/paper/03c4bb2121b3dd2b5302d37c81e84092a501bc91, https://doi.org/10.1080/1369118x.2017.1293130)
|
| 8 |
+
- 044031c8bf57c9155572d26b0627af5ca80677f6 — Participatory journalism practices in the media and beyond: an international comparative study of initiatives in online newspapers (https://www.semanticscholar.org/paper/044031c8bf57c9155572d26b0627af5ca80677f6, https://doi.org/10.1080/17512780802281065#.u_tm2bsvvvo)
|
| 9 |
+
- 057bd5a3a6b652dfd1419128aae578478f5891b0 — The Stigma Complex (https://www.semanticscholar.org/paper/057bd5a3a6b652dfd1419128aae578478f5891b0, https://doi.org/10.1146/annurev-soc-071312-145702)
|
| 10 |
+
- 05b3fc81364c2ad10c3b58b3cefcf191f6feb120 — Constructing a Climate Change Logic: An Institutional Perspective on the “Tragedy of the Commons” (https://www.semanticscholar.org/paper/05b3fc81364c2ad10c3b58b3cefcf191f6feb120, https://doi.org/10.1287/orsc.1120.0799)
|
| 11 |
+
- 05bfced33d92944b7a0672490c371342d28ee076 — (https://www.semanticscholar.org/paper/05bfced33d92944b7a0672490c371342d28ee076)
|
| 12 |
+
- 09116cf5a3160f310b7c82ec1dc8b86e3850829c — The Role of the Media in the Construction of Public Belief and Social Change (https://www.semanticscholar.org/paper/09116cf5a3160f310b7c82ec1dc8b86e3850829c, https://doi.org/10.5964/jspp.v1i1.96)
|
| 13 |
+
- 09c660d438e8b372f3e77504c069255b85c00256 — Construal-level theory of psychological distance. (https://www.semanticscholar.org/paper/09c660d438e8b372f3e77504c069255b85c00256, https://doi.org/10.1037/a0018963)
|
| 14 |
+
- 0d23df558a30492946059c017343a431dc3dc172 — Intermedia Agenda Setting in the Social Media Age: How Traditional Players Dominate the News Agenda in Election Times (https://www.semanticscholar.org/paper/0d23df558a30492946059c017343a431dc3dc172, https://doi.org/10.1177/1940161217704969)
|
| 15 |
+
- 0f7eda998bbce003745ff2fdbcaa1d9a8119368b — ECHO CHAMBERS AND EPISTEMIC BUBBLES (https://www.semanticscholar.org/paper/0f7eda998bbce003745ff2fdbcaa1d9a8119368b, https://doi.org/10.1017/epi.2018.32)
|
| 16 |
+
- 14bf8b0a9961f5c95b62861c9b7f3d5fcf778dcf — Unified BHPS work-life histories: combining multiple sources into a user-Unified BHPS work-life histories: combining multiple sources into a userfriendly format friendly format (https://www.semanticscholar.org/paper/14bf8b0a9961f5c95b62861c9b7f3d5fcf778dcf)
|
| 17 |
+
- 1538c4777271ae6abb542801dac01423f4d566ad — Understanding the Role and Methods of Meta-Analysis in IS Research (https://www.semanticscholar.org/paper/1538c4777271ae6abb542801dac01423f4d566ad, https://doi.org/10.17705/1cais.01632)
|
| 18 |
+
- 167f1d5e64b874bea86acdef6d5476da904fec6a — Confirmation, Discontinuation, and Information in Hypothesis Testing (https://www.semanticscholar.org/paper/167f1d5e64b874bea86acdef6d5476da904fec6a)
|
| 19 |
+
- 17734113f254a64b3bae312713edba3b1e34fb56 — The Emergence of Deepfake Technology: A Review (https://www.semanticscholar.org/paper/17734113f254a64b3bae312713edba3b1e34fb56)
|
| 20 |
+
- 1901.00596v4 — A Comprehensive Survey on Graph Neural Networks (https://arxiv.org/abs/1901.00596v4)
|
| 21 |
+
- 1acbc58041a408e33ba33e2f0af5808f2bc56ff1 — Crop variety management for climate adaptation supported by citizen science (https://www.semanticscholar.org/paper/1acbc58041a408e33ba33e2f0af5808f2bc56ff1, https://doi.org/10.1073/pnas.1813720116)
|
| 22 |
+
- 1ccc69b50a7495af1547833415f89536619c93e9 — The Dynamics of Public Attention: Agenda-Setting Theory Meets Big Data (https://www.semanticscholar.org/paper/1ccc69b50a7495af1547833415f89536619c93e9, https://doi.org/10.1111/jcom.12088)
|
| 23 |
+
- 2025.acl-long.1513 — PolyNarrative: A Multilingual, Multilabel, Multi-domain Dataset for Narrative Extraction from News Articles
|
| 24 |
+
- 2106.04554v2 — A Survey of Transformers (https://arxiv.org/abs/2106.04554v2)
|
| 25 |
+
- 2106.16117v1 — ENERGY SECURITY: KEY CONCEPTS, COMPONENTS, AND CHANGE OF THE PARADIGM
|
| 26 |
+
- 22170e94588cf3b970ff8855c946a130aaa065c2 — Explaining Bargaining Impasse: The Role of Self-Serving Biases (https://www.semanticscholar.org/paper/22170e94588cf3b970ff8855c946a130aaa065c2)
|
| 27 |
+
- 22cb049f711570de72ea60a5f6b49fdf4459d589 — "From Protest to Agenda-Building: Description Bias in Media Coverage of Protest Events in Washington, D.C." (https://www.semanticscholar.org/paper/22cb049f711570de72ea60a5f6b49fdf4459d589)
|
| 28 |
+
- 2303.14725v2 — Natural Language Reasoning, A Survey (https://doi.org/10.1145/nnnnnnn.nnnnnnn, https://arxiv.org/abs/2303.14725v2)
|
| 29 |
+
- 235c4f33d5bfc81bfa09a2458fcc0e42ef4454dc — Understanding Propaganda: The Epistemic Merit Model and Its Application to Art Author(s) (https://www.semanticscholar.org/paper/235c4f33d5bfc81bfa09a2458fcc0e42ef4454dc)
|
| 30 |
+
- 23eb7b57f821ec3b579605540b494d7c079a8467 — Beyond prejudice as simple antipathy: Hostile and benevolent sexism across cultures. (https://www.semanticscholar.org/paper/23eb7b57f821ec3b579605540b494d7c079a8467, https://doi.org/10.1037//0022-3514.79.5.763)
|
| 31 |
+
- 24589ef86242ff182e7bae495b94e7c11931f20c — Listening to Birds in the Anthropocene: The Anxious Semiotics of Sound in a Human-Dominated World (https://www.semanticscholar.org/paper/24589ef86242ff182e7bae495b94e7c11931f20c)
|
| 32 |
+
- 261a5f3b2fe61904107a2e80d4a9426532cd4b06 — Refugees as People: The Portrayal of Refugees in American Human Interest Stories (https://www.semanticscholar.org/paper/261a5f3b2fe61904107a2e80d4a9426532cd4b06, https://doi.org/10.1093/jrs/feq019)
|
| 33 |
+
- 262153e94c3632ccf213dac45a93d8ff3cc3ff98 — Stance, Style, and the Linguistic Individual (https://www.semanticscholar.org/paper/262153e94c3632ccf213dac45a93d8ff3cc3ff98)
|
| 34 |
+
- 264c3ad2d861782583e41130677fb6d7856f9dc3 — Mandatory Non-financial Disclosure and Its Influence on CSR: An International Comparison (https://www.semanticscholar.org/paper/264c3ad2d861782583e41130677fb6d7856f9dc3, https://doi.org/10.1007/s10551-019-04200-0)
|
| 35 |
+
- 26af8e81a7ca5b137912acb81d8c19f38fce0200 — Undone Science: Charting Social Movement and Civil Society Challenges to Research Agenda Setting (https://www.semanticscholar.org/paper/26af8e81a7ca5b137912acb81d8c19f38fce0200, https://doi.org/10.1177/0162243909345836)
|
| 36 |
+
- 2d1201d181da2166ccbf1e922634b8b74a58f141 — (https://www.semanticscholar.org/paper/2d1201d181da2166ccbf1e922634b8b74a58f141, https://doi.org/10.1177/1354066107074284])
|
| 37 |
+
- 304b9778edf07175e6964dfa3f37cacec6006197 — Secured and Sorted Mobilities: Examples from the Airport (https://www.semanticscholar.org/paper/304b9778edf07175e6964dfa3f37cacec6006197)
|
| 38 |
+
- 32e71a5d430dafa32b3ac8df7d2b5554b55c3f29 — NBER WORKING PAPER SERIES THE FOX NEWS EFFECT: MEDIA BIAS AND VOTING (https://www.semanticscholar.org/paper/32e71a5d430dafa32b3ac8df7d2b5554b55c3f29)
|
| 39 |
+
- 3457607 — A Survey on Bias and Fairness in Machine Learning (https://doi.org/10.1145/3457607)
|
| 40 |
+
- 34ec13e4a17aff92546ab99472e3ce95524d9add — Should we worry about filter bubbles? (https://www.semanticscholar.org/paper/34ec13e4a17aff92546ab99472e3ce95524d9add, https://doi.org/10.14763/2016.1.401)
|
| 41 |
+
- 35266513e601aed2e2707e9263b2ccd466644b60 — The Origins and Consequences of Affective Polarization in the United States (https://www.semanticscholar.org/paper/35266513e601aed2e2707e9263b2ccd466644b60, https://doi.org/10.1146/annurev-polisci-051117-)
|
| 42 |
+
- 3584741 — A Survey on Event-Based News Narrative Extraction (https://doi.org/10.1145/3584741)
|
| 43 |
+
- 35ed340b12c10a5a66504cb2396800486fa5aa26 — Partisans without Constraint: Political Polarization and Trends in American Public Opinion 1 (https://www.semanticscholar.org/paper/35ed340b12c10a5a66504cb2396800486fa5aa26)
|
| 44 |
+
- 3a03068318afdaa75a9dbdcbf960d63bf8035f0e — Local Does as Local Is: Information Content of the Geography of Individual Investors' Common Stock Investments (https://www.semanticscholar.org/paper/3a03068318afdaa75a9dbdcbf960d63bf8035f0e)
|
| 45 |
+
- 3b50e1808471dd5a8d19a50ef227b03774b80cae — Transport and social exclusion: investigating the possibility of promoting inclusion through virtual mobility (https://www.semanticscholar.org/paper/3b50e1808471dd5a8d19a50ef227b03774b80cae)
|
| 46 |
+
- 4232b05abe413bf3294a560082b0b6bb72dc5a27 — The Social Determinants of Health: Coming of Age (https://www.semanticscholar.org/paper/4232b05abe413bf3294a560082b0b6bb72dc5a27, https://doi.org/10.1146/annurev-publhealth-031210-101218)
|
| 47 |
+
- 4243aa9bacd51bc02d4240378e7528912962b53e — BRANDING THE NATION: TOWARDS A BETTER UNDERSTANDING (https://www.semanticscholar.org/paper/4243aa9bacd51bc02d4240378e7528912962b53e)
|
| 48 |
+
- 4b33419863b96c270d5875af9bd5af3ce5dbb1e2 — The Social Amplification of Risk A Conceptual Framework (https://www.semanticscholar.org/paper/4b33419863b96c270d5875af9bd5af3ce5dbb1e2)
|
| 49 |
+
- 4d65bab6f9b1fd61885fe187e6014a89592df187 — NBER WORKING PAPER SERIES TRANSPARENCY, REPRODUCIBILITY, AND THE CREDIBILITY OF ECONOMICS RESEARCH (https://www.semanticscholar.org/paper/4d65bab6f9b1fd61885fe187e6014a89592df187)
|
| 50 |
+
- 4eb5a9745dfc892cb42ed427a5f08e6abf8df7e3 — Affective polarization, local contexts and public opinion in America (https://www.semanticscholar.org/paper/4eb5a9745dfc892cb42ed427a5f08e6abf8df7e3, https://doi.org/10.1038/s41562-020-01012-5)
|
| 51 |
+
- 502c9122dda395eb30bd0707a85bc235d4e6e3ba — How to Do a Systematic Review: A Best Practice Guide for Conducting and Reporting Narrative Reviews, Meta-Analyses, and Meta-Syntheses (https://www.semanticscholar.org/paper/502c9122dda395eb30bd0707a85bc235d4e6e3ba, https://doi.org/10.1146/annurev-psych-010418-)
|
| 52 |
+
- 73bfad11b96a69cb882028ead115751adb55252d — The science of fake news (https://www.semanticscholar.org/paper/73bfad11b96a69cb882028ead115751adb55252d, https://doi.org/10.1126/science.aao2998)
|
| 53 |
+
- 885c3154386e3dd1ff6a12e566152846186f9569 — Partisan Polarization Is the Primary Psychological Motivation behind Political Fake News Sharing on Twitter (https://www.semanticscholar.org/paper/885c3154386e3dd1ff6a12e566152846186f9569, https://doi.org/10.1017/s0003055421000290)
|
| 54 |
+
- 8dd6a2c9c88c9b3465484228c93f4dcc11cfeab9 — Automated Hate Speech Detection and the Problem of Offensive Language (https://www.semanticscholar.org/paper/8dd6a2c9c88c9b3465484228c93f4dcc11cfeab9)
|
| 55 |
+
- 95560085f16dfe9b556d0eea424ef4f7977fb647 — (https://www.semanticscholar.org/paper/95560085f16dfe9b556d0eea424ef4f7977fb647)
|
| 56 |
+
- How_to_define_ecology_on_the_basis_of_its_current_understanding — How to define ecology on the basis of its current understanding? (https://doi.org/10.2478/foecol-2021-0001)
|
| 57 |
+
- Rosen_gjcpi_2018_3 — Issues, Concepts and Applications for Sustainability (https://doi.org/10.12893/gjcpi.2018.3.4)
|
| 58 |
+
- Survey_on_terminology_extraction_from_texts — Survey on terminology extraction from texts (https://doi.org/10.1186/s40537-025-01077-x)
|
| 59 |
+
- a7b52fa3ff2606013a6ab9ba294743d7de637e6a — Examining the Impact of Structural Racism on Food Insecurity (https://www.semanticscholar.org/paper/a7b52fa3ff2606013a6ab9ba294743d7de637e6a, https://doi.org/10.1097/fch.0000000000000183)
|
| 60 |
+
- bff1326ea0f792e3557fc8ad0731733ba7f8b091 — PRIOR ALLIANCES WITH TARGETS AND ACQUISITION PERFORMANCE IN KNOWLEDGE-INTENSIVE INDUSTRIES (https://www.semanticscholar.org/paper/bff1326ea0f792e3557fc8ad0731733ba7f8b091, https://doi.org/10.1287/orsc.1100.0528)
|
| 61 |
+
- c1e92f1be2387d14dcfaa5e1640a9939724a312a — TITLE: An empirical examination of echo chambers in US climate policy networks (https://www.semanticscholar.org/paper/c1e92f1be2387d14dcfaa5e1640a9939724a312a)
|
| 62 |
+
- c84a169e6df175c4662012d3ba7dbf8fa1b5abc9 — ‘Fake news’ is the invention of a liar: How false information circulates within the hybrid news system (https://www.semanticscholar.org/paper/c84a169e6df175c4662012d3ba7dbf8fa1b5abc9, https://doi.org/10.1177/0011392119837536)
|
| 63 |
+
- daw084 — Just a subtle difference? Findings from a systematic review on definitions of nutrition literacy and food literacy (https://doi.org/10.1093/heapro/daw084)
|
| 64 |
+
- doi:10.1145/3677092 —
|
| 65 |
+
- dx.doi.org/https://doi.org/10.1016/j.ipm.2021.102505 — (https://doi.org/dx.doi.org/https://doi.org/10.1016/j.ipm.2021.102505)
|
| 66 |
+
- eb29476dd81aefedf2896db42f039f003a0ec5bf — Organic or Local? Investigating Consumer Preference for Fresh Produce Using a Choice Experiment with Real Economic Incentives (https://www.semanticscholar.org/paper/eb29476dd81aefedf2896db42f039f003a0ec5bf)
|
| 67 |
+
- frai-06-1225093 — Rationalization for explainable NLP: a survey
|
| 68 |
+
- https://aclanthology.org/2021.findings-emnlp.101 — (https://aclanthology.org/2021.findings-emnlp.101)
|
| 69 |
+
- https://aclanthology.org/2024.lrec-main.952 — (https://aclanthology.org/2024.lrec-main.952)
|
| 70 |
+
- https://arxiv.org/abs/2312.16148 —
|
| 71 |
+
- https://link.springer.com/article/10.1007/s00799-018-0261-y —
|
| 72 |
+
- https://media-bias-research.org/wp-content/uploads/2024/07/Preprint_ICWSM_25_NewsUnfold —
|
| 73 |
+
- https://www.sciencedirect.com/science/article/pii/S0957417423021437 —
|
| 74 |
+
- icomputing.0124 — A Survey of Task Planning with Large Language Models (https://doi.org/10.34133/icomputing.0124)
|
| 75 |
+
- s10462-022-10338-7 — A survey on narrative extraction from textual data (https://doi.org/10.1007/s10462-022-10338-7)
|
| 76 |
+
- s10816-016-9274-2 — Quality Assurance in Archaeological Survey (https://doi.org/10.1007/s10816-016-9274-2)
|
| 77 |
+
- s40537-025-01077-x — Survey on terminology extraction from texts (https://doi.org/10.1186/s40537-025-01077-x)
|
docs/defextra_hydration.md
CHANGED
|
@@ -1,35 +1,44 @@
|
|
| 1 |
-
# DefExtra hydration
|
|
|
|
|
|
|
| 2 |
|
| 3 |
This dataset cannot ship excerpts. We ship markers only. Users supply PDFs and run hydration to reconstruct the definitions and contexts.
|
| 4 |
|
| 5 |
-
|
| 6 |
-
flowchart LR
|
| 7 |
-
A[data/defextra_legal.csv] --> B[hydrate_defextra.py]
|
| 8 |
-
B --> C[defextra_hydrated.csv]
|
| 9 |
-
subgraph GROBID
|
| 10 |
-
D[pdf_to_grobid.py] --> E[*.grobid.tei.xml]
|
| 11 |
-
end
|
| 12 |
-
B --> E
|
| 13 |
-
```
|
| 14 |
|
| 15 |
## Requirements
|
|
|
|
| 16 |
- Python 3.10+
|
| 17 |
- A running GROBID server (default: `http://localhost:8070`).
|
|
|
|
| 18 |
Example Docker run:
|
| 19 |
-
|
|
|
|
| 20 |
docker run --rm -p 8070:8070 grobid/grobid:0.8.0
|
| 21 |
```
|
|
|
|
| 22 |
- Python packages used by scripts:
|
| 23 |
- `grobid-client-python`, `lxml`, `pdfplumber`, `pdfminer.six`, `PyPDF2`, `pyarrow`
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
## Getting PDFs
|
|
|
|
| 26 |
See `docs/get_pdfs.md` for sources and a helper script that lists required PDFs.
|
| 27 |
|
| 28 |
-
## Quickstart
|
|
|
|
| 29 |
1) Place your PDFs in `pdfs/`.
|
| 30 |
2) Hydrate (runs GROBID unless `--skip-grobid`):
|
| 31 |
-
|
| 32 |
-
|
|
|
|
| 33 |
--legal-csv data/defextra_legal.csv \
|
| 34 |
--pdf-dir pdfs \
|
| 35 |
--grobid-out grobid_out \
|
|
@@ -38,21 +47,63 @@ python scripts/hydrate_defextra.py \
|
|
| 38 |
--require-complete
|
| 39 |
```
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
## File naming expectations
|
|
|
|
| 42 |
- Preferred: `<paper_id>.pdf` (the `paper_id` in the CSV).
|
| 43 |
- DOI/arXiv/PII aliases are supported for common cases.
|
| 44 |
- Hash IDs are often Semantic Scholar IDs; many PDFs can be downloaded from there.
|
| 45 |
|
| 46 |
## GROBID configuration
|
| 47 |
-
|
|
|
|
| 48 |
- Use `--grobid-config config.json` to override the URL/timeout/batch size.
|
| 49 |
|
| 50 |
## Hash mismatch behavior
|
|
|
|
| 51 |
- The legal CSV includes hash markers to verify that the PDF content matches the paper version.
|
| 52 |
- Default: **skip** PDFs with hash mismatches and report them.
|
| 53 |
- Optional: `--allow-pdf-hash-mismatch` to continue anyway (use only after manual inspection).
|
| 54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
## Legal CSV schema (marker columns)
|
|
|
|
| 56 |
- `definition_char_start`, `definition_char_end`: exact TEI substring span (optional).
|
| 57 |
- `definition_match`: `exact`/`hash`/`missing` indicating how the TEI span was found.
|
| 58 |
- `definition_hash64`, `definition_sha256`, `definition_token_count`: full span hash.
|
|
@@ -72,18 +123,7 @@ python scripts/hydrate_defextra.py \
|
|
| 72 |
- `definition_end_punct`, `context_end_punct`:
|
| 73 |
trailing punctuation marker captured from the manual copy.
|
| 74 |
|
| 75 |
-
##
|
| 76 |
-
If you maintain a private reference file with excerpts, you can compare:
|
| 77 |
-
```
|
| 78 |
-
python scripts/compare_defextra_csvs.py \
|
| 79 |
-
--postprocess \
|
| 80 |
-
--legal data/defextra_legal.csv \
|
| 81 |
-
--ref defextra_reference.csv \
|
| 82 |
-
--hyd defextra_hydrated.csv \
|
| 83 |
-
--report defextra_diff_report.txt \
|
| 84 |
-
--report-limit 0
|
| 85 |
-
```
|
| 86 |
|
| 87 |
-
Notes
|
| 88 |
- Small mismatches are expected due to PDF/GROBID text normalization.
|
| 89 |
- Missing exact TEI spans do **not** block hydration; hash/anchor markers are used as fallback.
|
|
|
|
| 1 |
+
# DefExtra hydration
|
| 2 |
+
|
| 3 |
+
## Overview
|
| 4 |
|
| 5 |
This dataset cannot ship excerpts. We ship markers only. Users supply PDFs and run hydration to reconstruct the definitions and contexts.
|
| 6 |
|
| 7 |
+
See [`README.md`](../README.md) for the high‑level overview and examples.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
## Requirements
|
| 10 |
+
|
| 11 |
- Python 3.10+
|
| 12 |
- A running GROBID server (default: `http://localhost:8070`).
|
| 13 |
+
|
| 14 |
Example Docker run:
|
| 15 |
+
|
| 16 |
+
```bash
|
| 17 |
docker run --rm -p 8070:8070 grobid/grobid:0.8.0
|
| 18 |
```
|
| 19 |
+
|
| 20 |
- Python packages used by scripts:
|
| 21 |
- `grobid-client-python`, `lxml`, `pdfplumber`, `pdfminer.six`, `PyPDF2`, `pyarrow`
|
| 22 |
|
| 23 |
+
## UV usage
|
| 24 |
+
|
| 25 |
+
This repo ships a `pyproject.toml`, so you can run:
|
| 26 |
+
|
| 27 |
+
```bash
|
| 28 |
+
uv run python scripts/hydrate_defextra.py ...
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
## Getting PDFs
|
| 32 |
+
|
| 33 |
See `docs/get_pdfs.md` for sources and a helper script that lists required PDFs.
|
| 34 |
|
| 35 |
+
## Quickstart (run GROBID)
|
| 36 |
+
|
| 37 |
1) Place your PDFs in `pdfs/`.
|
| 38 |
2) Hydrate (runs GROBID unless `--skip-grobid`):
|
| 39 |
+
|
| 40 |
+
```bash
|
| 41 |
+
uv run python scripts/hydrate_defextra.py \
|
| 42 |
--legal-csv data/defextra_legal.csv \
|
| 43 |
--pdf-dir pdfs \
|
| 44 |
--grobid-out grobid_out \
|
|
|
|
| 47 |
--require-complete
|
| 48 |
```
|
| 49 |
|
| 50 |
+
## Quickstart (skip GROBID, use existing TEI)
|
| 51 |
+
|
| 52 |
+
If you already have TEI XML files (e.g., produced by your own GROBID run), point
|
| 53 |
+
`--grobid-out` to that TEI folder and add `--skip-grobid`:
|
| 54 |
+
|
| 55 |
+
```bash
|
| 56 |
+
uv run python scripts/hydrate_defextra.py \
|
| 57 |
+
--legal-csv data/defextra_legal.csv \
|
| 58 |
+
--pdf-dir pdfs \
|
| 59 |
+
--grobid-out /path/to/tei_xml_dir \
|
| 60 |
+
--output-csv defextra_hydrated.csv \
|
| 61 |
+
--report defextra_hydrated_report.txt \
|
| 62 |
+
--require-complete \
|
| 63 |
+
--skip-grobid
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
## File naming expectations
|
| 67 |
+
|
| 68 |
- Preferred: `<paper_id>.pdf` (the `paper_id` in the CSV).
|
| 69 |
- DOI/arXiv/PII aliases are supported for common cases.
|
| 70 |
- Hash IDs are often Semantic Scholar IDs; many PDFs can be downloaded from there.
|
| 71 |
|
| 72 |
## GROBID configuration
|
| 73 |
+
|
| 74 |
+
- By default, `scripts/pdf_to_grobid.py` generates a temporary config that points to `http://localhost:8070`.
|
| 75 |
- Use `--grobid-config config.json` to override the URL/timeout/batch size.
|
| 76 |
|
| 77 |
## Hash mismatch behavior
|
| 78 |
+
|
| 79 |
- The legal CSV includes hash markers to verify that the PDF content matches the paper version.
|
| 80 |
- Default: **skip** PDFs with hash mismatches and report them.
|
| 81 |
- Optional: `--allow-pdf-hash-mismatch` to continue anyway (use only after manual inspection).
|
| 82 |
|
| 83 |
+
## Interpretation of warnings
|
| 84 |
+
|
| 85 |
+
- `Error initializing GROBID client` or `GROBID server ... does not appear up and running`:
|
| 86 |
+
GROBID is not reachable. Start the server (or Docker) or pass `--grobid-config` with the correct URL. If you already have TEI files, rerun with `--skip-grobid`.
|
| 87 |
+
|
| 88 |
+
- `Processing failed ... [BAD_INPUT_DATA] ... error code: 139` or `pdfalto` errors:
|
| 89 |
+
GROBID could not parse a PDF (often a damaged or unusual file). Hydration may still succeed via PDF text fallback, but TEI will be missing. Try a different PDF version.
|
| 90 |
+
|
| 91 |
+
- `Warning: PDF hash markers did not match ... skipping PDF`:
|
| 92 |
+
The PDF content differs from the expected version. Replace the PDF with the correct version or rerun with `--allow-pdf-hash-mismatch` and manually inspect outputs.
|
| 93 |
+
|
| 94 |
+
- `Warning: PDF text extraction failed ...`:
|
| 95 |
+
The PDF text fallback failed (pdfplumber/pdfminer/PyPDF2). Hydration then relies on TEI only. Try a different PDF or a different extraction backend.
|
| 96 |
+
|
| 97 |
+
- `incorrect startxref pointer` or similar PDF syntax warnings:
|
| 98 |
+
The PDF appears malformed. Often recoverable, but if hydration fails, obtain a clean copy.
|
| 99 |
+
|
| 100 |
+
- Summary lines:
|
| 101 |
+
- `Missing TEI for N papers`: GROBID output missing for those PDFs.
|
| 102 |
+
- `Missing definition spans` / `Missing context spans`: nothing matched after TEI + hash + anchor + PDF fallback.
|
| 103 |
+
- `Hydrated from PDF fallback`: spans were reconstructed from PDF text (not TEI).
|
| 104 |
+
|
| 105 |
## Legal CSV schema (marker columns)
|
| 106 |
+
|
| 107 |
- `definition_char_start`, `definition_char_end`: exact TEI substring span (optional).
|
| 108 |
- `definition_match`: `exact`/`hash`/`missing` indicating how the TEI span was found.
|
| 109 |
- `definition_hash64`, `definition_sha256`, `definition_token_count`: full span hash.
|
|
|
|
| 123 |
- `definition_end_punct`, `context_end_punct`:
|
| 124 |
trailing punctuation marker captured from the manual copy.
|
| 125 |
|
| 126 |
+
## Notes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
|
|
|
|
| 128 |
- Small mismatches are expected due to PDF/GROBID text normalization.
|
| 129 |
- Missing exact TEI spans do **not** block hydration; hash/anchor markers are used as fallback.
|
docs/get_pdfs.md
CHANGED
|
@@ -1,8 +1,13 @@
|
|
| 1 |
# Getting PDFs for DefExtra
|
| 2 |
|
|
|
|
|
|
|
| 3 |
You must supply PDFs yourself. The dataset does **not** ship any copyrighted excerpts.
|
| 4 |
|
|
|
|
|
|
|
| 5 |
## Recommended sources
|
|
|
|
| 6 |
- **Semantic Scholar**: most `paper_id` values are Semantic Scholar IDs. You can open
|
| 7 |
`https://www.semanticscholar.org/paper/<paper_id>` and download the PDF when available.
|
| 8 |
- **DOI landing pages**: use `https://doi.org/<paper_doi>` to locate the publisher PDF.
|
|
@@ -11,19 +16,23 @@ You must supply PDFs yourself. The dataset does **not** ship any copyrighted exc
|
|
| 11 |
`https://aclanthology.org/2024.lrec-main.952`.
|
| 12 |
|
| 13 |
## Helper script
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
| 17 |
--legal-csv data/defextra_legal.csv \
|
| 18 |
--output-csv defextra_required_pdfs.csv \
|
| 19 |
--output-md defextra_required_pdfs.md
|
| 20 |
```
|
| 21 |
|
| 22 |
The output includes:
|
|
|
|
| 23 |
- `preferred_pdf_name` (the filename we recommend you use)
|
| 24 |
- `alias_pdf_names` (acceptable filename aliases)
|
| 25 |
- `url_semanticscholar`, `url_doi`, `url_arxiv`, `url_acl`
|
| 26 |
|
| 27 |
## File naming
|
|
|
|
| 28 |
Place PDFs in one folder and name them as `<paper_id>.pdf` when possible.
|
| 29 |
DOI/arXiv/PII aliases are supported (see `alias_pdf_names` in the helper output).
|
|
|
|
| 1 |
# Getting PDFs for DefExtra
|
| 2 |
|
| 3 |
+
## Overview
|
| 4 |
+
|
| 5 |
You must supply PDFs yourself. The dataset does **not** ship any copyrighted excerpts.
|
| 6 |
|
| 7 |
+
See [`README.md`](../README.md) for the high‑level overview and examples.
|
| 8 |
+
|
| 9 |
## Recommended sources
|
| 10 |
+
|
| 11 |
- **Semantic Scholar**: most `paper_id` values are Semantic Scholar IDs. You can open
|
| 12 |
`https://www.semanticscholar.org/paper/<paper_id>` and download the PDF when available.
|
| 13 |
- **DOI landing pages**: use `https://doi.org/<paper_doi>` to locate the publisher PDF.
|
|
|
|
| 16 |
`https://aclanthology.org/2024.lrec-main.952`.
|
| 17 |
|
| 18 |
## Helper script
|
| 19 |
+
|
| 20 |
+
Generate a CSV of required PDFs and links (pre-generated [in the repo](../defextra_required_pdfs.csv)):
|
| 21 |
+
|
| 22 |
+
```bash
|
| 23 |
+
uv run python scripts/list_defextra_pdfs.py \
|
| 24 |
--legal-csv data/defextra_legal.csv \
|
| 25 |
--output-csv defextra_required_pdfs.csv \
|
| 26 |
--output-md defextra_required_pdfs.md
|
| 27 |
```
|
| 28 |
|
| 29 |
The output includes:
|
| 30 |
+
|
| 31 |
- `preferred_pdf_name` (the filename we recommend you use)
|
| 32 |
- `alias_pdf_names` (acceptable filename aliases)
|
| 33 |
- `url_semanticscholar`, `url_doi`, `url_arxiv`, `url_acl`
|
| 34 |
|
| 35 |
## File naming
|
| 36 |
+
|
| 37 |
Place PDFs in one folder and name them as `<paper_id>.pdf` when possible.
|
| 38 |
DOI/arXiv/PII aliases are supported (see `alias_pdf_names` in the helper output).
|
pyproject.toml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[project]
|
| 2 |
+
name = "defextra-dataset"
|
| 3 |
+
version = "0.1.0"
|
| 4 |
+
description = "DefExtra hydration utilities (legal release)"
|
| 5 |
+
requires-python = ">=3.10"
|
| 6 |
+
dependencies = [
|
| 7 |
+
"grobid-client-python>=0.0.9",
|
| 8 |
+
"lxml>=4.9",
|
| 9 |
+
"pdfplumber>=0.10",
|
| 10 |
+
"pdfminer.six>=20221105",
|
| 11 |
+
"PyPDF2>=3.0",
|
| 12 |
+
"pyarrow>=14.0",
|
| 13 |
+
]
|
| 14 |
+
|
| 15 |
+
[tool.uv]
|
| 16 |
+
package = false
|
scripts/defextra_markers.py
CHANGED
|
@@ -151,27 +151,33 @@ def extract_text_from_pdf(path: Path) -> str:
|
|
| 151 |
pdfplumber_module = None
|
| 152 |
pdfplumber_any: Any = pdfplumber_module
|
| 153 |
if pdfplumber_any is not None:
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
try:
|
| 160 |
-
words = page.extract_words(
|
| 161 |
-
use_text_flow=True,
|
| 162 |
-
keep_blank_chars=False,
|
| 163 |
-
)
|
| 164 |
-
if words:
|
| 165 |
-
words_text = " ".join(w.get("text", "") for w in words)
|
| 166 |
-
except Exception:
|
| 167 |
words_text = ""
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
try:
|
| 176 |
from pdfminer.high_level import extract_text
|
| 177 |
except Exception: # pragma: no cover - optional dependency
|
|
|
|
| 151 |
pdfplumber_module = None
|
| 152 |
pdfplumber_any: Any = pdfplumber_module
|
| 153 |
if pdfplumber_any is not None:
|
| 154 |
+
try:
|
| 155 |
+
texts = []
|
| 156 |
+
with pdfplumber_any.open(str(path)) as pdf:
|
| 157 |
+
for page in pdf.pages:
|
| 158 |
+
page_text = page.extract_text() or ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 159 |
words_text = ""
|
| 160 |
+
try:
|
| 161 |
+
words = page.extract_words(
|
| 162 |
+
use_text_flow=True,
|
| 163 |
+
keep_blank_chars=False,
|
| 164 |
+
)
|
| 165 |
+
if words:
|
| 166 |
+
words_text = " ".join(
|
| 167 |
+
w.get("text", "") for w in words
|
| 168 |
+
)
|
| 169 |
+
except Exception:
|
| 170 |
+
words_text = ""
|
| 171 |
+
if words_text and words_text not in page_text:
|
| 172 |
+
if page_text:
|
| 173 |
+
page_text = f"{page_text}\n{words_text}"
|
| 174 |
+
else:
|
| 175 |
+
page_text = words_text
|
| 176 |
+
texts.append(page_text)
|
| 177 |
+
return "\n\n".join(texts)
|
| 178 |
+
except Exception:
|
| 179 |
+
# pdfplumber can choke on some PDFs; fall back below.
|
| 180 |
+
pass
|
| 181 |
try:
|
| 182 |
from pdfminer.high_level import extract_text
|
| 183 |
except Exception: # pragma: no cover - optional dependency
|
scripts/hydrate_defextra.py
CHANGED
|
@@ -932,22 +932,22 @@ def main() -> None:
|
|
| 932 |
pdf_hash_mismatches.append(
|
| 933 |
{"paper_id": paper_id, "pdf": str(pdf_path)},
|
| 934 |
)
|
| 935 |
-
|
| 936 |
-
if pdf_direct_match:
|
| 937 |
print(
|
| 938 |
f"Warning: PDF hash markers did not match for {pdf_path.name}; "
|
| 939 |
"skipping PDF (use --allow-pdf-hash-mismatch to override).",
|
| 940 |
file=sys.stderr,
|
| 941 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 942 |
pdf_path = None
|
| 943 |
pdf_token_index = None
|
| 944 |
pdf_direct_match = False
|
| 945 |
-
else:
|
| 946 |
-
print(
|
| 947 |
-
f"Warning: PDF hash markers did not match for {pdf_path.name}; "
|
| 948 |
-
"continuing with direct filename match.",
|
| 949 |
-
file=sys.stderr,
|
| 950 |
-
)
|
| 951 |
if pdf_path is None and hash_specs:
|
| 952 |
pdf_paths = list({p for p in pdf_index.values()})
|
| 953 |
if pdf_paths:
|
|
|
|
| 932 |
pdf_hash_mismatches.append(
|
| 933 |
{"paper_id": paper_id, "pdf": str(pdf_path)},
|
| 934 |
)
|
| 935 |
+
if not args.allow_pdf_hash_mismatch and pdf_direct_match:
|
|
|
|
| 936 |
print(
|
| 937 |
f"Warning: PDF hash markers did not match for {pdf_path.name}; "
|
| 938 |
"skipping PDF (use --allow-pdf-hash-mismatch to override).",
|
| 939 |
file=sys.stderr,
|
| 940 |
)
|
| 941 |
+
elif args.allow_pdf_hash_mismatch:
|
| 942 |
+
print(
|
| 943 |
+
f"Warning: PDF hash markers did not match for {pdf_path.name}; "
|
| 944 |
+
"continuing with direct filename match.",
|
| 945 |
+
file=sys.stderr,
|
| 946 |
+
)
|
| 947 |
+
if not args.allow_pdf_hash_mismatch:
|
| 948 |
pdf_path = None
|
| 949 |
pdf_token_index = None
|
| 950 |
pdf_direct_match = False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 951 |
if pdf_path is None and hash_specs:
|
| 952 |
pdf_paths = list({p for p in pdf_index.values()})
|
| 953 |
if pdf_paths:
|
uv.lock
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|