DEV Community

Cover image for NLP-Poetry for the Digitally Challenged..
praveena 0506
praveena 0506

Posted on

1

NLP-Poetry for the Digitally Challenged..

EVER WAnted to write a poem that resonates or read one and think, “This is beautiful, but what does it even mean?” Well, I decided to take that poetic confusion and turn it into an opportunity with some NLP magic and creativity. My project combines the power of poem simplification, poem generation, and figure-of-speech analysis to make poetry approachable for everyone—whether you’re a literature fan or someone who finds poetry intimidating.

HOME PAGE

Here’s what my project offers:
Simplify Complex Poems:

It scans for archaic words and replaces them with modern equivalents, making the language clearer.
Every word is cross-checked against a CSV file of frequently used English words to gauge complexity.
Words that feel overly complex? They get replaced with simpler synonyms, all while maintaining the poem’s structure and rhythm.

Image description

Generate Your Own Poem
Want to write a poem but need a little help? Just give a topic—whether it’s love, coffee, or cosmic mysteries—and let the API generate a unique poem for you.
It’s dynamic, so every topic results in a fresh, creative piece of poetry.

Image description

*Analyze Poetic Devices:
*

Curious about what makes a poem stand out? The project detects figures of speech like metaphors, similes, alliterations, and more, giving you a detailed breakdown of the artistic tools used in any poem.
Whether it’s to sound smart or genuinely understand the beauty of a piece, this feature is your best friend.
Why It Matters:
This tool bridges the gap between traditional poetic beauty and modern accessibility. It allows anyone to appreciate, create, and learn from poetry without needing a degree in literature. Whether you’re simplifying a classic, crafting your masterpiece, or analyzing hidden meanings, this project does it all.

With this project, I’m not just coding—I’m making poetry fun, relatable, and understandable for everyone. Dive into the code and let’s make poetry a little less intimidating and a lot more enjoyable—one verse at a time!

Image description

Let me know if you want further tweaks!

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video