hgtrans control GetNumberOfLabelAliasRules

Gets the number of currently defined aliases.

Syntax

hgtrans control GetNumberOfLabelAliasRules subcase, datatype, level

Application

HyperGraphTrans Tcl Get

Description

This command gets number of currently defined aliasing rules for a specificed subcase, datatype and level.

Inputs

subcase
The name of the subcase in which to apply the rule.
datatype
The name of the datatype in which to apply the rule. (Does not apply if the level is “subcase”.)
level
The level of labels at which to apply the rule.
datatype
request
component

Example

Adds a rule to change the word “head” in all request names to its Spanish equivalent “cabeza” and then check the number of defined aliases (should be one).
hgtrans control AddLabelAliasRule “head” “cabeza” “Subcase 1” “Displacement” request
hgtrans control GetNumberOfLabelAliasRules “Subcase 1” “Displacement” request

Errors

None.

Keywords

get channel alias