[developers] minor code change in PET

Stephan Oepen oe at csli.Stanford.EDU
Mon Mar 5 22:50:36 CET 2007


hei!

i just checked in a few small changes to PET, re-activating the option
`-interactive-online-morphology'.  in this mode, cheap will invoke the
orthographemic component of a grammar only, e.g.


  echo sleeps | cheap -interactive-online-morph english
  sleeps
  sleep   (sleep (plur_noun_orule sleeps))
  sleep   (sleep (third_sg_fin_verb_orule sleeps))
  sleeps  (sleeps)

  3 chains in 0 s

in his work on improved unknown word handling, tim thought this mode
could be useful.

bernd, it looks as if there was some dead code around the ONLINEMORPH 
preprocessor define?  from what i found, i think it might be safe now
deleting old code (i.e. the disabled bits in the Grammar object).  is
the full-form morphology still an active option?  i admit, i would no
longer know how to invoke it :-).

                                                     all best  -  oe

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Universitetet i Oslo (IFI); Boks 1080 Blindern; 0316 Oslo; (+47) 2284 0125
+++     CSLI Stanford; Ventura Hall; Stanford, CA 94305; (+1 650) 723 0515
+++       --- oe at csli.stanford.edu; oe at ifi.uio.no; oepen at idi.ntnu.no ---
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the developers mailing list