Commit 6bc6d47f by Steven Bird

fixed documentation to handle the fix where repr and str were swapped

parent 5f9178cd
......@@ -1663,6 +1663,7 @@ class ConditionalFreqDist(defaultdict):
the indexing operator:
>>> cfdist[3]
FreqDist({'the': 3, 'dog': 2, 'not': 1})
<FreqDist with 3 samples and 6 outcomes>
>>> cfdist[3].freq('the')
0.5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment