https://github.com/roundedinfinity/languagetool_api
Language tool spell checker for dart and flutter.
https://github.com/roundedinfinity/languagetool_api
api-client dart languagetool-api spelling-mistakes
Last synced: about 2 months ago
JSON representation
Language tool spell checker for dart and flutter.
- Host: GitHub
- URL: https://github.com/roundedinfinity/languagetool_api
- Owner: RoundedInfinity
- License: mit
- Created: 2020-12-30T18:35:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-26T10:23:26.000Z (11 months ago)
- Last Synced: 2025-03-23T22:42:21.212Z (2 months ago)
- Topics: api-client, dart, languagetool-api, spelling-mistakes
- Language: Dart
- Homepage:
- Size: 46.9 KB
- Stars: 8
- Watchers: 1
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# LanguageTool API
[![style: very good analysis][very_good_analysis_badge]][very_good_analysis_link]
[![License: MIT][license_badge]][license_link]
[](https://www.codefactor.io/repository/github/roundedinfinity/languagetool_api)Dart library for checking text for grammar and spelling mistakes using the [LanguageTool API.](https://languagetool.org)
## ๐ Features
**Checking for** the following:
- spelling mistakes
- grammatical mistakes
- logical mistakesThe free version has 20 requests per minute.
You can currently only use the free version of this API that does not require an API key.
## ๐งช Usage
Use the `LanguageTool` Object to check your text with the _LanguageTool API_.
```dart
final tool = LanguageTool();final result = await tool.check('what happened at 5 PM on Monday, 27 May 2007?')
result.forEach(print);
// This prints 3 mistakes.
// 1. This sentence does not start with an uppercase letter.
// 2. Using PM and afternoon together is redundant.
// 3. The date 27 May 2007 is not a Monday, but a Sunday.
```To get all available languages, call `LanguageTool.languages`.
You can find a more advanced example in the [example](https://pub.dev/packages/language_tool/example) tab.
[license_badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license_link]: https://opensource.org/licenses/MIT
[very_good_analysis_badge]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[very_good_analysis_link]: https://pub.dev/packages/very_good_analysis