Help language development. Donate to The Perl Foundation

Text::CodeProcessing cpan:ANTONOV last updated on 2022-04-27

resources/BookIntroduction.org
#+TITLE: Introduction 

This book discusses the use of the programming language Raku for computational workflows for prediction. 

Workflows that belong to:
  - Machine Learning
  - Scientific computing


Here we load a few packages:

#+BEGIN_SRC raku :results output :exports both :session
use Lingua::NumericWordForms;
use Chemistry::Stoichiometry;
#+END_SRC

Consider examples of converting numeric word forms using the Raku package
[[https://github.com/antononcube/Raku-Lingua-NumericWordForms][Lingua::NumericWordForms]]:

#+BEGIN_SRC raku :results output :exports both :session
from-numeric-word-form('one thousand and twenty three')
#+END_SRC

#+BEGIN_SRC raku :results output :exports both :session
from-numeric-word-form('хиляда и двадесет и три')
#+END_SRC

Here we convert a chemical element symbols to corresponding Russian
names:

#+BEGIN_SRC raku :results output :exports both :session
chemical-element(["O", "Cl", "S"], "Russian")
#+END_SRC