about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-03-26 15:37:44 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-03-26 15:37:44 -0400
commit70d6fc90ef683dd3e1f83a6432a662304f6ff5dc (patch)
tree91e9a737d9bdea15106337b81a9284fbacb896fb
parentce7f42f1f3a45b9167a9cc4e85e1bc4488013c70 (diff)
downloadyandere-70d6fc90ef683dd3e1f83a6432a662304f6ff5dc.tar.gz
yandere-70d6fc90ef683dd3e1f83a6432a662304f6ff5dc.tar.bz2
yandere-70d6fc90ef683dd3e1f83a6432a662304f6ff5dc.zip
Added some more data
-rw-r--r--chemist.cpp4
-rw-r--r--data.txt79
2 files changed, 48 insertions, 35 deletions
diff --git a/chemist.cpp b/chemist.cpp index a111931..05cfac0 100644 --- a/chemist.cpp +++ b/chemist.cpp
@@ -98,6 +98,10 @@ int main(int argc, char** argv)
98 auto person = database.nouns().with_singular_form("person").limit(1).run().front(); 98 auto person = database.nouns().with_singular_form("person").limit(1).run().front();
99 auto ptypes = database.nouns().full_hyponym_of({person}).is_class().random().limit(1).run().front(); 99 auto ptypes = database.nouns().full_hyponym_of({person}).is_class().random().limit(1).run().front();
100 result = database.nouns().instance_of({ptypes}).random().limit(1).run().front().singular_form(); 100 result = database.nouns().instance_of({ptypes}).random().limit(1).run().front().singular_form();
101 } else if (canontkn == "BODYPART")
102 {
103 auto bp = database.nouns().with_singular_form("body part").limit(1).run().front();
104 result = database.nouns().full_hyponym_of({bp}).random().limit(1).run().front().singular_form();
101 } else { 105 } else {
102 auto group = groups[canontkn]; 106 auto group = groups[canontkn];
103 result = group[rand() % group.size()]; 107 result = group[rand() % group.size()];
diff --git a/data.txt b/data.txt index 6a7c6ea..5bb93e4 100644 --- a/data.txt +++ b/data.txt
@@ -8,16 +8,19 @@ PRIMARY
8{NAME} is {CLASS:indefinite} approved for treatment of {syndrome}, {syndrome}, and {syndrome}. 8{NAME} is {CLASS:indefinite} approved for treatment of {syndrome}, {syndrome}, and {syndrome}.
9{NAME} is {CLASS:indefinite} used for {syndrome} and {syndrome}. 9{NAME} is {CLASS:indefinite} used for {syndrome} and {syndrome}.
10{NAME} is {CLASS:indefinite} used with {existent} to treat {syndrome}. 10{NAME} is {CLASS:indefinite} used with {existent} to treat {syndrome}.
11{NAME} is {CLASS:indefinite} used in cases of {EXISTENT} overdose.
12{NAME} is {CLASS:indefinite} used recreationally as {CLASS:indefinite}.
11 13
12SECONDARY 14SECONDARY
13Developed in {year} in response to the Great {Noun} Epidemic in {Region}. 15Developed in {year} due to the Great {Noun} Epidemic in {Region}.
14Frequently prescribed off-label for {syndrome}. 16Frequently prescribed off-label for {syndrome}.
15Sometimes used for {syndrome} because of its {verbing} effect. 17Sometimes used for {syndrome} because of its {verbing} effect.
16Illegal to own in the US because of its {verbing} effect. 18Illegal to own in the US because of its {verbing} effect.
17Developed in {year} to replace {existent}. 19Developed in {year} to replace {EXISTENT}.
18Overtook {existent} as the primary treatment, having fewer side effects. 20Overtook {EXISTENT} as the primary treatment, having fewer side effects.
19Synthesized by {FamousName} in {year} in a {verbing} accident. 21Synthesized by {FamousName} in {year} in a {verbing} accident.
20Used mainly in {year}, before {existent} became popular. 22Used mainly in {year}, before {EXISTENT} became popular.
23Only legal in {Region} because of its {verbing} effect.
21 24
22SYNDROME 25SYNDROME
23Irritable {Noun} Syndrome 26Irritable {Noun} Syndrome
@@ -25,8 +28,13 @@ Irritable {Noun} Syndrome
25Severe {Noun} 28Severe {Noun}
26Major {Adjective} Disorder 29Major {Adjective} Disorder
27{Adjective} {Noun} Disorder 30{Adjective} {Noun} Disorder
28Obsessive {Adjective} Disorder 31Obsessive {Noun} Disorder
29Clinical {Noun} 32Clinical {Noun}
33{Adjective} Personality Disorder
34Respiratory {Adjective} Disease
35{Bodypart} Cancer
36Restless {Bodypart}
37{Bodypart} Failure
30 38
31CLASS 39CLASS
32analgesic 40analgesic
@@ -81,64 +89,65 @@ antibiotic
81antiviral drug 89antiviral drug
82stimulant 90stimulant
83depressant 91depressant
92aphrodisiac
84 93
85EXISTENT 94EXISTENT
86Fluoxetine 95fluoxetine
87Prozac 96Prozac
88Sertraline 97sertraline
89Zoloft 98Zoloft
90Escitalopram 99escitalopram
91Lexapro 100Lexapro
92Venlafaxine 101venlafaxine
93Effexor 102Effexor
94Aripiprazole 103aripiprazole
95Abilify 104Abilify
96Alprazolam 105alprazolam
97Xanax 106Xanax
98Diazepam 107diazepam
99Valium 108Valium
100Lamotrigine 109lamotrigine
101Lamictal 110Lamictal
102Gabapentin 111gabapentin
103Neurontin 112Neurontin
104Acetaminophen 113acetaminophen
105Tylenol 114Tylenol
106Ibuprofin 115ibuprofin
107Advil 116Advil
108Lurasidone 117lurasidone
109Latuda 118Latuda
110Lithium 119lithium
111Activated charcoal 120activated charcoal
112Estradiol 121estradiol
113AndroGel 122AndroGel
114Ziprasidone 123ziprasidone
115Geodon 124Geodon
116Risperidone 125risperidone
117Risperdal 126Risperdal
118Quetiapine 127quetiapine
119Seroquel 128Seroquel
120Cymbalta 129Cymbalta
121Duloxetine 130duloxetine
122Bupropion 131bupropion
123Welbutrin 132Welbutrin
124Buspirone 133buspirone
125Buspar 134Buspar
126Oxycontin 135oxycontin
127Oxycodone 136Oxycodone
128Concerta 137Concerta
129Methylphenidate 138methylphenidate
130Ritalin 139Ritalin
131Vyvanse 140Vyvanse
132Lisdexamfetamine 141lisdexamfetamine
133Adderall 142Adderall
134Epinephrine 143epinephrine
135Adrenaline 144adrenaline
136Testosterone gel 145testosterone gel
137Cialis 146Cialis
138Viagra 147Viagra
139Heroin 148heroin
140Morphine 149morphine
141Crystal meth 150crystal meth
142 151
143NAME 152NAME
144{PRENAME}{NAMEMID}{NAMEIFX} 153{PRENAME}{NAMEMID}{NAMEIFX}