Add missing entities when generating JMdict files
modules/nani/jmdict/entities.scm
25 | 25 | ("col" . 21) | |
26 | 26 | ("comp" . 22) | |
27 | 27 | ("conj" . 23) | |
28 | - | ("cop-da" . 24) | |
28 | + | ("cop" . 24) | |
29 | 29 | ("ctr" . 25) | |
30 | 30 | ("derog" . 26) | |
31 | 31 | ("eK" . 27) | |
… | |||
175 | 175 | ("zool" . 171) | |
176 | 176 | ("joc" . 172) | |
177 | 177 | ("anat" . 173) | |
178 | - | ("frq500" . 174) | |
179 | - | ("frq1000" . 175) | |
180 | - | ("frq2000" . 176) | |
181 | - | ("frq5000" . 177) | |
182 | - | ("frq10000" . 178) | |
183 | - | ("frq20000" . 179))) | |
178 | + | ("Christn" . 174) | |
179 | + | ("net-sl" . 175) | |
180 | + | ("dated" . 176) | |
181 | + | ("hist" . 177) | |
182 | + | ("lit" . 178) | |
183 | + | ("litf" . 179) | |
184 | + | ("surname" . 180) | |
185 | + | ("place" . 181) | |
186 | + | ("unclass" . 182) | |
187 | + | ("company" . 183) | |
188 | + | ("product" . 184) | |
189 | + | ("work" . 185) | |
190 | + | ("person" . 186) | |
191 | + | ("given" . 187) | |
192 | + | ("station" . 188) | |
193 | + | ("organization" . 189) | |
194 | + | ("frq500" . 190) | |
195 | + | ("frq1000" . 191) | |
196 | + | ("frq2000" . 192) | |
197 | + | ("frq5000" . 193) | |
198 | + | ("frq10000" . 194) | |
199 | + | ("frq20000" . 195))) | |
184 | 200 | ||
185 | 201 | (define (get-entity ent) | |
186 | 202 | (let ((val (assoc-ref entities ent))) | |
187 | - | (if val val (begin (pk 'val ent) #f)))) | |
203 | + | (if val val (begin (pk 'unknown-entity-will-cause-error ent) #f)))) |