SpellChekr 2.0.66

dotnet add package SpellChekr --version 2.0.66
NuGet\Install-Package SpellChekr -Version 2.0.66
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.66" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SpellChekr --version 2.0.66
#r "nuget: SpellChekr, 2.0.66"
#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.66

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

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 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. 
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.66 83 4/14/2024
2.0.65 81 4/11/2024
2.0.64 73 4/10/2024
2.0.63 65 3/29/2024
2.0.62 60 3/28/2024
2.0.61 88 3/15/2024
2.0.60 67 3/14/2024
2.0.59 72 3/13/2024
2.0.58 74 3/8/2024
2.0.57 81 3/7/2024
2.0.56 76 3/6/2024
2.0.55 90 3/5/2024
2.0.54 94 3/4/2024
2.0.53 80 2/28/2024
2.0.52 86 2/27/2024
2.0.51 79 2/23/2024
2.0.50 78 2/22/2024
2.0.49 92 2/21/2024
2.0.48 80 2/20/2024
2.0.47 80 2/14/2024
2.0.46 90 2/9/2024
2.0.45 80 2/7/2024
2.0.44 79 2/6/2024
2.0.43 78 2/5/2024
2.0.42 74 1/31/2024
2.0.41 71 1/23/2024
2.0.40 77 1/22/2024
2.0.39 99 1/10/2024
2.0.38 126 12/13/2023
2.0.37 99 12/12/2023
2.0.36 134 11/23/2023
2.0.35 101 11/20/2023
2.0.34 107 11/17/2023
2.0.33 104 11/16/2023
2.0.32 94 11/15/2023
2.0.31 101 11/7/2023
2.0.30 106 11/6/2023
2.0.29 104 10/31/2023
2.0.28 93 10/30/2023
2.0.27 102 10/25/2023
2.0.26 124 10/11/2023
2.0.25 111 9/25/2023
2.0.24 107 9/19/2023
2.0.23 114 9/18/2023
2.0.22 122 9/13/2023
2.0.21 123 9/12/2023
2.0.20 133 9/11/2023
2.0.19 131 9/11/2023
2.0.18 139 9/6/2023
2.0.17 123 9/5/2023
2.0.16 119 9/4/2023
2.0.15 134 9/2/2023
2.0.14 127 8/31/2023
2.0.13 125 8/30/2023
2.0.12 133 8/29/2023
2.0.11 133 8/28/2023
2.0.10 132 8/22/2023
2.0.9 139 8/17/2023
2.0.8 135 8/16/2023
2.0.7 139 8/8/2023
2.0.6 135 8/8/2023
2.0.5 142 8/7/2023
2.0.4 149 8/4/2023
2.0.3 142 7/25/2023
2.0.2 157 7/13/2023
2.0.1 144 7/13/2023
2.0.0 707 12/12/2022
1.0.10 457 6/10/2022
1.0.8 476 4/12/2022
1.0.7 461 1/11/2022
1.0.6 480 1/7/2021
1.0.4 545 9/13/2020
1.0.3 467 4/27/2020
1.0.2 474 4/17/2020
1.0.1 461 4/17/2020