Skip to content
/ rapcast Public
forked from m-cahana/rapcast

ML project that predicts rappers' hometowns based on their lyric corpus

License

Notifications You must be signed in to change notification settings

maxine/rapcast

 
 

Repository files navigation

Rapcast

Predicts where a rapper grew up and started their career based on their lyric corpus

Playing with the dataset:

import json
from collections import Counter

with open('./input/bag_of_words.json') as f:
  bag = json.load(f)

for artist, bag_of_words in bag.items():
  bag[artist] = Counter(bag_of_words)

To see most common words for a particular artist: bag[<ARTIST>].most_common(<INT>)

To see how many times an artist says a given word: bag[<ARTIST>][<WORD>]

About

ML project that predicts rappers' hometowns based on their lyric corpus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 91.8%
  • Python 4.6%
  • JavaScript 2.1%
  • CSS 1.5%