Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.32 KB

README.md

File metadata and controls

38 lines (23 loc) · 1.32 KB

Freshbots.org Lyrics Generator

Netlify Status

A web app to generate lyrics in the style of over 40 artists. The web app was build using React.js and the Material-UI framework.

Usage

  1. Install Packages

    npm install
    
  2. Start the development server

    npm start
    
  3. Production Build

    npm run-script build
    

How it Works

A markov model trained for each individual artist from is first used to generate lines of lyrics. The dataset of lyrics is pulled from Lyrics Beast.

To create the rhymes an LSTM was trained to predict a rhyme pattern based on the previous lines and artist style. The lines of lyrics generated by the markov model are then rearranged to best suite this rhyming style.

Redirects

Since the web app uses React Router, there needs to be a redirects file _redirects added in the dist folder when the app is deployed to Netlify. Otherwise url routes will never go to index.html and React Router will not work, resulting in a page not found error.

A webpack script automatically adds a _redirects file to the dist folder, after running the build command.