1 Thu Apr 23 17:04:59 1992 Per Hammarlund (perham at perham.nada.kth.se)
3 * Stepped up the version number, 0.9.6.
5 * Added edict-add-word, which basically initiates a private
6 dictionary session without starting with a word.
8 Wed Apr 22 09:30:14 1992 Per Hammarlund (perham at perham.nada.kth.se)
10 * Changed the declaration of the *edict-rmoaji-remaps* to be a
11 defvar followed by a setq.
13 * Rewrote and corrected some of the short getting started guide at
14 the beginning of edict.el.
16 Mon Apr 6 06:58:59 1992 Bob Kerns (rwk at taunton.crl.dec.com)
18 * Add eval-when around defstruct. The compiler half of
19 eval-when is in a patch that is loading into the compiler
22 * Make the english-plural rule exclude ies.
24 * Add edict-plural-ies.
26 * Call edict-expand-string with the right arguments.
28 Fri Apr 3 20:38:03 1992 Bob Kerns (rwk at taunton.crl.dec.com)
30 * Add english-plurals rule.
34 Thu Apr 2 02:18:27 1992 Bob Kerns (rwk at taunton.crl.dec.com)
36 * Add rules for ¤À¡¿¤Ç¤¹ and their conjucations.
38 * forgot to exclude newlines in edict-slash-internal.
40 * forgot to exclude newlines in edict-char-bracket.
42 * Forgot to exclude newlines in edict-line-has-english.
44 * Forgot to exclude newlines in edict-parse-entry.
46 * Forgot to exclude newlines in pattern for finding english defs
47 in edict-insert-english.
49 Wed Apr 1 13:28:18 1992 Bob Kerns (rwk at taunton.crl.dec.com)
51 * Put the cursor at the right place when creating an entry and
56 * A bunch of minor tuneups to various things...
58 * Make the dictionary-editing commands go through a common wrapper
59 to keep the electric stuff consistent.
61 * Add similar command for /.
63 * Add edict-open-bracket, edict-close-bracket, in dictionary
66 * Allow edict-new-entry to take an argument. <= 4 copies the
67 kanji word into the new entry; >4 (i.e. c-U c-U) copies both
68 the word and definition, allowing you to enter an alternate
71 * Split out edict-insert-entry from edict-add-entry-to-file,
72 and add an inverse: edict-parse-entry.
74 * Allow a list of translations in edict-add-entry-to-file.
76 * Allow windows to be as small as emacs will allow. This is
77 important, because when we look for a suitably-sized window,
78 this is all the bigger we look for.
80 * Add some more comments, and convert and/or/one-armed-if
81 expressions into when/unless, since those are now provided
82 by the (require 'cl). This makes a number of things more
85 * Move edict-test-rule and edict-test-string to edict-test.el.
87 * Merge in Per's changes below.
89 * Add a bit more commentary.
91 * Fix mising "w" and "W" in remap table.
93 Tue Mar 31 06:16:26 1992 Bob Kerns (rwk at taunton.crl.dec.com)
95 * edict-subst-affix's args can now be any function of one argument
96 (the matched substring).
98 * Optimize edict-ignore in edict-subst-modified-affix, and
99 add it to edict-subst-affix.
101 * Add ¿ô¤Ê¤· rule to try looking up number expressions without
104 Mon Mar 30 10:16:21 1992 Per Hammarlund (perham at perham.nada.kth.se)
106 * Made sure that edict-new-entry put a closing '/' at the end of
107 the current row. This only works when the user does
108 edict-new-entry, not for save. Sigh.
110 * Up version number 0.9.5
112 * Added handling of SKK in edict-set-henkan. Crude
115 Mon Mar 30 00:19:05 1992 Bob Kerns (rwk at taunton.crl.dec.com)
117 * Don't insert [] after hiragana-only words, either!
119 * Electric dictionary editing: When adding entries,
120 Tab now moves between fields, and Return starts a new entry
121 on the next line. It arranges to be in nihongo mode when
122 appropriate. Also, it no longer inserts [] after katakana
125 Sun Mar 29 14:03:09 1992 Bob Kerns (rwk at taunton.crl.dec.com)
127 * Replace (eval (cons 'and kludge with every.
129 * filter out some ¤Æ->¤Æ¤ë in °ìÃʤÎconjunctive
131 * Optimize edict-identity in rule RHS's
133 * Use regexp character categories where possible.
135 * fix typo: window-next -> next-window.
137 Fri Mar 27 02:02:58 1992 Bob Kerns (rwk at taunton.crl.dec.com)
139 * Get around nemacs regexp bug that was still deleting the katakan
140 long-sound dash even after I fixed the regexp. (Off-by-one
141 error on the handling of the end of a range. Sigh.)
143 Thu Mar 26 20:56:00 1992 Bob Kerns (rwk at taunton.crl.dec.com)
145 * Whitespace list accidentally included the katakana long-sound dash.
147 * The conjunctive rules patterns only allowed kanji, not
150 Wed Mar 25 17:57:09 1992 Bob Kerns (rwk at taunton.crl.dec.com)
152 * Merge in Per's change to edict-eigo-one-word.
154 * Up the version to 0.9.4
156 * Make whitespace stuff include all the different funny chars.
158 * Show the dictionary version number(s) after loading them.
160 * Replace '(lambda ...) with (function (lambda ...)).
162 * Make the default edict pathname be just "edictj", so it searches
163 load path to find it. This should minimize installation
164 headaches. You can still override this in your .emacs file.
166 * Use load-path to search for edict files if they're relative.
168 * Handle ¡¼ and punctuation in kanji insertion. Also, let a
169 couple of rules work with katakana stems (i.e. ¤¹¤ë-derived stuff).
171 Mon Mar 23 11:18:24 1992 Per Hammarlund (perham at perham.nada.kth.se)
173 * Fixed a bug that caused it not to find a english word at the
174 beginning of the buffer. It ran backward over (point-min).
175 Change made in "edict-eigo-one-word", >= to >.
177 Mon Mar 23 07:37:03 1992 Bob Kerns (rwk at taunton.crl.dec.com)
181 * Increment version to 0.9.3
183 * Add edict-insert, edict-insert-english, edict-insert-ÆüËܸì.
184 The main one to use is edict-insert, which figures out what
185 language to insert based on the last lookup.
187 * Disallow the ¤± -> ¤¯ -> ¤¤ path.
189 * For the various ¤Þ¤¹ rules, filter out cases derived from ¤Þ¤»¤ë.
191 * Don't apply the potential-form rules if there's just the suffix.
193 * ·ÁÍƻ졼¤¯ -- Be a whole lot more careful about what we consider
194 an adverb/adjective, based on the previous form. This should
195 eliminate a lot of ¤¯¡¼¹Ô verbs from having spurious forms.
197 * I decided that this filtering scheme isn't so bad after all,
198 if the decision is made on just the preceding version.
199 Having parts of speech would still be better, since it would
200 localize the knowledge of what part of speech an ending could
201 be. But I think this will do for now.
203 * Separate out (¤¯|¤Æ|¤ó¤Ç)¤ë case from ½õÆ°»ì¡¼£± to ½õÆ°»ì¡¼£±£á,
204 because this case must not include ¤¯. ¤¯¤ë should not become
205 ¤¯. ¡¼¤ë is just a non-grammatical conversational case, anyway,
206 and only occurs after ¤Æ so far as I know.
208 * Add more filtering to problematic conjunctive forms.
210 * Add filtering to filter out rules which are locally plausible,
211 but could not be applied if what was removed is taken into
212 consideration. eg ¹Ô¤¯ -> ¹Ô¤¤ -> ¹Ô¤¦ is not legit, even
213 though each individual step is, because the first step is based
214 on the assumption that it's an adverb, and turns it into an
215 adjective. The second assumes its the conjunctive form of a
216 verb, and tries to find the dictionary form.
218 This first pass is pretty bogus. What it does is try to deduce
219 it from what endings it has had along the way. This can't
220 really work, because there's no reasonable way to determine
221 whether the ending in question is applying to this root, or
222 or some further extention of this root.
224 The right thing, is for rules to filter by/assert a part of speach.
225 But first, I'm going to try this, just to get things going.
227 * Remove redundant rule: ¡Ö¤»¤º¡×¤ÎÆÃÊ̥롼¥ë
229 * Merge in Per's changes. Up the version to 0.9.2
231 * Provide error checking for unrooted patterns, so that last
232 bug can't happen again.
234 * Fix ¡Ö²¿²¿¡×¤ÎÆÃÊÌconjunctive rules to only match at the end.
236 Sat Mar 21 10:53:51 1992 Bob Kerns (rwk at taunton.crl.dec.com)
238 * Eliminate duplicates in the result when we have substring matches.
240 * Potential form's rules were completely mangled; they were all
241 clones of the same version, as if incomplete edited or
242 something. I fixed them up, and added another test to the suit.
243 The test suite happened to test the one case that the rest were
244 cloned from, and °ìÃÊÆ°»ì, which worked.
246 * Anti-infinite-recursion check didn't catch quite all the
247 possible ways. Also, in similar circumstances, it could
248 put duplicates into the result.
250 * Add ²° to other-suffixes, and Ⱦ to other-prefixes.
252 Fri Mar 20 11:14:00 1992 Bob Kerns (rwk at taunton.crl.dec.com)
254 * Remove punctuation before lookup.
256 * Make the windowing code more robust when editing in a tiny
259 Thu Mar 19 15:03:52 1992 Bob Kerns (rwk at taunton.crl.dec.com)
261 * Canonicalize number expressions.
263 Tue Mar 17 10:35:45 1992 Per Hammarlund (perham at perham.nada.kth.se)
265 * Added to a regexp in edict-display so that english verbs that
266 have a dictionary entry like /to XXX/ shall be treated as exact
267 matches in the match-list.
269 * fixed a small index error in edict-remap-romaji.
271 Tue Mar 17 10:06:48 1992 Bob Kerns (rwk at taunton.crl.dec.com)
273 * Merged in my changes below into 0.9, and made it 0.9.1
275 Mon Mar 16 00:28:23 1992 Bob Kerns (rwk at taunton.crl.dec.com)
277 * Prevent infinite recursion if rules have a loop.
279 * Add conjunctive form. (¤ê¤¤¤·¤Á¤ê¤¤¤¤Ó¤ß), and ¤¹¤ë¡¿¤º¤ë¡¿¤¸
282 Mon Mar 16 09:38:44 1992 Per Hammarlund (perham at perham.nada.kth.se)
284 * Set the version to 0.9 and the date to current.
286 * Added functions to clean up a eigo string that, for whatever
287 reason has been written in both ASCII and JIS/EUC. For instance
288 the string "str£á£î£ç£å", will be tranformed to plain "strange".
289 The remap relation can be done better, and it should probably be
290 more complete. How about a complete new nemacs-string* function
293 * Changed the function edict-find-word-at-point that finds an
294 english word to take eigo written in Japanese [£á-£ú£Á-£Ú] into
297 * Rewrote the version code, more things to be able to keep the
298 date and the version on different variables.
300 * Added/rewrote the "Getting Started Guide" in the file edict.el.
302 * Started on the documentation. edict.texinfo, Took out a number
303 of lines from the edict.el file.
305 * Changed the name of the variable *private-edict-file* to
306 *edict-private-file*, just to keep variable names consistent.
308 Mon Mar 16 00:28:23 1992 Bob Kerns (rwk at taunton.crl.dec.com)
310 * Add ¤µ¤ó¡¢¤µ¤Þ¡¢ÍÍ¡¢Äº¤¯¡¢¤Á¤ã¤ó¡¢·¯¡¢¤¯¤ó
312 * Add ¤ª¤ë to ½õÆ°»ì¡¼£±¡£
314 * We have to add 1 to the window height because they include the
315 mode line. This was hiding the last entry found when there were
318 *¡Öº¹¤·¾å¤²¤ë¡×¤Î²¾Ì¾·Á¤È´Á»ú·Á
320 * Add ·ÁÍƻ졼¤«¤é¤º.
322 * ½õÆ°»ì ¤«¤é ½õÆ°»ì¡¼£±¡Ä½õÆ°»ì¡¼£´¤Þ¤Çʬ¤±¤Æ¤µ¤»¤¿¡£¡Öº¹¤·¾å¤²¤ë¡×
325 * Add the ¡¼¤º verb endings as alternates to ¡¼¤Ê¤¤, and
326 add ¡Ö¤»¤º¡×¤ÎÆÃÊ̥롼¥ë
328 Sun Mar 15 00:01:05 1992 Bob Kerns (rwk at taunton.crl.dec.com)
330 * ¡Ö¤¤Æ¡¿¤·¤Æ¡×¤ÎÆÃÊ̥롼¥ë: Fix bug introduced in fixing another
333 * Add ¤¯ to the list of endings that ½õÆ°»ì apply to. This is
334 actually confusing things a bit, but in a way that helps the user.
335 Logically, if an adverb appears before a verb which is sometimes a
336 ½õÆ°»ì, it probably is modifying the verb, not the other way
337 around. But the user was probably asking about the adverb, since
338 the ½õÆ°»ì are all very basic words the user probably knows. I
339 suppose I could start returning ½õÆ°»ì in addition to the main
340 verb, so the user would see these as well. I suspect this would
341 be more distraction than benefit. If the user doesn't know the
342 part that was stripped off, he can just mark it, and inquire.
344 * Add ¤Ê¤ë as ½õÆ°»ì. Add ´Á»ú·Á¤Î¡ÖÍè¤ë¡×¤È¡Ö¹Ô¤¯¡×¤È¡Ö¾å¤²¤ë¡×
347 * Be more careful about ordering the results.
349 * ¡ÖÍè¤Æ¡¿¤·¤Æ¡×¤ÎÆÃÊ̥롼¥ë
351 * Remove debugging notify accidentally left inserted.
353 * Allow modifiers rule after ·ÁÍÆÆ°»ì.
355 * Correct an error in ¡Ö¤¯¤ë¡×¤ÎÆÃÊ̥롼¥ë.
357 * Suppress single-kanji matches unless they're needed.
359 * Didn't have anything for handling ¡¼¤¹¤ë!!
361 * Forgot to drop the ¤ª¡¼ from humble form.
363 * Fix up adjectives once more.
365 * fix humble's regexp
367 * ·É¸ì¤ÎÀÜƬ¼ tried to be both prefix and suffix(!)
369 * ¤Æ¤·¤Þ¤¦ and ¤Ç¤·¤Þ¤¦ cant be combined after all.
371 * Fix incorrect kanji in other-prefixes.
373 * Coallesce the ¤Æ¤·¤Þ¤¦ family into a single rule, and make it
374 properly preserve the ¤Æ¡¿¤ó¤Ç distinction. No need for
375 past-tense forms since they're regular; the past-tense rules
379 * Apply the prefixes only to ´Á»ú
381 * Added ¡¼°÷ to suffixes.
383 * Add basic affixes used with ̾»ì¡£
385 * Explicit rules for ¡¼¤Ê¤¯¡¢¤Ê¤¯¤Æ
387 * Get ·ÁÍÆ»ì negative right, and include more formal varients.
389 * Ê¿²¾Ì¾¤Î¡Ö¤´¡× as honorific prefix, in addition to ¸æ.
391 * Remove ¤¤¤¿ from ½õÆ°»ì; that gets covered elsewise anyway.
393 * Minimum length on ½õÆ°»ì.
395 * Only do command if at least two chars long.
397 * Tighten up a couple more rules wrt °ìÃÊ only after ¤¨¹Ô or ¤¤¹Ô.
399 * Tighten up various rules wrt legal verb endings. No ¤Å¡¢¤º, etc.
401 * Typo in ¡Ö¤·¤è¤¦¡×¤ÎÆÃÊ̥롼¥ë, ¡ÖÍè¤è¤¦¡×¡¢¡Ö¤³¤è¤¦¡×
403 * Forgot a few '$'s on the ends of patterns.
405 * Add a complete set of volitionals. This pretty much completes
408 * Supply a few more ½õÆ°»ì and other endings.
410 * Irregular Í褿¤¬¤ë¡¢¤¤¿¤¬¤ë¡¢¤·¤¿¤¬¤ë
412 * Avoid generating ¤¯ or ¤¹ as entire words.
414 * Fix up ¤¤¤Á¤À¤ó¤Î¡Ö¤¿¤¤¡×¤òºï½ü¤¹¤ë -> °ìÃʤΡ֤¿¤¤¡×¤òºï½ü¤¹¤ë
416 * Add an °ìÃÊÆ°»ì version of the desiderative rule.
418 * Added ¡¼¤¿¤¬¤ë to desideratives.
420 * Tighten up ¤¤¤Þ¤¹¡£
422 * Tightened up adjective rules so they don't go off on ¤¯¤ë¡£
424 * Added Irregular Íè¤Þ¤¹¡¢¤·¤Þ¤¹¡£
426 * Irregular Í褤, ¤·¤í
428 * Add irregular info for ¤·¤Ê¤¤, ¤Ê¤¤.
430 * Correct mistaken rule for ¤¿¤Ê¤¤.
432 Sat Mar 14 16:22:07 1992 Bob Kerns (rwk at taunton.crl.dec.com)
434 * Add edict-test-string.
436 * Add debugging feature to edict-expand-string to help track down
437 what rules do what in the event of surprises.
439 * Handle ¤¿¤é as part of the ¤Æ¡¿¤¿ rules. Faster, and doesn't
440 generate spurious instance of plain past.
442 * Include the zenkaku versions of the punctuation in
443 *edict-(kanji|eigo)-whitespace*.
445 * Clean up some lurking problems in edict-clean-up-(kanji|eigo)
447 * Fix a problem with exact matches in the substitution routines.
449 * Make edict-expand-string more aggressive in preventing possible
452 * Add ¤µ¤ì¤ë rule for its irregularity.
454 * Add Íè¤é¤ì¤ë rule for its irregularity.
456 * Add ¹Ô¤¯ special rule for its irregularity
458 * Additions to improve window handling
459 Add private dictionary, and commands to add to it.
460 Add morphologic analysis so that the dictionary forms
461 of words can be found from inflections/affixes/etc.
462 Add rule for plain negative, plain imperitive.
463 Add rule for desiderative.
464 Make it require cl.el, since I got tired of using a crippled lisp.
465 Use DEFSTRUCT for the rules, and give them names so that
466 you can redefine a rule without having to reload the entire
468 Add '#' to the characters that get flushed from kanji words
469 since that's a common inclusion character in fj newsgroups.
470 Split the set out into a variable *edict-kanji-whitespace*
471 to aid in user extensibility.
472 Added rule for °ìÃÊÆ°»ì ¤Æ¡¿¤¿ -> ¤ë conversion, which
473 I accidentally deleted earlier.
474 Added conditional form for adjectives.
475 Added causitive, passive, °ìÃÊÆ°»ì potential
476 Added some more missing °ìÃÊÆ°»ì rules, and
477 tightened up a number of rules, especially °ìÃÊÆ°»ì rules.
478 Upgrade the sorting of exact matches to the top to
479 handle exact matches of dictionary forms produced by
480 the rule set. For example, ¸«¤Ê¤¯¤Æ should have ¸«¤ë
481 sorted to the top of the list.
482 Updated credits. Added *edict-eigo-whitespace* like
483 *edict-kanji-whitespace*, and fixed a bug in the code.
484 Added rules for ¡¼¤Á¤ã¤¦¡¢¡¼¤Á¤ã¤Ã¤¿
486 Fri Mar 13 17:45:27 1992 Per Hammarlund (perham at perham.nada.kth.se)
488 * Merged Bob's extensions just below into the distribution
489 version. (Some of the things mentioned right above here,
492 Fri Mar 13 17:44:06 1992 Bob Kerns (rwk at crl.dec.com)
494 * Added functionality to translate verbs and adjectives to a basic
497 Wed Mar 11 09:41:23 1992 Per Hammarlund (perham at perham.nada.kth.se)
499 * Added edict-version and a variable *edict-version* to keep track
500 of the current version of the software.
502 * Type checks on the variable *edict-files* in function
505 Tue Mar 10 10:22:21 1992 Bob Kerns (rwk at crl.dec.com)
507 * I've fixed some lingering bugs in restoring the window sizes
508 in multi-window mode.
510 * I've made it canonicalize whitespace, so that you can select
511 jukugo that wrap around lines, include whitespace, or whatever.
512 Also, multi-word english phrases can include newlines,
515 Tue Mar 10 07:11:24 1992 Bob Kerns (rwk at crl.dec.com)
517 * I fixed the displaying to not screw up if there's a window above
518 (for example, when using it on fj.* gnus articles it used to
519 gradually grow the Subject window and shrink the Article window).
521 * I put giving a positive argument to the searching commands add a
522 new entry. Locally, I put these commands on m-& and m-*; and if
523 m-& doesn't find a compound, I do c-U m-& and add it.
525 * m-- m-& (or whatever) will remove the window. I did this
526 because c-X 1 is too much; if I was in 2 window mode, I don't want
527 to go to 1 window mode.
529 * I made the display show any exact matches before the inexact
530 matches. So if I do it on »ö, I get that line first, instead of
531 buried in amongst all the compounds that sort earlier.
533 Mon Mar 9 00:00:00 1992 Bob Kerns (rwk at crl.dec.com)
535 * This gives you m-X edict-add-english and m-X
536 edict-add-kanji, and automagically maintains a private
537 dictionary in *edict-private-file*.
539 1991, 1992 Per Hammarlund (perham at perham.nada.kth.se)
541 * Wrote the bare bones of edict.el.