KR20200107501A - Device and Method of Scoring Emotion for Psychological Consultation - Google Patents

Device and Method of Scoring Emotion for Psychological Consultation Download PDF

Info

Publication number
KR20200107501A
KR20200107501A KR1020190026699A KR20190026699A KR20200107501A KR 20200107501 A KR20200107501 A KR 20200107501A KR 1020190026699 A KR1020190026699 A KR 1020190026699A KR 20190026699 A KR20190026699 A KR 20190026699A KR 20200107501 A KR20200107501 A KR 20200107501A
Authority
KR
South Korea
Prior art keywords
word
sentence
score
negative
positive
Prior art date
Application number
KR1020190026699A
Other languages
Korean (ko)
Other versions
KR102225603B1 (en
Inventor
지용구
양현정
김지근
이지원
김효창
차민철
Original Assignee
연세대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 연세대학교 산학협력단 filed Critical 연세대학교 산학협력단
Priority to KR1020190026699A priority Critical patent/KR102225603B1/en
Publication of KR20200107501A publication Critical patent/KR20200107501A/en
Application granted granted Critical
Publication of KR102225603B1 publication Critical patent/KR102225603B1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/16Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state
    • A61B5/165Evaluating the state of mind, e.g. depression, anxiety
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/20ICT specially adapted for the handling or processing of patient-related medical or healthcare data for electronic clinical trials or questionnaires

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Psychiatry (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Pathology (AREA)
  • Molecular Biology (AREA)
  • Physics & Mathematics (AREA)
  • Psychology (AREA)
  • Biophysics (AREA)
  • Hospice & Palliative Care (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Educational Technology (AREA)
  • Social Psychology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Developmental Disabilities (AREA)
  • Child & Adolescent Psychology (AREA)
  • Veterinary Medicine (AREA)
  • Epidemiology (AREA)
  • Primary Health Care (AREA)
  • Machine Translation (AREA)

Abstract

Provided are a device and method for scoring emotion for psychology consultation. The disclosed device comprises: a negative word database storing negative words and a weight of each negative word; a positive word database storing positive words and a weight of each positive word; a negative word detection unit detecting the number of negative words and the weight of each negative word in each sentence constituting a conversation using the negative word database; a positive word detection unit detecting the number of positive words and the weight of each positive word in each sentence constituting a conversation using the positive word database; a neutral word detection unit detecting the number of neutral words and a length of a sentence in a sentence constituting a conversation; a sentence score calculation unit calculating a negative word score, a positive word score, and a neutral word score of each sentence by using detection results of the negative word detection unit, positive word detection unit, and neutral word detection unit and subtracting the positive word score and the neutral word score from the negative word score to calculate a sentence score; and an emotion score calculation unit calculating an emotion score by summing a score of each sentence calculate from the sentence score calculation unit. According to the disclosed device and method, an emotional state of a person to be counseled can be exactly scored through a conversation with the person to be counseled.

Description

심리 상담을 위한 감정 스코어링 장치 및 방법{Device and Method of Scoring Emotion for Psychological Consultation}Device and Method of Scoring Emotion for Psychological Consultation

본 발명은 감정 스코어링 장치 및 방법에 관한 것으로서, 더욱 상세하게는 심리 상담을 위한 감정 스코어링 장치 및 방법에 관한 것이다. The present invention relates to an emotion scoring apparatus and method, and more particularly, to an emotion scoring apparatus and method for psychological counseling.

2016년 의료기관을 통해 지출된 정신질환 관련 치료비 액수는 3조 3000억원을 넘어섰으며, 10년전인 2006년 보다 6배 이상 규모가 커졌다. 한편, 한국은 OECD 국가 중 자살율이 14년째 1위로 자살자 중 88%는 심리, 정신 건강 문제를 앓고 있었으나 치료 및 상담을 받았던 비율을 15%에 그치고 있음. 정부에서는 이에 따른 대책 마련을 위하여 심리 상담을 적극적으로 장려하고 있으며, 심리 상담을 통해 충분히 방지가 가능하다. In 2016, the amount of mental illness-related treatment expenditures through medical institutions exceeded 3.3 trillion won, more than six times larger than in 2006, 10 years ago. Meanwhile, Korea has the highest suicide rate among OECD countries for 14 years, 88% of suicides suffered from psychological and mental health problems, but only 15% received treatment and counseling. The government actively encourages psychological counseling to prepare countermeasures accordingly, and it can be sufficiently prevented through psychological counseling.

그러나, 일반인들이 직접 정신과 의사나 심리 상담사와 같은 전문가와 대면하여 심리 상담을 받는 것은 결코 쉽지 않은 일이며, 이를 위해 전문가를 대면하지 않고 심리 상담을 받을 수 있는 다양한 방법이 시도되고 있다. However, it is never easy for ordinary people to receive psychological counseling directly face-to-face with experts such as a psychiatrist or psychological counselor, and for this, various methods have been attempted to receive psychological counseling without facing an expert.

휴대폰의 앱, 온라인 서비스, 챗봇 등을 이용하여 심리 상담을 하는 방법이 시도되고 있으며, 특히 인공 지능을 이용한 챗봇에 의해 음성을 통해 심리 상담 서비스를 제공하는 방법이 널리 연구되고 있다. A method of psychological counseling using a mobile phone app, an online service, or a chatbot is being tried, and in particular, a method of providing a psychological counseling service through voice by a chatbot using artificial intelligence is being widely studied.

적절한 심리 상담이 이루어지려면 사용자의 감정 상태에 대한 정확한 판단이 선행되어야 한다. 사용자의 감정 상태는 단순 설문 만으로는 정확히 판단하기 어려우며 직접 사용자와의 대화를 통해 파악할 필요가 있으며 심리 상담 역시 실제 전문가와 대면하는 것과 같이 유대 관계를 조성하면서 비슷한 공감대를 형성하여야 효과를 거둘 수 있다. For proper psychological counseling, an accurate judgment on the emotional state of the user must be preceded. It is difficult to accurately determine the user's emotional state with a simple questionnaire alone, and it is necessary to grasp it through direct dialogue with the user, and psychological counseling can be effective only when a similar consensus is formed while establishing a bond, just like face-to-face with an actual expert.

이에, 심리 상담을 위한 감정 상태에 대한 판단은 가장 중요한 초기 작업임에도 불구하고 기존의 감정에 대한 스코어링은 단순 설문 응답에 의해 이루어지는 경우가 대부분이었다. Therefore, although the determination of the emotional state for psychological counseling is the most important initial task, the scoring of the existing emotions is mostly performed by simple questionnaire responses.

본 발명은 전술한 종래 기술의 문제점을 해결하기 위한 것으로, 피상담자와의 대화를 통해 피상담자의 감정 상태를 정확히 스코어링할 수 있는 방법 및 장치를 제안한다. The present invention is to solve the problems of the prior art described above, and proposes a method and an apparatus capable of accurately scoring the emotional state of the counselor through a conversation with the counselor.

상기와 같은 목적을 달성하기 위해 본 발명의 일 측면에 따르면, 부정 단어 및 각 부정 단어의 가중치를 저장하는 부정 단어 데이터베이스; 긍정 단어 및 각 긍정 단어의 가중치를 저장하는 긍정 단어 데이터베이스; 상기 부정 단어 데이터베이스를 이용하여 대화를 이루는 각 문장에서 부정 단어의 수 및 각 부정 단어의 가중치를 검출하는 부정 단어 검출부; 상기 긍정 단어 데이터베이스를 이용하여 대화를 이루는 각 문장에서 긍정 단어의 수 및 각 긍정 단어의 가중치를 검출하는 긍정 단어 검출부; 대화를 이루는 문장에서 중립 단어의 수, 문장 길이를 검출하는 중립 단어 검출부; 상기 부정 단어 검출부, 긍정 단어 검출부 및 중립 단어 검출부의 검출 결과를 이용하여 각 문장의 부정 단어 스코어, 긍정 단어 스코어 및 중립 단어 스코어를 연산하고 상기 부정 단어 스코어로부터 긍정 단어 스코어 및 중립 단어 스코어를 차감하여 문장 스코어를 연산하는 문장 스코어 연산부; 및 상기 문장 스코어 연산부에서 연산되는 각 문장의 스코어를 합산하여 감정 스코어를 연산하는 감정 스코어 연산부를 포함하는 심리 상담을 위한 감정 스코어링 장치가 제공된다. According to an aspect of the present invention to achieve the above object, a negative word database for storing a negative word and a weight of each negative word; A positive word database storing the positive words and a weight of each positive word; A negative word detection unit for detecting the number of negative words and a weight of each negative word in each sentence constituting a conversation using the negative word database; A positive word detection unit for detecting the number of positive words and a weight of each positive word in each sentence constituting a conversation using the positive word database; A neutral word detection unit that detects the number of neutral words and the length of a sentence in a sentence forming a conversation; The negative word score, the positive word score, and the neutral word score of each sentence are calculated using the detection results of the negative word detection unit, the positive word detection unit, and the neutral word detection unit, and the positive word score and the neutral word score are subtracted from the negative word score. A sentence score calculator that calculates a sentence score; And there is provided an emotion scoring apparatus for psychological counseling comprising an emotion score calculation unit that calculates an emotion score by summing the scores of each sentence calculated by the sentence score calculation unit.

상기 중립 스코어는 현재 문장 및 이전 문장 모두에서 부정 단어가 검출되지 아니할 경우 연산된다. The neutral score is calculated when a negative word is not detected in both the current sentence and the previous sentence.

상기 부정 단어 스코어는 각 부정 단어에 설정된 가중치를 합산하는 방식으로 연산되고, 상기 긍정 단어 스코어는 각 긍정 단어에 설정된 가중치를 합산하는 방식으로 연산된다. The negative word score is calculated by adding weights set for each negative word, and the positive word score is calculated by adding weights set for each positive word.

상기 중립 단어 스코어는 문장에서의 중립 단어의 수, 현재 문장의 길이 및 이전 문장의 길이 및 부정 단어가 연속적으로 등장하지 않는 문장의 수를 이용하여 연산된다. The neutral word score is calculated using the number of neutral words in the sentence, the length of the current sentence and the length of the previous sentence, and the number of sentences in which negative words do not appear consecutively.

상기 중립 단어 스코어는 다음의 수학식과 같이 연산된다. The neutral word score is calculated as follows.

Figure pat00001
Figure pat00001

Figure pat00002
=
Figure pat00003
-
Figure pat00004
) +
Figure pat00005
Figure pat00002
=
Figure pat00003
-
Figure pat00004
) +
Figure pat00005

위 수학식에서

Figure pat00006
는 현재 문장의 길이,
Figure pat00007
은 이전 문장의 길이이고,
Figure pat00008
는 현재 문장에서의 중립 단어의 수를 나타내고, n은 대화에서 부정 단어가 연속적으로 등장하지 않는 문장의 수이다In the above equation
Figure pat00006
Is the length of the current sentence,
Figure pat00007
Is the length of the previous sentence,
Figure pat00008
Is the number of neutral words in the current sentence, and n is the number of sentences in which negative words do not appear consecutively in the conversation.

상기 문장의 길이는 문장을 이루는 총 음절의 수이다. The length of the sentence is the total number of syllables that make up the sentence.

본 발명의 다른 측면에 따르면, 부정 단어 및 각 부정 단어의 가중치를 저장하는부정 단어 데이터베이스를 이용하여 대화를 이루는 각 문장에서 부정 단어의 수 및 각 부정 단어의 가중치를 검출하는 단계(a); 긍정 단어 및 각 긍정 단어의 가중치를 저장하는 긍정 단어 데이터베이스를 이용하여 대화를 이루는 각 문장에서 긍정 단어의 수 및 각 긍정 단어의 가중치를 검출하는 단계(b); 대화를 이루는 문장에서 중립 단어의 수, 문장 길이를 검출하는 단계(c); 상기 단계(a) 내지 (c)의 결과를 이용하여 각 문장의 부정 단어 스코어, 긍정 단어 스코어 및 중립 단어 스코어를 연산하고 상기 부정 단어 스코어로부터 긍정 단어 스코어 및 중립 단어 스코어를 차감하여 문장 스코어를 연산하는 단계(d); 및 상기 단계(d)에서 연산되는 각 문장의 스코어를 합산하여 감정 스코어를 연산하는 단계(e)를 포함하는 심리 상담을 위한 감정 스코어링 방법이 제공된다. According to another aspect of the present invention, using a negative word database storing negative words and weights of each negative word, detecting the number of negative words and the weight of each negative word in each sentence forming a conversation (a); (B) detecting the number of positive words and the weight of each positive word in each sentence constituting the conversation using a positive word database storing the positive words and the weight of each positive word; (C) detecting the number of neutral words and the length of the sentence in the sentence forming the conversation; The negative word score, the positive word score, and the neutral word score of each sentence are calculated using the results of steps (a) to (c), and the sentence score is calculated by subtracting the positive word score and the neutral word score from the negative word score. Step (d); And (e) calculating an emotion score by summing the scores of each sentence calculated in the step (d).

본 발명의 일 실시예에 따르면, 피상담자와의 대화를 통해 피상담자의 감정 상태를 정확히 스코어링할 수 있는 장점이 있다. According to an embodiment of the present invention, there is an advantage of accurately scoring the emotional state of the counselor through a conversation with the counselor.

도 1은 본 발명이 적용되는 심리 상담 시스템의 개략적인 구조를 나타낸 도면.
도 2는 본 발명이 적용되는 심리 상담 시스템에서의 심리 상담 절차를 나타낸 도면.
도 3은 본 발명의 일 실시예에 따른 감정 스코어링 장치의 구조를 나타낸 블록도.
도 4는 본 발명의 일 실시예에 따른 감정 스코어링 방법의 전체적인 흐름을 나타낸 순서도.
1 is a diagram showing a schematic structure of a psychological counseling system to which the present invention is applied.
2 is a diagram showing a psychological counseling procedure in a psychological counseling system to which the present invention is applied.
3 is a block diagram showing the structure of an emotion scoring apparatus according to an embodiment of the present invention.
4 is a flow chart showing the overall flow of the emotion scoring method according to an embodiment of the present invention.

이하에서는 첨부한 도면을 참조하여 본 발명을 설명하기로 한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며, 따라서 여기에서 설명하는 실시예로 한정되는 것은 아니다.Hereinafter, the present invention will be described with reference to the accompanying drawings. However, the present invention may be implemented in various different forms, and therefore is not limited to the embodiments described herein.

그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention, and similar reference numerals are assigned to similar parts throughout the specification.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 부재를 사이에 두고 "간접적으로 연결"되어 있는 경우도 포함한다.Throughout the specification, when a part is said to be "connected" to another part, this includes not only "directly connected" but also "indirectly connected" with another member interposed therebetween. .

또한 어떤 부분이 어떤 구성 요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성 요소를 제외하는 것이 아니라 다른 구성 요소를 더 구비할 수 있다는 것을 의미한다.In addition, when a part "includes" a certain component, it means that other components may be further provided, not excluding other components, unless specifically stated to the contrary.

이하 첨부된 도면을 참고하여 본 발명의 실시예를 상세히 설명하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명이 적용되는 심리 상담 시스템의 개략적인 구조를 나타낸 도면이다. 1 is a diagram showing a schematic structure of a psychological counseling system to which the present invention is applied.

도 1을 참조하면, 본 발명이 적용되는 심리 상담 시스템은 심리 상담 서버(100), 데이터베이스(110) 및 사용자 단말(120)을 포함한다. Referring to FIG. 1, a psychological counseling system to which the present invention is applied includes a psychological counseling server 100, a database 110, and a user terminal 120.

심리 상담 서버(100)와 사용자 단말(120)은 네트워크를 통해 연결되며 여기서 네트워크는 통신 데이터를 주고 받을 수 있는 다양한 종류의 네트워크를 모두 포함한다. 예를 들어, 네트워크는 인터넷망, 이동통신망, 사설망 등을 모두 포함할 수 있을 것이다. The psychological counseling server 100 and the user terminal 120 are connected through a network, wherein the network includes all types of networks through which communication data can be exchanged. For example, the network may include all of an Internet network, a mobile communication network, and a private network.

심리 상담 서버(100)는 심리 진단 및 심리 치료를 위한 서비스를 제공하는 서버이다. 심리 상담 서버(100)는 데이터베이스(110)와 결합되어 있으며, 데이터베이스(110)에는 심리 진단 및 심리 치료를 위해 필요한 다양한 종류의 데이터가 저장되어 있다. The psychological counseling server 100 is a server that provides services for psychological diagnosis and psychological treatment. The psychological counseling server 100 is coupled with the database 110, and various kinds of data necessary for psychological diagnosis and psychological treatment are stored in the database 110.

사용자 단말(120)은 네트워크를 통해 통신 가능하고 어플리케이션의 실행이 가능한 다양한 장치를 포함할 수 있다. 예를 들어, 사용자 단말(120)은 스마트폰, PC, 노트북과 같은 컴퓨팅 장치와 챗봇 장치를 포함할 수 있다. 사용자 단말(120)은 전용 어플리케이션 또는 웹브라우저 등을 이용하여 심리 상담 서버(100)에 접속할 수 있다. The user terminal 120 may include various devices capable of communicating through a network and capable of executing an application. For example, the user terminal 120 may include a computing device such as a smartphone, a PC, and a notebook and a chatbot device. The user terminal 120 may access the psychological counseling server 100 using a dedicated application or a web browser.

심리 상담 서버(100)는 심리 진단을 위한 질문 정보를 사용자 단말(120)에 전송하고 사용자 단말(120)로부터 답변 정보를 수신한다. 심리 진단을 위한 질문은 특정 예시 중 하나를 선택하는 객관식 질문일 수도 있으며, 사용자의 자유로운 답변을 요구하는 주관식 질문일 수도 있다. 심리 진단을 위한 질문 정보는 데이터베이스(110)에 저장된다. 심리 상담 서버(100)는 심리 상담을 요구하는 사용자의 상태에 기초하여 적절한 질문을 선택하여 사용자 단말(120)에 제공한다. The psychological counseling server 100 transmits question information for psychological diagnosis to the user terminal 120 and receives answer information from the user terminal 120. The question for psychological diagnosis may be a multiple-choice question that selects one of specific examples, or may be a short-term question that requires a user's free answer. Question information for psychological diagnosis is stored in the database 110. The psychological counseling server 100 selects an appropriate question based on the state of the user requesting psychological counseling and provides it to the user terminal 120.

또한, 심리 상담 서버(100)는 심리 치료를 위한 대화 서비스 및 컨설팅 정보를 제공한다. 심리 진단을 통해 사용자의 상태가 진단되면 심리 상담 서버(100)는 사용자와의 공감 대화를 위한 정보를 사용자 단말(100)에 제공할 수 있다. In addition, the psychological counseling server 100 provides a conversation service and consulting information for psychological treatment. When a user's condition is diagnosed through psychological diagnosis, the psychological counseling server 100 may provide information for a sympathetic conversation with the user to the user terminal 100.

사용자와의 대화를 위해 심리 상담 서버(100) 또는 사용자 단말(120)에는 대화를 위한 인공 지능 모듈이 설치될 수 있다. 인공 지능을 이용한 대화는 본 발명의 본질이 아니므로 이에 대한 상세한 설명은 생략한다. For a conversation with a user, an artificial intelligence module for conversation may be installed in the psychological counseling server 100 or the user terminal 120. Since dialogue using artificial intelligence is not the essence of the present invention, detailed description thereof will be omitted.

심리 상담 서버(100)에서 제공하는 질문 및 대화 데이터는 사용자 단말기(120)에서 텍스트로 표시될 수도 있으며 음성 데이터로 출력될 수도 있을 것이다. Question and conversation data provided by the psychological counseling server 100 may be displayed as text in the user terminal 120 or may be output as voice data.

도 1과 같은 심리 상담 시스템에서 적절한 심리 진단 및 심리 치료가 이루어지려면 사용자의 감정 상태를 적절히 판단할 필요가 있다. 사용자의 감정 상태가 우울한 상태인지 여부가 정확히 진단되어야 적절한 대화 및 컨설팅이 제공될 수 있기 때문이다. 본 발명은 도 1과 같은 심리 상담 시스템에서 사용자의 감정 상태에 대한 적절한 스코어링 방법을 제시한다. In order to perform appropriate psychological diagnosis and psychological treatment in the psychological counseling system as shown in FIG. 1, it is necessary to appropriately determine the emotional state of the user. This is because appropriate dialogue and consulting can be provided only when the user's emotional state is accurately diagnosed. The present invention proposes an appropriate scoring method for a user's emotional state in the psychological counseling system as shown in FIG. 1.

도 2는 본 발명이 적용되는 심리 상담 시스템에서의 심리 상담 절차를 나타낸 도면이다. 2 is a diagram showing a psychological counseling procedure in a psychological counseling system to which the present invention is applied.

도 2를 참조하면, 우선 1차 감정 상태 평가를 진행한다(단계 200). 1차 감정 상태 평가는 모든 사용자에 대해 미리 설정된 질문을 제공하고, 제공된 질문에 대한 응답에 기초하여 이루어진다. Referring to FIG. 2, first, a primary emotional state evaluation is performed (step 200). The primary emotional state evaluation provides preset questions for all users and is made based on responses to the provided questions.

1차 감정 상태 평가는 심리 상담 서비스를 처음 사용하는 사용자에 대해 이루어진다. 1차 감정 상태 평가를 위한 질문 데이터는 미리 데이터베이스에 저장되어 있으며 저장된 질문 데이터가 사용자의 상태에 대한 구분 없이 제공된다. The primary emotional state evaluation is performed for a user who uses psychological counseling service for the first time. Question data for primary emotional state evaluation is stored in the database in advance, and the stored question data is provided without distinction about the user's state.

1차 감정 상태 평가를 위한 질문은 객관식 질문인 것이 바람직하나 이에 한정되는 것은 아니다. The question for evaluating the primary emotional state is preferably a multiple-choice question, but is not limited thereto.

심리 상담 서버는 질문에 대한 사용자의 응답을 분석하여 사용자의 감정 상태에 대한 스코어를 산출한다. 본 실시예에서는 스코어가 높으면 사용자의 우울도가 높은 것으로 판단하고 스코어가 낮으면 우울도가 낮은 것으로 판단한다. 예를 들어, 객관식 질문에 대한 사용자의 선택에 따라 미리 스코어가 설정되어 있고, 사용자의 선택에 상응하는 스코어를 합산하는 방식으로 1차 감정 상태 평가가 이루어질 수 있다. The psychological counseling server analyzes the user's response to the question and calculates a score for the user's emotional state. In this embodiment, if the score is high, it is determined that the user's depression is high, and if the score is low, it is determined that the depression is low. For example, a score is set in advance according to a user's selection for a multiple-choice question, and the primary emotional state evaluation may be performed in a way that scores corresponding to the user's selection are summed.

1차 감정 상태에 대한 평가가 완료되면, 1차 감정 상태에 기초하여 2차 감정 상태 평가가 이루어진다(단계 202). When the evaluation of the primary emotional state is completed, the secondary emotional state is evaluated based on the primary emotional state (step 202).

2차 감정 상태 평가는 대화형으로 이루어지는 것이 바람직하다. 2차 감정 상태 평가를 위한 질문은 1차 감정 상태에 따른 스코어에 기초하여 준비된다. 예를 들어, 우울도가 높은(감정 상태 스코어가 높은) 사용자에 대한 질문과 우울도가 낮은(감정 상태 스코어가 낮은) 사용자에 대한 질문이 별도로 준비된다. 요컨대, 감정 상태 스코어를 단계별로 구분하고, 각 단계별로 서로 다른 질문이 준비되는 것이다. It is desirable that the secondary emotional state evaluation is conducted interactively. Questions for evaluating the secondary emotional state are prepared based on the score according to the primary emotional state. For example, a question for a user with a high level of depression (a high emotional state score) and a question for a user with a low level of depression (a low emotional state score) are prepared separately. In short, the emotional state score is divided into stages, and different questions are prepared for each stage.

2차 감정 평가를 위한 질문은 사용자의 대화형 답변을 요구하는 질문이고, 사용자의 대화형 답변을 분석하여 2차 감정 평가를 수행한다. The question for the second emotion evaluation is a question that requires an interactive answer from the user, and the second emotion evaluation is performed by analyzing the user's interactive answer.

사용자와의 대화에 따른 감정 상태 판단 방법은 본 발명의 핵심적 구성이며, 이에 대한 상세한 구성은 도 3 및 도 4를 참조하여 설명한다. A method of determining an emotional state according to a conversation with a user is a core configuration of the present invention, and a detailed configuration thereof will be described with reference to FIGS. 3 and 4.

2차 감정 평가가 이루어지면, 평가 결과에 기초하여 사용자와의 공감 대화를 수행한다(단계 204). 2차 감정 평가 결과 사용자의 우울도가 높은 것으로 판단될 경우 사용자의 우울도를 낮추기 위한 공감 대화가 이루어진다. 사용자의 우울도가 높지 않은 것으로 판단될 경우 사용자의 우울도가 높아지지 않는 방향으로 공감 대화가 이루어진다. When the secondary emotion evaluation is made, a sympathetic conversation with the user is performed based on the evaluation result (step 204). When it is determined that the user's degree of depression is high as a result of the secondary emotion evaluation, a sympathetic dialogue is established to lower the user's degree of depression. If it is determined that the user's depression level is not high, a sympathetic conversation is conducted in a direction that does not increase the user's depression level.

또한, 다음 상담 시까지 필요한 컨설팅 정보를 제공한다(단계 206). 컨설팅 정보 역시 2차 감정 평가에 따른 스코어에 기초하여 이루어진다. In addition, necessary consulting information is provided until the next consultation (step 206). Consulting information is also made based on the score according to the secondary appraisal.

도 2를 참조하여 설명한 심리 상담 절차는 계속적으로 이루어진다. 다음 상담에서도 2차 감정 평가 스코어에 기초하여 질문 및 답변 대화가 이루어지고 사용자의 대화를 분석하여 2차 감정 평가 스코어를 갱신한다. 또한, 갱신된 스코어에 기초하여 공감 대화 및 컨설팅 제공이 이루어질 수 있다. The psychological counseling procedure described with reference to FIG. 2 is performed continuously. In the next consultation, question and answer conversations are made based on the secondary appraisal score, and the secondary appraisal score is updated by analyzing the user's conversation. In addition, empathy dialogue and consulting may be provided based on the updated score.

도 3은 본 발명의 일 실시예에 따른 감정 스코어링 장치의 구조를 나타낸 블록도이다. 3 is a block diagram showing the structure of an emotion scoring apparatus according to an embodiment of the present invention.

도 3을 참조하면 본 발명의 일 실시예에 따른 감정 스코어링 장치는 부정 단어 검출부(300), 긍정 단어 검출부(310), 중립 단어 검출부(320), 문장 길이 판단부(330), 문장 스코어 연산부(340), 감정 스코어 연산부(350), 부정 단어 데이터베이스(360) 및 긍정 단어 데이터베이스(370)를 포함한다. Referring to FIG. 3, the emotion scoring apparatus according to an embodiment of the present invention includes a negative word detection unit 300, a positive word detection unit 310, a neutral word detection unit 320, a sentence length determination unit 330, and a sentence score calculation unit ( 340), an emotion score calculation unit 350, a negative word database 360, and a positive word database 370.

대화는 다수의 문장을 포함하고, 본 발명의 감정 스코어링 장치는 문장 스코어 연산부(340)에서 문장 단위로 스코어를 연산한 후 대화 스코어 연산부(350)에서 최종 스코어를 연산하는 방식으로 동작한다. The dialogue includes a plurality of sentences, and the emotion scoring apparatus of the present invention operates in a manner in which the sentence score calculating unit 340 calculates a score for each sentence and then the dialogue score calculating unit 350 calculates a final score.

부정 단어 검출부(300)는 대화를 이루는 문장에서 우울한 감정과 연관된 부정 단어를 검출하고 부정 단어의 수를 카운팅한다. 예를 들어, 부정 단어는 "죽다", "허무하다"등과 같이 우울한 감정을 가진 사람들이 자주 사용하는 단어를 포함할 수 있을 것이다.The negative word detection unit 300 detects a negative word associated with a depressive emotion in a sentence forming a conversation and counts the number of negative words. For example, negative words may include words frequently used by people with depressed feelings, such as "die" or "empty".

부정 단어 데이터베이스(360)에는 심리학자들에 의해 미리 선정된 부정 단어와 각 부정 단어의 가중치가 저장된다. 가중치는 각 부정 단어의 레벨을 나타내는 값으로 예를 들어 "죽다"라는 단어에는 높은 가중치를 부여하고 "허무하다"라는 단어에는 상대적으로 낮은 가중치를 부여하도록 설정될 수 있다. The negative word database 360 stores negative words previously selected by psychologists and weights of each negative word. The weight is a value indicating the level of each negative word, and may be set to give a high weight to the word "dead" and a relatively low weight to the word "empty".

부정 단어 검출부(300)는 부정 단어 데이터베이스(360)에 저장된 정보를 이용하여 문장에서 부정 단어의 유무를 판단하고 문장에서 부정 단어의 수를 카운팅한다. The negative word detection unit 300 determines the presence or absence of a negative word in a sentence using information stored in the negative word database 360 and counts the number of negative words in the sentence.

긍정 단어 검출부(310)는 대화를 이루는 문장에서 긍정적인 감정과 연관된 긍정 단어를 검출하고 긍정 단어의 수를 카운팅한다. 예를 들어, 긍정 단어는 "기쁘다", "기대된다"등과 같이 긍정적인 감정을 가진 사람들이 자주 사용하는 단어를 포함할 수 있을 것이다.The positive word detection unit 310 detects a positive word associated with a positive emotion in a sentence forming a conversation and counts the number of positive words. For example, a positive word could include words that are frequently used by people with positive emotions, such as "I'm glad" or "I'm looking forward to it."

긍정 단어 데이터베이스(370)에도 심리학자들에 의해 미리 선정된 긍정 단어와 각 긍정 단어의 가중치가 저장된다. The positive word database 370 also stores a positive word previously selected by psychologists and a weight of each positive word.

긍정 단어 검출부(310)는 긍정 단어 데이터베이스(370)에 저장된 정보를 이용하여 문장에서 부정 단어의 유무를 판단하고 문장에서 부정 단어의 수를 카운팅한다. The positive word detection unit 310 determines the presence or absence of negative words in a sentence using information stored in the positive word database 370 and counts the number of negative words in the sentence.

중립 단어 검출부(320)는 대화를 이루는 문장에서 중립 단어를 검출한다. 중립 단어(320)는 부정 단어 데이터베이스(360) 및 긍정 단어 데이터베이스(370)에 저장되지 않은 단어를 의미한다. The neutral word detection unit 320 detects a neutral word in a sentence forming a conversation. The neutral word 320 refers to a word that is not stored in the negative word database 360 and the positive word database 370.

중립 단어 검출부(320)는 현재 문장 및 이전 문장에서 긍정 단어 및 부정 단어가 검출되지 않을 경우에 중립 단어의 수를 검출하여 문장의 길이를 판단한다. 요컨대, 중립 단어 검출부(320)는 현재 검출 대상 문장과 이전 문장에서 긍정 단어 및 부정 단어가 사용되지 않았을 경우에만 활성화되어 중립 단어의 수를 검출하여 문장의 길이를 판단한다. The neutral word detection unit 320 determines the length of the sentence by detecting the number of neutral words when positive words and negative words are not detected in the current sentence and the previous sentence. In short, the neutral word detection unit 320 is activated only when a positive word and a negative word are not used in the current detection target sentence and the previous sentence, and detects the number of neutral words to determine the length of the sentence.

문장 길이 판단부(330)는 사용자가 응답한 문장의 길이를 판단한다. The sentence length determination unit 330 determines the length of the sentence to which the user responds.

문장 스코어 연산부(340)는 검출된 긍정 단어, 부정 단어, 중립 단어 및 문장 길이를 이용하여 문장 스코어를 연산한다. 문장 스코어 연산부(340)는 긍정 단어 스코어, 부정 단어 스코어 및 중립 단어 스코어를 독립적으로 연산하고 이를 통합하여 최종적인 문장 스코어를 연산한다. The sentence score calculator 340 calculates a sentence score using the detected positive word, negative word, neutral word, and sentence length. The sentence score calculation unit 340 independently calculates a positive word score, a negative word score, and a neutral word score, and integrates them to calculate a final sentence score.

부정 단어 스코어를 Dt, 긍정 단어 스코어를 Pt, 중립 단어 스코어를 Nt로 정의할 때 문장 스코어(St)는 다음의 수학식 1과 같이 정의된다. When defining the negative word score as Dt, the positive word score as Pt, and the neutral word score as Nt, the sentence score St is defined as in Equation 1 below.

Figure pat00009
Figure pat00009

위 수학식에서 아래 첨자 t는 문장을 나타내는 인덱스이며, 수학식 1은 t번째 문장에서의 문장 스코어를 나타낸 것이다. 부정 단어 스코어는 문장 스코어를 증가시키고 긍정 단어 스코어 및 중립 단어 스코어는 문장 스코어를 감소시킨다. In the above equation, the subscript t is an index indicating a sentence, and Equation 1 indicates a sentence score in the t-th sentence. The negative word score increases the sentence score and the positive word score and the neutral word score decrease the sentence score.

부정 단어 스코어는 문장에 포함된 부정 단어의 수 및 문장에 포함된 부정 단어들의 가중치에 기초하여 연산된다. The negative word score is calculated based on the number of negative words included in the sentence and the weight of the negative words included in the sentence.

일례로, 부정 단어 스코어는 다음의 수학식 2와 같이 연산될 수 있다. As an example, the negative word score may be calculated as in Equation 2 below.

Figure pat00010
Figure pat00010

위 수학식에서 m은 문장에 포함된 부정 단어의 개수이고, x는 부정 단어에 대해 미리 설정된 상수값이고 w는 해당 부정 단어의 가중치이다. x는 1의 값을 가지는 것이 바람직하나 이에 한정되는 것은 아니다. In the above equation, m is the number of negative words included in the sentence, x is a preset constant value for the negative word, and w is the weight of the negative word. It is preferable that x has a value of 1, but is not limited thereto.

긍정 단어 스코어는 문장에 포함된 긍정 단어의 수 및 문장 포함된 긍정 단어들의 가중치에 기초하여 연산된다. The positive word score is calculated based on the number of positive words included in the sentence and the weight of the positive words included in the sentence.

일례로, 긍정 단어 스코어는 다음의 수학식 3과 같이 연산될 수 있다. As an example, the positive word score may be calculated as in Equation 3 below.

Figure pat00011
Figure pat00011

위 수학식에서, m은 문장에 포함된 긍정 단어의 개수이고, z는 긍정 단어에 대해 미리 설정된 상수 값이고 w는 해당 긍정 단어의 가중치이다. z는 1의 값을 가지는 것이 바람직하나 이에 한정되는 것은 아니다. In the above equation, m is the number of positive words included in the sentence, z is a preset constant value for the positive word, and w is the weight of the corresponding positive word. It is preferable that z has a value of 1, but is not limited thereto.

중립 단어 스코어는 현재 문장 및 이전 문장에서 부정 단어가 사용되지 아니할 경우 현재 문장의 길이, 이전 문장의 길이 및 중립 단어의 수에 기초하여 연산된다. 중립 단어 스코어는 현재 문장 및 이전 문장에서 부정 단어가 검출되지 않았을 경우에만 연산되며, 현재 문장 및 이전 문장에서 부정 단어가 검출될 경우 중립 단어 스코어는 '0'으로 설정된다. The neutral word score is calculated based on the length of the current sentence, the length of the previous sentence, and the number of neutral words when a negative word is not used in the current sentence and the previous sentence. The neutral word score is calculated only when a negative word is not detected in the current sentence and the previous sentence, and when a negative word is detected in the current sentence and the previous sentence, the neutral word score is set to '0'.

중립 단어 스코어는 문장의 길이가 길수록 크게 설정되고 부정 단어가 연속하여 등장하지 않는 문장의 수가 증가할수록 크게 설정된다. The neutral word score is set larger as the length of the sentence increases, and is set larger as the number of sentences in which negative words do not appear in succession increases.

일례로, 중립 단어 스코어는 다음의 수학식 4와 같이 연산될 수 있다. As an example, the neutral word score may be calculated as in Equation 4 below.

Figure pat00012
Figure pat00012

Figure pat00013
=
Figure pat00014
-
Figure pat00015
) +
Figure pat00016
Figure pat00013
=
Figure pat00014
-
Figure pat00015
) +
Figure pat00016

