Modeler:15/GenerateExpressions
Generate Expressions
Run > Expressions... (F7) writes the facts in your repository as expressions: as readable text for domain experts to validate, as documentation for analysts, or as an expression file that CaseTalk can read again later.
The same options also decide how a diagram's Verbalizations tab reads, once they are kept in a profile (see Profiles).
The options are on the left; the preview on the right shows the result as you change them, drawn exactly as the Expression File window draws expressions: type names as titles, comments, an icon for each kind of expression, a flag for expressions in another language, counter examples struck through and unconfirmed examples in italics.
Audience
Who the result is written for.
Domain Experts
Plain sentences, without codes or file syntax.
- For reading text - sentences to read and validate. With every option turned on, this gives you a business glossary.
- For speech engine - the same sentences, prepared to be read aloud.
- For scenario reading - the facts told as a story per instance.
- Append Type Name - mentions the type each value belongs to.
- Extended Context - also tells what the same instance takes part in as its supertype or subtype, under an as <type>: heading.
Analysts
Expressions together with the model levels behind them.
- Object Type Level, Label Type Level, Label Level - add the expressions at those levels.
- Nested Predicates - show nested fact types inside the expression.
- With Expression Codes and With Substitutions - add the codes that link an expression to the model.
CaseTalk
An expression file: the format CaseTalk reads back with the Expression File window. When the file is generated from the model, every expression already carries its expression code.
Include
- Questions - also the questions that were stated as expressions.
- All Fact Types - also list the types that have no expressions (yet), so nothing in the selection is left out unnoticed.
- Comments - the descriptions of the types.
- Business Rules - the verbalized rules (constraints) of each type.
- Custom Attributes - the custom attributes of each type.
- Include OTE's - also the object type expressions, not only the fact expressions.
Selection
- Which types - the current model, all diagrams that are open, or one diagram. When you start from a diagram (its window is active, or it is selected in the project), that diagram is chosen for you.
- Validated & Unvalidated - all expressions, or only the validated or only the unvalidated ones.
- Examples - all valid examples, only confirmed ones, only unconfirmed ones, or only counter examples. A file with only counter examples is marked as such and is read back that way.
- Locale - all languages, or one. Only the expressions in that language are written, and type names and comments are taken in that language.
Profiles
Profiles... keeps a combination of options under a name, so you can use it again:
- Save as - store the current options as a profile.
- Load - pick one of your profiles.
- Delete - remove the loaded profile.
- Defaults - back to your standard settings.
A profile keeps every option above, including the locale; it never keeps the selection. The same profile can therefore be used for a whole model here, and for a single diagram on its Verbalizations tab.
Writing the result
OK writes the result:
- For CaseTalk, a new expression file is added to your project; you choose where it goes.
- When you regenerate an expression file that is already saved (from its window), it is written again in place, without asking.
- For domain experts and analysts, a text file is written and opened; for the speech engine it is read aloud.
A generated expression file remembers the options it was made with, so regenerating it later starts from the same options. That part of the file is kept for CaseTalk and is not shown in the Expression File window.
Verbalization Options

When opened from a diagram's Verbalizations tab, this dialog appears as Verbalization Options: only the options, for that one diagram, and the preview is the Verbalizations tab itself. OK keeps the options in the profile you were editing (or asks a name when you started from the diagram style), and the tab uses it from then on. Cancel leaves the tab as it was.
Other versions: v8 | v9 | v10 | v11 | v12 | v13 | v14 | v15
| Expressions | |
|---|---|
| Dialogs | Expression Input · Expression Viewer · Expression File · Expression Tree · Generate Expressions |
| Reference | Expression Unification · Special Keywords |
