A Next.js web app that turns pasted reading passages into cloze-style tests with distractors and exports the finished quiz and answer key as a Word document.

Cloze Generator converts pasted passages into vocabulary-focused multiple-choice assessments. Its core workflow uses lightweight NLP to tokenize text, preserve sentence boundaries, detect proper nouns, analyze parts of speech, and match word forms during distractor generation. The pipeline combines dictionary checks and Zipf frequency scoring to choose one challenging target word per section, then outputs the edited passage, answer choices, and answer key in a formatted DOCX file.