Metadata-Version: 2.5
Name: quotecheck
Version: 0.1.0
Summary: Is this quotation really in the source? Forgiving search, verbatim answer: finds a phrase through PDF line breaks, ligatures and case, and shows the source's own words so wording drift stays visible.
Project-URL: Homepage, https://github.com/sandovabarbora/quotecheck
Author: Barbora Šandová
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: citation,hallucination,provenance,quotation,verification
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Text Processing
Requires-Python: >=3.10
Provides-Extra: pdf
Requires-Dist: pypdf>=4; extra == 'pdf'
Description-Content-Type: text/markdown

# quotecheck

Is this quotation really in the source? A forgiving search with a verbatim answer.

```bash
pip install quotecheck            # add [pdf] for pypdf; pdftotext is used when installed
quotecheck book.pdf "reduced vibration and good cooling"
quotecheck paper.txt --batch notes.md     # every blockquote and long inline quote in the note
```

```
FOUND   1x  reduced vibration and good cooling
        …The design gives reduced vibra- tion and good cooling at the cost of a small tradeoﬀ…
DRIFT   0.86  the committee found that the method was dependable in practice
        …the committee found that the method was reliable in practice.…
ABSENT      the screen is a page after all, the committee never met
```

Matching folds case, ligatures, hyphens across line breaks, stray spaces, accents and
quotation marks, because each of those once made a genuine quotation look fabricated.
Everything shown comes from the source's own text, so a real sentence relayed with
one word changed is reported as **drift**, not as found.

Exit codes: 0 every quotation found · 1 at least one not found · 2 error. Apache-2.0.
