Branches - The Basics

Branches – a powerful and intuitive way to manage different verbal outcome

We developed an easier and more intuitive way to handle different verbal outcomes:
When you write a statement you have the possibility to branch off at certain points in your statement to create more than one way to express your information or to activate different predicaments, depending on the data. For this you can create branches that span one or more words, phrases, or even entire sentences.

This new way of doing things completely replaces the interface for writing variants. The branches appear one below the other in the Write Tab, so you can easily keep track of your construction . For each branch you can specify in the Branching Point different modes of deciding which branch to render, in this way you can easily implement logic while writing your text.

What you can do with branches?

Branches are visual representations of the structures of your statements. Branches give support at formulating your statements in more variable ways and arranging their components according your requirements.

In detail:

  • Write multiple variants of statements and see them all at once .
  • Set and manage synonyms – words, sentence parts or complete sentences for variation in your texts.
  • Define a proper verbal output for different data .
  • Set conditions for rendering certain parts of statements.
  • Adjust the variance of the branches very flexibly by setting a weight parameter.
  • Refer to container by role.
  • Copy and paste branches for multiple use.

The settings for branches and branching

You create branches in the Write Tab of the NLG Platform by marking these parts of a statement, that should have more than one variant (and clicking on the Branching Symbol)
With this marking you define a point where the statements will split into one ore more branches, called branching and the point where the branches come together again.

You can create (sub)-branches within a branch.

Branches settings
For each branch you can define the conditions under which it should appear.

  • Trigger variable Select the corresponding trigger variable you created in the Transform Tab .
  • weight Depending on the specification of the weight, the probability that the branch is triggered increases or decreases.

Branching modes
Branching: The point where the branches separate.
When you click on the Branching Symbol you open the settings of the branching in the right panel, where you can define the mode of rendering the branches:

  • first the first valid branch will be chosen
  • random the branches are chosen randomly

How will branches change your work with the NLG Cloud?

  • Variants
    before: You have one variant of your statements in your field of sight. To see additional variants you have to click.
    now: You see all variants at a glance.
  • Synonyms
    before: Synonyms were basically static text, that was randomly chosen.
    now: you can add grammar information to the synonyms.
  • Phrase Variables: You can also add branches in your Phrase Variable nodes in the Transform Tab .
  • Sentence Groups: In some cases sentence groups can replaced by branches.
  • Preceding and trailing become visible and are no longer necessary.
  • A branch will not be triggered, if the data set of the associated container is not filled. If you want to trigger this branch anyhow, than you can explicitly set Allow empty .

Where to find additional information: