Grammar Engineering Frequently Asked Questions

What non-alphanumeric chacters are allowed in a string parsed by the LKB and how do I change that?

The alphanumeric characters which will be stripped by the preprocessor are defined in the file lkb/globals.lsp. You can change that list by editing the file. Note, however, that certain characters are meaningful in tdl and therefore can't be used as part of lexical entries.

Note that if you're using a non-latin writing system, and you want to have the punctuation stripped from your input, you'll need to add your punctuation characters to the list in lkb/globals.lsp.

Related topics


Back to FAQs page

Back to main course page

-- EmilyBender - 01 Dec 2004

Topic revision: r2 - 2004-12-01 - 20:14:41 - TWikiGuest
 

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