Gutenberg Concordance
The Gutenberg Concordance program was written in one of my favorite languages: Elixir! It uses Project Gutenberg to scrape the text files of books to compile a concordance (a report) of the amount of times a word appears. It uses GenServers to distribute the load across multiple processors, and then places the results into a text file.
It was a unique challenge to great a system of GenServers managed by a supervisor, but this is what makes Elixir so great! We can easy create tons of subroutines to handle the work. It works quick too, and can search through hundreds of books in less than a minute.
See the code on GitHub
Comments
Post a Comment