OpenersNotesSection(Spacer1)Details

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (4)

Interpret plants:

Interpreter["ComputedPlant"]["Salix babylonica"]

Interpret plants derived by computation:

Interpreter["ComputedPlant"]["tallest plant"]

Restrict to plants in a class:

Interpreter[Restricted["ComputedPlant",(EntityClass["plants with orange flowers", EntityClass["Plant","PlantWithOrangeFlowers"], "EntityClass[\"Plant\", \"PlantWithOrangeFlowers\"]", "plants"])]]["plum"]

Apply a property restriction:

Interpreter[Restricted["ComputedPlant",(EntityProperty["mature height", EntityProperty["Plant","MatureHeight"], "EntityProperty[\"Plant\", \"MatureHeight\"]"])->TakeLargest[2]]]["soybean"]

Interpreter[Restricted["ComputedPlant",(EntityProperty["mature height", EntityProperty["Plant","MatureHeight"], "EntityProperty[\"Plant\", \"MatureHeight\"]"])->TakeLargest[2]]]["redwood"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Interpreter, paclet:ref/Interpreter])  ▪  (RefLink[SemanticImport, paclet:ref/SemanticImport])  ▪  (RefLink[Restricted, paclet:ref/Restricted])  ▪  (RefLink[Failure, paclet:ref/Failure])  ▪  (RefLink[Entity, paclet:ref/Entity])  ▪  (RefLink[PlantData, paclet:ref/PlantData])  ▪  (RefLink[EntityValue, paclet:ref/EntityValue])}, {Related Entity Types:  (RefLink[Plant, paclet:ref/entity/Plant])  ▪  (RefLink[Species, paclet:ref/entity/Species])  ▪  (RefLink[Forest, paclet:ref/entity/Forest])}, {Related Interpreter Types:  (RefLink[Plant, paclet:ref/interpreter/Plant])  ▪  (RefLink[Species, paclet:ref/interpreter/Species])  ▪  (RefLink[Forest, paclet:ref/interpreter/Forest])  ▪  (RefLink[Entity, paclet:ref/interpreter/Entity])  ▪  (RefLink[ComputedSpecies, paclet:ref/interpreter/ComputedSpecies])  ▪  (RefLink[ComputedForest, paclet:ref/interpreter/ComputedForest])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Setting Up Input Interpreters, paclet:guide/InterpretingStrings])}})}})