Metadata-Version: 2.1
Name: anki-card-cleaner
Version: 0.0.1
Summary: A utility to clean Anki card text for NLP processing.
Author-email: Charbel Marche <charbelmarche33@gmail.com>
Project-URL: Homepage, https://github.com/NovaCards/anki-card-cleaner
Project-URL: Bug Tracker, https://github.com/novacards/anki-card-cleaner/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# Anki Card Cleaner

A simple Python utility to clean Anki card text, removing cloze deletions, normalizing whitespace, and handling common Anki formatting quirks.

## Installation

```bash
pip install anki-card-cleaner
```

## Usage

```python
from anki_card_cleaner import clean_card_text

text = "The capital of France is {{c1::Paris::City}}."
cleaned = clean_card_text(text)
print(cleaned)
# Output: "the capital of france is paris (city)."
```

## Features

- Removes {{c1::...}} cloze deletions.
- Handles custom Answer::Hint format in clozes.
- Normalizes unicode non-breaking spaces.
- Fixes spacing after question marks.
- Lowercases everything.
