# Automatyczna poprawa gramatyki i pisowni

EN: **Grammatical error correction** · id `gec` · aliases: GEC, grammatical error correction, grammar correction, spelling correction, korekta językowa, poprawianie błędów językowych

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Język, obraz, audio](https://aiatlasgraph.com/t/modalities.md) › [Język naturalny](https://aiatlasgraph.com/t/nlp.md) › Automatyczna poprawa gramatyki i pisowni

## Description

- PL: Wykrywanie i poprawianie błędów gramatycznych, ortograficznych i leksykalnych w tekście, z minimalną zmianą treści.
- EN: Detecting and correcting grammatical, spelling and word-choice errors in text with minimal changes to content.

## In one sentence

- PL: Program znajduje w tekście błędy gramatyczne, literówki i złe słowa, a potem proponuje poprawioną wersję.
- EN: Software finds grammar mistakes, typos and wrong words in a text and suggests a corrected version.

## Problem it solves

- PL: Piszemy szybko, często w obcym języku, a błędy w mailu czy CV psują wrażenie i bywają źle zrozumiane.
- EN: People write fast, often in a foreign language, and mistakes in an email or CV spoil the impression or confuse readers.

## What it does

- PL: Jak nauczyciel z czerwonym długopisem, który poprawia tylko błędy i zostawia twój styl w spokoju.
- EN: Like a teacher with a red pen who fixes only the mistakes and leaves your style alone.

## Everyday example

- PL: Piszesz maila po angielsku, a edytor podkreśla zły czas i podsuwa poprawne zdanie jednym kliknięciem.
- EN: You write an email in a foreign language and the editor underlines a wrong tense and offers the fixed sentence in one click.

## This concerns you if you…

- PL: piszesz w języku, którego się uczysz
- PL: wysyłasz ważne pisma i boisz się literówek
- PL: uczysz innych pisać poprawnie
- EN: write in a language you are learning
- EN: send important letters and fear typos
- EN: teach others to write correctly

## Keywords

GECToR · ERRANT · M2 scorer · seq2seq GEC · synthetic error generation · BEA-2019 · CoNLL-2014 · overcorrection

## How it works

- PL: Podejście seq2seq traktuje korektę jak tłumaczenie z tekstu błędnego na poprawny; podejście edycyjne taguje każdy token operacją (zostaw, usuń, zamień), co jest szybsze i łatwiejsze do wyjaśnienia. Brak danych równoległych uzupełnia się sztucznie wprowadzanymi błędami; LLM poprawiają tekst na polecenie.
- EN: Seq2seq treats correction as translation from erroneous to correct text; edit-based methods tag each token with an operation (keep, delete, replace), which is faster and easier to explain. Synthetic error generation offsets scarce parallel data; LLMs correct text on request.

## Limits

- PL: LLM mają skłonność do nadmiernej korekty, przepisując poprawne zdania dla płynności. Złożone poprawki wielowyrazowe są trudne dla metod edycyjnych, a miary oceny nie zawsze zgadzają się z ludzkim osądem.
- EN: LLMs tend to overcorrect, rewriting correct sentences for fluency. Complex multi-word fixes are hard for edit-based methods, and evaluation metrics do not always match human judgement.

## Key terms

- PL: **minimal edit**: Poprawka zmieniająca tylko to, co błędne.
- PL: **sequence tagging**: Przypisanie każdemu tokenowi operacji edycji.
- PL: **ERRANT**: Narzędzie klasyfikujące poprawki według typu błędu.
- EN: **minimal edit**: A fix that changes only what is wrong.
- EN: **sequence tagging**: Giving every token an edit operation.
- EN: **ERRANT**: A tool classifying corrections by error type.

## Know first

- [Transformery i attention (Transformers and attention)](https://aiatlasgraph.com/t/transformers.md)

## Sources

- [Grammatical Error Correction: A Survey of the State of the Art](<https://arxiv.org/pdf/2211.05166>) `bryant-2023-gec-survey` · by Christopher Bryant, Zheng Yuan, Muhammad Reza Qorib, Hannan Cao, Hwee Tou Ng, Ted Briscoe

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/gec · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
