Entries in standard and customized definition tables require a special syntax. Each entry must include a token, line type, and attribute; optionally, an entry can include an operation and attribute modifiers. This topic describes the syntax and structure of non-pattern definition entries. For more information about Parser pattern syntax, see Parser Pattern Structure.
Note: A position value is added to the Standard Definition table by default. For BDP entries,
position is DEF (default) unless modified in the word definition table. For more
information, see Positions.
Syntax
TOKEN OPERATION LINE TYPE POSITION KEYWORD=ATTRIBUTE, ATTRIBUTE MODIFIER
Note: OPERATION and ATTRIBUTE MODIFIER are optional.
CDP Example
'MARY' INSERT NAME BEG ATT=GVN_NM1 GEN=F
where:
'MARY' | = | Token |
INSERT | = | Operation |
NAME | = | Line Type |
BEG | = | Position |
ATT=GVN_NM1 | = | Attribute |
GEN=F | = | Attribute modifier |
BDP Example
'NORTH' INSERT MISC DEF ATT=BRAND RECODE='NORTH FACE'
where:
'NORTH' | = | Token |
INSERT | = | Operation |
MISC | = | Line Type |
DEF | = | Position |
ATT=BRAND | = | Attribute |
RECODE='NORTH FACE' | = | Attribute modifier |