If decorators are new to you, here is the Github Gist of a Jupyter notebook I made based on this excellent introduction blog post. You may find the Notebook easier to follow, your mileage may vary. As explained below, this is a beginner-to-intermediate tutorial, it assumes decorators are not brand new concepts to you, but you’re having … Read more yafpdt yet another fing python decorator tutorial intermediate
This is from an analysis of Brigham Young University’s Corpus of Historical American English, sort of a way-better-curated and easier-to-search version of Google Ngram Viewer. It covers a selected corpus of English from different genres and sources from 1810 to 2009. Of course, the analysis is biased towards words at the beginning or end of the … Read more The Most Decade-Specific Words of the Past Two Centuries
The following chart is an interactive heat map of the probability that, given the letter on the vertical axis in an English word, the next letter will be the letter on the horizontal axis. Conditional probabilities can give you a headache; that’s why the Monty Hall problem is so difficult. The best way to grasp it is … Read more How often does a given letter follow another in English?