搜索资源列表
chinese
- 中文信息处理基础 第一讲VC环境编程简介 第二讲文件处理 第三讲字符编码 第四讲字频统计 第五讲文本断句 第六讲语料库-Basic information first deal with English-speaking environment for programming VC brief introduction stresses the second file handle character encoding the third stresses t
fenxi
- 设计并实现C语言的词法分析程序,要求如下: (1) 可以识别出用C语言编写的源程序中每个单词符号,并以记号的形式输出每个单词符号。 (2) 可以识别并读取源程序的注释。 (3) 可以统计源程序中的预计行数,单词个数和字符个数,其中标点和空格不计算为单词,并输出统计结果。 (4) 检察源程序中存在的错误,并可以报告错误所在的行列位置。 (5) 发现源程序中存在的错误,进行是党的恢复,使词法分析可以继续进行, 依次词法分析处理,可以检查并报告源程序中存在的所有错误。-CiFaFe
CIFAFENXI
- C语言 词法分析器。 (1) 可以识别出用C语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号. (2) 可以识别并读取源程序中的注释. (3) 可以统计源程序中的语句行数、单词个数和字符个数,其中标点和空格不计算为单词,输出统计结果. (4) 检查源程序中存在的非法字符错误,并可以报告错误所在的行列位置. (5) 发现源程序中存在错误后,进行适当的恢复,使词法分析可以继续进行,通过一次词法分析处理, 可以检查并报告源程序中存在的所有词法拼写错误.-C l
Huffman-coding-and-decoding
- 在从键盘上输入字符时,只要是键盘上的字符任何字符都能接受,并能统计出输入的一串字符串中各个字符出现的次数,作为构建哈夫曼树时的各叶子结点的权值。 本程序同时具有译码功能 -Character input from the keyboard, as long as any of the characters in the character on the keyboard can be accepted, and the statistics of the number of occurr
Haffuman
- 哈夫曼编码应用。随机输入一段英文,统计输出该段英文中各字母的出现频率及总的字符数,利用哈弗曼算法对各字母进行编码并输出编码结果,输出该段英文的哈弗曼编码 -Huffman encoding applications. Random inputing a section of English, statisticing and outputing the frequency of each letter in the English and the total number of chara
homework
- 有一篇文章,共有三行文字,每行有80个字符,要求分别统计出其中英文字母大写字母,小写字母,数字,空格以及其他字符的个数。-There is an article, there are three lines of text, 80 characters per line, which requires a number of statistics were English uppercase letters, lowercase letters, numbers, spaces and othe
LEX1
- 编译原理程序一。编写一个LEX源程序,使之生成可统计文本文件中字符、单词和行数,并且能够报告统计结果的程序。-A program compiler theory. Write a LEX source, so that it generates statistical characters, words and lines in a text file, and to report the results of statistical procedures.