Ad

gector: Tagging-based Grammatical Error Correction & Simplification

GECToR implements state-of-the-art models for grammatical error correction and text simplification using transformer architectures. It provides code for training and inference, along with pre-trained models and training parameters.
Screenshot of grammarly/gector homepage

GECToR provides code for implementing the GECToR model and the Text Simplification by Tagging model. GECToR addresses grammatical error correction by tagging errors instead of rewriting sentences. Text Simplification by Tagging presents a novel approach to text simplification through tagging. The project leverages the power of transformer models, particularly BERT, RoBERTa, and XLNet, for sequence-labeling tasks. It builds on existing work using AllenNLP and transformers libraries.

This repository offers a clear, reproducible implementation of GECToR and Text Simplification by Tagging, supporting various transformer models like BERT and RoBERTa. It includes pre-trained models for straightforward use, along with detailed training and inference instructions. The repository is well-documented and provides links to relevant research papers.

  • Core Functionality: Implements GECToR and Text Simplification by Tagging models for grammatical error correction and text simplification respectively.
  • Supported Platforms: Compatible with standard Python environments.
  • Model Options: Offers pre-trained models based on BERT, RoBERTa, and XLNet architectures.
  • Training Parameters: Provides extensive training parameters and guidelines for model fine-tuning.
  • Inference: Includes scripts for model inference with adjustable parameters for controlling error probability and confidence.
  • Extensibility: Designed for easy integration with existing NLP pipelines.
  • Developer Experience: Clear instructions, well-documented code, and a structured directory layout.

The project is actively maintained with recent commits and ongoing development. The repository includes comprehensive documentation, training parameter details, and evaluation results. Although some scores may differ slightly from the paper due to updates and code merging, it represents a reliable and well-supported implementation.

This project benefits researchers and developers working with grammatical error correction and text simplification tasks. It allows users to leverage pre-trained transformer models for these tasks, providing a high level of accuracy and efficiency. It's particularly valuable for those who need a clear, reproducible implementation and a strong foundation for further research or application development.

Languages:
Summarize:
Share:
Stars
969
Forks
219
Issues
27
Created
6 years ago
Commit
2 years ago
License
APACHE-2.0
Archived
No
Updated 6 days ago

Similar Repositories