const quotes = [
  "Be the change you want to see in this world",
  "Jack of all trades master of none",
  "Try to learn something about everything and everything about something",
  "Do what is right not what is easy",
  "Prioritize principles over process",
  "Everyone wants to live on top of the mountain but all the happiness and growth occurs while you're climbing it",
  "Be the person your dog thinks you are",
  "Step aside coffee this is a job for alcohol",
  "Being a professional is doing the things you love to do on the days you don't feel like doing them",
  "Spend your free time the way you like not the way you think you're supposed to",
  "Hope for the best and prepare for the worst",
  "Do what you love love what you do",
  "Done is better than perfect",
  "KISS Keep it simple stupid",
  "Good judgement is the result of experience experience is the result of bad judgement",
  "We need less hackathons more apprenticeships less bootcamps more classes less rockstars more mentors develop people instead of product",
  "Boy Scout Rule Always leave the campground cleaner than you found it",
  "I divide the world between learners and nonlearners",
  "The simple leads to the spectacular you can't try the spectacular without doing the simple first",
  "Learn the rules like a pro so you can break them like an artist",
  "Keep it simple Make it valuable Build it piece by piece",
  "Work hard and go home",
  "Hope is not a strategy",
  "Don't teach students what to think teach them how to think",
  "If you look at the code you made one year ago and you don't feel ashamed you're doing it wrong because you're not improving",
  "Start making your own happiness a priority",
  "Sometimes you win sometimes you learn",
  "To achieve something you've never achieved before you must learn and practice something that you've never done before",
  "Experience is a marvellous thing that allows you to recognice an error when you do it again",
  "Choose a job you love and you will never have to work a day in your life",
  "He who learns but does not think is lost! He who thinks but does not learn is in great danger",
  "Wisdom is not transferred it is learned",
  "Fortune favors the prepared mind",
  "An error does not become truth by reason of multiplied propagation nor does truth become error because nobody sees it",
  "If i had more time I would have written a shorter letter",
  "To know is to know that you know nothing that is the meaning of true knowledge",
  "The fastest code is the code that never runs",
  "We are tomorrow's past",
  "Everything a person can imagine others will do",
  "Build exciting things with boring technologies",
  "The purpose of software engineering is to control complexity not to create it",
  "Seek first to understand then to be understood",
  "A mind is like a parachute it doesn't work if it is not open",
  "Believe those who seek the truth doubt those who find it",
  "If you do what you love and do it as well as you can good things will eventually come of it ot necessarily quickly or easily but if you stick with it they will come",
  "Keep it simple until you can't",
  "If you want to build a ship don't drum up your men to collect wood and give orders and distribute the work instead teach them to yearn for the vast and endless sea",
  "I haven't failed I've done 10000 ideas that didn't work",
];

const itemsMap = new Map();
let allQuoteWords = quotes.reduce((acc, quote) => {
  return acc.concat(
    // very naive cleaning of special characters, but works withe sample dictionary
    quote.split(" ").map((word) => word.toLowerCase().replaceAll(/[!\?:]/g, ""))
  );
}, []);
allQuoteWords.sort();

// For now, remove all numbers
allQuoteWords
  .filter((word) => /^[a-z]+/.test(word))
  .forEach((word) => itemsMap.set(word, true));

export const dictionary = Array.from(itemsMap.keys());
