summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/examples/sample-template-ascii.kvtml
blob: fb59085159dafe9747f82b8a368590dba53c74b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<?xml version="1.0"?>
<!doctype kvtml system "kvoctrain.dtd">
<!--
This is a machine generated file.
Be careful when editing here.

Short definition:

lesson       lesson group
 desc        name
   %no       its index
   %query    is in query selection
   %current  is current lesson
type         type group
 desc        name
   %no       its index
e            entry of dictionary
  %s         is selected
  %m         lesson member
  %t         common expression type
 o           original
   %q        in query ("o" is given, "t" is wanted)
   %l        language code
   %r        remark
   %p        pronunciation
   %width    column width
   %t        expression type (see QueryManager.h)
   %tf       false friend from
   %ff       false friend to
   %a        antonym
   %y        synonym
   %x        example
   %u        usage label
   %h        paraphrase
 t           translation ..
   %q        in query ("t" is given, "o" is wanted)
   %l        language code
   %r        remark
   %p        pronunciation
   %width    column width
   %t        expression type
   %tf       false friend from
   %ff       false friend to
   %a        antonym
   %y        synonym
   %x        example
   %u        usage label
   %h        paraphrase

   %d        last query date (from;to)
   %w        dito, compressed and deprecated
   %g        grade (from;to)
   %c        count (from;to)
   %b        bad count (from;to)


Valid xml means:
 - Close all tags
 - Keep proper hierarchy
 - All attributes are quoted

--
>
<kvtml
  encoding="UTF-8"
  generator="kvoctrain v0.8.0"
  cols="2"
  lines="6"
  title="Example file: your language - English"
  author="Your Name"
  license="Your License"
  remark="Your remark about the document">

 <lesson width="172">
  <desc no="1">Lesson one</desc>
  <desc no="2">Lesson two</desc>
  <desc no="3">Lesson three</desc>
  <desc no="4">Lesson four</desc>
 </lesson>

 <article>
  <e l="gb">
   <fd>die</fd>
   <fi>eine</fi>
   <md>der</md>
   <mi>einer</mi>
   <nd>das</nd>
   <ni>ein</ni>
  </e>
  <e l="en">
   <fd>fd en</fd>
   <fi>fi en</fi>
   <md>md en</md>
   <mi>mi en</mi>
   <nd>nd en</nd>
   <ni>ni en</ni>
  </e>
 </article>

 <conjugation>
  <e l="gb">
   <s1>ich</s1>
   <s2>du</s2>
   <s3f>sie</s3f>
   <s3m>er</s3m>
   <s3n>es</s3n>
   <p1>wir</p1>
   <p2>ihr</p2>
   <p3f common="1">sie</p3f>
   <p3m>sie</p3m>
   <p3n>sie</p3n>
  </e>
  <e l="en">
   <s1>I</s1>
   <s2>you</s2>
   <s3f>he</s3f>
   <s3m>she</s3m>
   <s3n>it</s3n>
   <p1>we</p1>
   <p2>you</p2>
   <p3f common="1">they</p3f>
  </e>
 </conjugation>

 <options>
  <sort on="1"/>
 </options>

 <type>
  <desc no="1">grammar type a</desc>
  <desc no="2">grammer type b</desc>
 </type>

 <tense>
  <desc no="1">Special tense</desc>
 </tense>

 <usage>
  <desc no="1">slang usage</desc>
  <desc no="2">professional usage</desc>
 </usage>

 <e m="1" t="v:ir"><o width="344" l="gb" q="t">encumber</o><t width="348" l="en" q="o">encumber</t></e>
 <e m="1" t="n:f"><o y="-">pea</o><t p="pi">pea</t></e>
 <e m="2" t="v:re"><o y="-">go</o><t>go</t></e>
 <e m="2" t="aj"><o u="#1:#2">
  <comparison>
   <l1>gut</l1><l2>besser</l2><l3>am besten</l3>
  </comparison>
  good</o><t>
   <comparison>
    <l1>good</l1><l2>better</l2><l3>best</l3>
   </comparison>
   good</t></e>
 <e m="3" t="aj"><o>
  <comparison>
   <l1>bad</l1><l2>worse</l2><l3>worst</l3>
  </comparison>
  bad</o><t>
   <comparison>
    <l1>bad</l1><l2>worse</l2><l3>worst</l3>
   </comparison>
   bad</t></e>
 <e m="3" t="#1"><o u="Am:anat">utterly</o><t>utterly</t></e>
</kvtml>