https://github.com/stscoundrel/old-icelandic-dictionary-java
Old Icelandic dictionary for Java. From "A Concise Dictionary of Old Icelandic" by Geir Zoëga
https://github.com/stscoundrel/old-icelandic-dictionary-java
dictionary java jvm maven medieval-icelandic medieval-languages medieval-studies old-icelandic old-norse
Last synced: 5 months ago
JSON representation
Old Icelandic dictionary for Java. From "A Concise Dictionary of Old Icelandic" by Geir Zoëga
- Host: GitHub
- URL: https://github.com/stscoundrel/old-icelandic-dictionary-java
- Owner: stscoundrel
- License: mit
- Created: 2022-12-04T07:24:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-07T07:11:12.000Z (8 months ago)
- Last Synced: 2024-09-07T08:28:35.085Z (8 months ago)
- Topics: dictionary, java, jvm, maven, medieval-icelandic, medieval-languages, medieval-studies, old-icelandic, old-norse
- Language: Java
- Homepage:
- Size: 1.37 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Old Icelandic Dictionary
Old Icelandic dictionary for Java. From "A Concise Dictionary of Old Icelandic" by Geir Zoëga
The dictionary consists of 29 000+ Old Icelandic words with English translations.
## Install
As Maven dependency.
```xml
io.github.stscoundrel
oldicelandic
0.2.0```
For alternative install methods, see the [Maven Central Repo](https://search.maven.org/artifact/io.github.stscoundrel/oldicelandic)
### Usage
The dictionary comes in two variants:
- Markup version of dictionary has html markup `` and `` to match look of the original book.
- No-markup version has the same content without any additional formatting tags.```java
import io.github.stscoundrel.oldicelandic.Dictionary;
import io.github.stscoundrel.oldicelandic.DictionaryEntry;Dictionary dictionary = new Dictionary();
// Both dictionaries return entries that consist of headword and definitions list.
DictionaryEntry[] noMarkupResult = dictionary.getDictionary(); // has alias "getNoMarkupDictionary"
DictionaryEntry[] markupResult = dictionary.getMarkupDictionary();// Headwords wont differ between dictionaries.
System.out.println(noMarkupResult[14].headword); // afbindi
System.out.println(markupResult[14].headword); // afbindi// But definition markup does differ.
System.out.println(noMarkupResult[14].definitions[0]); // n. constipation.
System.out.println(markupResult[14].definitions[0]); // n. constipation.```
Individual words are returned in format of:
```java
{
String headword;
String[] definitions;
}
```### About "A Concise Dictionary of Old Icelandic"
"A Concise Dictionary of Old Icelandic" dictionary was published in 1910 by Geir Zoëga, which leads to there being many public domain versions of the book available. Zoëgas attempt was to made easier-to-approach version of the more full Cleasby - Vigfusson dictionary, specifically for beginners and those interested in Old Icelandic prose writing.