{'fraction_non_alphanumeric': 0.0263070631148447, 'fraction_numerical': 0.013374599314689952, 'mean_word_length': 5.1276667795462245, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Expert System for Diagnosis of Sexual Diseases (Paraphilia) Using Method Dempster Shafer

Received Dec 10, 2021 Revised Dec 22, 2021 Accepted Jan 13, 2022 Sexual behavior disorder (paraphilia) is sexual behavior that is unacceptable in society. The lack of knowledge and the many obstacles to getting information about early and independent detection of the community about sexual deviations and ignorance of the community in responding to deviations are also factors that cannot be handled early The main symptoms of this paraphilia disease are repeated childhood traumatic, coming from a family that is too restrictive or too disruptive to children in sexual behavior, and has a disorder in sexual relations since childhood. There are several types of sexual disorders (paraphilia) including Voyeuristic, Exhibitionistic, Frotteuristic, Sexual Masochim, Sexual Sadism, Pedophilic, Fetishistic and Transvestic. The Dempster Shafer method provides space for the expert in providing the value of trust in his knowledge. Based on the problems above, a Webbased system will be built that functions to help the community conduct independent consultations about disturbances that can be accessed with a wide range and unlimited time. The system built using PHP and MySQL programming as a database. The method used for tracing is the dempster shader. While the results of the diagnosis will inform about the results of the diagnosis containing a list of symptoms entered, information on the results of the rules about the disorder suffered and information about possible treatments that can be done.


Introduction
In accordance with the development of the times both in terms of science and information technology today. The rapid development of information technology today encourages people to use this technology in diagnosing a disease, one of which is a sexual disorder (Paraphilia). Technological progress is something that we cannot avoid in life, because technological advances will increasingly run in accordance with scientific advances.
The role of the system in diagnosing sexual disorders (Paraphilia) is very important to provide fast, precise and accurate information. The public in general does not know much about sexual disorders (paraphilia) so that in order to carry out treatment of sexual disorders (Paraphilia) in detail experienced by sufferers, it is necessary to have the help of an expert in order to obtain accurate and reliable diagnostic results for the sexual disorder (Paraphilia) experienced, especially people who come from rural areas who lack knowledge about what is meant by sexual disorder (Paraphilia) and how to diagnose and treat it. For this reason, in diagnosing the disease, an expert system is used using the Dempster Shafer method.
The term Paraphilia comes from the Greek, para meaning "On the Other Side" and Philos meaning "Love", so paraphilia is defined as sexual activity that is not in general, or experiencing sexual perversion (Daud, 2016). Sexual disorders (Paraphilia) refer to sexual behavior that is considered deviant or violates the rules that have been set in a country such as legal norms, religious norms, and customs. Paraphilia is a type of sexual disease disorder that is included in an emotional disorder that involves behavior, urges, or fantasies so that it spreads into a mental disorder, this is due to continuous and intense deviant sexual desires.
Dempster Shafer is a theory developed by Arthur P. Dempster and Glenn Shafer which is generally written in an interval. So the Dempster Shafer method is a mathematical theory to perform proofs based on belief functions and plausible reasoning (Utomo & Suprapto, 2017).
This study aims to assist the general public in diagnosing sexual disorders (paraphilia), how to apply the Dempster Shafer method in expert system applications, and how to design and build a webbased expert system to diagnose sexual disorders using the Dempster Shafer method (Bhaskara, Hidayat, & Muflikhah, 2019).
This study uses a literature review from several previous research journals. The research journal is in the form of an expert system for diagnosing sexually transmitted diseases in men with the Dempster Shafer method. Then the research that uses the Dempster Shafer method with the title Expert System for Diagnosing Children's Mental Disorders Using the Dempster Shafer Method, this study diagnoses metal disorders in children. Types of mental disorders in children are divided into schizophrenia, dynamic disorder, social phobia, posttraumatic stress disorder, separation anxiety disorder, generalized anxiety disorder, autism spectrum disorder, and manic episode (Hastari & Bimantoro, 2018).
The next research journal is the Dempster Shafer Method for Detecting Mental Disorders: Schizophrenia and Psychotics (Gozali & Jollyta, 2019). This study diagnoses mental illness specifically schizophrenia and psychotic. Research entitled Dempster-Shafer Method for Early Diagnosis of Schizophrenia Mental Disorders Based on Expert Systems. This study diagnoses schizophrenic mental disorders, which consist of six types of diseases, namely paranoid, heberphrenic, catatonic, simplex, post-schizophrenic depression, and residual with forty-three types of symptoms (Hairani, Kurniawan, Abd Latif, & Innuddin, 2021).
Then a research journal in the form of the application of the Dempster Shafer method to diagnose diseases caused by the bacterium Treponema pallidum. This disease is caused by the bacterium Treponema pallidum (Sembiring & Sinaga, 2017). Furthermore, in the study entitled Expert System Diagnosis of Personality Disorders Using the Dempster Shafer Method. This study diagnoses human personality disorders using the Dempster Shafer method. The type of personality disorder of a person consists of paranoid, schizoid, histrionic, schizotypal, narcissistic, antisocial, borderline, avoidant and obsessive-compulsive disease caused by thirty-nine symptoms of the disease (Yuwono, Fadlil, & Sunardi, 2019). Next is a research journal entitled Expert System for Diagnosing Personality Disorders Using the Web-Based Dempster Shafer Method. This study diagnoses a person's personality disorder consisting of paranoid, schizoid, schizotypal, histrionic, narcissistic, antisocial, borderline (threshold), avoidan (avoiding), dependent, and obsessive-compulsive disorder caused by seventy-five symptoms (Rahmadhani, Fauziah, & Aningsih, 2020).
System for Diagnosis of Sexually Transmitted Diseases in Men Using Forward Chaining and Dempster Shafer Methods. This study compares two methods, namely forward chaining and demspter shader. Based on the comparison of the two methods, it produces a very high accuracy of 94.2% (Wiyandra, 2019). Next is a research journal entitled Expert System for Diagnosing Personality Disorders Using the Web-Based Dempster Shafer Method. This study diagnoses a person's personality disorders consisting of paranoid, schizoid, schizotypal, histrionic, narcissistic, antisocial, borderline (threshold), avoidan (avoiding), dependent, and obsessive-compulsive symptoms caused by seventyfive symptoms. System for Diagnosis of Sexually Transmitted Diseases in Men Using Forward Chaining and Dempster Shafer Methods. This study compares two methods, namely forward chaining and demspter shader. Based on the comparison of the two methods, it produces a very high accuracy of

Research Framework
The description of the framework is a further explanation regarding the description of the process of the research framework carried out, along with the explanation: a. Early Stage 1) Identifying Problems This stage aims to find out what are the problems that arise in the diagnosis of sexual disorders (paraphilia).

