AmbiguityList

AmbiguityList[{expr1,expr2,}]

represents possible results derived from an ambiguous semantic interpretation.

AmbiguityList[{expr1,expr2,},"string"]

represents possible results from semantic interpretation of an input string.

AmbiguityList[{expr1,expr2,},"string",{assoc1,assoc2,}]

includes a sequence of associations giving details of the interpretations used to obtain the expri.

Details

Examples

Basic Examples  (5)

Get a list of all possible interpretations:

AmbiguityList may include a substring whose interpretation is ambiguous:

Each interpretation may have an Association describing the nature of the corresponding choice:

Ambiguities can be nested:

Ambiguities can appear within expressions:

Wolfram Research (2014), AmbiguityList, Wolfram Language function, https://reference.wolfram.com/language/ref/AmbiguityList.html.

Text

Wolfram Research (2014), AmbiguityList, Wolfram Language function, https://reference.wolfram.com/language/ref/AmbiguityList.html.

BibTeX

@misc{reference.wolfram_2021_ambiguitylist, author="Wolfram Research", title="{AmbiguityList}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/AmbiguityList.html}", note=[Accessed: 04-December-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_ambiguitylist, organization={Wolfram Research}, title={AmbiguityList}, year={2014}, url={https://reference.wolfram.com/language/ref/AmbiguityList.html}, note=[Accessed: 04-December-2021 ]}

CMS

Wolfram Language. 2014. "AmbiguityList." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AmbiguityList.html.

APA

Wolfram Language. (2014). AmbiguityList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AmbiguityList.html