Words.Per.Minute 1.1.0

Easily get reading time for a chunk of text.

There is a newer version of this package available.
See the version list below for details.
Install-Package Words.Per.Minute -Version 1.1.0
dotnet add package Words.Per.Minute --version 1.1.0
<PackageReference Include="Words.Per.Minute" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Words.Per.Minute --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Words.Per.Minute, 1.1.0"
#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.1.0

// Install Words.Per.Minute as a Cake Tool
#tool nuget:?package=Words.Per.Minute&version=1.1.0
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 of a simple form.");            

Console.WriteLine($"Number of words: {wpm.GetTotalWords()}");

Console.WriteLine($"Time to read: {wpm.GetTimeToRead()}");
Console.WriteLine($"Time to read at 120 words per minute: {wpm.GetTimeToRead(120)}");

Console.WriteLine("Histogram raw data:");
foreach (var item in wpm.GetHistogram())
{
    Console.WriteLine($"{item.Length} {item.Occurences}");
}    

Above code will generate the following:

Number of words: 11
Time to read: 00:00:03
Time to read at 120 words per minute: 00:00:05
Histogram raw data:
1 2
2 2
3 1
4 1
5 2
6 2
7 1

Sample usage for C# Words per minute counter.

var wpm = new WPM.WordsPerMinute("This is a words per minute counter of a simple form.");            

Console.WriteLine($"Number of words: {wpm.GetTotalWords()}");

Console.WriteLine($"Time to read: {wpm.GetTimeToRead()}");
Console.WriteLine($"Time to read at 120 words per minute: {wpm.GetTimeToRead(120)}");

Console.WriteLine("Histogram raw data:");
foreach (var item in wpm.GetHistogram())
{
    Console.WriteLine($"{item.Length} {item.Occurences}");
}    

Above code will generate the following:

Number of words: 11
Time to read: 00:00:03
Time to read at 120 words per minute: 00:00:05
Histogram raw data:
1 2
2 2
3 1
4 1
5 2
6 2
7 1

  • .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 History

Version Downloads Last updated
1.2.3 291 7/4/2020
1.2.2 138 7/3/2020
1.2.1 134 7/1/2020
1.2.0 143 7/1/2020
1.1.13 124 6/29/2020
1.1.12 128 6/28/2020
1.1.11 132 6/28/2020
1.1.10 181 6/28/2020
1.1.9 180 6/28/2020
1.1.8 149 6/26/2020
1.1.7 155 6/23/2020
1.1.6 156 6/22/2020
1.1.5 156 6/21/2020
1.1.4 137 6/17/2020
1.1.3 156 6/16/2020
1.1.2 162 6/16/2020
1.1.1 152 6/16/2020
1.1.0 154 6/16/2020
1.0.8 143 6/16/2020
1.0.7 159 6/15/2020
1.0.6 178 6/15/2020
1.0.5 176 6/15/2020
1.0.4 178 6/15/2020
1.0.3 179 6/15/2020
1.0.2 194 6/14/2020
1.0.1 198 6/14/2020
1.0.0 209 6/14/2020
Show less