nlprule icon indicating copy to clipboard operation
nlprule copied to clipboard

A fast, low-resource Natural Language Processing and Text Correction library written in Rust.

Results 26 nlprule issues
Sort by recently updated
recently updated
newest added

Can you clarify this phrasing? > The nlprule binaries (`*.bin`) are derived from LanguageTool v5.2 and licensed under the LGPLv2.1 license. nlprule statically and dynamically links to these binaries. Under...

I have a project where I'd prefer not to reinvent nlprule for applying my custom grammar rules (common validly-spelled typos I see in fanfiction), but the documentation is very unclear...

When I tried entering an invalid language code to confirm that there's a Python exception I need to handle if the language code selected in my existing Enchant-based infrastructure isn't...

This PR implements spellchecking using the algorithm described in [Error-tolerant Finite-state Recognition with Applications to Morphological Analysis and Spelling Correction](https://www.aclweb.org/anthology/J96-1003.pdf). I tried multiple other methods: - [SymSpell](https://github.com/wolfgarbe/SymSpell) which would probably...

Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.9.1. Changelog Sourced from lxml's changelog. 4.9.1 (2022-07-01) Bugs fixed A crash was resolved when using iterwalk() (or canonicalize()) after parsing certain incorrect input. Note...

dependencies

There is now a benchmark in `bench/__init__.py`. It computes suggestions from LanguageTool via [language-tool-python](https://pypi.org/project/language-tool-python/) and NLPRule on 10k sentences from Tatoeba and compares the times. Heres's the output for German:...

hey, thanks for this awesome project! do you consider adding AnnotatedText support? this would allow nlprule to be used to spell-check markdown/word/html/etc. documents converted to AnnotatedText format (supported by LanguageTool)...

I've attempted to deal abbreviated forms of type `we've` and `I'd` and `it's` as part of https://github.com/drahnr/cargo-spellcheck/pull/186 which is a mere workaround. Probably out of scope of `nlprule`, yet a...

A web demo running client-side via WebAssembly would be really cool and useful. Ideally this should have: - a live text correction tool - text analysis like https://community.languagetool.org/analysis (this would...

help wanted
P3

This is the main modularization PR. Fixes #50. I've been quite busy lately but I've gotten around to doing what has become to some degree a rewrite now :) Now...