Skip to content

2KAbhishek/poetry-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

86 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

License People Stars Forks Watches Last Updated

Analyze your poetry βœπŸ»πŸ“ƒ

poetry-checker Demo
poetry-checker screenshot

What is this

A poetry checking tool that analyzes poems and tells you information about them. Can tell you different types of poetry based on dictionary and rhyming.

Inspiration

Always enjoyed poetry, read about dictionaries and rhyming, implemented this.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of python

Getting poetry-checker

To install poetry-checker, follow these steps:

git clone https://github.com/2kabhishek/poetry-checker
cd poetry-checker

Using poetry-checker

To run poetry-checker, follow these steps: python src/poetry_program.py

By default it looks at the sample_poems directory, add your poem to the directory and run the program. Enter the file name when prompted.

Tests

Every module has it's own doctest, which can be run by running python -m doctest -v <module>. Unit tests can be ran using python -m unittest.

Custom linter is present in the util directory.

How it was built

poetry-checker was built using python

Challenges faced

Setting up tests was tricky, due to module path issues.

What I learned

  • Learned about doctest and found it very useful for documentation.
  • Pronunciation and they are used in rhyming.
  • Different types of poetry.

What's next

Add CLI flags to pass in poems.txt file.

Hit the ⭐ button if you found this useful.

More Info

About

Analyze your poetry βœπŸ»πŸ“ƒ

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages