Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Translation of natural language commands to code
Contributed by: Anton Antonov
Code generation based on Domain Specific Language (DSL) specifications.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["AntonAntonov/DSLTranslation"]
To load the code after installation, evaluate this code:
Needs["AntonAntonov`DSLTranslation`"]
| CLIPath | Automatic | path to OS Shell command |
| CopyToClipboard | True | whether to copy the result to the clipboard or not |
| Format | Automatic | format (shape, type) of the output; takes "Assocation" or "Code" |
| FromLanguage | Automatic | which language to parse from |
| Source | "Web" | which DSL translation implementation to use |
| ToLanguage | "WL" | which language to translate to |
Generate Wolfram Language (WL) code for Latent Semantic Analysis (LSA) command:
| In[1]:= |
| Out[1]= |
Translate LSA command from English to Python:
| In[2]:= |
| Out[2]= |
Translate classifier creation command from English to Bulgarian:
| In[3]:= |
| Out[3]= |
Text about additional examples expanding scope (and see other sections for options, applications, etc):
| In[4]:= | ![]() |
| Out[4]= | ![]() |
Translation from Bulgarian to English and Russian:
| In[5]:= | ![]() |
| Out[6]= | ![]() |
Wolfram Language Version 13.0