comparison lxmldump.py @ 45:23f00a0da841

Adjustments.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 26 May 2021 13:34:36 +0300
parents d7b4b2fb0214
children 931d05a8bbb8
comparison
equal deleted inserted replaced
44:d7b4b2fb0214 45:23f00a0da841
47 PKK_MODE_ANKI: u"<a href='https://kaino.kotus.fi/cgi-bin/kks/karjala.cgi?a={href}'>{text}</a>", 47 PKK_MODE_ANKI: u"<a href='https://kaino.kotus.fi/cgi-bin/kks/karjala.cgi?a={href}'>{text}</a>",
48 }, 48 },
49 49
50 "word_fmt": { 50 "word_fmt": {
51 PKK_MODE_NORMAL: "\"{word}\"{search}{attr}\n{hyphenation}", 51 PKK_MODE_NORMAL: "\"{word}\"{search}{attr}\n{hyphenation}",
52 PKK_MODE_ANKI: "{word}{attr}\n", 52 PKK_MODE_ANKI: "&{word}{search}{attr}{hyphenation}\n",
53 }, 53 },
54 "word_attr_list": { 54 "word_attr_list": {
55 PKK_MODE_NORMAL: " ({alist}) ", 55 PKK_MODE_NORMAL: " ({alist}) ",
56 }, 56 },
57 "word_attr_list_empty": { 57 "word_attr_list_empty": {
71 "search_list_empty": { 71 "search_list_empty": {
72 PKK_MODE_NORMAL: "", 72 PKK_MODE_NORMAL: "",
73 }, 73 },
74 "search_list_item": { 74 "search_list_item": {
75 PKK_MODE_NORMAL: "\"{text}\"", 75 PKK_MODE_NORMAL: "\"{text}\"",
76 PKK_MODE_ANKI: "{text}",
76 }, 77 },
77 "search_list_sep": { 78 "search_list_sep": {
78 PKK_MODE_NORMAL: ", ", 79 PKK_MODE_NORMAL: ", ",
79 }, 80 },
80 81
81 "hyphenation": { 82 "hyphenation": {
82 PKK_MODE_NORMAL: "{indent}hyph \"{text}\"\n", 83 PKK_MODE_NORMAL: "{indent}hyph \"{text}\"\n",
84 PKK_MODE_ANKI: "<{text}>",
83 }, 85 },
84 "no_hyphenation": { 86 "no_hyphenation": {
85 PKK_MODE_NORMAL: "", 87 PKK_MODE_NORMAL: "",
86 }, 88 },
87 89