blob: fa0cd2082d026466d0c429492124e95b6d993f06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// This program looks up words fromm Wiktionary, and creates Anki flashcards
// from them.
package main
import (
"log"
_ "github.com/mattn/go-sqlite3"
)
const rawDictionary = "/home/david/work/french-wiktionary-flashcards/raw-wiktextract-data.jsonl"
const dictionary = "/home/david/work/french-wiktionary-flashcards/raw-wiktextract-data.sqlite3"
func main() {
_, err := setupDatabase()
if err != nil {
log.Fatalf("setting up database: %s", err)
}
}
|