Grammar Engineering Frequently Asked Questions

How can I input strings from non-ascii character sets?

The LKB is unicode enabled, but the parse input dialogue box does not allow non-ascii input. That leaves two options:

  • Batch parsing. test.items and other files used as input to the batch parser can be in unicode.
  • Interacting with the LKB through the tty interface in emacs:
    • Go to the *common-lisp* buffer.
    • Make sure you're in the LKB package, by typing :pa lkb at the lisp prompt.
    • Then type: (do-parse-tty "[your string, in any character set]").

For more on input methods for non-ascii character sets in emacs, see the emacs documentation on MULE.

Related topics

Back to FAQs page

Back to main course page

-- EmilyBender - 01 Dec 2004

Topic revision: r5 - 2005-05-20 - 19:59:35 - EmilyBender

This site is powered by the TWiki collaboration platformCopyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Privacy Statement Terms & Conditions