-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathknowledge.py
10 lines (9 loc) · 1.15 KB
/
knowledge.py
1
2
3
4
5
6
7
8
9
10
noise_words = [
"is", "am", "are",
"a", "an", "the"
]
knowledge_base = [
[['what', 'dog'], "Kingdom: Animalia\nPhylum: Chordata\nClass: Mammalia\nOrder: Carnivora\nFamily: Canidae\nSubfamily: Caninae\nTribe: Canini\nGenus: Canis\nSpecies: C. lupus\nSubspecies: C. l. familiaris"],
[['why', 'sky', 'blue'], "Sky is blue because when the white light from the sun enters the earth's atmostphere, it seperates white light into seven distinct colours of which blue scatters the most. Because of this reason, we see the sky blue."],
[['why', 'there', 'leap', 'year'], "We need leap years to keep our modern-day Gregorian calendar in alignment with Earth's revolutions around the Sun.\nIt takes Earth approximately 365.242189 days, or 365 days, 5 hours, 48 minutes, and 45 seconds, to circle once around the Sun. This is called a tropical year, and astronomers measure this from the March equinox.\nHowever, the Gregorian calendar has only 365 days in a year. If we didn't add a leap day on February 29 nearly every four years, we would lose almost six hours off our calendar every single year. After only 100 years, our calendar would be off by around 24 days!"]
]