위 수학식 4에서,

Figure pat00017
는 현재 문장의 길이,
Figure pat00018
은 이전 문장의 길이이고,
Figure pat00019
는 현재 문장에서의 중립 단어의 수를 나타내고, n은 대화에서 부정 단어가 연속적으로 등장하지 않는 문장의 수이다. 예를 들어, 3번의 연속적인 문장에서 부정 단어가 등장하지 않을 경우 n은 3이다. In Equation 4 above,
Figure pat00017
Is the length of the current sentence,
Figure pat00018
Is the length of the previous sentence,
Figure pat00019
Represents the number of neutral words in the current sentence, and n is the number of sentences in which negative words do not appear consecutively in the conversation. For example, n is 3 when no negative word appears in 3 consecutive sentences.

또한, 문장의 길이는 문장에 등장하는 단어들의 총 음절의 수로 정의될 수 있다. 예를 들어, "나는 학교에 간다"라는 문장이 있을 경우 문장의 길이는 '7'로 설정된다. Also, the length of a sentence may be defined as the total number of syllables of words appearing in the sentence. For example, if there is a sentence "I go to school", the length of the sentence is set to '7'.

중립 단어 스코어는 사용자가 긍정 단어를 외부적으로 표출하지 않더라도 대화의 길이가 길 경우 사용자가 우울하지 않은 상태라는 점을 반영하기 위해 연산된다. The neutral word score is calculated to reflect that the user is not depressed when the length of the conversation is long even if the user does not externally express the positive word.

