Giter Site home page Giter Site logo

poetry-checker's Introduction

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

poetry-checker's People

Contributors

2kabhishek avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.