SemanticInterpretation

SemanticInterpretation["string"]

attempts to give the best semantic interpretation of the specified free-form string as a Wolfram Language expression.

SemanticInterpretation["string",pattern]

filters possible semantic interpretations, returning the best one that matches the specified pattern.

SemanticInterpretation["string",pattern,head]

returns the semantic interpretation wrapped with the specified head.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Get the best semantic interpretation of a string:

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

Scope  (4)

Options  (3)

See Also

SemanticImport  SemanticImportString  Interpreter

Introduced in 2014
(10.0)