Datasets:
quote
stringlengths 1
3.91k
| author
stringlengths 4
36
| tags
sequence |
---|---|---|
“Be yourself; everyone else is already taken.” | Oscar Wilde | [
"be-yourself",
"gilbert-perreira",
"honesty",
"inspirational",
"misattributed-oscar-wilde",
"quote-investigator"
] |
“I'm selfish, impatient and a little insecure. I make mistakes, I am out of control and at times hard to handle. But if you can't handle me at my worst, then you sure as hell don't deserve me at my best.” | Marilyn Monroe | [
"best",
"life",
"love",
"mistakes",
"out-of-control",
"truth",
"worst"
] |
“Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.” | Albert Einstein | [
"human-nature",
"humor",
"infinity",
"philosophy",
"science",
"stupidity",
"universe"
] |
“So many books, so little time.” | Frank Zappa | [
"books",
"humor"
] |
“A room without books is like a body without a soul.” | Marcus Tullius Cicero | [
"books",
"simile",
"soul"
] |
“Be who you are and say what you feel, because those who mind don't matter, and those who matter don't mind.” | Bernard M. Baruch | [
"ataraxy",
"be-yourself",
"confidence",
"fitting-in",
"individuality",
"misattributed-dr-seuss",
"those-who-matter"
] |
“You've gotta dance like there's nobody watching,Love like you'll never be hurt,Sing like there's nobody listening,And live like it's heaven on earth.” | William W. Purkey | [
"dance",
"heaven",
"hurt",
"inspirational",
"life",
"love",
"sing"
] |
“You know you're in love when you can't fall asleep because reality is finally better than your dreams.” | Dr. Seuss | [
"dreams",
"love",
"reality",
"sleep"
] |
“You only live once, but if you do it right, once is enough.” | Mae West | [
"humor",
"life"
] |
“Be the change that you wish to see in the world.” | Mahatma Gandhi | [
"action",
"change",
"inspirational",
"philosophy",
"wish"
] |
“In three words I can sum up everything I've learned about life: it goes on.” | Robert Frost | [
"life"
] |
“If you want to know what a man's like, take a good look at how he treats his inferiors, not his equals.” | J.K. Rowling, | [
"character",
"sirius-black"
] |
“Don’t walk in front of me… I may not followDon’t walk behind me… I may not leadWalk beside me… just be my friend” | Albert Camus | [
"friends",
"friendship",
"misattributed-albert-camus"
] |
“If you tell the truth, you don't have to remember anything.” | Mark Twain | [
"lies",
"lying",
"memory",
"truth"
] |
“Friendship ... is born at the moment when one man says to another "What! You too? I thought that no one but myself . . .” | C.S. Lewis, | [
"friendship"
] |
“A friend is someone who knows all about you and still loves you.” | Elbert Hubbard | [
"friend",
"friendship",
"knowledge",
"love"
] |
“Always forgive your enemies; nothing annoys them so much.” | Oscar Wilde | [
"enemies",
"forgiveness",
"strategy"
] |
“To live is the rarest thing in the world. Most people exist, that is all.” | Oscar Wilde | [
"life"
] |
“Live as if you were to die tomorrow. Learn as if you were to live forever.” | Mahatma Gandhi | [
"carpe-diem",
"education",
"inspirational",
"learning"
] |
“Darkness cannot drive out darkness: only light can do that. Hate cannot drive out hate: only love can do that.” | Martin Luther King Jr., | [
"darkness",
"drive-out",
"hate",
"inspirational",
"light",
"love",
"peace"
] |
“Without music, life would be a mistake.” | Friedrich Nietzsche, | [
"inspirational",
"music",
"philosophy"
] |
“We accept the love we think we deserve.” | Stephen Chbosky, | [
"inspirational",
"love"
] |
“I am so clever that sometimes I don't understand a single word of what I am saying.” | Oscar Wilde, | [
"intelligence",
"self-deprecation"
] |
“To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.” | Ralph Waldo Emerson | [
"accomplishment",
"be-yourself",
"conformity",
"individuality"
] |
“Here's to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They're not fond of rules. And they have no respect for the status quo. You can quote them, disagree with them, glorify or vilify them. About the only thing you can't do is ignore them. Because they change things. They push the human race forward. And while some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do.” | Rob Siltanen | [
"advertising",
"apple",
"change",
"commercial",
"computers",
"different",
"madness",
"misattributed-apple",
"misattributed-steve-jobs",
"misfits",
"nonconformity",
"progressive",
"rebels",
"status-quo",
"think-different",
"troublemakers"
] |
“Insanity is doing the same thing, over and over again, but expecting different results.” | Narcotics Anonymous | [
"humor",
"insanity",
"life",
"misattributed-ben-franklin",
"misattributed-mark-twain",
"misattributed-to-einstein"
] |
“I believe that everything happens for a reason. People change so that you can learn to let go, things go wrong so that you appreciate them when they're right, you believe lies so you eventually learn to trust no one but yourself, and sometimes good things fall apart so better things can fall together.” | Marilyn Monroe | [
"misattributed-marilyn-monroe"
] |
“Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover.” | H. Jackson Brown Jr., | [
"actions",
"disappointed",
"disappointment",
"dream",
"dreams",
"explore",
"misattributed-mark-twain",
"sail"
] |
“It is better to be hated for what you are than to be loved for what you are not.” | Andre Gide, | [
"life",
"love"
] |
“Only once in your life, I truly believe, you find someone who can completely turn your world around. You tell them things that you’ve never shared with another soul and they absorb everything you say and actually want to hear more. You share hopes for the future, dreams that will never come true, goals that were never achieved and the many disappointments life has thrown at you. When something wonderful happens, you can’t wait to tell them about it, knowing they will share in your excitement. They are not embarrassed to cry with you when you are hurting or laugh with you when you make a fool of yourself. Never do they hurt your feelings or make you feel like you are not good enough, but rather they build you up and show you the things about yourself that make you special and even beautiful. There is never any pressure, jealousy or competition but only a quiet calmness when they are around. You can be yourself and not worry about what they will think of you because they love you for who you are. The things that seem insignificant to most people such as a note, song or walk become invaluable treasures kept safe in your heart to cherish forever. Memories of your childhood come back and are so clear and vivid it’s like being young again. Colours seem brighter and more brilliant. Laughter seems part of daily life where before it was infrequent or didn’t exist at all. A phone call or two during the day helps to get you through a long day’s work and always brings a smile to your face. In their presence, there’s no need for continuous conversation, but you find you’re quite content in just having them nearby. Things that never interested you before become fascinating because you know they are important to this person who is so special to you. You think of this person on every occasion and in everything you do. Simple things bring them to mind like a pale blue sky, gentle wind or even a storm cloud on the horizon. You open your heart knowing that there’s a chance it may be broken one day and in opening your heart, you experience a love and joy that you never dreamed possible. You find that being vulnerable is the only way to allow your heart to feel true pleasure that’s so real it scares you. You find strength in knowing you have a true friend and possibly a soul mate who will remain loyal to the end. Life seems completely different, exciting and worthwhile. Your only hope and security is in knowing that they are a part of your life.” | Bob Marley | [
"love"
] |
“All that is gold does not glitter,Not all those who wander are lost;The old that is strong does not wither,Deep roots are not reached by the frost.From the ashes a fire shall be woken,A light from the shadows shall spring;Renewed shall be blade that was broken,The crownless again shall be king.” | J.R.R. Tolkien, | [
"frost",
"glitter",
"gold",
"lost",
"poetry",
"roots",
"strength",
"strong",
"wander",
"wither"
] |
“It is our choices, Harry, that show what we truly are, far more than our abilities.” | J.K. Rowling, | [
"abilities",
"choices"
] |
“The person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid.” | Jane Austen, | [
"aliteracy",
"books",
"classic",
"humor"
] |
“Imperfection is beauty, madness is genius and it's better to be absolutely ridiculous than absolutely boring.” | Marilyn Monroe | [
"be-yourself",
"inspirational"
] |
“There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle.” | Albert Einstein | [
"inspirational",
"life",
"live",
"miracle",
"miracles"
] |
“It does not do to dwell on dreams and forget to live.” | J.K. Rowling, | [
"dreams",
"life"
] |
“Good friends, good books, and a sleepy conscience: this is the ideal life.” | Mark Twain | [
"books",
"contentment",
"friends",
"friendship",
"life"
] |
“As he read, I fell in love the way you fall asleep: slowly, and then all at once.” | John Green, | [
"love"
] |
“We are all in the gutter, but some of us are looking at the stars.” | Oscar Wilde, | [
"inspirational",
"optimism",
"perception",
"pessimism"
] |
“Fairy tales are more than true: not because they tell us that dragons exist, but because they tell us that dragons can be beaten.” | Neil Gaiman, | [
"books",
"dragons",
"fairy-tales",
"inspirational",
"paraphrasing-g-k-chesterton"
] |
“It is better to remain silent at the risk of being thought a fool, than to talk and remove all doubt of it.” | Maurice Switzer, | [
"misattributed-to-abraham-lincoln",
"misattributed-to-mark-twain",
"remaining-silent",
"wisdom"
] |
“The fool doth think he is wise, but the wise man knows himself to be a fool.” | William Shakespeare, | [
"wisdom"
] |
“Whenever you find yourself on the side of the majority, it is time to reform (or pause and reflect).” | Mark Twain | [
"individuality",
"majority",
"minority",
"pause",
"reflect",
"wisdom"
] |
“Life is what happens to us while we are making other plans.” | Allen Saunders | [
"fate",
"life",
"misattributed-john-lennon",
"planning",
"plans"
] |
“Yesterday is history, tomorrow is a mystery, today is a gift of God, which is why we call it the present.” | Bill Keane | [
"hope",
"inspirational",
"misattributed-eleanor-roosevelt",
"past",
"present",
"widely-misattributed"
] |
“I have not failed. I've just found 10,000 ways that won't work.” | Thomas A. Edison | [
"edison",
"failure",
"inspirational",
"paraphrased"
] |
“It is not a lack of love, but a lack of friendship that makes unhappy marriages.” | Friedrich Nietzsche | [
"friendship",
"lack-of-friendship",
"lack-of-love",
"love",
"marriage",
"unhappy-marriage"
] |
“The opposite of love is not hate, it's indifference. The opposite of art is not ugliness, it's indifference. The opposite of faith is not heresy, it's indifference. And the opposite of life is not death, it's indifference.” | Elie Wiesel | [
"activism",
"apathy",
"hate",
"indifference",
"inspirational",
"love",
"opposite",
"philosophy"
] |
“A woman is like a tea bag; you never know how strong it is until it's in hot water.” | Eleanor Roosevelt | [
"misattributed-eleanor-roosevelt"
] |
“The man who does not read has no advantage over the man who cannot read.” | Mark Twain | [
"aliteracy",
"literacy"
] |
“If you don't stand for something you will fall for anything.” | Gordon A. Eadie | [
"belief",
"integrity",
"misattributed-to-malcolm-x",
"misattributed-to-rosa-parks"
] |
“I may not have gone where I intended to go, but I think I have ended up where I needed to be.” | douglas adams, | [
"life",
"navigation"
] |
“I love you without knowing how, or when, or from where. I love you simply, without problems or pride: I love you in this way because I do not know any other way of loving but this, in which there is no I or you, so intimate that your hand upon my chest is my hand, so intimate that when I fall asleep your eyes close.” | Pablo Neruda, | [
"love",
"poetry"
] |
“I solemnly swear that I am up to no good.” | J.K. Rowling, | [
"mischief"
] |
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.” | Groucho Marx, | [
"animals",
"books",
"dogs",
"friends",
"humor"
] |
“I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.” | Albert Einstein | [
"1929",
"imagination",
"inspirational",
"viereck-interview"
] |
“Love all, trust a few, do wrong to none.” | William Shakespeare, | [
"do-wrong",
"love",
"trust",
"wrong"
] |
“I like nonsense, it wakes up the brain cells. Fantasy is a necessary ingredient in living.” | Dr. Seuss | [
"fantasy"
] |
“Have you ever been in love? Horrible isn't it? It makes you so vulnerable. It opens your chest and it opens up your heart and it means that someone can get inside you and mess you up.” | Neil Gaiman, | [
"love"
] |
“A day without sunshine is like, you know, night.” | Steve Martin | [
"humor",
"obvious",
"simile"
] |
“A reader lives a thousand lives before he dies, said Jojen. The man who never reads lives only one.” | George R.R. Martin, | [
"read",
"readers",
"reading",
"reading-books"
] |
“Never put off till tomorrow what may be done day after tomorrow just as well.” | Mark Twain | [
"humor",
"procrastination"
] |
“ | Kent M. Keith, | [
"forgiveness",
"goodness",
"happiness",
"honesty",
"kindness",
"misattributed-to-mother-teresa",
"world"
] |
“You have brains in your head. You have feet in your shoes. You can steer yourself any direction you choose. You're on your own. And you know what you know. And YOU are the one who'll decide where to go...” | Dr. Seuss, | [
"inspirational"
] |
“That which does not kill us makes us stronger.” | Friedrich Nietzsche | [
"paraphrased",
"strength"
] |
“Being deeply loved by someone gives you strength, while loving someone deeply gives you courage.” | Lao Tzu | [
"courage",
"deeply-loved",
"love",
"strength",
"widely-misattributed"
] |
“It is never too late to be what you might have been.” | George Eliot | [
"inspirational",
"source-unknown"
] |
“For every minute you are angry you lose sixty seconds of happiness.” | Ralph Waldo Emerson | [
"happiness"
] |
“It takes a great deal of bravery to stand up to our enemies, but just as much to stand up to our friends.” | J.K. Rowling, | [
"albus-dumbledore",
"courage",
"friends"
] |
“This life is what you make it. No matter what, you're going to mess up sometimes, it's a universal truth. But the good part is you get to decide how you're going to mess it up. Girls will be your friends - they'll act like it anyway. But just remember, some come, some go. The ones that stay with you through everything - they're your true best friends. Don't let go of them. Also remember, sisters make the best friends in the world. As for lovers, well, they'll come and go too. And baby, I hate to say it, most of them - actually pretty much all of them are going to break your heart, but you can't give up because if you give up, you'll never find your soulmate. You'll never find that half who makes you whole and that goes for everything. Just because you fail once, doesn't mean you're gonna fail at everything. Keep trying, hold on, and always, always, always believe in yourself, because if you don't, then who will, sweetie? So keep your head high, keep your chin up, and most importantly, keep smiling, because life's a beautiful thing and there's so much to smile about.” | Marilyn Monroe | [
"friends",
"heartbreak",
"inspirational",
"life",
"love",
"sisters"
] |
“I love deadlines. I love the whooshing noise they make as they go by.” | Douglas Adams, | [
"deadlines",
"humor",
"humour",
"work",
"writing"
] |
“If you judge people, you have no time to love them.” | Mother Teresa | [] |
“There is never a time or place for true love. It happens accidentally, in a heartbeat, in a single flashing, throbbing moment.” | Sarah Dessen, | [
"love"
] |
“If you can't explain it to a six year old, you don't understand it yourself.” | Albert Einstein | [
"simplicity",
"understand"
] |
“I'm not upset that you lied to me, I'm upset that from now on I can't believe you.” | Friedrich Nietzsche | [
"lies",
"lying",
"trust"
] |
“There is no greater agony than bearing an untold story inside you.” | Maya Angelou, | [
"1970",
"inspirational",
"stories",
"writing"
] |
“Love is that condition in which the happiness of another person is essential to your own.” | Robert A. Heinlein, | [
"essential",
"happiness",
"love"
] |
“Anyone who thinks sitting in church can make you a Christian must also think that sitting in a garage can make you a car.” | Garrison Keillor | [
"humor",
"religion"
] |
“If you only read the books that everyone else is reading, you can only think what everyone else is thinking.” | Haruki Murakami, | [
"books",
"thought"
] |
“I have always imagined that Paradise will be a kind of library.” | Jorge Luis Borges | [
"books",
"library"
] |
“Everything you can imagine is real.” | Pablo Picasso | [
"art",
"imagination",
"inspirational",
"life"
] |
“Women and cats will do as they please, and men and dogs should relax and get used to the idea.” | Robert A. Heinlein | [
"cats",
"humor",
"women"
] |
“Sometimes the questions are complicated and the answers are simple.” | Dr. Seuss | [
"life"
] |
“You may not be her first, her last, or her only. She loved before she may love again. But if she loves you now, what else matters? She's not perfect—you aren't either, and the two of you may never be perfect together but if she can make you laugh, cause you to think twice, and admit to being human and making mistakes, hold onto her and give her the most you can. She may not be thinking about you every second of the day, but she will give you a part of her that she knows you can break—her heart. So don't hurt her, don't change her, don't analyze and don't expect more than she can give. Smile when she makes you happy, let her know when she makes you mad, and miss her when she's not there.” | Bob Marley | [
"love"
] |
“Never trust anyone who has not brought a book with them.” | Lemony Snicket, | [
"books",
"reading"
] |
“You love me. Real or not real?"I tell him, "Real.” | Suzanne Collins, | [
"katniss",
"love",
"peeta",
"suzanne-collins",
"the-hunger-games"
] |
“You can never get a cup of tea large enough or a book long enough to suit me.” | C.S. Lewis | [
"books",
"inspirational",
"reading",
"tea"
] |
“We read to know we're not alone.” | William Nicholson, | [
"misattributed-to-c-s-lewis",
"reading"
] |
“Sometimes, you read a book and it fills you with this weird evangelical zeal, and you become convinced that the shattered world will never be put back together unless and until all living humans read the book.” | John Green, | [
"books",
"power-of-words",
"reading"
] |
“All you need is love. But a little chocolate now and then doesn't hurt.” | Charles M. Schulz | [
"chocolate",
"food",
"humor"
] |
“Of course it is happening inside your head, Harry, but why on earth should that mean that it is not real?” | J.K. Rowling, | [
"dumbledore"
] |
“Beauty is in the eye of the beholder and it may be necessary from time to time to give a stupid or misinformed beholder a black eye.” | Jim Henson | [
"humor"
] |
“Life isn't about finding yourself. Life is about creating yourself.” | George Bernard Shaw | [
"inspirational",
"life",
"yourself"
] |
“Today you are You, that is truer than true. There is no one alive who is Youer than You.” | Dr. Seuss, | [
"comedy",
"life",
"yourself"
] |
“To the well-organized mind, death is but the next great adventure.” | J.K. Rowling, | [
"death",
"dumbledore",
"harry",
"inspirational",
"philosophers-stone",
"ron",
"sorcerers-stone"
] |
“I'm not afraid of death; I just don't want to be there when it happens.” | Woody Allen | [
"death",
"fear",
"humor",
"life"
] |
“If one cannot enjoy reading a book over and over again, there is no use in reading it at all.” | Oscar Wilde | [
"books",
"reading"
] |
“If you want your children to be intelligent, read them fairy tales. If you want them to be more intelligent, read them more fairy tales.” | Albert Einstein | [
"children",
"fairy-tales"
] |
“Have you fallen in love with the wrong person yet?'Jace said, "Unfortunately, Lady of the Haven, my one true love remains myself."..."At least," she said, "you don't have to worry about rejection, Jace Wayland.""Not necessarily. I turn myself down occasionally, just to keep it interesting.” | Cassandra Clare, | [
"city-of-bones",
"jace"
] |
“Logic will get you from A to Z; imagination will get you everywhere.” | Albert Einstein | [
"imagination"
] |
Dataset Card for English quotes
I-Dataset Summary
english_quotes is a dataset of all the quotes retrieved from goodreads quotes. This dataset can be used for multi-label text classification and text generation. The content of each quote is in English and concerns the domain of datasets for NLP and beyond.
II-Supported Tasks and Leaderboards
- Multi-label text classification : The dataset can be used to train a model for text-classification, which consists of classifying quotes by author as well as by topic (using tags). Success on this task is typically measured by achieving a high or low accuracy.
- Text-generation : The dataset can be used to train a model to generate quotes by fine-tuning an existing pretrained model on the corpus composed of all quotes (or quotes by author).
III-Languages
The texts in the dataset are in English (en).
IV-Dataset Structure
Data Instances
A JSON-formatted example of a typical instance in the dataset:
{'author': 'Ralph Waldo Emerson',
'quote': '“To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.”',
'tags': ['accomplishment', 'be-yourself', 'conformity', 'individuality']}
Data Fields
- author : The author of the quote.
- quote : The text of the quote.
- tags: The tags could be characterized as topics around the quote.
Data Splits
I kept the dataset as one block (train), so it can be shuffled and split by users later using methods of the hugging face dataset library like the (.train_test_split()) method.
V-Dataset Creation
Curation Rationale
I want to share my datasets (created by web scraping and additional cleaning treatments) with the HuggingFace community so that they can use them in NLP tasks to advance artificial intelligence.
Source Data
The source of Data is goodreads site: from goodreads quotes
Initial Data Collection and Normalization
The data collection process is web scraping using BeautifulSoup and Requests libraries. The data is slightly modified after the web scraping: removing all quotes with "None" tags, and the tag "attributed-no-source" is removed from all tags, because it has not added value to the topic of the quote.
Who are the source Data producers ?
The data is machine-generated (using web scraping) and subjected to human additional treatment.
below, I provide the script I created to scrape the data (as well as my additional treatment):
import requests
from bs4 import BeautifulSoup
import pandas as pd
import json
from collections import OrderedDict
page = requests.get('https://www.goodreads.com/quotes')
if page.status_code == 200:
pageParsed = BeautifulSoup(page.content, 'html5lib')
# Define a function that retrieves information about each HTML quote code in a dictionary form.
def extract_data_quote(quote_html):
quote = quote_html.find('div',{'class':'quoteText'}).get_text().strip().split('\n')[0]
author = quote_html.find('span',{'class':'authorOrTitle'}).get_text().strip()
if quote_html.find('div',{'class':'greyText smallText left'}) is not None:
tags_list = [tag.get_text() for tag in quote_html.find('div',{'class':'greyText smallText left'}).find_all('a')]
tags = list(OrderedDict.fromkeys(tags_list))
if 'attributed-no-source' in tags:
tags.remove('attributed-no-source')
else:
tags = None
data = {'quote':quote, 'author':author, 'tags':tags}
return data
# Define a function that retrieves all the quotes on a single page.
def get_quotes_data(page_url):
page = requests.get(page_url)
if page.status_code == 200:
pageParsed = BeautifulSoup(page.content, 'html5lib')
quotes_html_page = pageParsed.find_all('div',{'class':'quoteDetails'})
return [extract_data_quote(quote_html) for quote_html in quotes_html_page]
# Retrieve data from the first page.
data = get_quotes_data('https://www.goodreads.com/quotes')
# Retrieve data from all pages.
for i in range(2,101):
print(i)
url = f'https://www.goodreads.com/quotes?page={i}'
data_current_page = get_quotes_data(url)
if data_current_page is None:
continue
data = data + data_current_page
data_df = pd.DataFrame.from_dict(data)
for i, row in data_df.iterrows():
if row['tags'] is None:
data_df = data_df.drop(i)
# Produce the data in a JSON format.
data_df.to_json('C:/Users/Abir/Desktop/quotes.jsonl',orient="records", lines =True,force_ascii=False)
# Then I used the familiar process to push it to the Hugging Face hub.
Annotations
Annotations are part of the initial data collection (see the script above).
VI-Additional Informations
Dataset Curators
Abir ELTAIEF
Licensing Information
This work is licensed under a Creative Commons Attribution 4.0 International License (all software and libraries used for web scraping are made available under this Creative Commons Attribution license).
Contributions
Thanks to @Abirate for adding this dataset.
- Downloads last month
- 3,260