2) Formulating the Problem
Formulate problems that will be developed and will be discussed in research for an expert system for diagnosing sexual disorders (paraphilia) using the Dempster Shafer method.

3) Creating Study Goals and Benefits
This stage aims to build an expert system for diagnosing sexual disorders and what are the benefits for the general public who suffer from sexual disorders (paraphilia). b. Data Collection At this stage of data collection is done by means of observation, namely observing directly the activities of diagnosing sexual disorders (paraphilia) that are running and conducting interviews with respondents. The respondents of this study were Mr. dr. Muhammad Anwar Lubis, Sp. KK (K) at the "Zaskia Husada" Inpatient Primary Clinic in Lubuk Pakam, Deli Serdang Regency, North Sumatra Province. c. Analysis Stage 1) Analysis Dempster Shafer Method This stage analyzes whether the Dempster Shafer method is appropriate to use in solving problems in building an expert system for diagnosing sexual disorders (paraphilia) using the Dempster Shafer method. 2) Data Analysis (Data Processing and Storage) The stage for manipulating data into information, where the information will be stored data until the final result of processing because information is the result of processing data in a certain form that is more meaningful than an activity or event.

3) Analysis of the Aplication of the Dempster Shafer Method on the Data
This stage analyzes the application of the Dempster Shafer method with the aim of describing the initial design of the system to be used as a reference in system design.

d. System Planningg
This stage is designing the system using UML (Unified Modeling Language) modeling and also designing the interface of the system to be built later, such as the main menu design, data input menu design and information output menu design as well as HIPO (Hierarchy Input Process and Output) from the existing system built. e. System Testing Testing the system to determine whether the designed system is in accordance with user needs or not f. System Implementation At this stage, the new information system is placed into the existing system (old system). At this stage, the existing database and network will be created. g. System Evaluation Stage to assess / measure against the system designed whether the system is designed in accordance with the objectives of system design. If the system is in accordance with the desired design, the system is ready for operation and system maintenance is always carried out.

Result and Discussion
In designing this expert system by taking sources from experts or doctors, books and journals.
a. Type of Disease  -Treatment: Antiandrogens to reduce male hormone levels, SSRI (Selective Serotonin Reuptake Inhibitor) drugs such as fluoxetine.

Sexual Masochim
-Therapy: talk therapy is carried out, namely therapy to understand past patterns that are detrimental and damaging to the heart, and behavioral therapy, which is to help patients be aware of the triggers of the disorder and how to respond in ways that are not self-defeating, such as: dealing with anxiety, inner criticism, take the patient's personal responsibility, and help to forget the past.
-Treatment: Parents treat by providing space for patients to express themselves and provide support, and provide mental encouragement when patients experience failure or difficulties.

Sexual Sadism Disorder
-Therapy: Practicing social skills, or there is also training to regulate conditions in which a sadist is passionate. This is expected to reduce the desire to act sadistically in sex.
-Treatment: Drugs are given to a sadist who is more severe and has the possibility of harming others. The drugs given are usually hormones that reduce testosterone levels, as well as serotonin drugs.

P006
Pedophilic Disorder -Therapy: Psychotherapy, namely the patient will be asked to undergo counseling with a psychologist or psychiatrist, a behavioral approach, namely facilitating adequate social interaction with fellow adults and increasing sexual desire for adults -Medication: Medications to lower testosterone levels, specific serotonin reuptake inhibitors such as sertraline, fluvoxamine, or fluoxetine.

