Skip to content

Commit 713645e

Browse files
committed
Update documentation
1 parent 5c41058 commit 713645e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

_sources/chap12.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2285,7 +2285,7 @@
22852285
"metadata": {},
22862286
"source": [
22872287
"Dictionaries provide a method called `setdefault` that we can use to do the same thing more concisely.\n",
2288-
"Ask a virtual assistant how it works, or copy `add_word` into a virtual assistant and ask \"Can you rewrite this using `setdefault`?\"\n",
2288+
"Ask a virtual assistant how it works, or copy `add_bigram` into a virtual assistant and ask \"Can you rewrite this using `setdefault`?\"\n",
22892289
"\n",
22902290
"In this chapter we implemented Markov chain text analysis and generation.\n",
22912291
"If you are curious, you can ask a virtual assistant for more information on the topic.\n",

chap12.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ <h3><span class="section-number">12.12.1. </span>Ask a virtual assistant<a class
14291429
</div>
14301430
</div>
14311431
<p>Dictionaries provide a method called <code class="docutils literal notranslate"><span class="pre">setdefault</span></code> that we can use to do the same thing more concisely.
1432-
Ask a virtual assistant how it works, or copy <code class="docutils literal notranslate"><span class="pre">add_word</span></code> into a virtual assistant and ask “Can you rewrite this using <code class="docutils literal notranslate"><span class="pre">setdefault</span></code>?”</p>
1432+
Ask a virtual assistant how it works, or copy <code class="docutils literal notranslate"><span class="pre">add_bigram</span></code> into a virtual assistant and ask “Can you rewrite this using <code class="docutils literal notranslate"><span class="pre">setdefault</span></code>?”</p>
14331433
<p>In this chapter we implemented Markov chain text analysis and generation.
14341434
If you are curious, you can ask a virtual assistant for more information on the topic.
14351435
One of the things you might learn is that virtual assistants use algorithms that are similar in many ways – but also different in important ways.

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)