Markov Chain Analysis of Chuck Berry's" Johnny B. Goode"

The lyrics:

Deep down in Louisiana
close to New Orleans,
way back up in the woods
among the evergreens,
there stand a country cabin
made of clay and wood,
where lives a young country boy
named Johnny B. Goode,
he never ever learned
to read or write a book so well,
but he could play his guitar
just like a-ringing a bell.
Go go, go Johnny go go go!
Go Johnny go go go!
Go Johnny go go go!
Go Johnny go go go!
aah Johnny B. Goode!
He used to carry his guitar
in a gunny sack,
sit beneath the trees
by the railroad track.
Oh sitting and a-playing
in the shade,
drumming to the rhythm
that the drivers made.
People passing by
used to stop and say:
my oh my,
that country boy can play.
Go go, go Johnny go go go!
Go Johnny go go go!
Go Johnny go go go!
Go Johnny go go go!
Aah Johnny B. Goode!
Well his mama told him:
someday you will be a man.
And you will be the leader
of a big old band.
Many people coming
from miles around,
to hear you play your music
till the sun goes down.
Maybe some day
your name will be in light,
saying: Johnny
B. Goode tonight! Go go, go Johnny go go go!
Go Johnny go go go!
Go Johnny go go go!
Go Johnny go go go!
aah Johnny B. Goode!

1st Order Markov Chain Probabilities

"(a-ringing): a = 1"
"(go!): Aah = 1/12, aah = 1/6, Go = 3/4"
"(named): Johnny = 1"
"(from): miles = 1"
"(could): play = 1"
"(Go): Johnny = 3/4, go, = 1/4"
"(wood,): where = 1"
"(way): back = 1"
"(go,): go = 1"
"(sit): beneath = 1"
"(people): coming = 1"
"(hear): you = 1"
"(light,): saying: = 1"
"(aah): Johnny = 1"
"(leader): of = 1"
"(Goode,): he = 1"
"(People): passing = 1"
"(gunny): sack, = 1"
"(you): play = 1/3, will = 2/3"
"(shade,): drumming = 1"
"(woods): among = 1"
"(around,): to = 1"
"(cabin): made = 1"
"(rhythm): that = 1"
"(young): country = 1"
"(someday): you = 1"
"(among): the = 1"
"(be): the = 1/3, a = 1/3, in = 1/3"
"(book): so = 1"
"(play.): Go = 1"
"(his): guitar = 2/3, mama = 1/3"
"(tonight!): Go = 1"
"(Goode): tonight! = 1"
"(made): of = 1"
"(my,): that = 1"
"(him:): someday = 1"
"(the): evergreens, = 1/9, railroad = 1/9, drivers = 1/9, leader = 1/9, trees = 1/9, woods = 1/9, sun = 1/9, shade, = 1/9, rhythm = 1/9"
"(to): the = 1/6, hear = 1/6, carry = 1/6, read = 1/6, stop = 1/6, New = 1/6"
"(country): boy = 2/3, cabin = 1/3"
"(guitar): in = 1/2, just = 1/2"
"(back): up = 1"
"(passing): by = 1"
"(railroad): track. = 1"
"(well,): but = 1"
"(Goode!): He = 1/2, Well = 1/2"
"(a-playing): in = 1"
"(just): like = 1"
"(Louisiana): close = 1"
"(your): name = 1/2, music = 1/2"
"(never): ever = 1"
"(Many): people = 1"
"(down): in = 1"
"(Deep): down = 1"
"(go): Johnny = 1/9, go! = 4/9, go = 4/9"
"(boy): can = 1/2, named = 1/2"
"(but): he = 1"
"(B.): Goode = 1/5, Goode, = 1/5, Goode! = 3/5"
"(miles): around, = 1"
"(clay): and = 1"
"(sun): goes = 1"
"(of): a = 1/2, clay = 1/2"
"(up): in = 1"
"(bell.): Go = 1"
"(drumming): to = 1"
"(can): play. = 1"
"(mama): told = 1"
"(my): oh = 1"
"(stand): a = 1"
"(drivers): made. = 1"
"(name): will = 1"
"(band.): Many = 1"
"(there): stand = 1"
"(in): the = 2/5, a = 1/5, light, = 1/5, Louisiana = 1/5"
"(beneath): the = 1"
"(Aah): Johnny = 1"
"(by): the = 1/2, used = 1/2"
"(or): write = 1"
"(Oh): sitting = 1"
"(sitting): and = 1"
"(that): the = 1/2, country = 1/2"
"(down.): Maybe = 1"
"(like): a-ringing = 1"
"(lives): a = 1"
"(goes): down. = 1"
"(where): lives = 1"
"(old): band. = 1"
"(learned): to = 1"
"(and): a-playing = 1/3, wood, = 1/3, say: = 1/3"
"(sack,): sit = 1"
"(will): be = 1"
"(say:): my = 1"
"(stop): and = 1"
"(told): him: = 1"
"(trees): by = 1"
"(read): or = 1"
"(ever): learned = 1"
"(so): well, = 1"
"(some): day = 1"
"(made.): People = 1"
"(coming): from = 1"
"(Johnny): B. = 5/17, go = 12/17"
"(New): Orleans, = 1"
"(close): to = 1"
"(used): to = 1"
"(Well): his = 1"
"(he): could = 1/2, never = 1/2"
"(Orleans,): way = 1"
"(And): you = 1"
"(Maybe): some = 1"
"(play): your = 1/2, his = 1/2"
"(oh): my, = 1"
"(carry): his = 1"
"(man.): And = 1"
"(day): your = 1"
"(track.): Oh = 1"
"(big): old = 1"
"(He): used = 1"
"(a): man. = 1/7, country = 1/7, bell. = 1/7, book = 1/7, gunny = 1/7, young = 1/7, big = 1/7"
"(write): a = 1"
"(evergreens,): there = 1"
"(saying:): Johnny = 1"
"(music): till = 1"
"(till): the = 1"

