This old project is in the middle of a MASSIVE overhaul that will make it much more interactive and overall a much cooler app! Stay tuned 👀
Allama-Bot is an NLP system that will generates ghazals (form of Urdu poetry) in the style of poet Allama Iqbal
https://www.landofthepure.net/post/the-allama-bot-ai-meets-culture
https://www.landofthepure.net/post/the-allama-bot-anthology
Poetry books (located in books-1-2-3-4) taken from iqbal-demystified-dataset: https://github.com/AzeemGhumman/iqbal-demystified-dataset Model heavily inspired by Tensorflow's NLP Zero to Hero series on YouTube: https://www.youtube.com/watch?v=fNxaJsNG3-s&list=PLQY2H8rRoyvzDbLUZkbudP-MFQZwNmU4S Idea inspired by John Fish's Shakespeare AI video: https://www.youtube.com/watch?v=s1Skhh_Rz58
Full pipeline has not been implemented yet. Feel free to uncomment the bottom line of code in nlpModel.py to train a new model, or run buildGhazal.py to print out generated lines in a couplet format.
tensorflow
numpy
syllables
Run pip install -r requirements.txt to install all dependencies