Code Monkey home page Code Monkey logo

icecards's Introduction

Icelandic Anki Deck Generator

BÍN (Beygingarlýsing íslensks nútímamáls) is an online database of Icelandic grammatical forms. It contains full declensions and conjugations for thousands of words in the Icelandic language. This utility can compile Anki flash cards based on this data. It is very much a work in progress, and probably only useful for myself at the moment.

This program requires the raw Sigrúnarsnið format data from BÍN to work. The data is available as a CSV file from the following page:

The program can automatically download and uncompress the correct file on initial run.

Usage

USAGE:
    icecards [OPTIONS] <wordlist>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --description <DESCRIPTION>    Anki deck description
        --name <NAME>                  Anki deck name
        --output <FILE>                Anki deck output file [default: deck.apkg]

ARGS:
    <wordlist>    List of words, categories, and definitions (tab separated)

The arguments --description, --name, and --output are optional. If not supplied, the default deck will be named "Icelandic Vocabulary", and will be written to the file deck.apkg.

The input should be a list of root words, their category, and their definition, tab-separated. For example:

birta    noun        light, brightness
dagblað  noun        daily newspaper
ungur    adjective   young
vinsæll  adjective   popular
læra     verb        to learn, study
tala     verb        to talk, speak

The following categories are supported:

  • noun
  • adjective
  • verb
  • pronoun
  • indefinite_pronoun
  • phrase
  • number

Sample Data

An example input file can be found in the sample-data directory.

This vocabulary list was compiled from the Icelandic Online 1 course available at https://icelandiconline.com/.

Links

icecards's People

Contributors

sethm avatar

Watchers

 avatar  avatar

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.