Testing an email parser
Test an email parser model to ensure that it extracts the email parts, such as signature, body, and disclaimer correctly. Testing is a good practice after you add training data to an email parser.
- Open the text analyzer that is associated with the email channel:
- In the navigation pane of App Studio, click Channels.
- In the Current channel interfaces section, click the icon that represents the email channel.
- On the channel configuration page, click the Behavior tab, and then click Open text analyzer in Dev Studio.
- At the top of the text analyzer tab, in the CL field,
click the class name, and then click Show in App
Explorer.
Result: The left-hand navigation pane displays the class structure. - In the left-hand navigation pane, expand .
- Click the pyInteractionDF data flow.
- On the data flow canvas, double-click the Text analyzer
shape.
Result: In the Text analyzer configurations dialog box, the Entity ID field displays the email parser model that is used by this text analyzer. - Open the parser model by clicking the Target icon to the right of the Entity ID field.
- In the parser model window, click Test.
- In the test window, enter a relevant message, and verify whether the model parses the text correctly.
Previous topic Training an email parser Next topic Sentiment lexicons