문장 스코어 연산부(340)는 위와 같이 연산되는 부정 단어 스코어로부터 긍정 단어 스코어 및 중립 단어 스코어를 차감하여 문장 스코어를 연산한다. The sentence score calculating unit 340 calculates a sentence score by subtracting the positive word score and the neutral word score from the negative word score calculated as described above.

감정 스코어 연산부(350)는 문장 스코어 연산부(340)에서 연산되는 각 문장별 스코어를 합산하여 감정 스코어를 연산한다. 한편, 감정 스코어는 이전 상담에서의 감정 스코어를 갱신하는 방식으로 연산될 수 있다. 예를 들어, 감정 스코어는 다음의 수학식 5와 같이 연산될 수 있다. The emotion score calculation unit 350 calculates the emotion score by summing the scores for each sentence calculated by the sentence score calculation unit 340. Meanwhile, the emotion score may be calculated by updating the emotion score in the previous consultation. For example, the emotion score may be calculated as in Equation 5 below.

Figure pat00020
Figure pat00020

위 수학식 5에서, St는 t번째 문장의 문장 스코어이고, l은 대화를 이루는 총 문장의 수이다. In Equation 5 above, St is the sentence score of the t-th sentence, and l is the total number of sentences forming a conversation.

한편, 감정 스코어는 이전 대화에서의 감정 스코어에 가감되는 방식으로 갱신될 수 있다. Meanwhile, the emotion score may be updated in a manner that is added or subtracted from the emotion score in the previous conversation.

