Practical overview
When it fits
Use Gector when you need a modifiable research codebase for training, testing or running tagging-based text correction or simplification models, rather than a hosted end-user editing service.
Who it is for
- Researchers developing or evaluating grammatical error-correction models.
- Developers who want to train or run tagging-based correction models on text files.
- Teams exploring text simplification using a tagging-based model workflow.
Documented uses
- Preprocess paired source and target data for training.
- Train grammatical error-correction models with training and development sets.
- Run a trained model on an input file and save predictions.
- Apply the repository’s related preprocessing and training interface to text simplification.
- Evaluate correction or simplification outputs with the named evaluation packages.
Requirements & limits
The repository is public and identifies its license as Apache-2.0. Installation instructions use pip and a requirements file; the project says it was tested with Python 3.7.
- The method predicts edits through tagging rather than generating a rewritten passage.
- Training data must be preprocessed into the repository’s required format.
- The README lists several encoders and training parameters, so results depend on model and configuration choices.
- The README notes that reported scores differ from paper results because of library-version changes and, for simplification, averaging across models.
- The repository names separate evaluation tools: M²Scorer and ERRANT for correction, and EASSE for simplification.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare grammatical error-correction training data
Convert source and target text files into the special format required for training.
Before you start
- Python environment with the repository requirements installed.
- Source and target datasets; the README points to public grammatical error-correction datasets and synthetic data resources.
Steps
Install the required packages with the command below.
pip install -r requirements.txtRun the command below with the source, target and output paths.
python utils/preprocess_data.py -s SOURCE -t TARGET -o OUTPUT_FILE
Expected outcome
A preprocessed data file in the format described for model training.
Guide limitations
- This covers data preparation only; it does not train or run a model.
- The project says it was tested using Python 3.7.
Run prediction with a trained correction model
Apply a trained model to an input file and write predictions to an output file.
Before you start
- A trained model path and vocabulary path.
- An input text file and an installed repository environment.
Steps
Install the required packages with the command below.
pip install -r requirements.txtRun the command below, substituting the relevant paths.
python predict.py --model_path MODEL_PATH [MODEL_PATH ...] --vocab_path VOCAB_PATH --input_file INPUT_FILE --output_file OUTPUT_FILESet documented inference options such as
min_error_probabilityoradditional_confidencewhen needed.
Expected outcome
Predictions written to the specified output file.
Guide limitations
- The guide does not cover training a model or configuring a particular deployment.
- Evaluation is a separate stage; the README names M²Scorer and ERRANT for grammatical error correction.
Compare options for Model inference and serving
These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.
| Project | Documented purpose | Platform | Access and requirements |
|---|---|---|---|
| Gector | Preprocess paired source and target data for training. | Linux, Server | The repository is public and identifies its license as Apache-2.0. Installation instructions use pip and a requirements file; the project says it was tested with Python 3.7. |
| Pulse Of Motion | Estimate a video's physical frame rate from its visual dynamics. | Linux | The repository is public. Its README describes a released checkpoint that downloads from Hugging Face on first inference, with a manual download option. The strongest internal model is not fully released; the README directs interested users to contact the project about access. No license information is provided in the repository evidence. |
| Neural Image Assessment | Train the model using AVA images and rating annotations. | Cloud, Linux, macOS, Windows |
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- grammarly/gector · Official homepage title · retained in its source language

