Dokumentatsioon
Pipeline Overview
- User enters text in the app and chooses whether to run grammar correction, punctuation correction, or both.
- The backend receives that request, validates the text, and decides which model stages to run.
- If both are enabled, grammar correction runs first to clean structure and word forms.
- The punctuation stage then runs on that cleaned text to place commas, periods, and other marks.
- The backend returns the final corrected sentence, plus lightweight metadata (like confidence/timing and whether each stage was used).
- The result is also saved so it can be viewed later in history/admin views.
Model Order (Simple Rule)
- Both on: Grammar -> Punctuation
- Only grammar on: Grammar only
- Only punctuation on: Punctuation only
- Neither selected: Falls back to punctuation so the request still returns a useful result