도 4는 본 발명의 일 실시예에 따른 감정 스코어링 방법의 전체적인 흐름을 나타낸 순서도이다. 4 is a flow chart showing the overall flow of the emotion scoring method according to an embodiment of the present invention.

도 4를 참조하면, 대화를 이루는 문장에서 부정 단어, 긍정 단어의 수를 카운팅한다(단계 400). Referring to FIG. 4, the number of negative words and positive words in a sentence forming a conversation is counted (step 400).

카운팅된 부정 단어 및 긍정 단어 수 및 각 단어의 가중치에 기초하여 부정 단어 스코어 및 부정 단어 스코어를 연산한다(단계 402). A negative word score and a negative word score are calculated based on the counted negative and positive words and the weight of each word (step 402).

부정 단어가 존재하지 않을 경우 이전 문장의 부정 단어 존재 여부를 판단하고, 이전 문장에도 부정 단어가 존재하지 않을 경우 중립 단어의 수를 카운팅하고 현재 문장 길이와 이전 문장의 길이를 판단한다(단계 404). If there is no negative word, it is determined whether a negative word exists in the previous sentence, and if there is no negative word in the previous sentence, the number of neutral words is counted, and the current sentence length and the length of the previous sentence are determined (step 404). .

중립 단어의 수, 현재 문장 길이 및 이전 문장 길이를 이용하여 현재 문장의 중립 단어 스코어를 연산한다(단계 406). The neutral word score of the current sentence is calculated using the number of neutral words, the current sentence length, and the previous sentence length (step 406).

