SpellChekr 2.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package SpellChekr --version 2.0.3
                    
NuGet\Install-Package SpellChekr -Version 2.0.3
                    
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="2.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SpellChekr" Version="2.0.3" />
                    
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 2.0.3
                    
#r "nuget: SpellChekr, 2.0.3"
                    
#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.
#addin nuget:?package=SpellChekr&version=2.0.3
                    
Install SpellChekr as a Cake Addin
#tool nuget:?package=SpellChekr&version=2.0.3
                    
Install SpellChekr as a Cake Tool

SpellChekr

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

.NET Publish

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.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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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 was computed.  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.4 135 1/28/2025
3.0.3 128 12/9/2024
3.0.2 132 11/25/2024
3.0.1 117 11/24/2024
3.0.0 117 11/23/2024
2.0.100 112 11/12/2024
2.0.99 117 11/11/2024
2.0.98 110 11/5/2024
2.0.97 105 11/4/2024
2.0.96 112 10/30/2024
2.0.95 113 10/29/2024
2.0.94 108 10/29/2024
2.0.93 132 10/10/2024
2.0.92 117 10/9/2024
2.0.91 135 8/28/2024
2.0.90 139 8/26/2024
2.0.89 149 8/24/2024
2.0.88 146 8/21/2024
2.0.87 137 8/19/2024
2.0.86 141 8/14/2024
2.0.85 127 8/2/2024
2.0.84 109 7/24/2024
2.0.83 116 7/10/2024
2.0.82 138 6/26/2024
2.0.81 133 6/25/2024
2.0.80 129 6/18/2024
2.0.79 118 6/17/2024
2.0.78 122 6/13/2024
2.0.77 126 6/12/2024
2.0.76 133 5/30/2024
2.0.75 143 5/30/2024
2.0.74 165 5/16/2024
2.0.73 136 5/16/2024
2.0.72 142 5/7/2024
2.0.71 143 5/6/2024
2.0.70 99 5/2/2024
2.0.69 123 5/1/2024
2.0.68 139 4/30/2024
2.0.67 147 4/30/2024
2.0.66 152 4/14/2024
2.0.65 144 4/11/2024
2.0.64 134 4/10/2024
2.0.63 131 3/29/2024
2.0.62 121 3/28/2024
2.0.61 146 3/15/2024
2.0.60 122 3/14/2024
2.0.59 129 3/13/2024
2.0.58 135 3/8/2024
2.0.57 142 3/7/2024
2.0.56 138 3/6/2024
2.0.55 155 3/5/2024
2.0.54 148 3/4/2024
2.0.53 138 2/28/2024
2.0.52 142 2/27/2024
2.0.51 137 2/23/2024
2.0.50 138 2/22/2024
2.0.49 146 2/21/2024
2.0.48 147 2/20/2024
2.0.47 140 2/14/2024
2.0.46 151 2/9/2024
2.0.45 133 2/7/2024
2.0.44 142 2/6/2024
2.0.43 142 2/5/2024
2.0.42 131 1/31/2024
2.0.41 127 1/23/2024
2.0.40 131 1/22/2024
2.0.39 152 1/10/2024
2.0.38 180 12/13/2023
2.0.37 147 12/12/2023
2.0.36 182 11/23/2023
2.0.35 141 11/20/2023
2.0.34 147 11/17/2023
2.0.33 145 11/16/2023
2.0.32 141 11/15/2023
2.0.31 144 11/7/2023
2.0.30 154 11/6/2023
2.0.29 148 10/31/2023
2.0.28 139 10/30/2023
2.0.27 144 10/25/2023
2.0.26 174 10/11/2023
2.0.25 158 9/25/2023
2.0.24 156 9/19/2023
2.0.23 166 9/18/2023
2.0.22 162 9/13/2023
2.0.21 172 9/12/2023
2.0.20 183 9/11/2023
2.0.19 174 9/11/2023
2.0.18 191 9/6/2023
2.0.17 172 9/5/2023
2.0.16 174 9/4/2023
2.0.15 179 9/2/2023
2.0.14 174 8/31/2023
2.0.13 177 8/30/2023
2.0.12 182 8/29/2023
2.0.11 179 8/28/2023
2.0.10 180 8/22/2023
2.0.9 189 8/17/2023
2.0.8 186 8/16/2023
2.0.7 194 8/8/2023
2.0.6 181 8/8/2023
2.0.5 187 8/7/2023
2.0.4 199 8/4/2023
2.0.3 193 7/25/2023
2.0.2 207 7/13/2023
2.0.1 194 7/13/2023
2.0.0 773 12/12/2022
1.0.10 530 6/10/2022
1.0.8 539 4/12/2022
1.0.7 537 1/11/2022
1.0.6 566 1/7/2021
1.0.4 625 9/13/2020
1.0.3 557 4/27/2020
1.0.2 558 4/17/2020
1.0.1 548 4/17/2020