As a foreigner, when I talk with people in English, it’s sometimes a little bit embarrassing. Like when people ask me:”How’s going?” I’m always not if I should answer like “good”/”fine”, or answer it with more details or emotions to show my respect – cuz in China, people never greet by asking questions.
So we are wondering if we can build up a specific structure for questions and answers, based on different people’s styles.
What We Do
Select the most frequently-used words quoted from various celebrities;
Based on our source texts, re-construct the words and generate different questions;
Answer these special-style-questions with a fixed structure.
I combined these two assignments together (API and function).
for line in sys.stdin:
line = line.strip()
words = line.split(” “)
for word in words:
api_key = “a2a73e7b926c924fad7001ca3111acd55af2ffabf50eb4ae5”
for kWord in kWords:
# print kWord
# print type(kWord)