Search packages, repositories and app categories

Package detailsv2.2.0

language_tool

Dart library for checking text for grammar and spelling mistakes using the language tool API.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
97
Likes
25
Pub points
160

Install package

flutter pub add language_tool

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Dart library that integrates with the LanguageTool API to detect grammar, spelling, and style issues in text. It supports multiple languages and provides real-time feedback, making it ideal for applications requiring text validation or writing assistance. The package is compatible across all major platforms, including mobile, web, and desktop. Developers can easily implement language checks in their apps with minimal setup. It's particularly useful for educational tools, content creation apps, and multilingual applications.

Use cases

  • Real-time grammar checking
  • Spelling correction in forms
  • Educational writing tools
  • Multilingual text validation
  • Content editing assistants

Key features

  • Supports multiple languages
  • Integrates with LanguageTool API
  • Cross-platform compatibility
  • Simple API integration
  • Returns detailed error suggestions

Suitable for

  • Writing and editing apps
  • Language learning platforms
  • Content management systems
  • Educational software
  • Apps with user-generated text

Considerations

  • Requires internet connection
  • Rate limits may apply
  • API key needed for production use
  • Limited offline functionality
  • Dependent on external service stability

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

LanguageTool API

style: very good analysis License: MIT CodeFactor

Dart library for checking text for grammar and spelling mistakes using the LanguageTool API.

🚀 Features

Checking for the following:

  • spelling mistakes
  • grammatical mistakes
  • logical mistakes

The 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.

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 tab.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.