Mercurial > hg > lxmldump
comparison lxmldump.py @ 62:1932f588743f
Fixes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 01 Jun 2021 13:42:35 +0300 |
parents | 9c36574199f5 |
children | afe5cd7626dc |
comparison
equal
deleted
inserted
replaced
61:9c36574199f5 | 62:1932f588743f |
---|---|
46 PKK_MODE_NORMAL: "<PTR:{href}>{text}</PTR>", | 46 PKK_MODE_NORMAL: "<PTR:{href}>{text}</PTR>", |
47 PKK_MODE_ANKI: "<a href='https://kaino.kotus.fi/cgi-bin/kks/karjala.cgi?a={href}'>{text}</a>", | 47 PKK_MODE_ANKI: "<a href='https://kaino.kotus.fi/cgi-bin/kks/karjala.cgi?a={href}'>{text}</a>", |
48 }, | 48 }, |
49 | 49 |
50 "word_item": { | 50 "word_item": { |
51 PKK_MODE_NORMAL: "\"{word}\"{search}{attr}{hyphenation}{main_sense}{other_senses}\n", | 51 PKK_MODE_NORMAL: "\"{word}\"{search}\n{attr}{hyphenation}{main_sense}{other_senses}\n", |
52 PKK_MODE_ANKI: "\"{word}\"{search}{attr}{hyphenation};{main_sense}{other_senses}\n", | 52 PKK_MODE_ANKI: "\"{word}\"{search}{attr}{hyphenation};{main_sense}{other_senses}\n", |
53 }, | 53 }, |
54 "word_attr_list": { | 54 "word_attr_list": { |
55 PKK_MODE_NORMAL: "{indent}attr \"({alist})\"\n", | 55 PKK_MODE_NORMAL: "{indent}attr \"({alist})\"\n", |
56 PKK_MODE_ANKI: " ({alist})", | 56 PKK_MODE_ANKI: " ({alist})", |
104 PKK_MODE_NORMAL: "{indent}sense #{index}:\n{definition}{example_list}", | 104 PKK_MODE_NORMAL: "{indent}sense #{index}:\n{definition}{example_list}", |
105 PKK_MODE_ANKI: "#{index}:{definition}{example_list}", | 105 PKK_MODE_ANKI: "#{index}:{definition}{example_list}", |
106 }, | 106 }, |
107 "sense_list_sep": { | 107 "sense_list_sep": { |
108 PKK_MODE_NORMAL: "", | 108 PKK_MODE_NORMAL: "", |
109 PKK_MODE_NORMAL: " | ", | 109 PKK_MODE_ANKI: " | ", |
110 }, | 110 }, |
111 | 111 |
112 "definition_item": { | 112 "definition_item": { |
113 PKK_MODE_NORMAL: "{indent}defn \"{text}\"\n", | 113 PKK_MODE_NORMAL: "{indent}defn \"{text}\"\n", |
114 PKK_MODE_ANKI: " ? \"{text}\"", | 114 PKK_MODE_ANKI: " ? \"{text}\"", |