연산된 부정 단어 스코어, 긍정 단어 스코어 및 중립 단어 스코어를 이용하여 문장 스코어를 연산한다(단계 408). 문장 스코어는 부정 단어 스코어로부터 긍정 단어 스코어 및 중립 단어 스코어를 차감하는 방식으로 연산될 수 있다. The sentence score is calculated using the calculated negative word score, positive word score, and neutral word score (step 408). The sentence score can be calculated in a manner that subtracts the positive word score and the neutral word score from the negative word score.

대화를 이루는 문장별로 문장 스코어가 연산되며, 문장 스코어를 합산하여 감정 스코어를 연산한다(단계 410). Sentence scores are calculated for each sentence constituting the conversation, and the sentiment score is calculated by summing the sentence scores (step 410).

전술한 본 발명의 설명은 예시를 위한 것이며, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다.The above description of the present invention is for illustrative purposes only, and those of ordinary skill in the art to which the present invention pertains will be able to understand that it can be easily modified into other specific forms without changing the technical spirit or essential features of the present invention. will be.

그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다.Therefore, it should be understood that the embodiments described above are illustrative in all respects and not limiting.

예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.For example, each component described as a single type may be implemented in a distributed manner, and similarly, components described as being distributed may also be implemented in a combined form.

본 발명의 범위는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The scope of the present invention is indicated by the claims to be described later, and all changes or modified forms derived from the meaning and scope of the claims and their equivalent concepts should be interpreted as being included in the scope of the present invention.

