Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/strizhov/super-simple-file-indexer
A multi-threaded text file indexing command line application that prints 10 most repeated words and their counts.
https://github.com/strizhov/super-simple-file-indexer
Last synced: 3 months ago
JSON representation
A multi-threaded text file indexing command line application that prints 10 most repeated words and their counts.
- Host: GitHub
- URL: https://github.com/strizhov/super-simple-file-indexer
- Owner: strizhov
- Created: 2016-04-05T17:10:55.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-07T15:31:30.000Z (almost 9 years ago)
- Last Synced: 2024-08-01T21:42:57.708Z (6 months ago)
- Language: C++
- Size: 194 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- project-awesome - strizhov/super-simple-file-indexer - A multi-threaded text file indexing command line application that prints 10 most repeated words and their counts. (C++)
README
Super Simple File Indexer
A multi-threaded text file indexing command line application that prints 10 most repeated words and their counts.BUILD
Run "make" in source folder, the executable 'ssfi' will be placed in 'bin' folder
USAGE
$ cd bin
$ ./ssfi --help"Help" command outputs all supported options.
By default the application will try to crawl "*.txt" files in "bin" folder (where the executable file is).
To specify custom directory path, use "-p" option, for instance:$ ./ssfi -p /usr/share/doc
By default the application will use 10 concurrent threads to crawl text files.
To specify custom number of threads, use "-t" option, for instance:$ ./ssfi -t 20 -p /usr/share/doc
Also, you can try a set of examples (text books from Project Gutenberg) located in "example" folder.
For instance:$ ./ssfi -p ../example
AUTHORS
Mikhail Strizhov ([email protected])