PyLFG
PyLFG is a Python library for working within the Lexical Functional Grammar (LFG) formalism. It provides a set of classes and methods for representing and manipulating LFG structures, including f-structures and c-structures. (by Ars-Linguistica)
language_tool_python
a free python grammar checker 📝✅ (by jxmorris12)
PyLFG | language_tool_python | |
---|---|---|
1 | 5 | |
8 | 438 | |
- | - | |
10.0 | 6.1 | |
almost 2 years ago | 20 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PyLFG
Posts with mentions or reviews of PyLFG.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Debugging my conlang's grammar with LFG?
I've been looking into various LFG parsers such as XLE-Web, XLFG, and PyLFG. I have a sort of crazy monster syntax inspired by my unquenchable thirst for syntactic exploration, but I'd like to tame and codify it into a list of rules and parameters, seeing what sentences end up being good or malformed given the constraints. Has anyone here tried analyzing their conlangs using LFG in particular?
language_tool_python
Posts with mentions or reviews of language_tool_python.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-09.
-
Is there a tool to classify correct sentences?
If you are mainly concerned with grammatical errors, maybe the Language Tool could be helpful. There’s a python wrapper for it (https://github.com/jxmorris12/language_tool_python).
-
How to be able to compute 'good' text. Not reader comprehension level but well structured etc.
Language Tool Python looks like it might be the start to what you're looking for - this article I found shows a pretty similar project in looking for a "grammar quality" sort of score.
-
Python: How to capitalize a letter in the middle of a string?
Sure, you just need to import a library that codifies the entirety of the English language, such as language tool.
- Is there a python library or API that is able to check the grammar of a sentence?
-
How to check a text document for grammatical accuracy?
You could use language_tool_python.
What are some alternatives?
When comparing PyLFG and language_tool_python you can also consider the following projects:
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.
kefir - 🥛turkic morphology project
transformers - 🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
kharma - Grammar-based fuzzing corpus generator
textidote - Spelling, grammar and style checking on LaTeX documents
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
angry-reviewer - Style corrector for academic writing and scientific papers at angryreviewer.com