generates Anki-compatible vocab script based on n+1 magic