Claims (13)

심리 상담을 위한 감정 스코어링 장치로서,
부정 단어 및 각 부정 단어의 가중치를 저장하는 부정 단어 데이터베이스;
긍정 단어 및 각 긍정 단어의 가중치를 저장하는 긍정 단어 데이터베이스;
상기 부정 단어 데이터베이스를 이용하여 대화를 이루는 각 문장에서 부정 단어의 수 및 각 부정 단어의 가중치를 검출하는 부정 단어 검출부;
상기 긍정 단어 데이터베이스를 이용하여 대화를 이루는 각 문장에서 긍정 단어의 수 및 각 긍정 단어의 가중치를 검출하는 긍정 단어 검출부;
대화를 이루는 문장에서 중립 단어의 수, 문장 길이를 검출하는 중립 단어 검출부;
상기 부정 단어 검출부, 긍정 단어 검출부 및 중립 단어 검출부의 검출 결과를 이용하여 각 문장의 부정 단어 스코어, 긍정 단어 스코어 및 중립 단어 스코어를 연산하고 상기 부정 단어 스코어로부터 긍정 단어 스코어 및 중립 단어 스코어를 차감하여 문장 스코어를 연산하는 문장 스코어 연산부; 및
상기 문장 스코어 연산부에서 연산되는 각 문장의 스코어를 합산하여 감정 스코어를 연산하는 감정 스코어 연산부를 포함하는 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 장치.
As an emotional scoring device for psychological counseling,
A negative word database storing negative words and a weight of each negative word;
A positive word database storing the positive words and a weight of each positive word;
A negative word detection unit for detecting the number of negative words and a weight of each negative word in each sentence constituting a conversation using the negative word database;
A positive word detection unit for detecting the number of positive words and a weight of each positive word in each sentence constituting a conversation using the positive word database;
A neutral word detection unit that detects the number of neutral words and the length of a sentence in a sentence forming a conversation;
The negative word score, the positive word score, and the neutral word score of each sentence are calculated using the detection results of the negative word detection unit, the positive word detection unit, and the neutral word detection unit, and the positive word score and the neutral word score are subtracted from the negative word score. A sentence score calculator that calculates a sentence score; And
And an emotion score calculation unit that calculates an emotion score by summing the scores of each sentence calculated by the sentence score calculation unit.
제1 항에 있어서,
상기 중립 스코어는 현재 문장 및 이전 문장 모두에서 부정 단어가 검출되지 아니할 경우 연산되는 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 장치.
The method of claim 1,
The neutral score is calculated when a negative word is not detected in both the current sentence and the previous sentence.
제2 항에 있어서,
상기 부정 단어 스코어는 각 부정 단어에 설정된 가중치를 합산하는 방식으로 연산되고, 상기 긍정 단어 스코어는 각 긍정 단어에 설정된 가중치를 합산하는 방식으로 연산되는 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 장치.
The method of claim 2,
The negative word score is calculated by adding weights set for each negative word, and the positive word score is calculated by adding weights set for each positive word.
제3 항에 있어서,
상기 중립 단어 스코어는 문장에서의 중립 단어의 수, 현재 문장의 길이 및 이전 문장의 길이 및 부정 단어가 연속적으로 등장하지 않는 문장의 수를 이용하여 연산되는 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 장치.
The method of claim 3,
The neutral word score is calculated using the number of neutral words in the sentence, the length of the current sentence and the length of the previous sentence, and the number of sentences in which negative words do not appear in succession. .
제4항에 있어서,
상기 중립 단어 스코어는 다음의 수학식과 같이 연산되는 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 장치.
Figure pat00021

