Summary

In this analysis, I build on a previous analysis which aimed to discover latent topics present in State of the Union addresses (since 1790), whereas here I develop a language model (ULMFit) using fastai. I preprocess the text by breaking each address into sentences, split those into words, remove all punctuation and non-alphanumeric, tag each word with its’ part of speech and them lemmatize each word using a word net lemmatizer. I then run Trump’s latest SOTU (2019) into this model.

You can find my Google Colab notebook for this analysis here.