/
25.12.2024 at 09:54 am
Cuttings

Schema for Language-Learning Drillers

SQL table definition for sentences.
Code
                        CREATE TABLE "Material"
(
  id                     INTEGER,
  expression             TEXT,
  expression_meaning     TEXT,
  expression_reading     TEXT,
  expression_source      TEXT
  focus_phrase           TEXT,
  focus_phrase_meaning   TEXT,
  notes                  TEXT
)
                    

I love spaced-repetition systems. I've been an extremely early Anki user, all the way back to 2006.

Yet nothing beats rote language drills to build automaticity.

So I've previously written language drilling apps to help me learn languages.

I've experimented with many possible schemas; yet I've come to prefer storing simple sentence-level units in SQL databases.

This to me is the simplest single-table definition schema to hold learning materials across different languages. (It's great because it also works as a reference for Anki deck fields.)

Explaining the Schema

  1. expression

    • Represents a grammatical phrase, expression or a sentence fragment.

    • Written in Japanese/other languages.

  2. expression_meaning

    Closest translation. Not the 'explanation' (which goes into notes).

  3. expression_reading

    Phonetic reading. (For Japanese, in hiragana/katakana.)

  4. expression_source

    Reference - e.g. specific texts/documents/websites.

  5. focus_phrase

    • A specific word, or target grammar point, within the expression.

    • If present, it is the focal point of the expression.

  6. focus_phrase_meaning

    • Meaning of the highlighted phrase/grammar point.

    • Different from expression_meaning.

  7. notes

    Supplementary details; usage tips, exceptions, or cultural nuances.

Filed under:
#
#
#
Words: 188 words approx.
Time to read: 0.75 mins (at 250 wpm)
Keywords:
, , , , , , , , ,

Other suggested posts

  1. 02.01.2024 at 08:16 pm / Go Interfaces - By Witcher-Like Metaphors
  2. 26.12.2022 at 08:20 pm / Lusa to Overmorrow, Kelmarin to Ereyesterday
  3. 17.10.2022 at 12:31 pm / AI Art Is Real Art
  4. 04.07.2021 at 09:08 am / Learning D3 with P5/Processing
  5. 13.08.2020 at 10:00 am / Consenting Pythonic Adults
  6. 05.03.2016 at 12:00 am / Rather Be (Alexa Goddard's Version)
  7. 12.06.2015 at 12:00 am / He Conquers Who Endures
  8. 03.01.2014 at 12:00 am / Write With Vigour
  9. 15.08.2010 at 12:00 am / 海老
© Wan Zafran. See disclaimer.