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.

Back to the Grammar Engineering FAQ.

Last update: 2023-06-30 by EricZinda [edit]