Open Cpgeragh opened 3 days ago
https://medium.com/@vsagziyagli/text-generation-using-n-grams-ef49e6e43d39#:~:text=Tokenize%20Words%20and%20Create%20N%2DGRAM%20Dictionary%3A&text=We%20fill%20the%20keys%20by,the%20values%20by%20following%20words. https://towardsdatascience.com/text-generation-using-n-gram-model-8d12d9802aa0 https://www.numpyninja.com/post/n-gram-and-its-use-in-text-generation https://www.kaggle.com/code/dimitriirfan/text-generation-using-n-gram-model
Description: Create a function that uses the trigram model from Task 1 to generate synthetic text sequences, starting with an initial two-character seed.
Checklist: