-
Notifications
You must be signed in to change notification settings - Fork 1
/
solutions.py
91 lines (80 loc) · 3.86 KB
/
solutions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import spech as s
def premenstural1():
s.speak('try to meditate')
s.speak('try using aromatherapy')
s.speak('try using a warm bath')
s.speak('try changing your menstural product')
s.speak('try to have a healthy and balanced diet')
def situational2():
s.speak('get phyically active')
s.speak('go out into the sun')
s.speak('stay away from drugs and alcohol')
s.speak('talk to a close friend')
''' seasonal depression
Symptoms often begin in the fall, as days start to get shorter, and continue through the winter.
social withdrawal
increased need for sleep
weight gain
daily feelings of sadness, hopelessness, or unworthiness
'''
def seasonal3():
s.speak('try to get a light therapy box')
s.speak('try using dawn simulators')
s.speak('try using aromatherapy')
s.speak('get some sunshine')
s.speak('try being proactive')
''' Cause of ( 3. Manic depression)
high energy
reduced sleep
irritability
racing thoughts and speech
grandiose thinking
increased self-esteem and confidence
unusual, risky, and self-destructive behavior
feeling elated '''
def Manicdepression4() :
# 'these are the remedy of Manic depression or non pharmalogical approach '
s.speak (' Sir please try to do cognitive behavioral therapy . try to reach to any CBT therepist . the will help you to do this therepy . this will totally relax your brain . ')
s.speak (' Sir . please try to do deep an real conversation with those person who are really close to your heart . tell them all your problems to them and share your deep feelings with them . this will help you to recover faster ')
s.speak('take care of your body')
s.speak('embrace your postpartum body')
s.speak('talk to new and expecting mothers')
''' Cause of (4. Depressive psychosis)
Agitation
Anxiety
Constipation
Hypochondria
Insomnia
Intellectual impairment
Physical immobility
Delusions or hallucinations'''
def Depressivepsychosis5 () :
'''these are the remedy of Depressive psychosis or non pharmalogical approach '''
s.speak (''' Sir please try to do meditation for 15 minutes from now . this will totally relex your brain . ''')
s.speak (''' Sir . please conult to your nearest doctor as they will provide proper medication and you will recover faster ''')
def atypical6():
s.speak('use light therapy')
s.speak('talk your heart out')
s.speak('try penning down your thoughts')
def perinatal7():
s.speak('''please increase the intake vitamin in the body ''')
s.speak('''take care of your body''')
s.speak('''embrace your postpartum body''')
s.speak('''talk to new and expecting mothers''')
def MajorDepression():
''' these are the remedy of major depression
or non pharmalogical approach'''
s.speak('''sir have you tried exercizing as is good for producing natural energy booster like "dopamine "
-exercizing for 20 minute for 3 times a week would be good start go
also increesing seasonal fruits in diet will also help in this ''')
#cause of persistant dissorder
'''Do you-these symptoms are very long (long as for 2 years or more )'''
'''Do you- thee can also happen because chemical imbalance'''
def PersitantDepression():
s.speak('''bhai sme sirf psycho therapy OR baat krne positive attitude ko batare toh dekh bot ko jitna ho sake
-or bhai ye wala ek chronic dissease hai shayad medications ke baad bhi patient recover na kare
to hum kya kr payenge ''')
s.speak('it is inportant to ask patient if he she is under any medication prior to this programm')
s.speak('the dissorder cannot be explained by any mental illiness')
s.speak('also pattient cannot have any manic or hypomannic episode at any point ')
s.speak('also pattient cannot have any halucinating episode at any point ')