7.00.02 - Example 2: Specify Rules Table - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17

The rules table defines the same rules as the Rules argument in Example 1.

TextTagging Example 2 Rule Inputs Table rule_inputs
tagname definition
Cricket-Rivalry contain(content,"India",1,) and contain(content,"Pakistan",1,)
Natural-Disaster contain(content, "floods",1,) or contain(content,"tsunamis",1,)
Tennis-Greats contain(title,"Tennis",1,) and contain(content,"Roger",1,)
Tennis-Rivalry contain(content,"Roger",1,) and contain(content,"Nadal",1,)
The-Ashes contain(content,"Australia",1,) and contain(content,"England",1,)