# 8 TRANSFORM

What to do in the Transform, the functionality: aggregation, calculating, filter, lambda, vertigo (explain)

In the Transform Section you work with a graphical representation of the functions of the NLG Cloud to create variables, logics and conditions that will form the ruleset for your text. You create nodes (boxes in different colors) and join them by dragging connections (arrows) from port to port.

# How to use nodes, ports and connections

  • Click on the node type (in the left columns) you want to use and drag it into the center column.
  • Click on the port and drag the connections to the associated port of another node.

Note: For deleting the arrows click on them to activate them and then click on the red "X".

# Overview of node types

Data nodes: Nodes used for retrieving data.

Mapping nodes: Mapping (Code) are nodes for retrieving and modifying data out of the data source or other nodes. You can use our expression language to create any kind of data extraction. Lookups convert data strings.

Conditions:

Condition (Code) define under which condition a container will be used. You can use our expression language to create any kind of comparisons. Decision: Creates a pre-made decision tree by comparing values Nodes for Variables: Nodes for exposing transformed values

Text: Phrase Nodes provide the higher level grammatical and semantic instances of the nouns and defines the relationship to the according adjectives. Group Nodes expose a group (and have multiple inputs)

Output: Variable Nodes have only an input port. They are the only node types that can be used directly in the text – either to trigger an entire statement or to control the output within a statement.

Nodes for Organizing :

  • Add comments
  • Mark a section of your ruleset and create a subgraph to keep a clear view over your ruleset.
  • Error Nodes: you can use these nodes to skip text generation for certain conditions
  • Subgraphs are an embedded work sheet where you can place your nodes in. They allow you to keep your configurations clean and group certain nodes together. see also: "management tools in the Transform"

# MANAGEMENT TOOLS in Transform

# Subgraph**

Subgraphs are an embedded work sheet where you can place your nodes in our Transform section. They allow you to keep your configurations clean and group certain nodes together. You can create large structures of data handling inside a subgraph and use its results outside without cluttering your main graph. Subgraphs can also be moved, copied and pasted as often as you like and where you like (also to other projects!) How to add ports to subgraphs

  • Add a subgraph in the Transform section of the COMPOSER
  • In the right menu, find Input Connectors and Output Connectors
  • Click on ADD CONNECTOR in either section to add Ports to the subgraph. Error (Error message) LookupTable Keys add phrases Edit heads (Noun, Adjective, Headnoun)

# Comments