diff --git a/ProjectNotes.md b/ProjectNotes.md
index 69f6a7cb37e4ad2193b2d480c3b30a8dbf29dbfa..7a7db3212c2b12d304f72308841b3721265695ef 100644
--- a/ProjectNotes.md
+++ b/ProjectNotes.md
@@ -7,9 +7,8 @@
 ## TODO
 
 ### Must
-- (Parfaitement comprendre comment ATM fonctionne)
 - Trouver en combien de temps les mesh term sont donnée
-- Explorer les non-superviser (classification de texte)
+- Explorer les model non-superviser (classification de texte)
 
 - ~~Mesh term vs keyword~~
 - ~~Ou il recherche les term (titre, keywords, meshterms, etc...)~~
diff --git a/api/data/pubmedData.xml b/api/data/pubmedData.xml
index 04adf9e58d0f3432f64e9f8dd563b81b9583ad7d..99ba7bad68f339514dc347fc004920c4fd5f023f 100644
Binary files a/api/data/pubmedData.xml and b/api/data/pubmedData.xml differ
diff --git a/api/model/__pycache__/facebook.cpython-312.pyc b/api/model/__pycache__/facebook.cpython-312.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..b655abb2c1b37eb61bb764a85a65ba597f83f11b
Binary files /dev/null and b/api/model/__pycache__/facebook.cpython-312.pyc differ
diff --git a/api/model/facebook.py b/api/model/facebook.py
new file mode 100644
index 0000000000000000000000000000000000000000..fe5a7fd081203a82a486700470f219701536478e
--- /dev/null
+++ b/api/model/facebook.py
@@ -0,0 +1,22 @@
+# https://huggingface.co/facebook/bart-large-mnli
+
+from transformers import pipeline
+
+classifier = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")
+
+def classify(sequence):
+    sequence_to_classify = sequence
+    candidate_labels = [
+        "Diabetes",
+        "Cancer",
+        "Chronic respiratory disease",
+        "Cardiovascular diseases",
+        "Mental Health",
+        "Diabetes type 1",
+        "Diabetes type 2"
+        ]
+    results = classifier(sequence_to_classify, candidate_labels)
+
+    # print(f"Sequence: {sequence_to_classify}")
+    print(f"Labels: {results["labels"]}")
+    print(f"Scores: {results["scores"]}")
diff --git a/api/model/facebook_results.txt b/api/model/facebook_results.txt
new file mode 100644
index 0000000000000000000000000000000000000000..37c8d87caf4bae46440e0a511c89c4da8cb238a2
--- /dev/null
+++ b/api/model/facebook_results.txt
@@ -0,0 +1,232 @@
+Pubmed query: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term="Diabetes+Mellitus"[Mesh]&retmode=json&mindate=2024/11/29&maxdate=2024/11/29&usehistory=y
+
+--------------------------------------------------------
+Index: 0
+PMID: 39612437
+Title: Medicine
+ArticleTitle: Association between serum uric acid and prediabetes in a normal Chinese population: A cross-sectional study.
+Abstract: Cardiovascular events are frequent among individuals with prediabetes. And the relationship between cardiovascular diseases and elevated serum uric acid (SUA) levels has been supported by extensive scientific evidence. However, there remains controversy regarding the correlation between elevated SUA and prediabetes. The aim of this study was to investigate the association between elevated SUA levels and the prevalence of prediabetes and gender differences in the association. A total of 190,891 individuals who participated in health checkups at the Health Promotion Center of Sir Run Run Shaw Hospital of Zhejiang University from January 2017 to December 2021 were included in this cross-sectional study. The health checkups were carried out by trained general practitioners and nurses. The diagnostic criteria for diabetes and prediabetes are defined in the Standards of Medical Care in Diabetes-2022. The association between SUA levels and diabetes and prediabetes was examined based on logistic regression analysis. The dose-response effect between SUA levels and diabetes and prediabetes in both sexes was assessed using a restricted cubic spline (RCS) regression model. Among 190,891 participants, this study included 106,482 males (55.8%) and 84,409 females (44.2%). There were 46,240 (24.2%) patients with prediabetes and 20,792 (10.9%) patients with diabetes. SUA was divided into quartiles (Q). Compared to the SUA Q1 group, the prevalence of prediabetes was elevated in the SUA Q4 group (OR = 1.378, 95% CI = 1.321-1.437), but diabetes risk was decreased in the SUA Q4 group (OR = 0.690, 95% CI = 0.651-0.730). We found that SUA levels were correlated with prediabetes more significantly in male subjects (OR = 1.328, 95% CI = 1.272-1.386) than in female subjects (OR = 1.184, 95% CI = 1.122-1.249) (P for interaction < .001). Higher SUA levels were strongly related to an elevated prevalence of prediabetes but a decreased prevalence of diabetes. The association of SUA in prediabetes was more significant in men.
+['Humans', 'Prediabetic State', 'Male', 'Female', 'Uric Acid', 'Cross-Sectional Studies', 'Middle Aged', 'China', 'Adult', 'Prevalence', 'Sex Factors', 'Risk Factors', 'Aged', 'East Asian People']
+Labels: ['Cardiovascular diseases', 'Diabetes', 'Mental Health', 'Diabetes type 1', 'Diabetes type 2', 'Chronic respiratory disease', 'Cancer']
+Scores: [0.5254083275794983, 0.2596566081047058, 0.06986134499311447, 0.044569212943315506, 0.04057301580905914, 0.03189889341592789, 0.02803259901702404]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 1
+PMID: 39612426
+Title: Medicine
+ArticleTitle: Exploring the link between SIRT1 gene variants and depression comorbidity in type 2 diabetes.
+Abstract: This study aims to (1) analyze the clinical characteristics and risk factors of patients with type 2 diabetes and comorbid depression and (2) explore the association between SIRT1 gene single-nucleotide polymorphism sites and this comorbidity. A total of 450 type 2 diabetes patients hospitalized in the General Medicine Department at The Central Hospital of Wuhan, Tongji Medical College, Huazhong University of Science and Technology from July 2022 to September 2023, and 300 healthy individuals from the physical examination department were selected as study subjects. Both groups were assessed using general information surveys and questionnaires. Statistical analyses were performed to compare clinical indicators across 3 groups: individuals with only type 2 diabetes, those with comorbid depression, and healthy controls. The age, gender, disease duration, marital status, income and drug expenditure, employment status, fasting blood glucose level, fasting insulin level difference, insulin resistance index difference, glycated hemoglobin, high-density lipoprotein level, and HCY difference among the 3 groups of patients were risk factors for type 2 diabetes comorbid depression patients. The SIRT1 mRNA level was significantly reduced in type 2 diabetes comorbid depression patients. The SIRT1 gene had 3 sites: rs12415800, rs3758391, and rs932658, which were related to the patient's type 2 diabetes comorbid depression. They were the additive model and dominant model of rs12415800 and rs3758391, respectively. In addition, the GTGGT haplotype composed of rs12415800-rs932658-rs7895833-rs2273773-rs1467568 and the AGACT haplotype composed of rs3758391-rs932658-rs33957861-rs3818292-rs1467568 were significantly associated with type 2 diabetes comorbid depression. Numerous factors influence the presence of depression in patients with type 2 diabetes, with the SIRT1 gene playing a significant role, serving as a potential biomarker for this comorbidity.
+['Humans', 'Diabetes Mellitus, Type 2', 'Sirtuin 1', 'Female', 'Male', 'Middle Aged', 'Polymorphism, Single Nucleotide', 'Depression', 'Comorbidity', 'Risk Factors', 'Case-Control Studies', 'Aged', 'Adult', 'China', 'Genetic Predisposition to Disease']
+Labels: ['Diabetes type 2', 'Diabetes', 'Mental Health', 'Diabetes type 1', 'Chronic respiratory disease', 'Cardiovascular diseases', 'Cancer']
+Scores: [0.37864062190055847, 0.33284738659858704, 0.2171827256679535, 0.021842893213033676, 0.021046964451670647, 0.01726672425866127, 0.011172729544341564]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 2
+PMID: 39612420
+Title: Medicine
+ArticleTitle: Effects of genetic variants of organic cation transporters on metformin response in newly diagnosed patients with type 2 diabetes.
+Abstract: Type 2 diabetes mellitus (T2DM) is a chronic disease that affects millions of people worldwide. Metformin is the optimal initial therapy for patients with T2DM. Genetic factors play a vital role in metformin response, including variations in drug efficacy and potential side effects. To determine the effects of genetic variants of multidrug and toxin extrusion protein 2 (MATE2), ataxia telangiectasia mutated (ATM), and serine/threonine kinase 11 (STK11) genes on metformin response in a cohort of Saudi patients. This prospective observational study included 76 T2DM newly diagnosed Saudi patients treated with metformin monotherapy and 80 control individuals. Demographic data, lipid profiles, creatinine levels, and hemoglobin A1c (HbA1c) levels were collected before and after treatment. All participants were genotyped for 5 single-nucleotide polymorphisms (SNPs), including rs4621031, rs34399035, rs2301759, rs1800058, and rs11212617, using TaqMan R genotyping assays. This study included 156 subjects. The subjects' mean ± SD age was 50.4 ± 10.14 years. The difference in HbA1c levels in T2DM after treatment ranged from -1.20% to 8.8%, with a mean value of 0.927 ± 1.73%. In general, 73.7% of the patients with T2DM showed an adequate response to metformin (HbA1c < 7%). STK11 (rs2301759) significantly affects the response to metformin in T2DM patients. In the rs2301759 single-nucleotide polymorphisms, the prevalence of an adequate response to metformin was significantly higher among patients with C/C and T/C genotypes than among non-responders (P = .021). However, no statistically significant associations were observed for the other tested SNPs. Our study provides evidence of an association between STK11 (rs2301759) and response to metformin in Saudi patients with T2DM. The need for targeted studies on specific gene-drug associations is emphasized, and further studies with a larger population should be conducted.
+['Humans', 'Metformin', 'Diabetes Mellitus, Type 2', 'Female', 'Middle Aged', 'Male', 'Polymorphism, Single Nucleotide', 'Hypoglycemic Agents', 'Prospective Studies', 'Protein Serine-Threonine Kinases', 'Organic Cation Transport Proteins', 'Glycated Hemoglobin', 'Saudi Arabia', 'Adult', 'AMP-Activated Protein Kinase Kinases', 'Ataxia Telangiectasia Mutated Proteins', 'Genotype']
+Labels: ['Diabetes type 2', 'Diabetes', 'Mental Health', 'Chronic respiratory disease', 'Cardiovascular diseases', 'Cancer', 'Diabetes type 1']
+Scores: [0.6502493619918823, 0.3046882450580597, 0.01717311702668667, 0.010871940292418003, 0.007460195105522871, 0.004829618148505688, 0.0047275531105697155]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 3
+PMID: 39612398
+Title: Medicine
+ArticleTitle: A comprehensive review of biomarker research in diabetic nephropathy from a global bibliometric and visualization perspective.
+Abstract: Our study comprehensively and visually summarized the important findings of global biomarker research in DN and revealed the structure, hotspots, and evolutionary trends in this field. It would inspire subsequent studies from a macroscopic perspective and provide a basis for rational allocation of resources and identification of collaborations among researchers.
+['Diabetic Nephropathies', 'Humans', 'Bibliometrics', 'Biomarkers', 'Biomedical Research']
+Labels: ['Diabetes', 'Diabetes type 2', 'Diabetes type 1', 'Mental Health', 'Chronic respiratory disease', 'Cancer', 'Cardiovascular diseases']
+Scores: [0.8022783398628235, 0.06183163449168205, 0.049523256719112396, 0.046723224222660065, 0.014934984035789967, 0.013182274997234344, 0.011526266112923622]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 4
+PMID: 39612259
+Title: Journal of managed care & specialty pharmacy
+ArticleTitle: Area deprivation index impact on type 2 diabetes outcomes in a regional health plan.
+Abstract: Significant differences were identified between ADI quintiles 1 and 5 for noninsulin diabetes medication adherence, frequency of A1c test claims, all-cause health care service utilization, and total cost of care. There were no statistically significant differences between ADI quintiles for achievement of A1c goal or receipt of comorbidity-focused therapies.
+['Humans', 'Diabetes Mellitus, Type 2', 'Female', 'Middle Aged', 'Male', 'Retrospective Studies', 'Aged', 'Adult', 'Glycated Hemoglobin', 'Medication Adherence', 'Pennsylvania', 'Hypoglycemic Agents', 'Regional Medical Programs', 'Health Care Costs']
+Labels: ['Diabetes type 2', 'Diabetes', 'Diabetes type 1', 'Mental Health', 'Cardiovascular diseases', 'Chronic respiratory disease', 'Cancer']
+Scores: [0.8181418180465698, 0.15041707456111908, 0.008329568430781364, 0.007051474414765835, 0.006902205757796764, 0.005716831423342228, 0.003441012930124998]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 5
+PMID: 39612042
+Title: Sleep & breathing = Schlaf & Atmung
+ArticleTitle: The association between chemosensitivity and the 10-year risk of type 2 diabetes in male patients with obstructive sleep apnea.
+Abstract: Higher peripheral chemosensitivity was associated with an increased 10-year T2D risk, as calculated using a risk calculator based on clinical variables. For outcomes that reflect a moderate-to-high 10-year risk of T2D, the severity of OSA did not significantly affect the risk, irrespective of whether patients exhibited relatively low or high chemosensitivity.
+['Humans', 'Sleep Apnea, Obstructive', 'Male', 'Diabetes Mellitus, Type 2', 'Middle Aged', 'Adult', 'Risk Factors', 'Polysomnography']
+Labels: ['Diabetes type 2', 'Diabetes', 'Chronic respiratory disease', 'Mental Health', 'Cardiovascular diseases', 'Cancer', 'Diabetes type 1']
+Scores: [0.7059531807899475, 0.20942182838916779, 0.05455198511481285, 0.01318689901381731, 0.0070249345153570175, 0.00525636738166213, 0.004604842513799667]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 6
+PMID: 39612019
+Title: Sleep & breathing = Schlaf & Atmung
+ArticleTitle: The effect of physical activity on sleep quality in people with diabetes: systematic review and meta-analysis.
+Abstract: Preliminary evidence suggests that exercise can be prescribed to manage self-reported sleep quality in this population, although its effects may not surpass those of usual care.
+['Humans', 'Diabetes Mellitus, Type 2', 'Sleep Quality', 'Exercise', 'Exercise Therapy']
+Labels: ['Diabetes', 'Chronic respiratory disease', 'Diabetes type 2', 'Mental Health', 'Diabetes type 1', 'Cardiovascular diseases', 'Cancer']
+Scores: [0.864834189414978, 0.05074859410524368, 0.02586616761982441, 0.01789938285946846, 0.01700207032263279, 0.013817625120282173, 0.009831962175667286]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 7
+PMID: 39611987
+Title: Histochemistry and cell biology
+ArticleTitle: Cratylia mollis lectin reduces inflammatory burden induced by multidrug-resistant Staphylococcus aureus in diabetic wounds.
+Abstract: In diabetes, tissue repair is impaired, increasing susceptibility to Staphylococcus aureus infections, a pathogen commonly found in wounds. The emergence of S. aureus strains that are highly resistant to antimicrobial agents highlights the urgent need for alternative therapeutic options. One promising candidate is Cramoll (Cratylia mollis seed lectin), known for its immunomodulatory, mitogenic, and healing properties. However, its efficacy in infected diabetic wounds remains unexplored. This study evaluated the effects of topical Cramoll treatment on diabetic wounds infected by S. aureus. Diabetic Swiss mice (induced by streptozotocin) were subjected to an 8-mm wound on the back and subsequently infected with a suspension of multidrug-resistant S. aureus. During the treatment period, the wounds were clinically evaluated for inflammation and the area of injury. After seven days, samples were collected from the wounds to quantify the bacterial load and histopathological and immunological analyses. Wounds infected by S. aureus exhibited more pronounced areas and severity indices, which were significantly reduced by Cramoll treatment (p < 0.05). Histopathological analysis revealed a reduction in inflammatory cells and an increase in revascularization with Cramoll treatment (p < 0.05). Cramoll also promoted greater collagen production compared to controls (p < 0.05). Furthermore, Cramoll treatment significantly reduced the S. aureus load in wounds (p < 0.0001), decreased TNF-α and IL-6 levels in infected wounds, and increased ERK pathway activation (p < 0.05). In conclusion, Cramoll lectin improves the healing of diabetic wounds, and these results contribute to the understanding of Cramoll healing mechanisms, reinforcing its potential as a healing agent in various clinical conditions.
+['Animals', 'Mice', 'Diabetes Mellitus, Experimental', 'Male', 'Inflammation', 'Wound Healing', 'Staphylococcal Infections', 'Staphylococcus aureus', 'Methicillin-Resistant Staphylococcus aureus', 'Plant Lectins']
+Labels: ['Diabetes', 'Diabetes type 2', 'Diabetes type 1', 'Chronic respiratory disease', 'Mental Health', 'Cancer', 'Cardiovascular diseases']
+Scores: [0.7883983254432678, 0.06994659453630447, 0.05965277552604675, 0.023746298626065254, 0.021675268188118935, 0.021635044366121292, 0.014945699833333492]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 8
+PMID: 39611704
+Title: Nursing open
+ArticleTitle: Diabetes Education Program for Nursing Students: A Systematic Review and Meta-Analysis.
+Abstract: The literature search identified 464 articles, from which 13 studies were evaluated in the systematic review. Most studies (n = 12, 92.3%) used technology-based teaching methods, such as high-fidelity simulations, mobile applications, and virtual reality simulations. Regarding the evaluation of diabetes education program effectiveness, the majority of studies showed significant improvements in knowledge (n = 8, 61.5%), followed by satisfaction with learning (n = 4, 30.8%), nursing skill performance (n = 3, 23.1%), and self-confidence (n = 3, 23.1%) in nursing students. In meta-analyses, technology-based teaching interventions, compared to traditional education, showed no statistically significant improvement in diabetes knowledge (standard mean difference 9.52, 95% CI [-0.18, 19.21], p = 0.05) and self-efficacy (standard mean difference 24.09, 95% CI [-10.75, 58.92], p = 0.18). Despite this, technology-based methods demonstrated favourable effects on knowledge and self-efficacy against traditional education. Findings highlight the importance of emerging technology-based diabetes education programs tailored for nursing students, crucial for enhancing positive educational outcomes. No Patient or Public Contribution.
+['Humans', 'Students, Nursing', 'Diabetes Mellitus', 'Education, Nursing']
+Labels: ['Diabetes', 'Chronic respiratory disease', 'Mental Health', 'Diabetes type 2', 'Diabetes type 1', 'Cardiovascular diseases', 'Cancer']
+Scores: [0.7048473358154297, 0.06770863384008408, 0.05767152085900307, 0.05063280835747719, 0.043874796479940414, 0.03878471627831459, 0.036480143666267395]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 9
+PMID: 39611006
+Title: International journal of nanomedicine
+ArticleTitle: Combination of DMDD with Nanoparticles Effective Against Diabetic Kidney Disease in vitro.
+Abstract: The optimized formulation for DMDD-NPs was CS:TPP:DMDD = 10:3:3 (w), at pH 3.5, with 1.0 mg/mL of CS and stirring at 500 rpm for 30 min. In these conditions, the nanoparticles had a particle size of 320.37 ± 2.93 nm, an EE of 85.09 ± 1.43%, and a DL of 15.88 ± 0.51%. The DMDD-NPs exhibited a spherical shape, no leakage and minimal adhesion. The optimal freeze-drying protectant was a combination of 0.025% mannitol and 0.025% lactose. The drug release followed the Higuchi model. DMDD-NPs improved HK-2 cell proliferation at lower concentrations (<24 μg/mL) and showed greater cell migration inhibition than DMDD. DMDD-NPs promoted E-cadherin expression and inhibited vimentin and TGF-β1 expression, suggesting their potential role in preventing EMT for DKD treatment.
+['Diabetic Nephropathies', 'Humans', 'Nanoparticles', 'Epithelial-Mesenchymal Transition', 'Particle Size', 'Cell Line', 'Cell Movement', 'Chitosan', 'Drug Liberation', 'Drug Carriers', 'Transforming Growth Factor beta1', 'Cell Survival', 'Polyphosphates']
+Labels: ['Diabetes', 'Diabetes type 2', 'Diabetes type 1', 'Mental Health', 'Cardiovascular diseases', 'Chronic respiratory disease', 'Cancer']
+Scores: [0.816673219203949, 0.06928153336048126, 0.030247803777456284, 0.027082975953817368, 0.020664982497692108, 0.02011018432676792, 0.01593935862183571]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 10
+PMID: 39610841
+Title: Frontiers in endocrinology
+ArticleTitle: Predicting hypoglycemia in elderly inpatients with type 2 diabetes: the ADOCHBIU model.
+Abstract: ChiCTR2200062277. Registered on 31 July 2022.
+['Humans', 'Diabetes Mellitus, Type 2', 'Hypoglycemia', 'Male', 'Female', 'Aged', 'Nomograms', 'China', 'Inpatients', 'Blood Glucose', 'Risk Factors', 'Aged, 80 and over', 'Middle Aged', 'Hypoglycemic Agents', 'Incidence', 'Risk Assessment', 'Prognosis']
+Labels: ['Diabetes type 2', 'Diabetes', 'Cancer', 'Diabetes type 1', 'Chronic respiratory disease', 'Mental Health', 'Cardiovascular diseases']
+Scores: [0.7203450798988342, 0.23336085677146912, 0.01148981973528862, 0.010857968591153622, 0.009179418906569481, 0.008347881026566029, 0.006419003009796143]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 11
+PMID: 39610135
+Title: Diabetes & metabolism journal
+ArticleTitle: Cardiovascular Disease & Diabetes Statistics in Korea: Nationwide Data 2010 to 2019.
+Abstract: The incidence of most CVD (IHD, ischemic stroke, and PAD) decreased between 2010 and 2019, whereas the incidence of HF increased. The overall use of high-intensity statins, SGLT2i, and GLP-1RA remained low among individuals with T2DM and CVD.
+['Humans', 'Republic of Korea', 'Male', 'Female', 'Middle Aged', 'Diabetes Mellitus, Type 2', 'Aged', 'Cardiovascular Diseases', 'Incidence', 'Adult', 'Nutrition Surveys', 'Risk Factors', 'Young Adult', 'Sodium-Glucose Transporter 2 Inhibitors', 'Aged, 80 and over']
+Labels: ['Diabetes type 2', 'Cardiovascular diseases', 'Diabetes', 'Chronic respiratory disease', 'Diabetes type 1', 'Cancer', 'Mental Health']
+Scores: [0.35832738876342773, 0.3574276864528656, 0.23260116577148438, 0.026185905560851097, 0.01999022252857685, 0.0028958809562027454, 0.0025717534590512514]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 12
+PMID: 39610132
+Title: Diabetes & metabolism journal
+ArticleTitle: Rate-Dependent Depression of the Hoffmann Reflex: Practical Applications in Painful Diabetic Neuropathy.
+Abstract: Measurement of the rate-dependent depression (RDD) of the Hoffmann (H) reflex, a technique developed over half a century ago, is founded on repeated stimulation of the H-reflex with tracking of sequentially evoked H-wave amplitudes in the resulting electromyogram. RDD offers insight into the integrity of spinal reflex pathways and spinal inhibitory regulation. Initially, RDD was predominantly utilized in the mechanistic exploration and evaluation of movement disorders characterized by spasticity symptoms, as may occur following spinal cord injury. However, there is increasing recognition that sensory input from the periphery is modified at the spinal level before ascending to the higher central nervous system and that some pain states can arise from, or be exaggerated by, disruption of spinal processing via a mechanism termed spinal disinhibition. This, along with the urgent clinical need to identify biological markers of pain generator and/or amplifier sites to facilitate targeted pain therapies, has prompted interest in RDD as a biomarker for the contribution of spinal disinhibition to neuropathic pain states. Current research in animals and humans with diabetes has revealed specific disorders of spinal GABAergic function associated with impaired RDD. Future investigations on RDD aim to further elucidate its underlying pathways and enhance its clinical applications.
+['Humans', 'Diabetic Neuropathies', 'H-Reflex', 'Animals', 'Neuralgia', 'Electromyography', 'Spinal Cord']
+Labels: ['Diabetes', 'Diabetes type 2', 'Diabetes type 1', 'Mental Health', 'Cardiovascular diseases', 'Chronic respiratory disease', 'Cancer']
+Scores: [0.7626945972442627, 0.07108766585588455, 0.05964972451329231, 0.04690995067358017, 0.02280718833208084, 0.021296823397278786, 0.015554064884781837]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 13
+PMID: 39610131
+Title: Diabetes & metabolism journal
+ArticleTitle: Metabolic Dysfunction-Associated Steatotic Liver Disease in Type 2 Diabetes Mellitus: A Review and Position Statement of the Fatty Liver Research Group of the Korean Diabetes Association.
+Abstract: Since the role of the liver in metabolic dysfunction, including type 2 diabetes mellitus, was demonstrated, studies on non-alcoholic fatty liver disease (NAFLD) and metabolic dysfunction-associated fatty liver disease (MAFLD) have shown associations between fatty liver disease and other metabolic diseases. Unlike the exclusionary diagnostic criteria of NAFLD, MAFLD diagnosis is based on the presence of metabolic dysregulation in fatty liver disease. Renaming NAFLD as MAFLD also introduced simpler diagnostic criteria. In 2023, a new nomenclature, steatotic liver disease (SLD), was proposed. Similar to MAFLD, SLD diagnosis is based on the presence of hepatic steatosis with at least one cardiometabolic dysfunction. SLD is categorized into metabolic dysfunction-associated steatotic liver disease (MASLD), metabolic dysfunction and alcohol-related/-associated liver disease, alcoholrelated liver disease, specific etiology SLD, and cryptogenic SLD. The term MASLD has been adopted by a number of leading national and international societies due to its concise diagnostic criteria, exclusion of other concomitant liver diseases, and lack of stigmatizing terms. This article reviews the diagnostic criteria, clinical relevance, and differences among NAFLD, MAFLD, and MASLD from a diabetologist's perspective and provides a rationale for adopting SLD/MASLD in the Fatty Liver Research Group of the Korean Diabetes Association.
+['Humans', 'Diabetes Mellitus, Type 2', 'Non-alcoholic Fatty Liver Disease', 'Fatty Liver', 'Republic of Korea']
+Labels: ['Diabetes type 2', 'Diabetes', 'Cardiovascular diseases', 'Mental Health', 'Chronic respiratory disease', 'Diabetes type 1', 'Cancer']
+Scores: [0.5635377764701843, 0.25183847546577454, 0.06326019763946533, 0.03881198167800903, 0.03723680227994919, 0.02497153729200363, 0.020343242213129997]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 14
+PMID: 39609996
+Title: Journal of Ayub Medical College, Abbottabad : JAMC
+ArticleTitle: A NOVEL DE NOVO LIKELY PATHOGENIC VARIANT OF WFS-1 GENE IN A PAKISTANI CHILD WITH NON-CLASSIC WFS-1 SPECTRUM DISORDER.
+Abstract: Access to genetic testing is not readily available in Pakistan and our population is under studied and these complex diagnoses are often missed. In this study, we present a novel de novo likely pathogenic variant in the WFS-1 gene that causes non-classic WFS-1 spectrum disorder in a child from our population.
+['Humans', 'Membrane Proteins', 'Wolfram Syndrome', 'Male', 'Child', 'Pakistan']
+Labels: ['Mental Health', 'Cardiovascular diseases', 'Cancer', 'Chronic respiratory disease', 'Diabetes type 2', 'Diabetes', 'Diabetes type 1']
+Scores: [0.42784246802330017, 0.1791149377822876, 0.10112947225570679, 0.09878000617027283, 0.07016517966985703, 0.06629620492458344, 0.056671686470508575]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 15
+PMID: 39609972
+Title: Journal of Ayub Medical College, Abbottabad : JAMC
+ArticleTitle: SELF-REPORTED MULTI-MORBIDITY WITH TUBERCULOSIS: DATA FROM THE KHYBER PAKHTUNKHWA INTEGRATED POPULATION HEALTH SURVEY (KPIPHS) IN PAKISTAN.
+Abstract: There is a higher burden of self-reported cardiometabolic diseases among people with TB, suggesting that this high-risk group should be screened for cardiometabolic diseases, especially Diabetes.
+['Humans', 'Pakistan', 'Male', 'Female', 'Adult', 'Middle Aged', 'Tuberculosis', 'Self Report', 'Health Surveys', 'Prevalence', 'Multimorbidity', 'Diabetes Mellitus']
+Labels: ['Diabetes', 'Chronic respiratory disease', 'Cardiovascular diseases', 'Diabetes type 2', 'Mental Health', 'Diabetes type 1', 'Cancer']
+Scores: [0.644888699054718, 0.17205913364887238, 0.04341216757893562, 0.040612392127513885, 0.03942404314875603, 0.035407643765211105, 0.024195870384573936]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 16
+PMID: 39609829
+Title: BMC endocrine disorders
+ArticleTitle: Cognitive changes in people with diabetes with lower extremity complications compared to people with diabetes without lower extremity complications: a systematic review and meta-analysis.
+Abstract: DRLECs may be related to cognition in people with diabetes, however, existing evidence is unclear due to variability in used methodologies that may challenge concluding the findings. Future high-quality studies investigating cognition among people with and without DRLECs are needed.
+['Humans', 'Lower Extremity', 'Diabetes Complications', 'Cognition', 'Cognitive Dysfunction', 'Diabetic Neuropathies', 'Diabetes Mellitus']
+Labels: ['Diabetes', 'Mental Health', 'Diabetes type 2', 'Diabetes type 1', 'Chronic respiratory disease', 'Cancer', 'Cardiovascular diseases']
+Scores: [0.6487249732017517, 0.1255451738834381, 0.07055860757827759, 0.04672178626060486, 0.04010753333568573, 0.03765956312417984, 0.030682474374771118]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 17
+PMID: 39609030
+Title: BMJ open
+ArticleTitle: Incidence, prevalence and risk factors for comorbid mental illness among people with hypertension and type 2 diabetes in West Africa: protocol for a systematic review and meta-analysis.
+Abstract: CRD42023450732.
+['Humans', 'Diabetes Mellitus, Type 2', 'Systematic Reviews as Topic', 'Hypertension', 'Mental Disorders', 'Prevalence', 'Risk Factors', 'Incidence', 'Africa, Western', 'Comorbidity', 'Research Design', 'Meta-Analysis as Topic']
+Labels: ['Mental Health', 'Diabetes type 2', 'Diabetes', 'Cardiovascular diseases', 'Chronic respiratory disease', 'Diabetes type 1', 'Cancer']
+Scores: [0.4379573464393616, 0.2828061580657959, 0.15691044926643372, 0.06648097932338715, 0.021535687148571014, 0.018548287451267242, 0.01576101966202259]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 18
+PMID: 39609024
+Title: BMJ open
+ArticleTitle: Association of overweight and obesity with gestational diabetes mellitus among pregnant women attending antenatal care clinics in Addis Ababa, Ethiopia: a case-control study.
+Abstract: Obesity, but not overweight, was significantly associated with the development of GDM. Screening for GDM is recommended for pregnant women with obesity (MUAC≥31) for targeted intervention. Antenatal care providers should provide information for women of childbearing age on maintaining a healthy body weight before and in-between pregnancies and the need for healthy, diversified food and high-level physical activity.
+['Humans', 'Female', 'Diabetes, Gestational', 'Pregnancy', 'Ethiopia', 'Case-Control Studies', 'Adult', 'Prenatal Care', 'Overweight', 'Young Adult', 'Obesity', 'Risk Factors', 'Logistic Models']
+Labels: ['Diabetes', 'Mental Health', 'Diabetes type 2', 'Cardiovascular diseases', 'Diabetes type 1', 'Chronic respiratory disease', 'Cancer']
+Scores: [0.545982301235199, 0.11471568793058395, 0.08699879795312881, 0.07369286566972733, 0.06716068089008331, 0.06616472452878952, 0.04528484493494034]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 19
+PMID: 39609009
+Title: BMJ open
+ArticleTitle: Implementation strategies for providing optimised tuberculosis and diabetes integrated care in LMICs (POTENTIAL): protocol for a multiphase sequential and concurrent mixed-methods study.
+Abstract: Ethics approval was granted by the National Bioethics Committee of Pakistan (NBCR-1010). Findings will be shared through academic publications, conferences and public outreach.
+['Humans', 'Pakistan', 'Diabetes Mellitus', 'Tuberculosis', 'Delivery of Health Care, Integrated', 'Developing Countries', 'Quality of Life', 'Research Design']
+Labels: ['Chronic respiratory disease', 'Diabetes', 'Diabetes type 2', 'Diabetes type 1', 'Mental Health', 'Cancer', 'Cardiovascular diseases']
+Scores: [0.4552350640296936, 0.3796508014202118, 0.048751067370176315, 0.04725024476647377, 0.02879474125802517, 0.025446655228734016, 0.014871370047330856]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 20
+PMID: 39608964
+Title: Endocrinologia, diabetes y nutricion
+ArticleTitle: Predictive value of circulating miR-409-3p for major adverse cardiovascular events in patients with type 2 diabetes mellitus and coronary heart disease.
+Abstract: Serum miR-409-3p may serve as a potential diagnostic and prognostic biomarker for predicting T2DM complicated with CHD and forecast adverse events. Targeting miR-409-3p may be a novel therapeutic strategy to intervene in the development of T2DM+CHD.
+['Humans', 'Diabetes Mellitus, Type 2', 'MicroRNAs', 'Coronary Disease', 'Male', 'Female', 'Middle Aged', 'Apoptosis', 'Predictive Value of Tests', 'Myocytes, Cardiac', 'Aged']
+Labels: ['Cardiovascular diseases', 'Diabetes type 2', 'Diabetes', 'Chronic respiratory disease', 'Diabetes type 1', 'Mental Health', 'Cancer']
+Scores: [0.5476639866828918, 0.3511582612991333, 0.08510641753673553, 0.006337893195450306, 0.0035067610442638397, 0.0033269308041781187, 0.002899742219597101]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 21
+PMID: 39608963
+Title: The lancet. Diabetes & endocrinology
+ArticleTitle: Time to reframe the disease staging system for type 1 diabetes.
+Abstract: In 2015, introduction of a disease staging system offered a framework for benchmarking progression to clinical type 1 diabetes. This model, based on islet autoantibodies (stage 1) and dysglycaemia (stage 2) before type 1 diabetes diagnosis (stage 3), has facilitated screening and identification of people at risk. Yet, there are many limitations to this model as the stages combine a very heterogeneous group of individuals; do not have high specificity for type 1 diabetes; can occur without persistence (ie, reversion to an earlier risk stage); and exclude age and other influential risk factors. The current staging system also infers that individuals at risk of type 1 diabetes progress linearly from stage 1 to stage 2 and subsequently stage 3, whereas such movements are often more complex. With the approval of teplizumab by the US Food and Drug Administration in 2022 to delay type 1 diabetes in people at stage 2, there is a need to refine the definition and accuracy of type 1 diabetes staging. Theoretically, we propose that a type 1 diabetes risk calculator should incorporate any available demographic, genetic, autoantibody, metabolic, and immune data that could be continuously updated. Additionally, we call to action for the field to increase the breadth of knowledge regarding type 1 diabetes risk in non-relatives, adults, and individuals from minority populations.
+['Diabetes Mellitus, Type 1', 'Humans', 'Disease Progression', 'Autoantibodies']
+Labels: ['Diabetes', 'Diabetes type 1', 'Diabetes type 2', 'Chronic respiratory disease', 'Cardiovascular diseases', 'Cancer', 'Mental Health']
+Scores: [0.5029236078262329, 0.3697020411491394, 0.08296690136194229, 0.018413469195365906, 0.009015290066599846, 0.008764350786805153, 0.008214311674237251]
+--------------------------------------------------------
+--------------------------------------------------------
+Index: 22
+PMID: 39608858
+Title: BMJ open diabetes research & care
+ArticleTitle: Effects of concurrent aerobic and strength training in patients with type 2 diabetes: Bayesian pairwise and dose-response meta-analysis.
+Abstract: This study aimed to investigate the effects of concurrent aerobic and strength training (CT) in patients with type 2 diabetes and determine the most effective dose of CT. From the inception of the databases to March 2024, we conducted a systematic search of four electronic databases (PubMed, Embase, Web of Science, and Cochrane Library) to identify randomized controlled trials (RCTs) on CT intervention in patients with type 2 diabetes. Two independent authors assessed the risk of bias of the study using the Cochrane Risk of Bias Assessment Tools. Results analyzed included glycosylated hemoglobin (HbA1c), fasting blood glucose (FBG), body mass index, body fat percentage, blood pressure, and VO
+['Humans', 'Diabetes Mellitus, Type 2', 'Bayes Theorem', 'Exercise', 'Resistance Training', 'Glycated Hemoglobin', 'Blood Glucose', 'Body Mass Index', 'Randomized Controlled Trials as Topic']
+Labels: ['Diabetes type 2', 'Diabetes', 'Chronic respiratory disease', 'Cardiovascular diseases', 'Mental Health', 'Cancer', 'Diabetes type 1']
+Scores: [0.6217049956321716, 0.3043733239173889, 0.021584780886769295, 0.01824142597615719, 0.01677442342042923, 0.009702042676508427, 0.007619005627930164]
+--------------------------------------------------------
diff --git a/api/pubmedApi.py b/api/pubmedApi.py
index 266c873dee445978829b99ff27737ca054c503d3..22fc74c6c61e3f018de77688f32cbec08f9befce 100644
--- a/api/pubmedApi.py
+++ b/api/pubmedApi.py
@@ -1,18 +1,19 @@
 from requests import get
 from parser.xmlParser import parseXmlFile
