Description: self contained Huffman encoder and decoder with CLI.
Simple program written in C. The program encode text entered to a file. The file is used by the decoder to recover text. Platform: |
Size: 3072 |
Author:DeamonKenji |
Hits:
Description: This a program to encode and decode huffman code for strings. The input should be a text file with two dimentional string array.-This is a program to encode and decode huffman code for strings. The input should be a text file with two dimentional string array. Platform: |
Size: 3072 |
Author:Santron |
Hits:
Description: 给出输入文件content.txt,里面包含一段文字,编程实现哈弗曼编码方法,将输入文件编码后的结果输出到encode.txt;读入上面编码后的结果encode.txt,编程实现解码过程(需要编码时的哈夫曼树,存在tree.txt中),解码后的结果输出到decode.txt。
-Given input file content.txt, which contains some text, programming Hafu Man coding method, the input files encoded output to encode.txt after reading the above code results encode.txt, programming decoding process ( Huffman encoding tree needs, there tree.txt in), the decoded output to decode.txt. Platform: |
Size: 52224 |
Author:zeng jiabei |
Hits:
Description: 哈弗曼编码,给出输入文件content.txt,里面包含一段文字,编程实现上面选择的一种编码方法,将输入文件编码后的结果输出到encode.txt;读入上面编码后的结果encode.txt,编程实现解码过程(需要编码时的哈夫曼树,具体数据结构及保存自己设计),将解码后的结果输出到decode.txt;-The Haffuman encoding given input file content.txt, which contains a paragraph of text, and programming to achieve the above choice of an encoding method, the resulting output of the input file encoded to encode.txt read the results of the encode into the above coding.txt, programming the decoding process (requires the encoding of the Huffman tree, the specific data structures and the preservation of their own design), the decoded output the results to decode.txt Platform: |
Size: 37888 |
Author:jygb007 |
Hits:
Description: 用霍夫曼编码的方式实现对一个文本文件的编码和解码。本程序产生的编码后的文件应该尽可能的小,解码后的文件应该和原来的文件是一样的。本算法的实现应该是高效的。
一些可能用到的数据结构和方法在下面列出。如果你发现另外一种更好的数据结或者方法,这很好,你并不需要用到任何特定的数据结构。
-Huffman encoding of the way to encode and decode a text file. This procedure produced encoded files should be as small as possible, the file should be decoded and the original file is the same. The implementation of this algorithm is efficient.
Some data structure and methods may be used are listed below. If you find another better data node or method, which is good, you do not need to use any particular data structure. Platform: |
Size: 3072 |
Author:frankie |
Hits:
Description: 使用C语言实现从指定文件中读取文本内容,并运用哈弗曼编码对文件进行编码,存储到指定的文件中。-Using C language to read the text from the specified file and use Huffman coding to encode files stored in the specified file. Platform: |
Size: 1702912 |
Author:蜗牛 |
Hits:
Description: 哈夫曼编码
(1) 建立Huffman Tree,也就是建立codebook,找到所有ascii对应的codeword表示方法。
(2) Huffman Encode,将DaVinciCode.txt 整个文本进行编码,储存成一个压缩档,并且使用bitstream来存入。
程序执行方法 : encoder.exe DavinciCode.txt codebook compressed_file-Huffman coding (1) the establishment of Huffman Tree, which is the establishment of codebook, find all the ascii representation corresponding codeword. (2) Huffman Encode, will DaVinciCode.txt entire text is encoded into a compressed file storage and uses bitstream to deposit. Program execution method: encoder.exe DavinciCode.txt codebook compressed_file Platform: |
Size: 1581056 |
Author:wu chan mao |
Hits:
Description: 1) I:初始化(Initialization)。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree中。
2) E:编码(Encoding)。利用已建好的哈夫曼树(如不在内存,则从文件hfmTree中读入),对文件ToBeTran中的正文进行编码,然后将结果存入文件CodeFile中。
3) D:译码(Decoding)。利用已建好的哈夫曼树将文件CodeFile中的代码进行译码,结果存入文件TextFile中。(1) I: initialization (Initialization). From the terminal read into the character set size, N, and n characters and N weights, the establishment of Huffman tree, and save it in the file hfmTree.
2) E: coding (Encoding). Using the built Huffman tree (if not in memory, then read it from the file hfmTree), encode the text in the file ToBeTran, and then put the results in the file CodeFile.
3) D: decoding (Decoding). Huffman tree has been built using the file CodeFile code for decoding, the results stored in the file TextFile.) Platform: |
Size: 586752 |
Author:星恋*情殇
|
Hits: