tosentiment
Purpose
Converts the term corresponding to the standard or custom sentiment entity from the parent node 'Sentiment Analysis' and replaces it with specific sentiment attributes.
Has no effect for non-sentiment arguments.
Arguments
The function takes one required argument term that defines the term to replace.
The first optional argument restricts the sentiment type ("positive", "negative" or the name of a custom sentiment entity).
You can also replace the term with a specified attribute of a sentiment instead of the whole entity, for example, with its Evaluation. Target attribute is set with field named parameter.