# Cloze Card Maker > Sentences plus key terms → fill-in-the-blank cloze cards for Anki, Deckwright, Lessonleaf. Hides your key terms in your own sentences: every occurrence of a term becomes a cloze gap, one card per term (or all gaps on one card). Longer terms win over shorter ones, whole words only by default, any language. The result is in the shared cloze syntax that Anki, Deckwright and Lessonleaf read. No AI: only the terms you list are hidden. Part of usefulweb.site (https://usefulweb.site/). Part of [Lessonleaf](https://lessonleaf.usefulweb.site/) (ownerApp: lessonleaf). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://clozecardmaker.usefulweb.site/ (interactive tool at https://clozecardmaker.usefulweb.site/tool) - JSON API: POST https://clozecardmaker.usefulweb.site/api/v1/calculate with a JSON object of inputs (schema: https://clozecardmaker.usefulweb.site/api/v1/tool) - OpenAPI: https://clozecardmaker.usefulweb.site/openapi.json - MCP (Streamable HTTP): https://clozecardmaker.usefulweb.site/mcp - tool `cloze_card_maker` ## Inputs - sentences (textarea): Sentences - One sentence per line, or a paragraph that is split at sentence ends. - terms (textarea): Key terms - Separated by commas, semicolons or new lines; put a term with a comma in "quotes". - mode (select): Cards - caseSensitive (boolean): Match upper and lower case exactly - wholeWords (boolean): Whole words only - title (text): Tag (heading) for the cards ## Method - Terms are matched longest first, so “carbon dioxide” is one gap even when “carbon” is also a term; overlapping matches are skipped. Whole-word matching uses Unicode letters and digits as word characters, so it works for accented and non-Latin scripts. - “One card per term” numbers the distinct terms of each sentence c1, c2 …; the same term twice in a sentence shares its number (both gaps are hidden together). “All gaps on one card” uses c1 for every gap. - The cards are read back with the shared card parser (cards.ts), so the card count is what Deckwright and Lessonleaf will show; Anki reads the same {{c1::…}} syntax in its Cloze note type. ## Limits - Exact text matching: inflected forms (plural, other cases) are only found when you list them too.