2nd Order Markov Chain Probabilities

"(in Louisiana): close = 1"
"(a-playing in): the = 1"
"(his mama): told = 1"
"(close to): New = 1"
"(named Johnny): B. = 1"
"(B. Goode): tonight! = 1"
"(a book): so = 1"
"(play. Go): go, = 1"
"(to stop): and = 1"
"(read or): write = 1"
"(there stand): a = 1"
"(go, go): Johnny = 1"
"(his guitar): in = 1/2, just = 1/2"
"(used to): carry = 1/2, stop = 1/2"
"(the shade,): drumming = 1"
"(the woods): among = 1"
"(drumming to): the = 1"
"(Goode, he): never = 1"
"(he never): ever = 1"
"(Aah Johnny): B. = 1"
"(And you): will = 1"
"(evergreens, there): stand = 1"
"(down. Maybe): some = 1"
"(and say:): my = 1"
"(my, that): country = 1"
"(mama told): him: = 1"
"(a gunny): sack, = 1"
"(among the): evergreens, = 1"
"(Maybe some): day = 1"
"(trees by): the = 1"
"(some day): your = 1"
"(light, saying:): Johnny = 1"
"(young country): boy = 1"
"(to hear): you = 1"
"(a big): old = 1"
"(bell. Go): go, = 1"
"(around, to): hear = 1"
"(be the): leader = 1"
"(B. Goode,): he = 1"
"(man. And): you = 1"
"(the drivers): made. = 1"
"(sitting and): a-playing = 1"
"(Louisiana close): to = 1"
"(New Orleans,): way = 1"
"(the leader): of = 1"
"(woods among): the = 1"
"(music till): the = 1"
"(told him:): someday = 1"
"(be in): light, = 1"
"(you play): your = 1"
"(that country): boy = 1"
"(People passing): by = 1"
"(railroad track.): Oh = 1"
"(country boy): can = 1/2, named = 1/2"
"(leader of): a = 1"
"(to carry): his = 1"
"(of a): big = 1"
"(rhythm that): the = 1"
"(carry his): guitar = 1"
"(go go): go! = 1"
"(will be): the = 1/3, a = 1/3, in = 1/3"
"(your music): till = 1"
"(track. Oh): sitting = 1"
"(just like): a-ringing = 1"
"(in a): gunny = 1"
"(but he): could = 1"
"(aah Johnny): B. = 1"
"(Goode! He): used = 1"
"(to New): Orleans, = 1"
"(stand a): country = 1"
"(and wood,): where = 1"
"(ever learned): to = 1"
"(Orleans, way): back = 1"
"(play his): guitar = 1"
"(in light,): saying: = 1"
"(by the): railroad = 1"
"(day your): name = 1"
"(up in): the = 1"
"(hear you): play = 1"
"(shade, drumming): to = 1"
"(can play.): Go = 1"
"(back up): in = 1"
"(clay and): wood, = 1"
"(drivers made.): People = 1"
"(old band.): Many = 1"
"(write a): book = 1"
"(sit beneath): the = 1"
"(in the): woods = 1/2, shade, = 1/2"
"(and a-playing): in = 1"
"(your name): will = 1"
"(B. Goode!): He = 1/2, Well = 1/2"
"(my oh): my, = 1"
"(goes down.): Maybe = 1"
"(way back): up = 1"
"(Well his): mama = 1"
"(sun goes): down. = 1"
"(you will): be = 1"
"(people coming): from = 1"
"(go! Go): Johnny = 1"
"(that the): drivers = 1"
"(big old): band. = 1"
"(gunny sack,): sit = 1"
"(never ever): learned = 1"
"(tonight! Go): go, = 1"
"(beneath the): trees = 1"
"(of clay): and = 1"
"(lives a): young = 1"
"(a man.): And = 1"
"(miles around,): to = 1"
"(go! aah): Johnny = 1"
"(a country): cabin = 1"
"(made of): clay = 1"
"(the rhythm): that = 1"
"(guitar in): a = 1"
"(to read): or = 1"
"(learned to): read = 1"
"(coming from): miles = 1"
"(Goode! Well): his = 1"
"(well, but): he = 1"
"(down in): Louisiana = 1"
"(he could): play = 1"
"(country cabin): made = 1"
"(Deep down): in = 1"
"(where lives): a = 1"
"(or write): a = 1"
"(a young): country = 1"
"(by used): to = 1"
"(go! Aah): Johnny = 1"
"(name will): be = 1"
"(to the): rhythm = 1"
"(like a-ringing): a = 1"
"(the trees): by = 1"
"(made. People): passing = 1"
"(play your): music = 1"
"(guitar just): like = 1"
"(be a): man. = 1"
"(sack, sit): beneath = 1"
"(from miles): around, = 1"
"(band. Many): people = 1"
"(till the): sun = 1"
"(Johnny B.): Goode = 1/5, Goode, = 1/5, Goode! = 3/5"
"(him: someday): you = 1"
"(go go!): Aah = 1/12, aah = 1/6, Go = 3/4"
"(He used): to = 1"
"(go Johnny): go = 1"
"(book so): well, = 1"
"(saying: Johnny): B. = 1"
"(Johnny go): go = 1"
"(could play): his = 1"
"(wood, where): lives = 1"
"(oh my,): that = 1"
"(boy can): play. = 1"
"(a bell.): Go = 1"
"(the railroad): track. = 1"
"(someday you): will = 1"
"(the sun): goes = 1"
"(so well,): but = 1"
"(the evergreens,): there = 1"
"(cabin made): of = 1"
"(Many people): coming = 1"
"(Goode tonight!): Go = 1"
"(Go go,): go = 1"
"(say: my): oh = 1"
"(Oh sitting): and = 1"
"(Go Johnny): go = 1"
"(a-ringing a): bell. = 1"
"(stop and): say: = 1"
"(passing by): used = 1"
"(boy named): Johnny = 1"

