# HG changeset patch
# User Nathann Cohen
# Date 1299151679 -3600
# Node ID c81f23649116b14014570a54b39fb3e62e3b5462
# Parent 9874dc07c1c07cc425ee2b285c1567b93ec3e9c7
trac 10864 - Minor corrections in the documentation of Huffman class
diff -r 9874dc07c1c0 -r c81f23649116 sage/coding/source_coding/huffman.py
--- a/sage/coding/source_coding/huffman.py Wed Mar 02 10:27:42 2011 +0100
+++ b/sage/coding/source_coding/huffman.py Thu Mar 03 12:27:59 2011 +0100
@@ -105,12 +105,11 @@
- A dictionary that associates to each symbol of an alphabet a numeric
value. If we consider the frequency of each alphabetic symbol, then
- ``table`` is considered as the frequency table of the alphabet with
+ ``source`` is considered as the frequency table of the alphabet with
each numeric (non-negative integer) value being the number of
occurrences of a symbol. The numeric values can also represent weights
of the symbols. In that case, the numeric values are not necessarily
- integers, but can be real numbers. In general, we refer to ``table``
- as a weight table.
+ integers, but can be real numbers.
In order to construct a Huffman code for an alphabet, we use exactly one of
the following methods: