Pipe characters (‘|’)

Pipe characters in CafeTran are used for various things.

(1) To indicate that a glossary entry contains a regular expression. E.g., this is a glossary entry with a regular expression:

|automatische \w+ conversie [TAB] Automatic type conversion1

Note that this only needs to be done in glossaries that have been set to be able to contain both entries with regular expressions, and entries without regular expressions.

You also can set a glossary to contain only regular expressions, by placing a checkmark at ‘Regular expressions only’ in the glossary settings (available by selecting a glossary in the Tabbed pane and clicking Glossary > Edit glossary info). In this case, you don’t need to precede each entry with a pipe character.

See also Source-side regular expressions

(2) To enable stemming for a term. E.g., to catch all the forms stem, stemming, stemmer, stemmed, you would enter the following in your glossary:

stem|

See also Glossaries with stemming

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License