Homework 7 INF 552,1. Generative Models for Text(a) In this problem, we are trying to build a generative model to mimic the writingstyle of prominent British Mathematician, Philosopher, prolific writer, andpolitical activist, Bertrand Russell.(b) i.…