DialectSoftware.Sematics.WordReader 1.0.1

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

// Install DialectSoftware.Sematics.WordReader as a Cake Tool
#tool nuget:?package=DialectSoftware.Sematics.WordReader&version=1.0.1                

Parse and coalesce text by applying simple rules in the form of a lambda expression that define word boundaries. Each word is tokenized into a memento that retains all the information about that word within the original context.

example: parsing a double quote qualified csv file.

DialectSoftware.Semantics.WordReader reader = WordReader.Open([path to file]);
           bool include = true;
           var lines = reader.ReadToEnd(c => c == '\n').Select(r => r.ReadToEnd(c => c == ',').Select(w => w.Coalesce((ref char c, string s, out bool b) =>
           {
               b = c != '\"' && c != '\r';
               return true;
           })).ToArray()).ToArray();

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 178 3/24/2013