N-Gram Shakesperean Text Generator with Smoothing Using Pytorch
Overview: This is a simple project to develop a n-grame text generation model (with smoothing).
The goal is to use a corpus consisting of Shakespeare's plays to generate text in Shakesperian style. Furthermore, perplexity of a text is rated with the given model.
See .pypb file for the code.
Hope it helps you understand better.
Regards, Ammar