Providing specific replacement values
For all entity types, you can:
Map original values to replacement values.
Provide a constant value to use to replace all of the original values, except for mapped values.

Mapping original values to replacement values
You can map specific original values to specific replacement values.
For example, for the Given Name entity type, you might indicate to always replace John with Michael and Mary with Melissa.
For original values that are not in the mapping:
If you also provid a constant value, then Textual uses that value.
Otherwise, Textual selects the values.
Providing the mapping
In the text area, provide a JSON object that maps the original values to the replacement values. For example:
With the above configuration for the Language entity type:
All instances of
Frenchare changed toGerman.All instances of
Englishare changed toJapanese.For all other language values, Textual selects the replacement values.
Values are case-insensitive
The values are case-insensitive.
For example, if you specify "John": "Michael", then Structural also replaces john with michael and JOHN with MICHAEL.
Leading and trailing punctuation is ignored
Structural ignores leading and trailing punctuation.
To continue the example of "John": "Michael", Structural also replaces 'John' with 'Michael'.
Providing a constant replacement value
You can provide a single constant value to use to replace all instances of the entity type. For example, you might replace all bank numbers with "0000000".
In the Constant Value field, provide the value to use.
When you provide a constant value, Textual ignores other entity type-specific synthesis configuration.
However, Textual does respect any mappings of original values to replacement values.
Last updated
Was this helpful?