搜索资源列表
统计单词个数
- 利用哈希表统计文本文件中单词的个数,哈希函数的实现为取模法,利用链地址法解决冲突。-use Hash Table Statistics text file number of words, the realization of Hash Functions for Remainder law, the use of chain law addresses solution to the conflict.
countWordTimes
- 对文档中的某一单词进行统计,使用C++在VC环境中开发.-right documentation of a particular word statistics, the use of the VC C development environment.
Self
- 统计一个txt文件中字符的个数和单词的个数 可以指定文本文件中搜索指定字符-a txt document the number of characters and words can specify the number of text files to search for the designated characters
jeromel
- 利用Hash技术统计单词的频度。扫描一个C源程序,用Hash表存储该程序中出现的关键字,并统计该程序中的关键字出现的频度。用线性探测法解决Hash冲突。设Hash函数为:Hash(Key)=[(Key的首字母序号)*100+(Key的尾字母序号)] Mod 41 -use statistical word frequency. Scanning a C source files, using the hash table storage procedures of the keyword s
literature_research.ZIP
- 一个文本分析程序。实现分析一段文本中字母,N个字母的单词和具体单词出现的次数。-a text analysis program. Implementation Analysis section of the text of letters, the N-word letter word and the specific number.
chf
- 递归的字符串逆序,将带有空格的一行字符串按照单词的顺序逆序排列.例如:this is a string. 转化为string a is this.-recursive string reversal, with his string of blanks in accordance with the order of words printed in reverse chronological order. For example : this is a string. into a string
Invert
- 用于信息检索方面,可以试试看,还不错的。每次只能输入一个单词,可以检索出所有与之匹配的文件名字,和相应的位置。
ai
- 本程序利用java语言实现了对英文单词的模拟识别。
dic
- 词典 Time Limit:3000MS Memory Limit:65536K Total Submit:2349 Accepted:603 Descr iption 你旅游到了一个国外的城市。那里的人们说的外国语言你不能理解。不过幸运的是,你有一本词典可以帮助你。 Input 首先输入一个词典,词典中包含不超过100000个词条,每个词条占据一行。每一个词条包括一个英文单词和一个外语单词,两个单词之间用一个空格隔开。而且在词典中不会有某个外语单词出现超
expression
- 需求分析 (1) 任何一个表达式都是由操作数、运算符和界限符组成的,我们称之为单词. (2) 表达式求值首先要符合四则运算规则: ① 先乘除,后加减 ② 从左到右进行运算 ③ 先括号内,后括号外 (3) 功能实现: ① 若当前单词为数字串,则压入数值栈 ② 若当前单词为运算符并大于运算栈的栈顶符号,则进栈 ③ 若当前单词为运算符并等于运算栈的栈顶符号,去括号,输出 ④ 若当前单词为运算符并小于运算栈的栈顶符号,则进行运算
1151
- 浙江大学ACM 1151题,开始的时候刚刚做过一个题目是将整行反转的,那个很简单哦,没有什么意思,不过这个就比较有意思了!是要求只把单词反转! 有兴趣的可以看看~
pl0(2)
- 对PL0原编译器进行了以下的扩充:1.增加以下保留字else(elsesym), for(forsym),to(tosym),downto(downtosym),return(returnsym),[(lmparen),](rmparen) 2.增加了以下的运算符:+=(eplus),-=(eminus),++(dplus),--(dminus) 取址运算符&(radsym),指向运算符@(padsym) 3.修改单词:修改不等号#为<> 4.扩充语句:(1)增加了e
Huffman
- 哈夫曼编码,按字母或按单词的编码两种实现
dict
- 设计并实现解字典问题的O(nlogn)时间算法,对于给定的字典dict和文本text,找出text 中出现次数最多的不在字典dict中的单词
analyse
- 课题问题描述 1. 根据算符优先分析算法,编写一个语法分析程序,可以选择以下三项之一作为分析算法中的输入: (1)直接输入根据已知文法人工构造的算法优先关系矩阵 (2)输入已知文法和FIRSTVT、LASTVT集合,由程序自动生成该文法的算法优先关系矩阵 (3)输入已知文法,由程序自动生成该文法的算法优先关系矩阵。 2. 程序具有通用性,即所编制的语法分析程序能够适用于不同文法以及各种输入单词串,并能判断该文法是否为算符文法和算符优先文法。 3. 对
编写一个函数单词逆序存放
- 编写一个函数InverseByWord(char *sentence), 实现一个英文句子按单词逆序存放的功能,并给出测试程序。(50分) 如:This is an interesting programme. 逆序后变为:.programme interesting an is This-Write a function InverseByWord (char* sentence), to achieve an English sentence by the word st
word-counting
- 统计文章中每一个单词出现次数的程序,是C语言中字符串处理的经典教学例子-Article statistics the number of occurrences of each word in the process, the C language teaching in a classic example of string handling
cidian
- 对拼写单词进行纠正,适合进一步学习,不过里面没有词库。-Be corrected on the spelling words for further study, but there' s no thesaurus.
Mathematical-simulation
- 用英文单词模拟数学计算,实现功能:读入两个小于100的正整数A和B,计算A+B,需要注意的是:A和B的每一位数字对应的英文单词给出-Mathematical simulation using English words, to achieve function: reads two positive integers less than 100 A and B, calculate A+ B, be noted that: A and B, each number corresponds to
统计单词个数C语言算法
- 输入一行字符,计算该行字符中包含多少个单词,单词之间用空格分隔开。