OpenersNotesSection(Spacer1)Details

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Interpret domain names:

Interpreter["TopLevelDomain"]["dot com"]

Restrict to domain names in a class:

Interpreter[Restricted["TopLevelDomain",(EntityClass["country code top\[Hyphen]level internet domains", EntityClass["TopLevelDomain","CountryCode"], "EntityClass[\"TopLevelDomain\", \"CountryCode\"]", "domain names"])]][".edu"]

Interpreter[Restricted["TopLevelDomain",(EntityClass["country code top\[Hyphen]level internet domains", EntityClass["TopLevelDomain","CountryCode"], "EntityClass[\"TopLevelDomain\", \"CountryCode\"]", "domain names"])]][".pl"]

({{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[EntityValue, paclet:ref/EntityValue])}, {Related Entity Types:  (RefLink[TopLevelDomain, paclet:ref/entity/TopLevelDomain])  ▪  (RefLink[InternetDomain, paclet:ref/entity/InternetDomain])  ▪  (RefLink[IPAddress, paclet:ref/entity/IPAddress])  ▪  (RefLink[NetworkService, paclet:ref/entity/NetworkService])}, {Related Interpreter Types:  (RefLink[ComputedTopLevelDomain, paclet:ref/interpreter/ComputedTopLevelDomain])  ▪  (RefLink[InternetDomain, paclet:ref/interpreter/InternetDomain])  ▪  (RefLink[IPAddress, paclet:ref/interpreter/IPAddress])  ▪  (RefLink[URL, paclet:ref/interpreter/URL])  ▪  (RefLink[URLString, paclet:ref/interpreter/URLString])  ▪  (RefLink[URLQueryString, paclet:ref/interpreter/URLQueryString])  ▪  (RefLink[NetworkService, paclet:ref/interpreter/NetworkService])  ▪  (RefLink[Entity, paclet:ref/interpreter/Entity])  ▪  (RefLink[ComputedInternetDomain, paclet:ref/interpreter/ComputedInternetDomain])  ▪  (RefLink[SemanticURL, paclet:ref/interpreter/SemanticURL])  ▪  (RefLink[ComputedNetworkService, paclet:ref/interpreter/ComputedNetworkService])}})}})

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