SpellChekr 2.0.35

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

// Install SpellChekr as a Cake Tool
#tool nuget:?package=SpellChekr&version=2.0.35                

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. 
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
2.0.100 67 11/12/2024
2.0.99 75 11/11/2024
2.0.98 71 11/5/2024
2.0.97 67 11/4/2024
2.0.96 75 10/30/2024
2.0.95 79 10/29/2024
2.0.94 72 10/29/2024
2.0.93 103 10/10/2024
2.0.92 87 10/9/2024
2.0.91 107 8/28/2024
2.0.90 111 8/26/2024
2.0.89 120 8/24/2024
2.0.88 120 8/21/2024
2.0.87 111 8/19/2024
2.0.86 112 8/14/2024
2.0.85 99 8/2/2024
2.0.84 81 7/24/2024
2.0.83 85 7/10/2024
2.0.82 108 6/26/2024
2.0.81 105 6/25/2024
2.0.80 96 6/18/2024
2.0.79 92 6/17/2024
2.0.78 93 6/13/2024
2.0.77 95 6/12/2024
2.0.76 108 5/30/2024
2.0.75 117 5/30/2024
2.0.74 139 5/16/2024
2.0.73 108 5/16/2024
2.0.72 114 5/7/2024
2.0.71 116 5/6/2024
2.0.70 71 5/2/2024
2.0.69 95 5/1/2024
2.0.68 114 4/30/2024
2.0.67 121 4/30/2024
2.0.66 124 4/14/2024
2.0.65 119 4/11/2024
2.0.64 108 4/10/2024
2.0.63 102 3/29/2024
2.0.62 94 3/28/2024
2.0.61 121 3/15/2024
2.0.60 95 3/14/2024
2.0.59 104 3/13/2024
2.0.58 112 3/8/2024
2.0.57 117 3/7/2024
2.0.56 110 3/6/2024
2.0.55 128 3/5/2024
2.0.54 126 3/4/2024
2.0.53 115 2/28/2024
2.0.52 119 2/27/2024
2.0.51 112 2/23/2024
2.0.50 112 2/22/2024
2.0.49 119 2/21/2024
2.0.48 120 2/20/2024
2.0.47 113 2/14/2024
2.0.46 122 2/9/2024
2.0.45 111 2/7/2024
2.0.44 119 2/6/2024
2.0.43 115 2/5/2024
2.0.42 105 1/31/2024
2.0.41 101 1/23/2024
2.0.40 107 1/22/2024
2.0.39 131 1/10/2024
2.0.38 155 12/13/2023
2.0.37 123 12/12/2023
2.0.36 163 11/23/2023
2.0.35 125 11/20/2023
2.0.34 132 11/17/2023
2.0.33 131 11/16/2023
2.0.32 125 11/15/2023
2.0.31 130 11/7/2023
2.0.30 137 11/6/2023
2.0.29 132 10/31/2023
2.0.28 123 10/30/2023
2.0.27 129 10/25/2023
2.0.26 158 10/11/2023
2.0.25 145 9/25/2023
2.0.24 139 9/19/2023
2.0.23 151 9/18/2023
2.0.22 145 9/13/2023
2.0.21 157 9/12/2023
2.0.20 164 9/11/2023
2.0.19 156 9/11/2023
2.0.18 168 9/6/2023
2.0.17 155 9/5/2023
2.0.16 154 9/4/2023
2.0.15 160 9/2/2023
2.0.14 154 8/31/2023
2.0.13 159 8/30/2023
2.0.12 164 8/29/2023
2.0.11 161 8/28/2023
2.0.10 164 8/22/2023
2.0.9 171 8/17/2023
2.0.8 168 8/16/2023
2.0.7 171 8/8/2023
2.0.6 161 8/8/2023
2.0.5 167 8/7/2023
2.0.4 179 8/4/2023
2.0.3 174 7/25/2023
2.0.2 189 7/13/2023
2.0.1 175 7/13/2023
2.0.0 741 12/12/2022
1.0.10 489 6/10/2022
1.0.8 500 4/12/2022
1.0.7 492 1/11/2022
1.0.6 513 1/7/2021
1.0.4 571 9/13/2020
1.0.3 498 4/27/2020
1.0.2 499 4/17/2020
1.0.1 488 4/17/2020