Description: 能进行文本文件的读写操作,所有单词均放入文本文件中,进行检索和计数操作。单词的检索(返回为该单词在文本文件中的位置,可能多个,需返回多个位置)和计数(计数包括单词检索时的个数和全部单词的个数计数)。-Can read and write text files to operate, all the words are Add text file for retrieval and counting operation. Word search (back to the words in the text file, possibly more than the need to return multiple locations) and the count (count includes the number of word retrieval when the number of words and all count). Platform: |
Size: 902144 |
Author:迟浩东 |
Hits:
Description: 封装一个类CText, 并编写一个软件,它可以完成对任意一个文本文件的字符统计工作,
可以统计的信息有:中文字符数、英文单词数、行数、字符个数(不计空格)、空格数。
同时上述的字符统计信息,要求能写到一个Report.txt文件中,并且能显示出来。但是不要求界面,只要能以命令行的形式输入及显示即可,另外统计功能也可参考Word中 的“字数统计工具”。
序遵循题目的要求,采用Visual Studio 2008编译环境编写,使用C++语言来完成。其中主要功能封装在CText类当中,并利用文件流来进行存取操作,同时在程序设计中实现了局部语言环境的切换,实现了对含中文的地址路径的正确解析。-Packaging a class CText, and write a software, it can complete any of the characters in a text file, statistical work,
Statistical information can include: the number of Chinese characters, English words the number of rows, number of characters (excluding spaces), number of spaces.
At the same time the above-mentioned character statistics, hoping that they can write a Report.txt file, and can be displayed. But does not require interface with the command line as long as the form of input and display can be other statistical functions can also refer to Word s "word count tool."
Order to follow the requirements of the subject, using Visual Studio 2008 to prepare the build environment, using C++ language to complete. Main function of which were encapsulated in the CText class and use the file stream to carry out access operation, while programming language environment to implement a partial switch to realize the right path with the correct address in Chinese parsing. Platform: |
Size: 10240 |
Author:DongMu |
Hits:
Description: mapreduce算法的phoenix架构实现和一个使用实例,用mapreduce算法对一个输入的文本文件中的单词计数。-mapreduce algorithm phoenix architecture implementation and a use case, use mapreduce algorithm a input text file of the word count. Platform: |
Size: 16384 |
Author:Benjamin |
Hits:
Description: 在Linux上写的一个C程序,借助Lex做词法分析来同时统计N个文本文件的字符数,单词数和行数。-In Linux, written in a C program, using lexical analysis to the same time, Lex to do a statistical N number of characters in a text file, word count and the number of rows. Platform: |
Size: 1024 |
Author:xerxes |
Hits:
Description: 一份用C++所编写的文本文件单词计数与设计的设计性文档。-A C++, a text file prepared by the design of the word count of document and design. Platform: |
Size: 16384 |
Author:罗葵 |
Hits:
Description: frequency字频统计。从文件读入若干个文本,输出频率最大TOP100(数值可改)的排名、字、出现次数、频率。-Word frequency statistics. Read from the file number of the text, the output frequency of the largest TOP100 (values can be changed) ranking, word, count, frequency. Platform: |
Size: 1104896 |
Author:haoziliu |
Hits:
Description: 利用 BackgroundWorker 组件进行多线程处理
按 F5 运行该应用程序。
显示窗体时,在 sourceFile 框中输入要测试的文件的路径。 例如,假定测试文件名为 Test.txt,则输入 C:\Test.txt。
在第二个文本框中,输入要让该应用程序在文本文件中搜索的字词或短语。
单击 Start 按钮。 LinesCounted 按钮应当立即开始递增。 在任务完成后,应用程序将显示“计数完成”(Finished Counting) 消息。-Using the BackgroundWorker component multithreading Press F5 to run the application. Form is displayed in the sourceFile box, enter the path to the file you want to test. For example, assume the test file named Test.txt, enter C: \ Test.txt. In the second text box, enter the text to make the application file in a word or phrase in the search. Click the Start button. LinesCounted button should be immediately increased. The task is completed, the application will display " count done" (Finished Counting) message. Platform: |
Size: 41984 |
Author:王聪 |
Hits:
Description: TotalFileWords - C # file word count tool source code of the program statistics in text files and Word documents.
1.Doc document text (and images) can also be read
2.increase the "space is negligible" option
3.Increase the statistical number of rows, the number of characters, the number of non-kanji Platform: |
Size: 143360 |
Author:jack |
Hits: