Exemplo n.º 1
0
def InitializeSession():

	therapist = ChooseTherapist()

	patient = getPtName()	

	first_Uresponse = raw_input("\n%s\n\n"%(Therapist.introduce(therapist,patient)))

	return therapist, patient, first_Uresponse
Exemplo n.º 2
0
def InitializeSession():

    therapist = ChooseTherapist()

    patient = getPtName()

    first_Uresponse = raw_input("\n%s\n\n" %
                                (Therapist.introduce(therapist, patient)))

    return therapist, patient, first_Uresponse
Exemplo n.º 3
0
	return answer

def DetectFeels(user_input):

	feel_think = re.compile(r'(.*?((feel|think)(ing)?)(.*)\.)')

	if re.match(feel_think, user_input):
		answer = "What makes you %s that way?"%(feel_think.group(1))


therapist = ChooseTherapist()

name = NameCheck(raw_input("\nAnd what's your name?\n\n"))

patient = pt(name)

print Therapist.introduce(therapist,name)

opener = Stylize(therapist, "\nWhat would you say is the single biggest challenge you're facing right now?")

user_init = raw_input(opener+"\n\n")