+

Search Tips   |   Advanced Search

Normalizing tags

The portal provides several options for normalizing tags. Normalization is a process of transforming a text fragment, such as a tag, into another, more generic representation. This bundles different spellings or grammatical versions of the same lexical word that users might use as tags, for example color, Color, COLOR, colour, colors, colored.

The standard normalization algorithm provided by the portal removes all diacritical marks from all letters of words. This documentation refers to the diacritic free morphological variation of a word as the normalized form of the word.

This is important when you consider which tags to be aggregated together when they are displayed as part of a tag widget, or, even more important, part of a tag cloud.

We can control the normalization behavior by various configuration parameters. To configure normalization behavior, go to Resources > Resource Environment > Resource Environment > Providers > WP CPConfigurationService > Custom Properties. We configure normalization using the following parameter in the portal CP Configuration Service resource environment provider in the WAS console:

    normalization.displayNormalizedName = (false)

    Define whether the normalized tag names are displayed (exposed) in the tag cloud. The default value for this parameter is false.

    com.ibm.wps.cp.tagging.normalization.displayNormalizedNames = false

    normalization.typeAhead = (normalized)

    Define the tag names the type ahead for tag creation mechanism displays to the user. Valid values are normalized and unnormalized. The default value for this parameter is normalized.

    The type-ahead feature works only with the dialog tag widget of the default tagging user interface of portal versions earlier than V 8.5. With WebSphere Portal V 8.5, the tag and rating widgets of earlier portal versions are deprecated.


Parent How tagging and rating works in the portal

Related tasks:

Set service configuration properties

Related reference:

CP Configuration Service for tagging and rating