v2.2.0
language_tool
使用 language tool API 檢查文字語法和拼字錯誤的 Dart 庫。
25喜歡 97近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
Dart 和 Flutter 的 LanguageTool 拼寫檢查器。
以下為英文專案原文快照,最新內容請造訪 GitHub。
Dart library for checking text for grammar and spelling mistakes using the LanguageTool API.
Checking for the following:
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.
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.
依賴清單 3 項
^1.0.0^1.24.3^5.0.0+1先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