arXiv:2606.24897 · v2
Invisible to humans, visible to machines: a preregistered audit of Unicode fidelity across four biomedical bibliographic APIs
摘要
To develop a reusable, preregistered method for auditing the character-level fidelity of bibliographic application programming interfaces (APIs), and to apply it to four public APIs used to build biomedical text corpora. Preregistered audit (OSF osf.io/zjevr). From the 2024 PubMed Central (PMC) Open Access subset, a simple random sample of 4,000 English-language research articles was drawn. Abstracts returned by the PubMed E-utilities, Crossref, OpenAlex and Semantic Scholar were compared with the PMC Journal Article Tag Suite (JATS) XML abstract for 51 registered code points, 34 of them in four primary classes: typographic punctuation, mathematical/scientific symbols, Greek letters and special whitespace. A cell (API x class) was classified as systematic loss when the upper 95% Wilson bound of conditional preservation was below 5%, and as faithful when the lower bound exceeded 90%. The mechanism of each loss was examined in the aligned text and the raw API responses. Two of 16 cells met the loss criterion. PubMed preserved typographic punctuation in 0.6% of eligible abstracts (12/2,113; 95% CI 0.3-1.0%), replacing it with ASCII equivalents. OpenAlex preserved special whitespace in 0.0% (0/1,085; 95% CI 0.0-0.4%), which its inverted-index format cannot store. Mathematical symbols and Greek letters were preserved by all four APIs (95.2-99.7%). Crossref returned an abstract for 75.4% of papers (95% CI 74.1-76.7%) and for none published by Elsevier (0/360) or the American Chemical Society (0/105). The same published abstract reaches text-mining pipelines with different characters depending on the API that serves it. Studies that analyze characters, including character-level markers of writing assisted by large language models, should take text from a source shown to preserve those characters, or normalize all sources identically, and report the API and retrieval date.
作者备注:22 pages, 1 figure, 5 tables, supplementary material. v2: corrected preregistration link (https://osf.io/zjevr), corrected and updated references, complete reporting of registered analyses (Supplementary Table S4), method overview (Section 3.1), revised description of the mechanism audit. Data: doi:10.5281/zenodo.20556349; code: https://github.com/P-Czum/pmc-unicode-audit