RightFielder Object:Config Example

From Melissa Data Wiki
Revision as of 18:04, 24 February 2014 by Tim (talk | contribs)
Jump to navigation Jump to search

mdRightFielder.cfg: Case Studies The mdRightFielder.cfg file is a plain text file that users can use to tailor Right Fielder Object’s behavior to meet their specific needs. Generally, this is used when a user has input data with a specific quirk or characteristic that Right Fielder on its own can’t handle properly. This file is used to override the default entries from the stock mdRightFielder lookup tables contained in the mdRightFielder.dat data file. By default, both mdRightFielder.dat and mdRightFielder.cfg are installed in… C:\Program Files\Melissa DATA\DQT\Data or the respective Melissa Data data directory in UNIX type OS installations. For complete instructions of available tables and types which can be overridden, as well as syntax and examples, open the mdRightFielder.cfg in a text editor and follow the instructions. There are 3 types of modifications that can be made in mdRightFielder.cfg: • Lookup Table– The addition or removal of words (and phrases) to the Object’s dictionaries. This essentially expands (or limits) Right Fielder’s vocabulary. • Regular Expression– The addition of regular expressions that are used to recognize specific character patterns (for example, phone numbers, e-mails, etc). • Pattern Table – The addition or removal of patterns of words and phrases. Words and phrases are first identified via Lookup Tables and assigned tokens (specified in the Lookup Table itself). Sequences of tokens (patterns) are matched to entries in this table and transformed into output data.