[developers] `-yy' option to (the `main' version of) cheap
Stephan Oepen
oe at csli.Stanford.EDU
Mon Jul 4 18:56:06 CEST 2005
howdy,
francis and i just observed that the `main' branch of cheap has changed
the `-yy' option in a way that appears to not be backwards-compatible?
after a bit of poking, it emerged that francis had to say `-tok=yy' to
get a cheap that works with the original JaCY ChaSen interface.
i would not be sad at all if more of the YY-specific code (specifically
the K2Y and now defunct native MRS support) would disappear, but i fear
the `-yy' option (turning on YY input mode) is something people have in
active use. hence, i would suggest to keep its semantics in the `main'
branch too. the following patch, i expect, should be sufficient:
*** /tmp/options.cpp 2005-07-04 18:48:38.000000000 +0200
--- /tmp/options.cpp- 2005-07-04 18:48:27.000000000 +0200
***************
*** 470,479 ****
opt_k2y_segregation = true;
break;
case OPTION_YY:
- opt_tok = TOKENIZER_YY
opt_yy = true;
break;
-
#endif
}
}
--- 470,477 ----
bernd, would you mind integrating this? the behavior francis and i got
from the current code was misleading, as `-yy' is still accepted as an
option, only it no longer has the effect it used to have ...
many thanks in advance - oe
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Universitetet i Oslo (ILN); Boks 1102 Blindern; 0317 Oslo; (+47) 2285 7989
+++ CSLI Stanford; Ventura Hall; Stanford, CA 94305; (+1 650) 723 0515
+++ --- oe at csli.stanford.edu; oe at hf.uio.no; stephan at oepen.net ---
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the developers
mailing list