modifications and documentation of book-similarity TF-IDF