VerifyInterpretation

VerifyInterpretation

is an option for TextCases, TextPosition and TextContents that verifies that results can be interpreted using Interpreter and related functions and drops those that cannot.

Details

  • When VerifyInterpretationTrue, only substrings that have an interpretation will be returned.

Examples

Basic Examples  (1)

Find all the occurrences of cities in a text:

Obtain the corresponding entities, which may result in some failures:

Get the entities directly from TextCases when they are available, and raw strings when the interpretation fails:

Use VerifyInterpretation to prune out the substrings that cannot be interpreted:

Introduced in 2019
 (12.0)