Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stscoundrel/old-norse-dictionary-cs
Old Norse Dictionary for C# / .NET. From The Cleasby & Vigfusson Old Norse to English Dictionary.
https://github.com/stscoundrel/old-norse-dictionary-cs
csharp dictionary dotnet dotnet-library medieval-languages norse old-icelandic old-norse
Last synced: 8 days ago
JSON representation
Old Norse Dictionary for C# / .NET. From The Cleasby & Vigfusson Old Norse to English Dictionary.
- Host: GitHub
- URL: https://github.com/stscoundrel/old-norse-dictionary-cs
- Owner: stscoundrel
- License: mit
- Created: 2022-05-07T18:26:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-07T07:15:47.000Z (4 months ago)
- Last Synced: 2024-09-07T08:32:18.706Z (4 months ago)
- Topics: csharp, dictionary, dotnet, dotnet-library, medieval-languages, norse, old-icelandic, old-norse
- Language: C#
- Homepage: https://www.nuget.org/packages/OldNorseDictionary/
- Size: 3.52 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Old Norse Dictionary
Old Norse to English Dictionary for C# / .NET. The dictionary consists of 35 000+ Old Norse words with English translations.
Based on the classic dictionary by Richard Cleasby and Gudbrand Vigfusson. If you find this one too abbreviated, academic or hard to read, you might want to check out [A Concise Dictionary of Old Icelandic](https://github.com/stscoundrel/old-icelandic-dictionary-cs)
### Install
```
dotnet add package OldNorseDictionary
```### Usage
```csharp
using OldNorseDictionary;// Get all dictionary entries.
var dictionary = new Dictionary();
var result = dictionary.GetEntries();
Console.WriteLine(dictionary.Count); // 35 207 entries.// Individual entry contains headword and definitions list.
DictionaryEntry entry = result[1000];
Console.WriteLine(entry.Headword); // ARINN
Console.WriteLine(entry.Definitions[0]);
// s, m., dat. aarni = árni, Fs. 42, Rm. 2, [a word still freq. in Denmark and in Norway; Dan. arne, arnested; Norse aarstad, Ivar Aasen: in Icel. it is very rare]DictionaryEntry entry2 = result[10000]
Console.WriteLine(entry2.Headword); // gull-reyfi
Console.WriteLine(entry2.Definitions[0]); // n. a golden fleece, Hb. 732. 17.// ToString is overwritten for generic presentation.
Console.WriteLine(entry2.ToString()); // gull-reyfi - n. a golden fleece, Hb. 732. 17.```
### About Cleasby & Vigfusson Dictionary
"Icelandic-English" dictionary was started by Richard Cleasby and finished by Gudbrand Vigfusson. It was published in 1874, which leads to there being many public domain versions of the book available.