Skip to content

GeFaqNonAlpha

EricZinda edited this page Jun 30, 2023 · 4 revisions

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 the Grammar Engineering FAQ.

Clone this wiki locally