Words.Per.Minute
1.2.3
.NET Standard 2.0
Install-Package Words.Per.Minute -Version 1.2.3
dotnet add package Words.Per.Minute --version 1.2.3
<PackageReference Include="Words.Per.Minute" Version="1.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Words.Per.Minute --version 1.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Words.Per.Minute, 1.2.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Words.Per.Minute as a Cake Addin
#addin nuget:?package=Words.Per.Minute&version=1.2.3
// Install Words.Per.Minute as a Cake Tool
#tool nuget:?package=Words.Per.Minute&version=1.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Sample usage for C# Words per minute counter.
var wpm = new WPM.WordsPerMinute(@"This is a words per minute counter. It also allows to get more detailed data if you want.");
Console.WriteLine($"Number of words: {wpm.GetTotalWords()}");
Console.WriteLine($"Number of sentences: {wpm.GetTotalSentences()}");
Console.WriteLine($"Time to read at 200 words per minute: {wpm.GetTimeToRead()}");
Console.WriteLine($"Time to read at 120 words per minute: {wpm.GetTimeToRead(120)}");
Console.WriteLine("Histogram raw data:");
foreach (var word in wpm.GetHistogram())
{
Console.WriteLine($"{word.Length},{word.Occurences}");
}
Console.WriteLine("Visual histogram:");
foreach (var item in wpm.GetVisualHistogram())
{
Console.WriteLine(item);
}
Above code will generate the following:
Number of words: 18
Number of sentences: 2
Time to read at 200 words per minute: 00:00:05
Time to read at 120 words per minute: 00:00:09
Histogram raw data:
1,1
2,4
3,3
4,4
5,2
6,2
7,0
8,2
Visual histogram:
01:**
02:**********
03:*******
04:**********
05:*****
06:*****
07:
08:*****
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
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.2.3 | 837 | 7/4/2020 |
1.2.2 | 247 | 7/3/2020 |
1.2.1 | 230 | 7/1/2020 |
1.2.0 | 249 | 7/1/2020 |
1.1.13 | 239 | 6/29/2020 |
1.1.12 | 230 | 6/28/2020 |
1.1.11 | 239 | 6/28/2020 |
1.1.10 | 293 | 6/28/2020 |
1.1.9 | 289 | 6/28/2020 |
1.1.8 | 262 | 6/26/2020 |
1.1.7 | 276 | 6/23/2020 |
1.1.6 | 263 | 6/22/2020 |
1.1.5 | 276 | 6/21/2020 |
1.1.4 | 234 | 6/17/2020 |
1.1.3 | 263 | 6/16/2020 |
1.1.2 | 272 | 6/16/2020 |
1.1.1 | 257 | 6/16/2020 |
1.1.0 | 247 | 6/16/2020 |
1.0.8 | 239 | 6/16/2020 |
1.0.7 | 264 | 6/15/2020 |
1.0.6 | 280 | 6/15/2020 |
1.0.5 | 267 | 6/15/2020 |
1.0.4 | 271 | 6/15/2020 |
1.0.3 | 280 | 6/15/2020 |
1.0.2 | 297 | 6/14/2020 |
1.0.1 | 310 | 6/14/2020 |
1.0.0 | 322 | 6/14/2020 |