Dialect Software LLC Word Reader NuGet Package

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();.




Got any Dialect Software LLC Word Reader Question?





Info

Version: 1.0.1
Author(s): Dialect Software LLC
Last Update: Sunday, March 24, 2013
.NET Fiddle: Create the first Fiddle
Project Url: http://www.dialectsoftware.com/
NuGet Url: https://www.nuget.org/packages/DialectSoftware.Sematics.WordReader


Install
Install-Package DialectSoftware.Sematics.WordReader
dotnet add package DialectSoftware.Sematics.WordReader
paket add DialectSoftware.Sematics.WordReader
DialectSoftware.Sematics.WordReader Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.5

avg-downloads-per-day

0

days-since-last-release

4260