Skip to content

Commit

Permalink
add gmd english version
Browse files Browse the repository at this point in the history
  • Loading branch information
lwgkzl committed May 5, 2022
1 parent c576828 commit 300b6d1
Show file tree
Hide file tree
Showing 6 changed files with 242 additions and 0 deletions.
Binary file added dataset/gmd-12/EnglishVersion/dev.pk
Binary file not shown.
12 changes: 12 additions & 0 deletions dataset/gmd-12/EnglishVersion/disease.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Esophagitis
Enteritis
Asthma
Coronary heart disease
Pneumonia
Rhinitis
Thyroiditis
Traumatic brain injury
Dermatitis
External otitis
Conjunctivitis
Mastitis
112 changes: 112 additions & 0 deletions dataset/gmd-12/EnglishVersion/reader.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import pickle"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"with open('train.pk','rb') as f:\n",
" train_data = pickle.load(f)\n"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"<class 'list'> 1912\n"
]
}
],
"source": [
"print(type(train_data), len(train_data))"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"[{'explicit_inform_slots': {'Cough': True,\n",
" 'Chest tightness and shortness of breath': False},\n",
" 'implicit_inform_slots': {'Pain behind the breastbone': False,\n",
" 'Chest tightness': False,\n",
" 'Hemoptysis': True,\n",
" 'Expectoration': True},\n",
" 'disease_tag': 'Esophagitis'},\n",
" {'explicit_inform_slots': {'Burning sensation behind the breastbone': True,\n",
" 'Acid reflux': True,\n",
" 'Chest tightness': False},\n",
" 'implicit_inform_slots': {'Pain behind the breastbone': False},\n",
" 'disease_tag': 'Esophagitis'},\n",
" {'explicit_inform_slots': {'Burning sensation behind the breastbone': True},\n",
" 'implicit_inform_slots': {'Cough': True, 'Acid reflux': True},\n",
" 'disease_tag': 'Esophagitis'},\n",
" {'explicit_inform_slots': {'Acid reflux': True},\n",
" 'implicit_inform_slots': {'Stomach ache': False,\n",
" 'Vomiting': True,\n",
" 'Diarrhea': True,\n",
" 'Nausea': True,\n",
" 'Bloating': True},\n",
" 'disease_tag': 'Esophagitis'}]"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"train_data[0:4]"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"with open('test.pk','rb') as f:\n",
" test = pickle.load(f)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
118 changes: 118 additions & 0 deletions dataset/gmd-12/EnglishVersion/symptom.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
Dizziness
Chest tightness
Burning sensation behind the breastbone
Chest tightness and shortness of breath
Pain behind the breastbone
Acid reflux
Nausea
Vomiting
Hard to swallow
Stomach ache
Bloating
Pharynx discomfort
Expectoration
Cough
Fever
Palpitations
Diarrhea
Feel sick and vomit
Loss of appetite
Hiccup
Thin
Anorexia
Increased stool frequency
Edema
Constipation
Bitter
Thirst
Hiccough
Hemoptysis
Runny nose
Twitch
Suppuration
Chills and fever
Black stool
Sweating
Shortness of breath
Poor spirits
Poor sleep
Stuffy nose
Hoarse
Hematemesis
Fear of cold
Bloody stools
Headache
Fatigue
Dizzy
Syncope
Consciousness disorder
Sleep disorder
Body aches
Blood in the tears
Diplopia
Difficulty breathing
Frequent urination
Hazy
Backache
Night sweats
Hematuria
Painful urination
Radiating pain
Defecate
Cyanosis
Mucus pus and blood in the stool
Tensile and heavy
Rash
Chills
Urgency
Decreased urine output
Abdominal pain and diarrhea
Sneeze
Cry
Waist pain
First degree swelling of bilateral tonsils
Oliguria
Afraid of cold
Joint pain
Itching
Swelling of both nasal mucosa
Itchy eyes
Ear itching
Thin white moss
Nasal congestion
Inspiratory tri-concave sign
Tinnitus
Vertigo
Headache and dizziness
Poor physical activity
Pain in front of neck
Redness
Earache
Snore
Ulcer
Right earache
Nose bleeding
Nasal mucosal congestion
Hearing loss
Hand tremor
Proptosis
Mild thyroid enlargement
Afraid of heat
Shaking hands
Eye swelling
Vision loss
Head trauma pain
Unconsciousness
Incontinence
Limb numbness
Itchy and uncomfortable eyes
Jealous
Photophobia
Papule
Congestion of skin and mucous membranes
Dysmenorrhea
Breast tenderness
Eye pain
Lumbago
Vaginal bleeding
Increased vaginal discharge
Binary file added dataset/gmd-12/EnglishVersion/test.pk
Binary file not shown.
Binary file added dataset/gmd-12/EnglishVersion/train.pk
Binary file not shown.

0 comments on commit 300b6d1

Please sign in to comment.