Powered by Zoomin Software. For more details please contactZoomin

Semaphore Publisher Template Reference

wildcard_at_end

  • Last Updated: May 29, 2026
  • 1 minute read
    • Semaphore
    • Documentation

The wildcard_at_end attribute places the specified value at the end of the data field of the generated rule. This attribute is useful for automatically adding wildcard characters when needed. For example, when matching in URLs, Classification Server treats the URL as one string so to be able to match part of that string a wildcard is needed. This is often used in conjunction with wildcard_at_start.

Applies to

Values

Any value, including wildcards supported by Classification Server as defined here.

Example 1

For a model that contains the concept ‘Drug Trafficking’ with Synonyms ‘Drug Barons’, ‘Dealer’, ‘LSD’, ‘THC’ these terms would get assigned the following termtypes:

Concept labeltype wordtype
Drug Trafficking prefLabel MULTIWORD
Drug Barons altLabel MULTIWORD
Dealer altLabel NOUN
LSD altLabel ACRONYM
THC altLabel ACRONYM

Using the following template rule:

<phraselist field="body" wildcard_at_end="*" case="0" stem="1" weight="40"  foreach="1" labeltypes="prefLabel" wordtypes="MULTIWORD"/>

would generate the output:

<phrase field="body" case="0" stem="1" weight="40" foreach="1" data="Drug Trafficking*"/>

Example 2

Not using wildcards. For a model that contains companies e.g. Smartlogic, we may want to assign a higher weighting if it is found as “Smartlogic’s” to do this for all companies we can put the “’s” using the wildcard_at_end attribute

Using the following template rule:

<phraselist field="body" wildcard_at_end="'s" case="0" stem="1" weight="40"  foreach="1" labeltypes="prefLabel" wordtypes="NOUN"/>

would generate the output:

<phrase field="body" case="0" stem="1" weight="40" foreach="1" data="Smartlogic's"/>
TitleResults for “How to create a CRG?”Also Available inAlert