Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : dialectsoftware.sematics.wordreader

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

Registry - Homepage - JSON
purl: pkg:nuget/dialectsoftware.sematics.wordreader
Keywords: Text, Parsing, CSV
License:
Latest release: about 11 years ago
First release: about 11 years ago
Downloads: 2,611 total
Last synced: 8 days ago

    Loading...
    Readme
    Loading...