"InterpreterType" (Interpreter Type)
"InterpreterType" (Interpreter Type)
An Interpreter type expressed in natural language.
Details
- "InterpreterType" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "InterpreterType" requires connectivity to the Wolfram Cloud.
Restriction Specifications
-
Restricted["InterpreterType",{{choice1,…}}] one among choices
Interpretation
- "InterpreterType" yields an Interpreter object.
Examples
Basic Examples (4)
Interpreter["InterpreterType"]["countries"]Interpreter["InterpreterType"]["an imaginary number"]Interpreter["InterpreterType"]["one among {1, 2, 3}"]Interpreter["InterpreterType"]["a number expressed in natural language"]The obtained Interpreter can be directly applied to an input:
Interpreter["InterpreterType"]["a chemical element"]["oxygen"]Interpreter["InterpreterType"]["a chemical element"]["foo"]Interpreter["InterpreterType"]["length"]Interpreter["InterpreterType"]["number between 0 and 1"]Interpreter["InterpreterType"]["a place in italy"]Interpreter["InterpreterType"]["integer between 2000 and 3000 with , as number separator"]Related Guides
History
Introduced in 2015 (10.3)