Phrase Matching Tab

Data Sets

Using this button Data Sets can be added or updated so that the phrase matching or text processing can be developed, tested and refined. Data Sets are based on the developer's previously defined ODBC data sources. An ODBC data sources is linked to a database usually containing a table of example 'messages'.

Text Processor Data Sets Dialog

A TextProcessor Data Set is defined by a chosen Data Set Name, an ODBC Data Source, the Table within that Data Source, and the Field within that Table in which the messages lie. The 'Where' input box allows the messages to be filtered using standard SQL expressions.

Filter

The Filter drop down list boxes allows any of the defined Objects from the Object Phrases Tab and either True or False to be selected. This allows the messages contained in the chosen Data Set to be tested to see if the text expressions associated with the selected Object are present (True) or not present (False).

Advanced Filter

More advanced filtering of the messages contained in the chosen Data Set can be performed with the Advance Filter.

Find Text in Messages Button

This button allows text to be searched for throughout the messages in the Messages Window.

Read Messages Button

The Read Messages Button will read the messages in the chosen data set and list all the messages in the Messages Window that have satisfied the filtering criteria. It will show the number of messages that met the filtering criteria and the total number of messages in the Data Set (also expressed as a percentage).

Messages Window

The Messages Window shows the text (in lower case) of each of the messages that matched the filtering criteria.

Matched Objects Window

The Matched Objects Window shows the results for the highlighted message in the Messages Window. It lists the Objects that were matched by the text expressions that were found and the associated phrase that led to the text expression. The weight of phrase match is shown as well as the weight of the Object match in brackets (amalgamated weight of all the phrase matches of that Object in that message). The weight of the Object is also copied to the fuzzyValue property of the Object. The colour coding of the text expressions helps locate the actual text in the Message Analysis Window.

Message Analysis Window

The Message Analysis Window shows the selected message in full. It shows the matched text expressions highlighted by the colour coding of the Matched Objects Window.

This window also allows the developer to select new phrases and associate them with a particular Object.