Generating Urdu poetry using SpaCy in Python. Poetry has been generated by using Uni-grams, Bi-grams, Tri-grams and through Bidirectional Bigram Model and Backward Bigram model.
- Updated
- Jupyter Notebook
![]() |
VOOZH | about |
Generating Urdu poetry using SpaCy in Python. Poetry has been generated by using Uni-grams, Bi-grams, Tri-grams and through Bidirectional Bigram Model and Backward Bigram model.
CSE 256 LIGN 256 - Statistical Natural Lang Proc - Nakashole [FA24] PA4
This project implements and evaluates a trigram language model using the NLTK Brown corpus. It performs next-word prediction with Laplace smoothing, sentence generation, probability estimation, and perplexity evaluation, demonstrating core concepts in statistical language modelling and NLP, alongside controlled text generation and analysis.
Add a description, image, and links to the tri-gram topic page so that developers can more easily learn about it.
To associate your repository with the tri-gram topic, visit your repo's landing page and select "manage topics."