Figure pat00022
=
Figure pat00023
-
Figure pat00024
) +
Figure pat00025

위 수학식에서
Figure pat00026
는 현재 문장의 길이,
Figure pat00027
은 이전 문장의 길이이고,
Figure pat00028
는 현재 문장에서의 중립 단어의 수를 나타내고, n은 대화에서 부정 단어가 연속적으로 등장하지 않는 문장의 수이다
The method of claim 4,
The emotional scoring apparatus for psychological counseling, characterized in that the neutral word score is calculated as follows.
Figure pat00021

Figure pat00022
=
Figure pat00023
-
Figure pat00024
) +
Figure pat00025

In the above equation
Figure pat00026
Is the length of the current sentence,
Figure pat00027
Is the length of the previous sentence,
Figure pat00028
Is the number of neutral words in the current sentence, and n is the number of sentences in which negative words do not appear consecutively in the conversation.
제4항에 있어서,
상기 문장의 길이는 문장을 이루는 총 음절의 수인 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 장치.
The method of claim 4,
Emotion scoring device for psychological counseling, characterized in that the length of the sentence is the total number of syllables constituting the sentence.
부정 단어 및 각 부정 단어의 가중치를 저장하는부정 단어 데이터베이스를 이용하여 대화를 이루는 각 문장에서 부정 단어의 수 및 각 부정 단어의 가중치를 검출하는 단계(a);
긍정 단어 및 각 긍정 단어의 가중치를 저장하는 긍정 단어 데이터베이스를 이용하여 대화를 이루는 각 문장에서 긍정 단어의 수 및 각 긍정 단어의 가중치를 검출하는 단계(b);
대화를 이루는 문장에서 중립 단어의 수, 문장 길이를 검출하는 단계(c);
상기 단계(a) 내지 (c)의 결과를 이용하여 각 문장의 부정 단어 스코어, 긍정 단어 스코어 및 중립 단어 스코어를 연산하고 상기 부정 단어 스코어로부터 긍정 단어 스코어 및 중립 단어 스코어를 차감하여 문장 스코어를 연산하는 단계(d); 및
상기 단계(d)에서 연산되는 각 문장의 스코어를 합산하여 감정 스코어를 연산하는 단계(e)를 포함하는 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 방법.
(A) detecting the number of negative words and the weight of each negative word in each sentence forming a conversation using a negative word database that stores negative words and weights of each negative word;
(B) detecting the number of positive words and the weight of each positive word in each sentence constituting a conversation by using a positive word database storing the positive words and the weight of each positive word;
(C) detecting the number of neutral words and the length of the sentence in the sentence forming the conversation;
The negative word score, the positive word score, and the neutral word score of each sentence are calculated using the results of steps (a) to (c), and the sentence score is calculated by subtracting the positive word score and the neutral word score from the negative word score. Step (d); And
And (e) calculating an emotion score by summing the scores of each sentence calculated in the step (d).
제7 항에 있어서,
상기 중립 스코어는 현재 문장 및 이전 문장 모두에서 부정 단어가 검출되지 아니할 경우 연산되는 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 방법.
The method of claim 7,
The neutral score is calculated when a negative word is not detected in both the current sentence and the previous sentence.
제8 항에 있어서,
상기 부정 단어 스코어는 각 부정 단어에 설정된 가중치를 합산하는 방식으로 연산되고, 상기 긍정 단어 스코어는 각 긍정 단어에 설정된 가중치를 합산하는 방식으로 연산되는 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 방법.
The method of claim 8,
The negative word score is calculated by adding weights set for each negative word, and the positive word score is calculated by adding weights set for each positive word.
제9 항에 있어서,
상기 중립 단어 스코어는 문장에서의 중립 단어의 수, 현재 문장의 길이 및 이전 문장의 길이 및 부정 단어가 연속적으로 등장하지 않는 문장의 수를 이용하여 연산되는 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 방법.
The method of claim 9,
The neutral word score is calculated using the number of neutral words in the sentence, the length of the current sentence and the length of the previous sentence, and the number of sentences in which negative words do not appear in succession. .
제10항에 있어서,
상기 중립 단어 스코어는 다음의 수학식과 같이 연산되는 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 방법.
Figure pat00029

Figure pat00030
=
Figure pat00031
-
Figure pat00032
) +
Figure pat00033

