Home‎ > ‎

scanki

smart.fm converter for anki

downloads lists from smart.fm and converts to text

compared with the smart.fm import plugin:
  •  multiple lists can be downloaded in a single operation
  •  vocab items and sentences are together in the same fact, so can be made into spaced cards or used to customise formatting, or used to change between vocab and sentence cards
  •  kana reading is preserved (use [[#cranki]] to add furigana readings with much less manual editing)
  •  includes sentence <b> tags, vocab parts-of-speech, remote sound links, list id and per-list and overall indices
  •  doesn't exclude entries with non-unique kanji fields but with unique combinations of other fields
Usage: scanki [OPTION] < LISTSFILE 

  -s    download sound
  -v    include vocab only (no sentences)
  LISTSFILE: smart.fm list ids, 1 per line

Examples:

  $ ./scanki [-v] < ./core2k-lists.txt > ./core2k.txt
  $ mkdir core2k.media; cd core2k.media; ../scanki -s [-v] < ../core2k-lists.txt

see kore for more example usage

requires xmlstarlet

fields

number name example
1 vocab-expression 嗅ぐ
2 vocab-kana かぐ
3 vocab-meaning smell, sniff
4 vocab-sound-remote [sound:http://assets3.smart.fm/assets/legacy/JLL/audio/Int/JW03341A.mp3]
5 vocab-sound-local [sound:JLL-audio-Int-JW03341A.mp3]
6 vocab-pos Verb
7 vocab-id 439323
8 sentence-expression 犬がお皿の匂いをクンクン<b>嗅いでいる</b>ね。
9 sentence-kana いぬ が おさら の におい を くんくん <b>かいで いる</b> ね
10 sentence-meaning The dog sniffed at the smell on the plate.
11 sentence-sound-remote [sound:http://assets3.smart.fm/assets/legacy/JLL/audio/Int/JS03341A.mp3]
12 sentence-sound-local [sound:JLL-audio-Int-JS03341A.mp3]
13 sentence-id 277649
14 list 24631
15 list-index 246
16 index 3746
ċ
core2k-lists.txt
(0k)
Fugou Nashi,
27 Jan 2011, 17:42
ċ
core6k-lists.txt
(0k)
Fugou Nashi,
27 Jan 2011, 17:41
ċ
ko2001-lists.txt
(0k)
Fugou Nashi,
27 Jan 2011, 17:41
ċ
ko2001.txt
(1552k)
Fugou Nashi,
16 Apr 2012, 18:29
ċ
scanki.sh
(2k)
Fugou Nashi,
27 Jan 2011, 17:31
Comments