IdeaCredIdeaCred

rayliuca/grammared-language

82

Adding Grammarly (and other) open source ML models to LanguageTool

What's novel

Adding Grammarly (and other) open source ML models to LanguageTool

Code Analysis

11 files read · 3 rounds

A gRPC server that bridges LanguageTool to open-source grammar correction models (GECToR, CoEdIT) via Triton Inference Server, using ERRANT to extract token-level edits from model outputs and convert them into LanguageTool-compatible match objects.

Strengths

Well-structured multi-model architecture with clean client abstractions, thoughtful heuristics in the ERRANT-based correction extractor (emoji filtering, bullet-point protection, trailing punctuation guards), and solid Docker/Triton deployment infrastructure with multi-platform support.

Weaknesses

The gRPC server's Analyze RPC uses naive space-splitting tokenization with hardcoded POS tags rather than real NLP, the async multi-client uses ThreadPoolExecutor to bridge sync/async in a somewhat fragile pattern, and the correction extraction logic has two parallel implementations (SequenceMatcher-based and ERRANT-based) with duplicated tokenization-fixing code.

Score Breakdown

Innovation
6 (25%)
Craft
75 (35%)
Traction
8 (15%)
Scope
86 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci+5
Tests+8
Polish+0
Releases+0
Has License+5
Code Quality+20
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+2

Scope

Commits+8
Languages+8
Subsystems+13
Bloat Penalty+0
Completeness+7
Contributors+6
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

116

Contributors

2

Files

127

Active weeks

11

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT