Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

DSLTranslation

Symbols

  • DSLTranslation
AntonAntonov`DSLTranslation`
DSLTranslation
​
DSLTranslation
[cmd]
generates code from the DSL specification
cmd
.
​
​
DSLTranslation[cmd,lng]
generates code for language
lng
.
​
​
DSLTranslation[cmd,fromLngtoLng]
generates code for language
toLng
from language
fromLng
.
​
Details and Options

Examples  
(10)
Basic Examples  
(1)
Generate Wolfram Language (WL) code for Latent Semantic Analysis (LSA) command:
In[1]:=
DSLTranslation
["use aDocs; create document term matrix; extract 20 topics; show topics table"]
Out[1]=
LSAMonUnit[aDocs]⟹LSAMonMakeDocumentTermMatrix[]⟹LSAMonExtractTopics[NumberOfTopics20]⟹LSAMonEchoTopicsTable[]
Translate LSA command from English to Python:
In[2]:=
DSLTranslation
["create document term matrix","Python"]
Out[2]=
.make_document_term_matrix( )
Translate classifier creation command from English to Bulgarian:
In[3]:=
DSLTranslation
["create a random forest classifier","English""Bulgarian"]
Out[3]=
тренирай класификатор с метод: random forest
Scope  
(1)

Options  
(7)

Applications  
(1)

SeeAlso
URLRead
▪
ExternalEvaluate
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com