搜索资源列表
Word-count
- 读取一个文件中单词出现的次数,通过C++的标准库STL的使用以及文件的操作,实现其功能-Read out the number of word used in a file
M
- 字典树的基本功能是用来查询某个单词(前缀)在所有单词中出现次数的一种数据结构,它的插入和查询复杂度都为O(len),Len为单词(前缀)长度,但是它的空间复杂度却非常高,如果字符集是26个字母,那每个节点的度就有26个,典型的以空间换时间结构。-The basic function of the dictionary tree data structure is used to query a number of times a word (prefix) appears in all the
Word-statistics
- 英文小说存储在一个文本文件中。待统计的词汇集合要一次输入完毕,即统计工作必须在程序的一次运行之后全部完成。输出的每个单词的出现次数。约定小说中的词汇一律不跨行,这样每从文本文件中读入一行,就统计每个单词在这行中出现的次数,直到文件结束。 要求在程序运行时才输入文本文件名和要统计的词汇。 -English fiction is stored in a text file. Collection of statistical vocabulary to be entered once co
code
- 给定多个目录,要求并发地统计这些目录下所有文件中,英文单词出现的次数。 假设:目录下的文件只包含英文单词 限制:采用多进程协作的方式 功能要求:词频统计结果需要写入指定的结果文件。用户可以通过查看这一结果文件, 了解这些目录下文件中的词频统计信息-Given multiple directories, the number of requests that all files in these directories, the English word appears c
erlang3
- 1.Erlang二分搜索 从一个已排好序的列表中寻找是否包含某元素,返回true/false 2.为文本建立索引 给定一个由英文单词构成的文件,为文件中所有单词建立索引,记录每个单词出现的行号和每行出现的次数,并将索引存入一个文件。 -1.Erlang binary search from an already sorted list to find if a certain element, returns true/false 2. Establish a file inde
c_lianxi3
- 统计输入中所有单词的出现次数,这里用二叉树这种数据结构。-Enter the number of occurrences of all words in the statistics, here with a binary tree data structure
Keyword-Search-System
- 建立一个文本文件,文件名由用户用键盘输入,输入一个不含空格的关键字,统计输出关键字在文本中的出现次数。 本项目的设计要求可以分成两个部分实现:首先建立一个文本文件,文件名由用户用键盘输入;然后输入一个不含空格的关键字,统计输出该单词在文本中的出现次数。-Create a text file, the file name input by the user using the keyboard, enter a keyword with no spaces, statistical outpu
Organize-files
- 输入一个文件名(英文文件),使用二叉树整理这个文件内的所有单词,并可以按字母顺序输出所有出现的字母及其出现次数,统计出现次数最多的10个单词-Enter a file name (English documents), using binary collation of all words within the file, and can output all appear in alphabetical order of the letters and the number of occurr
Day1
- 统计一篇英语短文中出现的单词以及这个单词出现的次数-calculate the number of word and record the times that appeared in a paper
subject2
- 给定全英文文章,编程实现统计单词个数、标点符号种类及出现次数、给出出现频率TOP10的单词列表及出现次数。-Given a full English articles, programming statistics the number of words, punctuation, type and number of occurrences are given word list number, frequency of TOP10 and the emergence of.
1
- 某文本文件由 字符 组成, 字符 被 分割符 分割为 单词 。 要求程序接受指定文件,分析出其有哪些 单词 组成,并统计每一个 单词 的出现次数, 最后根据出现次数由少到多排序,输出 单词 列表。 //文件包含源码、详细解题报告等-A text file by the " character" component, " character" was " delimiter" split " the word."
daopai
- 建立倒排表,从txt文本独处单词,无重复记录单词,计算出现次数,建立倒排表-Establish inverted list txt text alone word, no word duplicate records, calculate the number of occurrences, the establishment of inverted list
Assignment_1
- 统计一篇文章中各个单词出现的次数,并输出,然后按次数多少进行排序-word sort
Wordprocess
- 用字典树统计一个文件中单词的出现次数,将单词及其出现次数按照字典中的顺序保存在输出文件中。-Use Trie Tree to statistic the number of words appeared in a document, save the word and its number of occurrences to the output file in the order according to the dictionary.
number-of-word-which-is-read
- 程序的作用在于统计并输出所读入的单词出现的次数-The role of the statistical process and outputs the read number of times the word appears
ConsoleApplication3
- 建立有n个单词的链表,重复单词只在链表中保留一个,出现次数高的单词前-The establishment of a n-word list, leaving only a repeated word in the list, the number of occurrences of a word before high
SumWords
- 数据结构大作业的成果,词频统计程序,JAVA语言写的一个类,可以用来统计一段文本中各个单词出现的次数。-Data structure operation results, statistical procedures, a kind of JAVA language, can be used to the number of each word of a text in statistics.
WordCount
- 基于Java的一个单词计数器,输入一段字符计算器中不同单词出现的次数,并可以查询某个单词出现的位置以及次数-Java-based word counter, enter the number of times a different word appears in a character calculator, and can query the location of a word and the number of occurrences
Trie_and_Huffman
- 功能1:使用一种树型结构来实现我们的单词计数功能——Trie树 功能2:Huffman树进行编码 程序输入: 第一行为一个正整数n,表示输入单词的总数。 接下来的n行,每行为一个单词,单词由不超过10个的小写英文字母组成。 接下来的一行为一个正整数m,表示查询的次数。 接下来的m行,每行为一个数字和一个查询,当数字为1时,查询为单词,输出该单词出现的次数(可以为0);当数字为2时,查询为Huffman编码,输出对应的单词(该Huffman编码对应的单词确定存在)。(Function
str终版
- 统计单词出现的次数,并按照出现的次数排序(The number of occurrences of statistical words)