Sample text riffs generated from the above probabilities

First Order Riffs:

"made of clay and wood, where lives a country boy can play. Go go, go go go go! Go Johnny go go! aah Johnny go go! Aah Johnny go go go go go go! Go Johnny go go! Go Johnny go go! Go Johnny go go! Go go, go go go go! Aah Johnny go go go! Go Johnny go go go go! Aah Johnny go go! Go Johnny go go! Go Johnny B. Goode tonight! Go Johnny go go Johnny go go! Go Johnny go go! Go Johnny go go go! Go Johnny go go go go go! aah Johnny"

"sun goes down. Maybe some day your name will be a country boy can play. Go Johnny go go! aah Johnny go go! Go Johnny go go! Go go, go go! aah Johnny B. Goode tonight! Go Johnny go go go! Aah Johnny go go! Go go, go go! Go Johnny go go go go go go Johnny go go! Go go, go go Johnny go go! Go Johnny go go! Go Johnny go go! Go Johnny go go! Go go, go go go go go go! Go Johnny go go! aah Johnny go go go! Go go, go go! aah"

"from miles around, to carry his mama told him: someday you will be in the evergreens, there stand a big old band. Many people coming from miles around, to New Orleans, way back up in the drivers made. People passing by the leader of a country cabin made of a book so well, but he could play his guitar just like a-ringing a bell. Go Johnny B. Goode! He used to New Orleans, way back up in light, saying: Johnny go go go go! Aah Johnny go go! Go Johnny go go! Go Johnny go go go! Go Johnny go go!"

Second Order Riffs:

"well, but he could play his guitar in a gunny sack, sit beneath the trees by the railroad track. Oh sitting and a-playing in the shade, drumming to the rhythm that the drivers made. People passing by used to carry his guitar in a gunny sack, sit beneath the trees by the railroad track. Oh sitting and a-playing in the shade, drumming to the rhythm that the drivers made. People passing by used to stop and say: my oh my, that country boy can play. Go go, go Johnny go go go! Go Johnny go go go! Go Johnny go go go!"

"Goode tonight! Go go, go Johnny go go go! Go Johnny go go go! Aah Johnny B. Goode, he never ever learned to read or write a book so well, but he could play his guitar in a gunny sack, sit beneath the trees by the railroad track. Oh sitting and a-playing in the shade, drumming to the rhythm that the drivers made. People passing by used to stop and say: my oh my, that country boy can play. Go go, go Johnny go go go! aah Johnny B. Goode! He used to stop and say: my oh my, that country boy"

"a book so well, but he could play his guitar just like a-ringing a bell. Go go, go Johnny go go go! Aah Johnny B. Goode! Well his mama told him: someday you will be the leader of a big old band. Many people coming from miles around, to hear you play your music till the sun goes down. Maybe some day your name will be a man. And you will be a man. And you will be a man. And you will be a man. And you will be a man. And you will be a man. And you will be"