搜索资源列表
统计单词个数
- 利用哈希表统计文本文件中单词的个数,哈希函数的实现为取模法,利用链地址法解决冲突。-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.
shuju
- 文章通过对实序列快速傅里叶变换的算法推导及Mallat 算法原理的分析,根据离散小波变换(DWT)算 法结构特征,提出了一种离散小波的快速变换算法,给出了相应的算法步骤。从数学理论上进行了论证,并把该算法 应用到静态图像处理中,得到了很好的快速和重建效果,具有一定的实用价值。 关键词:小波分析;Mallat 算法;快速小波算法 图像处理 中图分类号:TN914 文献标识码:A 1 引言 小波分析是近十多年来迅速发展起来的新兴学科和信号分析理论,是继傅里叶分析方法之后的重
PATTREE
- pat-tree中文抽词,中文字词搜寻演算法.-pat-pumping tree Chinese words, the Chinese word search algorithms.
gtrtgdfg
- 遍历是二叉树经常要遇到的一种操作.可以运用到二叉树结点计数,线索化二叉树,求二叉树的深度,表达式求值等算法中.在遍历的过程中,对结点的访问具有普遍的含义,可以是输出各结点的数据域信息,也可以是对结点作其他处理.另外,通过一次完整的遍历,可使二叉树中结点信息由非线性排列变为某种意义上的线性排列.也就是说,遍历操作使非线性结构线性化. -traverse binary tree is frequently encountered in a operation. Binary Tree ca
9_76
- 问题的提出:编写一个长途电话计费程序,计费规则是每6秒钟0.06元,要求能输入发话地、收话地,输出话费。-the problem : the preparation of a long-distance telephone billing procedures, billing rules every six seconds to 0.06 yuan. asked the caller to input land. words, the output calls.
pro
- 如果采用单链表保存单词,可采用如下办法压缩存储空间。如果两个单词的后缀相同,则可以用同一个存储空间保存相同的后缀。例如,原来分别采用单链表保存的单词Str1“abcdef”和单词Str2“dbdef”,经过压缩后的存储形式如下。 请设计一个高效的算法完成两个单链表的压缩存储,并估计你所设计算法的时间复杂度。 要求:阅读预设代码,编写函数SNODE * ziplist( SNODE * head1, SNODE * head2 ) ziplist的功能是:
pragma-warning
- 从输入的英文句子中找出单词个数,并找出最长的单词和最短的单词。-English sentences from the input to find the number of words, and find the longest words and the shortest words.
Graph
- 是一个在学习数据结构时编写的图结构,主要是用两种方法生成需要的图结构,其中有一个头文件都注释了,要是要使用的话,只需要将另一个头文件注释并把这个取消注释,在main方法中改一个类名就好了-Is a data structure in the learning plan to prepare the structure, is mainly used two methods to generate the need for the graph structure, in which there i
word
- 模仿word对英文字符的操作,输入一篇英文文章,可以对其段落进行剪切、复制、粘贴等操作,并可以计算其单词数和段落数-Word of English characters to imitate the operation, enter an English article, you can carry out their paragraphs cut, copy, paste and other operations, and can calculate the number of its wor
Hashset
- 一个拼写检查程序,用来检查你的输入的文件中的单词是否拼写错误,并给你给出可能的拼写建议。(用Hashset实现)(卡耐基梅隆大学ssd5数据结构Option Exercise4答案) 程序参数设置(第一个为要输入的词库文件,本例中是wordlist.txt, 第二个为要检查的文件,必须为txt格式,本例中用test.txt来检查)-A spelling checker to check your input file is misspelled words, and give you a p
tanxin
- 在对问题求解时,总是做出在当前看来是最好的选择。也就是说,不从整体最优上加以考虑,他所做出的仅是在某种意义上的局部最优解。-In problem solving always made in the current appears to be the best option. In other words, do not be optimal from an overall consideration, made by him are in a sense only the local opti
wordGame
- 本文件包含两个功能相同的cpp文件,分别采用了map和priority queue两种不同的数据结构来完成显示双单词在字典动态变化的过程的功能。对于掌握数据结构有一定意义。-This file contains two cpp files with same function, but they use different data structures which are map and priority queue. The function of this file is to trace
StatisticsCharacters
- 可以统计出该文章中的文字、字母、数字、空格的个数。 输入的文章存储状态为静态存储,每行最多不超过80个字符,可自由定义行数N。输入的文字以文本文件的格式保存在磁盘文件中。输入的数据形式可以是大、小写英文字母,任何数字及标点符号。分四行分别输出总字数、字母数、数字个数、空格数。 -May be the statistics in the article text, letters, numbers, the number of spaces. Enter the article is s
Literature_study_helper
- 英文文学研究助手 输入文件名和需要查找的单词可以显示出所查单词出现的行数和个数。-English literature and research assistant enter the file name and the word needs to find out the search words can show the number of rows and number appears.
code
- 这其中涉及了黑名单、文本分类算法、短信内容分词、特征向量 选取等关键技术-That involves a black list, text classification algorithm, SMS is divided into words, feature vector selected key technologies such as
SearchWord
- 电话的号码盘一般可以用于输入字母,使用数据结构及查找相关算法解决,利用电话号码对应单词,得到简单的拼音输入,这种输入还要求有一定的容错功能-Phone number plate can generally be used to enter letters, use the data structure and search algorithm to solve related to the use of telephone numbers corresponding to words, to b
he_fu_man_bian_ma
- 假设一个文件中出现了8种符号S0,SQ,S2,S3,S4,S5,S6,S7,那么每种符号要编码,至少需要3bit。假设编码成000,001, 010,011,100,101,110,111。那么符号序列S0S1S7S0S1S6S2S2S3S4S5S0S0S1编码后变成 000001111000001110010010011100101000000001,共用了42bit。我们发现S0,S1,S2这3个符号出现的频率比较大,其它符号出现的频率比较小,我们采用这样的编码方案:S0到S7的码辽分别01
WebPages_WordSplitting
- 自动提取网页内容(附带简单的 HTTPAnalyzer 类),并根据词典进行分词。-Automatically get the content from webpages, and split the words based on the internal Chinese dictionary.
kkk
- 给定K个单词作为文本的开始。程序每次生成一个单词,其过程为:读取文本中最后的K个单词,并在书中寻找这K个单词连续出现的所有位置,然后从中随机挑选一个位置,并把该位置之后的一个单词加入到文本中。该过程不断重复,直到生成的文本达到最大单词数,或者生成的单词恰好是这本书的最后一个单词。-Given K words as the beginning of the text. Each program generates a word, the process is: read the text in a
compare-the-order-of-words
- 比较单词的顺序,输入两个单词,看他们正序排列的先后顺序-Compare the order of words, enter the two words, look at the positive sequence arranged in the order