위 수학식에서
Figure pat00034
는 현재 문장의 길이,
Figure pat00035
은 이전 문장의 길이이고,
Figure pat00036
는 현재 문장에서의 중립 단어의 수를 나타내고, n은 대화에서 부정 단어가 연속적으로 등장하지 않는 문장의 수이다
The method of claim 10,
The neutral word score is an emotional scoring method for psychological counseling, characterized in that calculated as follows.
Figure pat00029

Figure pat00030
=
Figure pat00031
-
Figure pat00032
) +
Figure pat00033

In the above equation
Figure pat00034
Is the length of the current sentence,
Figure pat00035
Is the length of the previous sentence,
Figure pat00036
Is the number of neutral words in the current sentence, and n is the number of sentences in which negative words do not appear consecutively in the conversation.
제10항에 있어서,
상기 문장의 길이는 문장을 이루는 총 음절의 수인 것을 특징으로 하는 심리 상담을 위한 감정 스코어링 방법.
The method of claim 10,
Emotion scoring method for psychological counseling, characterized in that the length of the sentence is the total number of syllables constituting the sentence.
제7항 내지 제12항 중 어느 한 항의 방법을 실행하기 위한 프로그램이 기록되어 있으며 컴퓨터에 의해 판독 가능한 프로그램이 기록된 기록 매체.

A recording medium in which a program for executing the method of any one of claims 7 to 12 is recorded and a program readable by a computer is recorded.

KR1020190026699A 2019-03-08 2019-03-08 Device and Method of Scoring Emotion for Psychological Consultation KR102225603B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190026699A KR102225603B1 (en) 2019-03-08 2019-03-08 Device and Method of Scoring Emotion for Psychological Consultation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190026699A KR102225603B1 (en) 2019-03-08 2019-03-08 Device and Method of Scoring Emotion for Psychological Consultation

Publications (2)

Publication Number Publication Date
KR20200107501A true KR20200107501A (en) 2020-09-16
KR102225603B1 KR102225603B1 (en) 2021-03-08

Family

ID=72669949

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190026699A KR102225603B1 (en) 2019-03-08 2019-03-08 Device and Method of Scoring Emotion for Psychological Consultation

Country Status (1)

Country Link
KR (1) KR102225603B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102324440B1 (en) * 2021-06-30 2021-11-11 송태홍 Method, device and system for analyzing psychological state of patient for treatment of mental health department
KR20220118116A (en) * 2021-02-18 2022-08-25 케이씨대학교산학협력단 System for Caring Self Mind
WO2022186528A1 (en) * 2021-03-05 2022-09-09 주식회사 비비비 System and method for non-face-to-face mental disorder treatment
KR20220127471A (en) 2021-03-11 2022-09-20 정선경 Device, Method and program for providing psychological counseling using VR
KR102512055B1 (en) * 2022-01-25 2023-03-20 안지윤 Method, device and system for analyzing patient condition based on survey information of first-time patient

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120108095A (en) * 2011-03-23 2012-10-05 김병훈 System for analyzing social data collected by communication network
JP2012256284A (en) * 2011-06-10 2012-12-27 Nomura Research Institute Ltd Sensibility analysis system and program
KR20140101906A (en) * 2013-02-12 2014-08-21 이주양 Apparatus and Method for social data analysis
KR20160134564A (en) * 2015-05-13 2016-11-23 삼성전자주식회사 Device and method for analyzing user emotion
KR20160136054A (en) * 2015-05-19 2016-11-29 트윈워드 주식회사 Apparatus and method for providing psychology status information from writing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120108095A (en) * 2011-03-23 2012-10-05 김병훈 System for analyzing social data collected by communication network
JP2012256284A (en) * 2011-06-10 2012-12-27 Nomura Research Institute Ltd Sensibility analysis system and program
KR20140101906A (en) * 2013-02-12 2014-08-21 이주양 Apparatus and Method for social data analysis
KR20160134564A (en) * 2015-05-13 2016-11-23 삼성전자주식회사 Device and method for analyzing user emotion
KR20160136054A (en) * 2015-05-19 2016-11-29 트윈워드 주식회사 Apparatus and method for providing psychology status information from writing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220118116A (en) * 2021-02-18 2022-08-25 케이씨대학교산학협력단 System for Caring Self Mind
WO2022186528A1 (en) * 2021-03-05 2022-09-09 주식회사 비비비 System and method for non-face-to-face mental disorder treatment
KR20220125766A (en) * 2021-03-05 2022-09-14 (주) 비비비 System and method for diagnosing and treating mental disorders in an untact manner
KR20220127471A (en) 2021-03-11 2022-09-20 정선경 Device, Method and program for providing psychological counseling using VR
KR102324440B1 (en) * 2021-06-30 2021-11-11 송태홍 Method, device and system for analyzing psychological state of patient for treatment of mental health department
KR102512055B1 (en) * 2022-01-25 2023-03-20 안지윤 Method, device and system for analyzing patient condition based on survey information of first-time patient

Also Published As

Publication number Publication date
KR102225603B1 (en) 2021-03-08

Similar Documents

Publication Publication Date Title
KR102225603B1 (en) Device and Method of Scoring Emotion for Psychological Consultation
Worthen et al. A phenomenological investigation of" good" supervision events.
CN106663383B (en) Method and system for analyzing a subject
McKinnon et al. Vulnerable emotional expression in emotion focused couples therapy: Relating interactional processes to outcome
Hancock et al. On lying and being lied to: A linguistic analysis of deception in computer-mediated communication
US8473391B2 (en) Method and system for an integrated approach to collections cycle optimization
Möller et al. Evaluating spoken dialogue systems according to de-facto standards: A case study
US20070033017A1 (en) Spoken language proficiency assessment by computer
CN115335902A (en) System and method for automatic candidate evaluation in asynchronous video settings
Hirsch et al. " It's hard to argue with a computer" Investigating Psychotherapists' Attitudes towards Automated Evaluation
Savicki et al. Language fluency and study abroad adaptation.
US11361754B2 (en) Method and system for speech effectiveness evaluation and enhancement
Colvin et al. In search of the good judge of personality: Some methodological and theoretical concerns
Akarsu et al. The associations among self-silencing, ambivalent sexism, and perceived devaluation of women in Turkey
Borrie et al. A clinical advantage: Experience informs recognition and adaptation to a novel talker with dysarthria
Sowerbutts et al. Supporting young offenders to communicate in the youth justice system: A scoping review
Hebblethwaite et al. Talking about real‐life events: An investigation into the ability of people with intellectual disabilities to make links between their beliefs and emotions within dialogue
Ziegler et al. Crowdsourcing as a tool in the clinical assessment of intelligibility in dysarthria: How to deal with excessive variation
Lehner et al. Clinical measures of communication limitations in dysarthria assessed through crowdsourcing: Specificity, sensitivity, and retest-reliability
Ockey et al. Assessing interactional competence: ICE versus a human partner
Oostrom et al. Applicant reactions to algorithm‐versus recruiter‐based evaluations of an asynchronous video interview and a personality inventory
CN114971658B (en) Anti-fraud propaganda method, system, electronic equipment and storage medium
Tavabi et al. Therapist empathy assessment in motivational interviews
DePew et al. Supporting communication between individuals with disabilities and first responders: A preliminary case-based interview study
JP7116515B1 (en) Decision-making ability evaluation device, system, and program

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant