Git Product home page Git Product logo

old-norwegian-dictionary-builder's Introduction

Old Norwegian Dictionary Builder

Build "Dictionary of the Old Norwegian Language" into easier-to-use data formats.

Available formats:

  • JSON
  • DSL
  • XML

Hardcoded packages/modules/classes for programming languages:

  • Go package
  • TypeScript module
  • Rust module
  • Python class

The hardcoded language packages exist to benchmark hardcoded entries against reading them from JSON/similar. The results vary based on language. For example, Rust and Go are much faster hardcoded. In case of Rust it is hundreds of ms vs hundreds of µs.

TypeScript is slightly faster hardcoded, but Python on the other hand is much slower if hardcoded.

Usage

Main package exposes ToJson, ToDsl, ToXml, ToGoPackage, ToRustModule and ToTypeScriptModule functions, which respecticely generate output files in /build/ directory. Running main function generates all outputs.

About "Dictionary of the Old Norwegian Language"

"Ordbog over det gamle norske Sprog" dictionary was published in late 1800s by Johan Fritzner. Its is the largest Old Norse to Norwegian dictionary, containing over 40 000 word definitions. While the original dictionary is called dictionary of "old norwegian", it is practically a dictionary of western Old Norse. Technically "Old Norwegian" would be a later stage in the language.

old-norwegian-dictionary-builder's People

Contributors

dependabot[bot] avatar stscoundrel avatar

Watchers

 avatar  avatar

old-norwegian-dictionary-builder's Issues

Output has incorrect parsing

Some definitions contain malformatted text like /SPERRET\u0026gt

For example:

{
    "word": "leyndarnef",
    "partOfSpeech": "n",
    "definition": "leyndarnef, n. skjult Person; ef l. finnastí húsi hans síðan (/SPERRET\u0026gt;nl. efter manntals-þing)/SPERRET\u0026gt; Frost. 7, 84."
  },

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.