gpt4 book ai didi

c# - .NET 的拼写检查器

转载 作者:可可西里 更新时间:2023-11-01 07:57:03 31 4
gpt4 key购买 nike

是否可以在不使用 Office 库的情况下创建 C# 拼写检查器?我会对最简单的解决方案感到满意。

最佳答案

使用 NHunspell。

Spell Check, Th­e­saurus and Hyphen­ation: NHun­spell

就我个人而言,我已经尝试过了。很好。

来自 NHunspell 项目页面:

NHunspell is based on Hunspell and brings the Open Office spell checking, hyphenation and thesaurus to the Microsoft® .NET Framework. NHunspell is a .NET (C#, VB) library and wraps the native libraries Hunspell, Hyphen and MyThes.

The integrated libraries are used in OpenOffice and work with the dictionaries published on OpenOffice.org.

NHunspell is licenced under: GPL/LGPL/MPL. Free use in commercial applications is permitted according to the LGPL and MPL licenses. Your commercial application can link against the NHunspell DLLs.

关于c# - .NET 的拼写检查器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2331667/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com