Photo by Sergey Zolkin on Unsplash

What does normalizing a text do?

We have previously called this method .lower() to turn all of the words lowercase, so that strings like “the” and “The” both become “the”, so we don’t double count them.

What if we wanna do even more?


For example we can strip the affixes from words in a process called stemming. …

NLTK has preprocessed texts. But we can also import and process our own texts.


from __future__ import division 
import nltk, re, pprint

To Import a Book as a Txt

Install urlopen:

!pip install urlopen


import urllib.requesturl = ""
raw = urllib.request.urlopen(url).read()
# <type 'str'>
// 1176831
// 'The Project Gutenberg EBook of Crime…

Previously, we talked about how languages are studied using the notion of a formal language. Formal language is a mathematical construction that uses sets to describe a language and understand its properties.

We introduced the notion of a string, which is a word or sequence of characters, symbols or letters…

Photo by Pixabay from Pexels

Work in Natural Language Processing typically uses large bodies of linguistic data. In this article, we explore some lexical resources that help us ingest and analyze corpora. These resources are part of Python or the NLTK library.

Getting NLTK Corpora

We can access pre-imported corpora in NLTK in one of 2 ways:


Photo by Zaksheuskaya from Pexels

Okay so I’m gonna review After Effects a bit. Adobe’s very own tutorials are actually pretty good. Nice pace and nicely divided into small videos, with notes.

Highly recommend.


  • Create a new composition, make sure the frame height and width make sense
  • Organize your assets into a folder in windows…

Design composition I think is a lot like photography composition.

  • Rule of thirds
  • Diagonals
  • Different patterns like golden ratio
  • Leading lines — use the natural lines to draw the eyes to the subject
  • Negative space — have more negative space, busy photos are not great
  • Colour (make the subject stand…

I was watching this video for 2021 design trends. And illustration or certain types of illustration were in trend. What was even more reassuring was that what was in trend seemed to be simpler things to draw.

It seemed doable.

And basically it’s very clear how real designers and digital…

Why graphics design? Because basically everything I do could benefit from amazing design skills!

From video to websites and apps, making things look good is an essential skill for anyone doing any kind of creative and visual work.


Jake Batsuuri

I write about software && math

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store