Giter VIP home page Giter VIP logo

old-swedish-dictionary-go's Introduction

Old Swedish Dictionary

Old Swedish Dictionary for Golang. The dictionary consists of 40 000+ Old Swedish words with Swedish translations.

Based on K.F. Söderwall's Medieval Swedish Dictionary

Install

go get github.com/stscoundrel/old-swedish-dictionary-go

Usage

The library exposes one function for getting the whole dictionary dataset.

package main

import (
    "fmt"

    dictionary "github.com/stscoundrel/old-swedish-dictionary-go"
)

func main() {
  result, err := dictionary.GetDictionary()

  if err != nil {
    fmt.Println(err)
  }
  
  // Contains 41 000+ DictionaryEntries.
  for _, entry := range result {
    fmt.Println(entry.Headword)
  }
}

The entries are structs of:

type DictionaryEntry struct {
  Headword          string
  PartOfSpeech      []string
  GrammaticalAspect string
  Information       string
  Definitions       []string
  AlternativeForms  []string
}

About "Dictionary of Old Swedish"

"Ordbok Öfver svenska medeltids-språket" dictionary was published in late 1884—1918 by K.F. Söderwall. Additional supplement to it was published in 1953—1973.

Old Swedish developed from Old East Norse, the eastern dialect of Old Norse, at the end of the Viking Age. Early Old Swedish was spoken from about 1225 until about 1375, and Late Old Swedish was spoken from about 1375 until about 1526.

The original material is licenced under Creative Commons International (CC BY 4.0), made available by University of Gothenburg. The source code for this library is under MIT licence.

old-swedish-dictionary-go's People

Contributors

dependabot[bot] avatar stscoundrel avatar

Watchers

 avatar  avatar

Forkers

anima-os-dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.