removed special characters from quotes, made sure to replace double spaces with singles

This commit is contained in:
Jack 2020-07-06 00:26:18 +01:00
parent f46c52a477
commit c55ea38589
2 changed files with 25 additions and 26 deletions

View file

@ -1,5 +1,4 @@
[
{
[{
"text": "You have the power to heal your life, and you need to know that.",
"source": "Meditations to Heal Your Life",
"id": 1
@ -835,7 +834,7 @@
"id": 167
},
{
"text": "Then we saw him pick up all the things that were down.\r\nHe picked up the cake, and the rake, and the gown, \r\nand the milk, and the strings, and the books, and the dish,\r\nand the fan, and the cup, and the ship, and the fish.",
"text": "Then we saw him pick up all the things that were down. He picked up the cake, and the rake, and the gown, and the milk, and the strings, and the books, and the dish, and the fan, and the cup, and the ship, and the fish.",
"source": "The Cat in the Hat",
"id": 168
},
@ -5195,7 +5194,7 @@
"id": 1039
},
{
"text": "Living in the limelight, the universal dream for those who wish to seem. Those who wish to be must put aside the alienation, get on with the fascination, the real relation,\r\nthe underlying theme.",
"text": "Living in the limelight, the universal dream for those who wish to seem. Those who wish to be must put aside the alienation, get on with the fascination, the real relation, the underlying theme.",
"source": "Limelight",
"id": 1040
},
@ -5605,7 +5604,7 @@
"id": 1121
},
{
"text": "These nights are endless, and a man can sleep through them,\r\nor he can enjoy listening to stories, and you have no need\r\nto go to bed before it is time. Too much sleep is only\r\na bore. And of the others, any one whose heart and spirit\r\nurge him can go outside and sleep, and then, when the dawn shows,\r\nbreakfast first, then go out to tend the swine of our master.",
"text": "These nights are endless, and a man can sleep through them, or he can enjoy listening to stories, and you have no need to go to bed before it is time. Too much sleep is only a bore. And of the others, any one whose heart and spirit urge him can go outside and sleep, and then, when the dawn shows, breakfast first, then go out to tend the swine of our master.",
"source": "The Odyssey",
"id": 1122
},
@ -6205,7 +6204,7 @@
"id": 1241
},
{
"text": "I wanna be inside your heaven. Take me to the place you cry from, where the storm blows your way. I wanna be earth that holds you. Every bit of air you're breathing in, a soothing wind,\r\nI wanna be inside your heaven.",
"text": "I wanna be inside your heaven. Take me to the place you cry from, where the storm blows your way. I wanna be earth that holds you. Every bit of air you're breathing in, a soothing wind, I wanna be inside your heaven.",
"source": "Inside Your Heaven",
"id": 1242
},
@ -7745,7 +7744,7 @@
"id": 1549
},
{
"text": "I think you're gonna find - when all this stuff is over and done - I think you're gonna find yourself one smiling guy.\r\nThing is Butch, right now you got ability. But painful as it may be, ability don't last. Now that's a hard fact of life, but it's a fact of life you're gonna have to get realistic about.",
"text": "I think you're gonna find - when all this stuff is over and done - I think you're gonna find yourself one smiling guy. Thing is Butch, right now you got ability. But painful as it may be, ability don't last. Now that's a hard fact of life, but it's a fact of life you're gonna have to get realistic about.",
"source": "Pulp Fiction",
"id": 1550
},
@ -8235,7 +8234,7 @@
"id": 1647
},
{
"text": "One man, one family driven from the land; this rusty car\r\ncreaking along the highway to the west. I lost my land, a\r\nsingle tractor took my land. I am alone and bewildered.",
"text": "One man, one family driven from the land; this rusty car creaking along the highway to the west. I lost my land, a single tractor took my land. I am alone and bewildered.",
"source": "The Grapes of Wrath",
"id": 1648
},
@ -8460,7 +8459,7 @@
"id": 1692
},
{
"text": "It's so warm and calm inside. I no longer have to hide.\r\nThere's talk about someone else. Sterling silver begins to melt. Nothing really bothers her. She just wants to love herself. I will move away from here. You won't be afraid of fear. No thought was put into this. I always knew it'd come to this. Things have never been so swell. And I have never failed to fail.",
"text": "It's so warm and calm inside. I no longer have to hide. There's talk about someone else. Sterling silver begins to melt. Nothing really bothers her. She just wants to love herself. I will move away from here. You won't be afraid of fear. No thought was put into this. I always knew it'd come to this. Things have never been so swell. And I have never failed to fail.",
"source": "You Know You're Right",
"id": 1693
},
@ -9165,7 +9164,7 @@
"id": 1833
},
{
"text": "I thought I had the whole world in my mouth. I thought I could say what I wanted to say. For a second that thought became a sword in my hand. I could slay any problem that would stand in my way. I felt just like a crusader. Lion-heart, a Holy Land invader. But nobody can say what they really mean to say, and the impotency of speech came up and hit me that day, and I would have made this instrumental \r\nbut the words got in the way.",
"text": "I thought I had the whole world in my mouth. I thought I could say what I wanted to say. For a second that thought became a sword in my hand. I could slay any problem that would stand in my way. I felt just like a crusader. Lion-heart, a Holy Land invader. But nobody can say what they really mean to say, and the impotency of speech came up and hit me that day, and I would have made this instrumental but the words got in the way.",
"source": "No Language in Our Lungs",
"id": 1834
},
@ -9185,7 +9184,7 @@
"id": 1837
},
{
"text": "Imagine for a moment if we once again knew these few unremarkable things: What it is we're eating. Where it came from. How it found its way to our table. And what, in a true\r\naccounting, it really cost. We would no longer need any reminding that however we choose to feed ourselves, we eat by\r\nthe grace of nature, not industry, and what we're eating is never anything more or less than the body of the world.",
"text": "Imagine for a moment if we once again knew these few unremarkable things: What it is we're eating. Where it came from. How it found its way to our table. And what, in a true accounting, it really cost. We would no longer need any reminding that however we choose to feed ourselves, we eat by the grace of nature, not industry, and what we're eating is never anything more or less than the body of the world.",
"source": "The Omnivore's Dilemma: A Natural History of Four Meals",
"id": 1838
},
@ -9305,7 +9304,7 @@
"id": 1861
},
{
"text": "That's me in the corner, that's me in the spotlight losing my religion trying to keep up with you, and I don't know if I can do it.\r\nOh no, I've said too much, I haven't said enough.",
"text": "That's me in the corner, that's me in the spotlight losing my religion trying to keep up with you, and I don't know if I can do it. Oh no, I've said too much, I haven't said enough.",
"source": "Losing My Religion",
"id": 1862
},
@ -10385,7 +10384,7 @@
"id": 2077
},
{
"text": "Sometimes you're the windshield, sometimes you're the bug.\r\nSometimes it all comes together baby. Sometimes you're a fool in love. Sometimes you're the Louisville Slugger. Sometimes you're the ball. Sometimes it all comes together baby. Sometimes you're going to lose it all.",
"text": "Sometimes you're the windshield, sometimes you're the bug. Sometimes it all comes together baby. Sometimes you're a fool in love. Sometimes you're the Louisville Slugger. Sometimes you're the ball. Sometimes it all comes together baby. Sometimes you're going to lose it all.",
"source": "The Bug",
"id": 2078
},
@ -10420,7 +10419,7 @@
"id": 2084
},
{
"text": "But the queen - too long she has suffered the pain of love,\r\nhour by hour nursing the wound with her lifeblood,\r\nconsumed by the fire buried in her heart. His looks, his words, they pierce her heart and cling - no peace, no rest for her body, love will give her none.",
"text": "But the queen - too long she has suffered the pain of love, hour by hour nursing the wound with her lifeblood, consumed by the fire buried in her heart. His looks, his words, they pierce her heart and cling - no peace, no rest for her body, love will give her none.",
"source": "The Aeneid",
"id": 2085
},
@ -11905,7 +11904,7 @@
"id": 2381
},
{
"text": "Once you get into the processed foods you have to be a fairly determined ecological detective to follow the intricate and\r\nincreasingly obscure lines of connection linking the Twinkie, or the nondairy creamer, to a plant growing in the earth some place, but it can be done.",
"text": "Once you get into the processed foods you have to be a fairly determined ecological detective to follow the intricate and increasingly obscure lines of connection linking the Twinkie, or the nondairy creamer, to a plant growing in the earth some place, but it can be done.",
"source": "The Omnivore's Dilemma: A Natural History of Four Meals",
"id": 2382
},
@ -12605,7 +12604,7 @@
"id": 2521
},
{
"text": "Space ain't man's final frontier. Man's final frontier is the soul\r\nguided by someone more powerful than any human being. Someone felt but never seen. You will be surprised of what resides in your insides.",
"text": "Space ain't man's final frontier. Man's final frontier is the soul guided by someone more powerful than any human being. Someone felt but never seen. You will be surprised of what resides in your insides.",
"source": "Man's Final Frontier",
"id": 2522
},
@ -13180,7 +13179,7 @@
"id": 2636
},
{
"text": "Last night I dreamed of chickens,\r\nthere were chickens everywhere,\r\nthey were standing on my stomach,\r\nthey were nesting in my hair,\r\nthey were pecking at my pillow,\r\nthey were hopping on my head,\r\nthey were ruffling up their feathers\r\nas they raced about my bed.\r\n\r\nThey were on the chairs and tables,\r\nthey were on the chandeliers,\r\nthey were roosting in the corners,\r\nthey were clucking in my ears,\r\nthere were chickens, chickens, chickens\r\nfor as far as I could see...\r\nwhen I woke today, I noticed\r\nthere were eggs on top of me.",
"text": "Last night I dreamed of chickens, there were chickens everywhere, they were standing on my stomach, they were nesting in my hair, they were pecking at my pillow, they were hopping on my head, they were ruffling up their feathers as they raced about my bed. They were on the chairs and tables, they were on the chandeliers, they were roosting in the corners, they were clucking in my ears, there were chickens, chickens, chickens for as far as I could see... when I woke today, I noticed there were eggs on top of me.",
"source": "Last Night I Dreamed of Chickens",
"id": 2637
},
@ -14070,7 +14069,7 @@
"id": 2814
},
{
"text": "However we choose to feed ourselves, we eat by\r\nthe grace of nature, not industry, and what we're eating is never anything more or less than the body of the world.",
"text": "However we choose to feed ourselves, we eat by the grace of nature, not industry, and what we're eating is never anything more or less than the body of the world.",
"source": "The Omnivore's Dilemma: A Natural History of Four Meals",
"id": 2815
},
@ -17620,7 +17619,7 @@
"id": 3524
},
{
"text": "Now this is a story all about how my life got flipped - \r\nturned upside down. And I'd like to take a minute, just sit right there; I'll tell you how I became the prince of a town called Bel-Air.",
"text": "Now this is a story all about how my life got flipped - turned upside down. And I'd like to take a minute, just sit right there; I'll tell you how I became the prince of a town called Bel-Air.",
"source": "Fresh Prince of Bel Air (Theme Song)",
"id": 3525
},
@ -19715,7 +19714,7 @@
"id": 3943
},
{
"text": "Somewhere over the rainbow way up high, there's a land that I heard of once in a lullaby. Somewhere over the rainbow skies are blue, and the dreams that you dare to dream really do come true. Someday I'll wish upon a star and wake up where the clouds are far behind me. Where troubles melt like lemon drops away above the chimney tops, that's where you'll find me. Somewhere over the rainbow bluebirds fly.\r\nBirds fly over the rainbow. Why then, oh, why can't I?",
"text": "Somewhere over the rainbow way up high, there's a land that I heard of once in a lullaby. Somewhere over the rainbow skies are blue, and the dreams that you dare to dream really do come true. Someday I'll wish upon a star and wake up where the clouds are far behind me. Where troubles melt like lemon drops away above the chimney tops, that's where you'll find me. Somewhere over the rainbow bluebirds fly. Birds fly over the rainbow. Why then, oh, why can't I?",
"source": "The Wizard of Oz",
"id": 3944
},
@ -21280,7 +21279,7 @@
"id": 4256
},
{
"text": "Our world, with its rules of causality, has trained us to be miserly with forgiveness. By forgiving them too readily, we can be badly hurt. But if we've learned from a mistake and became better for it, shouldn't we be rewarded for \r\nthe learning, rather than punished for the mistake?",
"text": "Our world, with its rules of causality, has trained us to be miserly with forgiveness. By forgiving them too readily, we can be badly hurt. But if we've learned from a mistake and became better for it, shouldn't we be rewarded for the learning, rather than punished for the mistake?",
"source": "Braid",
"id": 4257
},
@ -21520,7 +21519,7 @@
"id": 4304
},
{
"text": "Sometimes you're the windshield, sometimes you're the bug.\r\nSometimes it all comes together baby. Sometimes you're a fool in love.",
"text": "Sometimes you're the windshield, sometimes you're the bug. Sometimes it all comes together baby. Sometimes you're a fool in love.",
"source": "The Bug",
"id": 4305
},
@ -23270,7 +23269,7 @@
"id": 4654
},
{
"text": "Some people thought we were at war with the Germans -\r\n incorrect. We were at war with the clock. Britain was literally starving to death. The Americans sent over 100,000 pounds of food each week, and every week the Germans would send our desperately needed bread to the bottom of the ocean. Our daily failure was announced at the chimes of midnight. And the sound would haunt our unwelcome dreams.",
"text": "Some people thought we were at war with the Germans - incorrect. We were at war with the clock. Britain was literally starving to death. The Americans sent over 100,000 pounds of food each week, and every week the Germans would send our desperately needed bread to the bottom of the ocean. Our daily failure was announced at the chimes of midnight. And the sound would haunt our unwelcome dreams.",
"source": "The Imitation Game",
"id": 4655
},
@ -23560,7 +23559,7 @@
"id": 4712
},
{
"text": "Corn is what feeds the steer that becomes the steak. Corn feeds the chicken and the pig, the turkey and the lamb, the catfish and the tilapia and, increasingly, even the salmon, a\r\ncarnivore by nature that the fish farmers are reengineering to tolerate corn. The eggs are made of corn. The milk and cheese and yogurt, which once came from dairy cows that\r\ngrazed on grass, now typically come from cows that spend their working lives indoors tethered to machines, eating corn.",
"text": "Corn is what feeds the steer that becomes the steak. Corn feeds the chicken and the pig, the turkey and the lamb, the catfish and the tilapia and, increasingly, even the salmon, a carnivore by nature that the fish farmers are reengineering to tolerate corn. The eggs are made of corn. The milk and cheese and yogurt, which once came from dairy cows that grazed on grass, now typically come from cows that spend their working lives indoors tethered to machines, eating corn.",
"source": "The Omnivore's Dilemma: A Natural History of Four Meals",
"id": 4713
},
@ -24425,7 +24424,7 @@
"id": 4885
},
{
"text": "And why the winter suns so rush to bathe themselves in the sea\r\nand what slows down the nights to a long lingering crawl.",
"text": "And why the winter suns so rush to bathe themselves in the sea and what slows down the nights to a long lingering crawl.",
"source": "The Aeneid",
"id": 4886
},

View file

@ -303,7 +303,7 @@ function initWords() {
}
} else if (config.mode == "quote") {
randomQuote = quotes[Math.floor(Math.random() * quotes.length)];
let w = randomQuote.text.split(" ");
let w = randomQuote.text.split(" ").replace(" ", " ");
for (let i = 0; i < w.length; i++) {
wordsList.push(w[i]);
}