{"id":23029658,"url":"https://github.com/antononcube/raku-dsl-english-classificationworkflows","last_synced_at":"2025-04-02T20:25:36.922Z","repository":{"id":71383519,"uuid":"291176115","full_name":"antononcube/Raku-DSL-English-ClassificationWorkflows","owner":"antononcube","description":"Raku package for making classification workflows from natural language commands (in English.)","archived":false,"fork":false,"pushed_at":"2024-08-17T22:56:01.000Z","size":150,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-08T11:13:06.551Z","etag":null,"topics":["classification","parser"],"latest_commit_sha":null,"homepage":"","language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antononcube.png","metadata":{"files":{"readme":"README-work.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-29T01:07:40.000Z","updated_at":"2024-08-17T22:56:04.000Z","dependencies_parsed_at":"2024-01-19T04:22:50.356Z","dependency_job_id":"fc847712-9c2f-40b2-882a-31f926d3b7d9","html_url":"https://github.com/antononcube/Raku-DSL-English-ClassificationWorkflows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antononcube%2FRaku-DSL-English-ClassificationWorkflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antononcube%2FRaku-DSL-English-ClassificationWorkflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antononcube%2FRaku-DSL-English-ClassificationWorkflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antononcube%2FRaku-DSL-English-ClassificationWorkflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antononcube","download_url":"https://codeload.github.com/antononcube/Raku-DSL-English-ClassificationWorkflows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246886469,"owners_count":20849867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classification","parser"],"created_at":"2024-12-15T14:16:36.112Z","updated_at":"2025-04-02T20:25:36.900Z","avatar_url":"https://github.com/antononcube.png","language":"Raku","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DSL::English::ClassificationWorkflows (Raku package)\n\n## In brief\n\nThis Raku (Perl 6) package has grammar classes and action classes for the parsing and\ninterpretation of natural Domain Specific Language (DSL) commands that specify classification workflows.\n\nThe interpreters (actions) target different programming languages: Python, R, Raku, Wolfram Language (WL), and others.\nAlso, different natural languages.\n\nCurrently, the generated pipelines are for the software monad\n[\"ClCon\"](https://github.com/antononcube/MathematicaForPrediction/blob/master/MonadicProgramming/MonadicContextualClassification.m)\nimplemented in WL, [AAp1], and WL's built-in commands.\n\n**Remark:** \"ClCon\" stands for \"Classification using a Context\". \n\n**Remark:** \"WL\" stands for \"Wolfram Language\". \"Mathematica\" and \"WL\" are used as synonyms.\n\n------------\n\n## Installation\n\nZef ecosystem:\n\n```\nzef install DSL::English::ClassificationWorkflows\n```\n\nGitHub:\n\n```\nzef install https://github.com/antononcube/Raku-DSL-English-ClassificationWorkflows.git\n```\n\n------------\n\n## Examples\n\n### Programming languages\n\nHere is a simple invocation:\n\n```perl6\nuse DSL::English::ClassificationWorkflows;\n\nToClassificationWorkflowCode('make a logistic regression classifier', 'WL::ClCon');\n``` \n\nHere is a more complicated pipeline specification used to generate the code\nfor two WL classification systems:\n\n```perl6\nmy $command = q:to/END/;\nuse dfTitanic;\nsplit the data with ratio 0.73;\ncreate a logistic regression classifier;\nshow precision and recall;\nshow top confusions, misclassified examples, least certain examples;\nshow ROC plots;\nEND\n\nsay $_.key, \"\\n\", $_.value, \"\\n\"  for ($_ =\u003e ToClassificationWorkflowCode($command, $_ ) for \u003cWL::ClCon WL::System\u003e);\n```\n\n### Natural languages\n\n```perl6\nsay $_.key, \"\\n\", $_.value, \"\\n\"  for ($_ =\u003e ToClassificationWorkflowCode($command, $_ ) for \u003cBulgarian English Russian\u003e);\n```\n\n------------\n\n## Command line interface\n\nThe package provides Command Line Interface (CLI) for its functionalities:\n\n```shell\nToClassificationWorkflowCode --help\n```\n\n------------\n\n## Versions\n\nThe original version of this Raku package was developed/hosted at\n[ [AAp2](https://github.com/antononcube/ConversationalAgents/tree/master/Projects/ClassficationWorkflowsAgent) ].\n\nA dedicated GitHub repository was made in order to make the installation with Raku's `zef` more direct.\n(As shown above.)\n\n------------\n\n## References\n\n[AAp1] Anton Antonov,\n[Monadic contextual classification Mathematica package](https://github.com/antononcube/MathematicaForPrediction/blob/master/MonadicProgramming/MonadicContextualClassification.m),\n(2017-2022),\n[MathematicaForPrediction at GitHub](https://github.com/antononcube/MathematicaForPrediction).\n\n[AAp2] Anton Antonov,\n[\"Classification workflows conversational agent\"](https://github.com/antononcube/ConversationalAgents/tree/master/Projects/ClassficationWorkflowsAgent),\n(2017),\n[ConversationalAgents at GitHub](https://github.com/antononcube/ConversationalAgents).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantononcube%2Fraku-dsl-english-classificationworkflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantononcube%2Fraku-dsl-english-classificationworkflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantononcube%2Fraku-dsl-english-classificationworkflows/lists"}