Skip to content

Commit

Permalink
Changed rhyming setting for longer words
Browse files Browse the repository at this point in the history
  • Loading branch information
ohjay committed Oct 12, 2015
1 parent cc39f9f commit c3f4770
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion js/rhyme_lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ for (var mobyword in mobypron) {
var lookup = function(word) {
if (mobypron.hasOwnProperty(word)) {
var pronFields = mobypron[word].split(/\/+/);
if (pronFields.length > 2) {
if (pronFields.length > 4) {
pronFields.splice(0, pronFields.length - 3);
} else if (pronFields.length > 2) {
pronFields.splice(0, pronFields.length - 2);
}

Expand Down
1 change: 0 additions & 1 deletion lyrics.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ There’s albums to drop, there’s liquor involved
There’s stories to tell, we been through it all
Interviews are like confessions
Get the fuck about my dressing room, confusing me with questions
Like:


Do you love this shit?
Expand Down

0 comments on commit c3f4770

Please sign in to comment.