+import model.facebook as facebook
 
 FILENAME = "pubmedData.xml"
 
-term = "diabetes+type+1+OR+diabetes+type+2+OR+mental+health"
-# term = "diabetes+type+1"
-date_min = "2024/09/08"
-date_max = "2024/11/08"
+# term = "diabetes+type+1+OR+diabetes+type+2+OR+mental+health"
+term = '"Diabetes+Mellitus"[Mesh]'
+date_min = "2024/11/29"
+date_max = "2024/11/29"
 
 print(f"Term: {term}")
 print(f"Date min: {date_min}")
 print(f"Date max: {date_max}")
 
-url = f"https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term={term}&retmode=json&mindate={date_min}&maxdate={date_max}&usehistory=y"
+url = f'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term={term}&retmode=json&mindate={date_min}&maxdate={date_max}&usehistory=y'
 
 response = get(url)
 
@@ -35,8 +36,39 @@ obj = parseXmlFile(f"data/{FILENAME}")
 
 # print(obj)
 
+print(obj["PubmedArticle"][0].get("Title"))
+
+# Some articles have no abstract: 39611868, 39608382, 39608962, 39608966
+
 for key in obj.keys():
     if isinstance(obj[key], list):
-        print(f"{key} has {len(obj[key])} entries")
+        for entrie in obj[key]:
+            print("--------------------------------------------------------")
+            print(f"Index: {obj[key].index(entrie)}")
+            if "Abstract" in entrie["MedlineCitation"]["Article"] :
+                pmid = entrie["MedlineCitation"]["PMID"]
+                title = entrie["MedlineCitation"]["Article"]["Journal"]["Title"]
+                articleTitle = entrie["MedlineCitation"]["Article"]["ArticleTitle"]
+                abstract = entrie["MedlineCitation"]["Article"]["Abstract"]["AbstractText"]
+                print(f"PMID: {pmid}")
+                print(f"Title: {title}")
+                print(f"ArticleTitle: {articleTitle}")
+                print(f"Abstract: {abstract}")
+
+                meshTerms = []
+                for meshTerm in entrie["MedlineCitation"]["MeshHeadingList"]["MeshHeading"]:
+                    meshTerms.append(meshTerm["DescriptorName"])
+
+                print(meshTerms)
+
+                facebook.classify(title + " \n " + articleTitle + " \n " + abstract)
+            else:
+                print(f"It has no abstract: {entrie["MedlineCitation"]["PMID"]}")
+            print("--------------------------------------------------------")
+
+        
+        
+
+        print(f"{key} has multiple entries")
     else:
         print(f"{key} has 1 entry")
\ No newline at end of file