README-work

Epidemiology Modeling Workflows

In brief

This Raku package has grammar classes and action classes for the parsing and interpretation of natural language commands that specify epidemiological modeling workflows.

It is envisioned that the interpreters (actions) are going to target different programming languages: R, WL, Python, etc.

In the first version(s) the workflows targeted are Epidemiology Compartmental Modeling workflows, [AAr1, AAr2].

Installation

From Zef Ecosystem:

zef install DSL::English::EpidemiologyModelingWorkflows

From GitHub:

zef install https://github.com/antononcube/Raku-DSL-English-EpidemiologyModelingWorkflows.git

Examples

Here an epidemiology model simulation workflow is specified and translated to R code with the package ECMMon-R, [AAr2] :

use DSL::English::EpidemiologyModelingWorkflows;

say ToEpidemiologyModelingWorkflowCode('
     create with SEI2HR;
     assign 100000 to total population;
     set infected normally symptomatic population to be 0;
     set infected severely symptomatic population to be 1;
     assign 0.56 to contact rate of infected normally symptomatic population;
     assign 0.58 to contact rate of infected severely symptomatic population;
     assign 0.1 to contact rate of the hospitalized population;
     simulate for 240 days;
     plot results;
', 'R-ECMMon');

Versions

The original version of this Raku package was developed/hosted at [ AA3 ].

A dedicated GitHub repository was made in order to make the installation with Raku's zef more direct. (As shown above.)

References

[AAr1] Anton Antonov, Coronavirus-propagation-dynamics, (2020), SystemModeling at GitHub.

[AAr2] Anton Antonov, Epidemiology Compartmental Modeling Monad in R, (2020), ECMMon-R at GitHub.

[AA3] Anton Antonov, Epidemiology Modeling Workflows Raku Package, (2020), ConversationalAgents at GitHub.

DSL::English::EpidemiologyModelingWorkflows v0.5.0

Epidemiology Modeling workflows building by natural language commands.

Authors

  • Anton Antonov

License

GPL-3.0-or-later

Dependencies

DSL::Shared:ver<0.2.11+>

Test Dependencies

Provides

  • DSL::English::EpidemiologyModelingWorkflows
  • DSL::English::EpidemiologyModelingWorkflows::Actions::Bulgarian::Standard
  • DSL::English::EpidemiologyModelingWorkflows::Actions::Python::ECMMon
  • DSL::English::EpidemiologyModelingWorkflows::Actions::R::ECMMon
  • DSL::English::EpidemiologyModelingWorkflows::Actions::WL::ECMMon
  • DSL::English::EpidemiologyModelingWorkflows::Grammar
  • DSL::English::EpidemiologyModelingWorkflows::Grammar::EpidemiologyPhrases
  • DSL::English::EpidemiologyModelingWorkflows::Grammarish

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.