transform

fun transform(semanticValueTransformer: (L2SemanticValue) -> L2SemanticValue): L2Synonym

Transform the Frames and L2SemanticValues within this synonym to produce a new synonym.

Return

The transformed synonym, or the original if there was no change.

Parameters

semanticValueTransformer

How to transform each L2SemanticValue.