WordNinjaSharp 1.0.0

dotnet add package WordNinjaSharp --version 1.0.0
NuGet\Install-Package WordNinjaSharp -Version 1.0.0
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="WordNinjaSharp" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WordNinjaSharp --version 1.0.0
#r "nuget: WordNinjaSharp, 1.0.0"
#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 WordNinjaSharp as a Cake Addin
#addin nuget:?package=WordNinjaSharp&version=1.0.0

// Install WordNinjaSharp as a Cake Tool
#tool nuget:?package=WordNinjaSharp&version=1.0.0

Word Ninja C#

C#.Net Library for splitting concatenated words, using NLP based on English Wikipedia unigram frequencies.

wordninjasharp-250

This project is repackaging the excellent work from here: http://stackoverflow.com/a/11642687/2449774

This project is C#.Net version of https://github.com/keredson/wordninja

Use this library for slicing damaged data, etc.

Usage

using WordNinjaSharp.App;

var result = WordNinja.Split("thequickbrownfoxjumpsover1978thelazydog");
Console.WriteLine(string.Join(" ", result));

//the quick brown fox jumps over 1978 the lazy dog

Performance

The fastest then all other!!!


var sw = Stopwatch.StartNew();

var res = WordNinja.Split("denythyfatherandrefusethyname");

Console.WriteLine($"{sw.ElapsedMilliseconds} ms");

Console.WriteLine(string.Join(" ", res));

//182 ms
//deny thy father and refuse thy name

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
1.0.0 1,122 4/1/2023