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!

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay