Install-Package gnuciDictionary -Version 0.0.7
dotnet add package gnuciDictionary --version 0.0.7
<PackageReference Include="gnuciDictionary" Version="0.0.7" />
paket add gnuciDictionary --version 0.0.7
#r "nuget: gnuciDictionary, 0.0.7"
// Install gnuciDictionary as a Cake Addin #addin nuget:?package=gnuciDictionary&version=0.0.7 // Install gnuciDictionary as a Cake Tool #tool nuget:?package=gnuciDictionary&version=0.0.7
A nuget port of the GNU Collaborative International Dictionary of English
Defining word is simple. Simply give a string, and you will be given a list of definitions for that string, or
null if no definition can be found.
IEnumerable<gnuciDictionary.Word> definitions = gnuciDictionary.EnglishDictionary.Dictionary.Define("cat"); Console.WriteLine(definitions.First());
This will output:
cat: Any animal belonging to the natural family Felidae, and in particular to the various species of the genera Felis, Panthera, and Lynx.
Under The Hood
Word definitions are stored as compressed JSON files ("/data/gzip"). Each file is called something like
dict_al.dat - the
al here indicating that this file contains all words starting with those two letters. This allows gnuciDictionary to have a almost zero memory footprint as well as low disk storage footprint (~5MB).
Icon: "dictionary" by Smalllike from the Noun Project
- Newtonsoft.Json (>= 12.0.3)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.