Highlights
- Pro
Block or Report
Block or report Kraisie
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
-
-
Extract words and example sentences ...
Extract words and example sentences for that word from ebooks (.epub) and sort them by frequency. Useful to find unknown words that you might want to learn (e.g. if the ebook is in another language). 1import ebooklib, re, os
2from ebooklib import epub
3from bs4 import BeautifulSoup
45chars_to_replace = ['“', '”', '"', "‘", "’", ",", ";", "<", ">", "(", ")", "/", "'s", "'ll", ".", "…", "?", "!", "–", "©", "—"]
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.