Skip to content

Instantly share code, notes, and snippets.

@freshteapot
Last active March 20, 2024 06:22
Show Gist options
  • Save freshteapot/0be3af75fc9ff41bb4b37fb3f8a4e432 to your computer and use it in GitHub Desktop.
Save freshteapot/0be3af75fc9ff41bb4b37fb3f8a4e432 to your computer and use it in GitHub Desktop.
Adding new words to learn in Norwegian via photos from instagram on a mac

Adding new words to learn in Norwegian via photos from instagram on a mac

Save

Use Preview to copy the text out of the image

const a = `A sette
To put
A skrelle
To peel
A steke
To fry, to bake
A koke
To boil
À hakke
To chop
A rore
To stir
A blande
To mix
A tilsette
To add
A skvise
To squeeze
A lage
To make
A kutte
To cut
A helle
To pour`.split("\n")

Massage the data into tab separated

Array.from({length: a.length/2}, (_,i) => {
    const from = a[2*i];
    const to =  a[2*i+1];
    return `${from}\t${to}`;
}).join("\n")

Add to Learnalist Bulk import for learning overtime

https://learnalist.net/toolbox/srs-add-overtime-v1.html

Check data, make changes

  • A -> å
  • To -> to,
  • rore -> røre

Let the system remind you

Wait and learn at your own pace.

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment