"InactiveSemanticExpression" (Interpreter Type)
Wolfram Language expression given in natural language.
Details
- "InactiveSemanticExpression" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "InactiveSemanticExpression" does not require connectivity to the Wolfram Cloud.
- "InactiveSemanticExpression" keeps its result unevaluated by wrapping it in Inactivate.
Restriction Specifications
-
Restricted["InactiveSemanticExpression",{{choice1,…}}] one among choices Restricted["InactiveSemanticExpression",symbols] an expression involving only the given symbols (All, Automatic, or an explicit list) Restricted["InactiveSemanticExpression",symbols,contexts] an expression involving only the given symbols or symbols in the given contexts (All, Automatic, or an explicit list) Restricted["InactiveSemanticExpression",symbols,contexts,resultcontext] an expression involving only the given symbols or symbols in the given contexts, where the new symbols are created in resultcontext
Interpretation
- "InactiveSemanticExpression" yields an Inactive Wolfram Language expression.
Examples
Basic Examples (7)
Interpret expressions and avoid evaluation:
Find out Wolfram Language expressions corresponding to natural language queries:
No evaluation is attempted when matching the choices:
By default, all symbols are allowed. Restrict to a list of allowed symbols:
By default, new symbols are created in $Context, but a custom context can be specified: