c# - 如何对字符串进行拼写检查?

标签 c# spell-checking

有人知道任何 C# 多语言拼写检查库吗? 我不需要实时拼写检查。只检查字符串。

谢谢!

最佳答案

就其值(value)而言,这是谷歌上的第一个热门:

SpellCheck

enter image description here

来自 MSDN:

Provides real-time spell-checking functionality to text-editing controls, such as TextBox and RichTextBox.

To enable the spelling checker, set the SpellCheck.IsEnabled property to true on a text-editing control. When this spelling checker is enabled, misspelled words are underlined by using a red wavy line, as shown in the following illustration. Spelling checker is supported only when WPF provides a default dictionary. In .NET Framework 4, WPF provides dictionaries for English, French, German, and Spanish.

编辑 我刚刚认识到它仅适用于 WPF。然后你可以看看这个问题:Spell check in winforms

关于c# - 如何对字符串进行拼写检查?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15293762/

相关文章:

firefox - 从插件调用checkCurrentDictionary()会使FF崩溃-为什么?

asp.net - Tinymce:拼写检查器不工作

c# - 在 C# Settings.settings 中加密字符串

c# - 对象已在别处使用

c# - 在 ActionResult 中使用 ToList ForEach 更新表值

c# - 异步/等待并打开 FileStream?

c# - 哪个字符串操作更好?

spell-checking - 设计一个可以检测错别字和建议的系统

android - 如何在 Android Studio/IntelliJ Idea 中添加字典以进行拼写检查

c# - WPF 拼写检查在内部是如何工作的?