Skip to content

taimurshaikh/Allama-Bot

Repository files navigation

NOTE

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

Allama-Bot is an NLP system that will generates ghazals (form of Urdu poetry) in the style of poet Allama Iqbal

Featured

https://www.landofthepure.net/post/the-allama-bot-ai-meets-culture

https://www.landofthepure.net/post/the-allama-bot-anthology

Sources

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

Usage

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.

Requirements

tensorflow

numpy

syllables

Run pip install -r requirements.txt to install all dependencies

About

NLP bot that generates lines of Urdu poetry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published