AmbiguityFunction

AmbiguityFunction
is an option for SemanticInterpretation, Interpreter, and related functions that specifies how to resolve ambiguities generated during semantic interpretation.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (6)Basic Examples  (6)

Get the most probable interpretation:

In[1]:=
Click for copyable input
Out[1]=

Get all interpretations:

In[1]:=
Click for copyable input
Out[1]=

Print and return all interpretations:

In[1]:=
Click for copyable input
Out[1]=

Manually select the first interpretation:

In[1]:=
Click for copyable input
Out[1]=

Select only interpretations as countries:

In[1]:=
Click for copyable input
Out[1]=

Ambiguities to be resolved may be nested:

In[1]:=
Click for copyable input
Out[1]=

Choose the date interpretation in month/day/year form:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)