DialectSoftware.Semantics.WordReader
1.0.1
dotnet add package DialectSoftware.Semantics.WordReader --version 1.0.1
NuGet\Install-Package DialectSoftware.Semantics.WordReader -Version 1.0.1
<PackageReference Include="DialectSoftware.Semantics.WordReader" Version="1.0.1" />
<PackageVersion Include="DialectSoftware.Semantics.WordReader" Version="1.0.1" />
<PackageReference Include="DialectSoftware.Semantics.WordReader" />
paket add DialectSoftware.Semantics.WordReader --version 1.0.1
#r "nuget: DialectSoftware.Semantics.WordReader, 1.0.1"
#:package DialectSoftware.Semantics.WordReader@1.0.1
#addin nuget:?package=DialectSoftware.Semantics.WordReader&version=1.0.1
#tool nuget:?package=DialectSoftware.Semantics.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 =>
{
if (c == '\"')
include = !include;
if (c == ',')
return include;
return false;
}).ToArray()).ToArray();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has 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 |
---|