Coder Social home page Coder Social logo

notlyrics's Introduction

NotLyrics

NotLyrics is a Python program to test out Markov chains. When an artist is given to the program, it will download the lyrics, and then generate a fake lyric based out of the composistion of the real lyrics for the artist.

You can see a very rough example of the program in action at: http://uraqt.xyz/notlyrics

This project was made possibly largely because of the markovify library: https://github.com/jsvine/markovify, and http://www.songlyrics.com/

NotLyrics will eventually download all of an artist's songs, so as to have a bigger library of text to make sentences out of. The first time that an artist is requested it will download 20 songs. Then if the same artist is requested 30 minutes later it'll request another 5, until all of the songs have been downloaded. I don't want to hammer the Lyrics website with requests, but I found that on average 20 songs is where you start getting new/interesting sentences. So I thought this was a fair enough compromise.

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.