# PrithivirajDamodaran/Gramformer

A framework for detecting, highlighting and correcting grammatical errors on natural language text. Created by Prithiviraj Damodaran. Open to pull requests and other forms of collaboration.

Repository: https://github.com/PrithivirajDamodaran/Gramformer
Canonical: https://ross.abutalabs.com/products/gramformer
Language: Python
License: MIT
License Family: permissive
Topics: grammar-checker, grammar, grammar-error-correction, grammar-correction
Last push: 2023-02-15T12:51:45+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 1925, "days_push": 1295, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1584, forks 174 (observed 2026-08-28T04:05:07.392122+00:00)

## What it is
Gramformer is a Python library that exposes interfaces to detect, highlight, and correct grammatical errors in natural language text, built on fine-tuned transformer models with a quality estimator. It works at the sentence level and is positioned as a proof-of-concept rather than production-grade.

## Use cases
- correct grammar errors in a sentence with python
- highlight grammatical mistakes in text
- post-process machine translation output to fix grammar
- clean up speech-to-text transcription grammar
- fix grammar in generated text from an LLM
- get edit operations between ungrammatical and corrected sentences

## When to choose
- you need sentence-level grammar correction or highlighting in a Python pipeline
- you want to post-process output from NMT, ASR, summarization, or text generation models
- you want a lightweight MIT-licensed grammar correction library to experiment with

## When to avoid
- you need production-grade grammar correction for long paragraphs or full documents
- you require high-accuracy correction backed by large-scale training
- you need grammar error detection, which is not yet implemented

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp, machine-learning
- domain: machine-learning
- platform: python
- tags: grammar-checker, grammar-correction, text-postprocessing, proof-of-concept, natural-language-processing

## Member repositories
- PrithivirajDamodaran/Gramformer (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:07.392122+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:55:53.672861+00:00, confidence not recorded.
  - readme: https://github.com/PrithivirajDamodaran/Gramformer (fetched 2026-08-28T04:05:07.392122+00:00, sha c7223d43bb34)
- Data as of 2026-08-30T08:39:29.467469+00:00.
