SpellChekr 3.0.7

dotnet add package SpellChekr --version 3.0.7
                    
NuGet\Install-Package SpellChekr -Version 3.0.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SpellChekr" Version="3.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SpellChekr" Version="3.0.7" />
                    
Directory.Packages.props
<PackageReference Include="SpellChekr" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SpellChekr --version 3.0.7
                    
#r "nuget: SpellChekr, 3.0.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SpellChekr@3.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SpellChekr&version=3.0.7
                    
Install as a Cake Addin
#tool nuget:?package=SpellChekr&version=3.0.7
                    
Install as a Cake Tool

SpellChekr

Basic spell checker. The system is based on Peter Norvig's spelling suggestion system.

.NET Publish Coverage Status

Usage

In order to use it you need to declare a dictionary:

public class ExampleSpellChecker : SpellingDictionaryBase
{
    public ExampleSpellChecker(ObjectPool<StringBuilder> objectPool)
        : base(Words, objectPool)
    {
    }
    
    public override string Name => "Example";

    private static readonly string[] Words = new string[]
    {
      "Word1",
      "Word2"
      ...
      "Word9999999"
    }
  }
  

And then set it up on the service collection along with the SpellChecker class:

ServiceCollection.AddSpellChecker();

Or if you are using Canister:

ServiceCollection.AddCanisterModules();

From there you just use the SpellChecker class:

string Output=SpellChecker.GetDictionary("Example").Correct(input);

The GetDictionary method takes in the name of the dictionary that you wish to use and Correct takes the words that you wish to check.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.7 131 8/19/2025
3.0.6 211 8/5/2025
3.0.5 149 6/27/2025
3.0.4 170 1/28/2025
3.0.3 151 12/9/2024
3.0.2 166 11/25/2024
3.0.1 143 11/24/2024
3.0.0 148 11/23/2024
2.0.100 139 11/12/2024
2.0.99 140 11/11/2024
2.0.98 136 11/5/2024
2.0.97 134 11/4/2024
2.0.96 139 10/30/2024
2.0.95 140 10/29/2024
2.0.94 140 10/29/2024
2.0.93 157 10/10/2024
2.0.92 140 10/9/2024
2.0.91 160 8/28/2024
2.0.90 163 8/26/2024
2.0.89 172 8/24/2024
2.0.88 175 8/21/2024
2.0.87 162 8/19/2024
2.0.86 164 8/14/2024
2.0.85 158 8/2/2024
2.0.84 137 7/24/2024
2.0.83 141 7/10/2024
2.0.82 167 6/26/2024
2.0.81 159 6/25/2024
2.0.80 154 6/18/2024
2.0.79 146 6/17/2024
2.0.78 151 6/13/2024
2.0.77 152 6/12/2024
2.0.76 154 5/30/2024
2.0.75 171 5/30/2024
2.0.74 194 5/16/2024
2.0.73 171 5/16/2024
2.0.72 171 5/7/2024
2.0.71 177 5/6/2024
2.0.70 126 5/2/2024
2.0.69 154 5/1/2024
2.0.68 161 4/30/2024
2.0.67 174 4/30/2024
2.0.66 180 4/14/2024
2.0.65 167 4/11/2024
2.0.64 157 4/10/2024
2.0.63 156 3/29/2024
2.0.62 146 3/28/2024
2.0.61 175 3/15/2024
2.0.60 149 3/14/2024
2.0.59 156 3/13/2024
2.0.58 160 3/8/2024
2.0.57 163 3/7/2024
2.0.56 166 3/6/2024
2.0.55 180 3/5/2024
2.0.54 175 3/4/2024
2.0.53 168 2/28/2024
2.0.52 171 2/27/2024
2.0.51 157 2/23/2024
2.0.50 162 2/22/2024
2.0.49 169 2/21/2024
2.0.48 173 2/20/2024
2.0.47 170 2/14/2024
2.0.46 179 2/9/2024
2.0.45 154 2/7/2024
2.0.44 172 2/6/2024
2.0.43 161 2/5/2024
2.0.42 156 1/31/2024
2.0.41 160 1/23/2024
2.0.40 161 1/22/2024
2.0.39 174 1/10/2024
2.0.38 206 12/13/2023
2.0.37 176 12/12/2023
2.0.36 194 11/23/2023
2.0.35 159 11/20/2023
2.0.34 163 11/17/2023
2.0.33 154 11/16/2023
2.0.32 160 11/15/2023
2.0.31 159 11/7/2023
2.0.30 169 11/6/2023
2.0.29 165 10/31/2023
2.0.28 155 10/30/2023
2.0.27 163 10/25/2023
2.0.26 201 10/11/2023
2.0.25 182 9/25/2023
2.0.24 176 9/19/2023
2.0.23 197 9/18/2023
2.0.22 185 9/13/2023
2.0.21 197 9/12/2023
2.0.20 207 9/11/2023
2.0.19 205 9/11/2023
2.0.18 218 9/6/2023
2.0.17 210 9/5/2023
2.0.16 210 9/4/2023
2.0.15 211 9/2/2023
2.0.14 208 8/31/2023
2.0.13 211 8/30/2023
2.0.12 212 8/29/2023
2.0.11 211 8/28/2023
2.0.10 218 8/22/2023
2.0.9 224 8/17/2023
2.0.8 221 8/16/2023
2.0.7 222 8/8/2023
2.0.6 209 8/8/2023
2.0.5 225 8/7/2023
2.0.4 235 8/4/2023
2.0.3 224 7/25/2023
2.0.2 244 7/13/2023
2.0.1 233 7/13/2023
2.0.0 813 12/12/2022
1.0.10 568 6/10/2022
1.0.8 582 4/12/2022
1.0.7 580 1/11/2022
1.0.6 614 1/7/2021
1.0.4 675 9/13/2020
1.0.3 607 4/27/2020
1.0.2 608 4/17/2020
1.0.1 599 4/17/2020