G003
Usually will peek while fantasizing sexually and masturbating, but is not interested in having sex with the person he is peeking at.

G004
Fantasy, sexual urges, or behavior cause significant impairment or impairment in social, occupational, or other important functions.

G005
Sometimes masturbates when exposing himself, or when fantasizing about exposing himself G006 Intense sexual fantasies, desires, and arousal centered on touching other people's body parts without consent or rubbing body parts, especially the genitals, on another person and usually from behind.

G007
The act of froteurism is usually repeated and occurs in crowded public spaces, such as trains, buses, elevators, and even crowded streets.

G008
When committing this act of sexual harassment, the perpetrator usually imagines having a personal relationship based on affection with the victim, but will run away afterward.

G009
Work to exhaustion, be hard on yourself when you push yourself to the limit and exceed it P004 G010 Feeling humiliated inside, but never showing it to others G011 Feeling unloved and having to work hard to be accepted by those around you, and feeling that the effort you put in is never enough

G012
The inner voice or criticism attacks no matter what G013 Feeling unable to say no or to assert yourself, instead agreeing with grumbling inside

G014
Having complaints about lots in life, but never doing anything about it and rejecting people who try to help.

G015
Interested in abusive relationships in which the patient may be abused and humiliated. Tend to hold back and show no pain.

G016
Feeling trapped in an endless cycle of self-loss. Feeling unable to feel pleasure without guilt/shame and feeling hopeless about the future patient may be abused and humiliated.

G017
Sexual fantasies about hurting adults, children, or animals. This fantasy will last for a long period of time, which is about 6 months.

G018
In their sexual fantasies, the sufferer acts as a dominant who acts to hurt his sex partner

G019
In a more advanced phase, the sufferer will try to do the hurtful act for real, no longer a fantasy in his mind G020 Sexually hurting for gratification is done by hitting, cutting, burning, biting, and whipping.

G021
From time to time, the level of hurting their sex partners will increase to get more sexual satisfaction G022 Intense and frequent fantasies or sexual urges toward children 13 years of age or younger P006

G023
Feeling uncomfortable and unable to move smoothly due to the conditions experienced. For example, difficulties in work, family relationships, or interacting with other people.

G024
Sufferers also generally manifest their sexual desires by taking action on victims who still have a relative or close relationship with them, including nephews, stepchildren, and so on.

G025
The fetish lasts for more than 6 months and occurs continuously. P007

G026
Sexual urges don't just exist in the mind, they have been put into practice.

Case Examples
An example of an analysis of the diagnosis of sexual disorders (paraphilia) entered by the user is as follows: a. Determine the Symptoms Experienced by the Patient Suppose a patient chooses some of the symptoms of the disease he is experiencing, namely: 1) G001 : Experiencing intense and repeated sexual arousal from peering at others who are undressed, undressed, or engaged in sexual activity for six months as a manifestation of fantasies, urges or actions, supports disease P001 2) G002 : Usually will peek while fantasizing sexually and masturbating, but not interested in having sex with the person being peeked at, supports disease P001 3) G013 : Feeling unable to say no or to assert oneself, instead of agreeing with grumbling b. Application of the Dempster Shafer Method After selecting or inputting several types of symptoms of sexual disorders experienced by the user (patient), the next step for the system is to analyze the calculation by applying the Dempster Shafer method, which is as follows: 1) For Symptom Choice 1   c. For Symptoms Option 3 (G013) If the symptom selected by the user is more than 2 (two) symptoms, then the next step is to look for the combination of symptoms of the disease. To facilitate the calculation, the subsets formed are entered into the table. The first column is filled with the first symptom (M1). While the first line is filled with the second symptom (M2). So that the value of M3 is obtained as a result of the combination of M1 and M2. Based on the calculation of the combination rules for M5 above, it can be obtained: From the results of the calculation of the combined M5 density value above, it can be seen that the results of sexual disorders (paraphilia) with the type of Voyeuristic Disorder (P001) with a probability value or confidence value of 0.772 or if the percentage becomes 77.2%. This research was conducted at MTS Swasta YPII Kotarih, this study used passive particion observations. The data obtained from the data of class VII students in the odd semester of the 2020/2021 academic year, the number of student data taken as a sample is 142 people. The output in this study is divided into two categories, namely Excellent Students and Not. Based on the output to be generated, the authors use classification techniques.
Expert System for Diagnosis of Sexual Diseases (Paraphilia) Using Method Dempster Shafer (Nince Rianto Gulo1,et al)

Conclusion
Based on the results of the decision tree above, there are 19 rules that were tested, the data testing was based on the 19 rules that had been set, from 142 data tested 73.94% : 26.06%, 105 data were appropriate and 37 data did not match. Application of the C4.5 Algorithm in classifying using a decision tree. The C45 algorithm is used to analyze student assessments in semester 7 of 2020/2021, the student data is applied to the KDD stages starting from data selection, Pre-Processing, Transformation, Data Mining, and Evaluation, by classifying which students are superior students, so that placement students who enter the superior class according to the achievements achieved.