From cd1d047cb84ca4b9596f6e4e5bbdf91536a6aa84 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 19 Jul 2015 18:28:14 +0200 Subject: [PATCH] * Delete out-dated HuffmanCodec comment --- spacy/serialize/huffman.pyx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/spacy/serialize/huffman.pyx b/spacy/serialize/huffman.pyx index 79157dba8..3b3a4ac09 100644 --- a/spacy/serialize/huffman.pyx +++ b/spacy/serialize/huffman.pyx @@ -9,18 +9,6 @@ from .bits cimport BitArray cdef class HuffmanCodec: - """Create a Huffman code table, and use it to pack and unpack sequences into - byte strings. Emphasis is on efficiency, so API is quite strict: - - Messages will be encoded/decoded as indices that refer to the probability sequence. - For instance, the sequence [5, 10, 8] indicates the 5th most frequent item, - the 10th most frequent item, the 8th most frequent item. - - Arguments: - weights (float[:]): A descending-sorted sequence of probabilities/weights. - Must include a weight for an EOL symbol. - - """ def __init__(self, freqs): cdef float count cdef Code code