="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">TextLearner</span><span class="op">(</span></span>
<span>  <span class="va">dls</span>,</span>
<span>  <span class="va">model</span>,</span>
<span>  alpha <span class="op">=</span> <span class="fl">2</span>,</span>
<span>  beta <span class="op">=</span> <span class="fl">1</span>,</span>
<span>  moms <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(<