KR20160134564A - Device and method for analyzing user emotion - Google Patents

Device and method for analyzing user emotion Download PDF

Info

Publication number
KR20160134564A
KR20160134564A KR1020160058782A KR20160058782A KR20160134564A KR 20160134564 A KR20160134564 A KR 20160134564A KR 1020160058782 A KR1020160058782 A KR 1020160058782A KR 20160058782 A KR20160058782 A KR 20160058782A KR 20160134564 A KR20160134564 A KR 20160134564A
Authority
KR
South Korea
Prior art keywords
keyword
wordbook
emotional
chat
group
Prior art date
Application number
KR1020160058782A
Other languages
Korean (ko)
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 삼성전자주식회사
Publication of KR20160134564A publication Critical patent/KR20160134564A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F17/30318
    • G06F17/30964

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Computing Systems (AREA)

Abstract

The present invention provides a device and a method for analyzing user emotion, capable of analyzing user emotion by analyzing a sentence. According to the present invention, the method comprises the following steps: acquiring a first emotional vocabulary which includes a first keyword group including at least one keyword representing positive emotion and a second keyword group including at least one keyword representing negative emotion; collecting social network data including a third keyword not included in the first emotional vocabulary from a social network; and adding the third keyword to the first or second keyword group based on a frequency that the third keyword and at least one keyword included in the first keyword group co-occur in the social network data, and a frequency that the third keyword and at least one keyword included in the second keyword group co-occur in the social network data, so as to generate a second emotional vocabulary.

Description

사용자의 감성을 분석하는 방법 및 디바이스 {DEVICE AND METHOD FOR ANALYZING USER EMOTION}TECHNICAL FIELD [0001] The present invention relates to a method and a device for analyzing user's emotions,

사용자의 감성을 분석하는 방법 및 디바이스에 대한 것이다. And a method and device for analyzing user's emotions.

소셜 네트워크 서비스가 보편화되고, 빅 데이터 기술이 발전하면서 소셜 네트워크 및 채팅 내용을 분석하여 정보를 얻고자 하는 다양한 시도가 있었다. 특히, 온라인을 통한 소통이 활발해지면서 사용자가 사용하는 언어에 기초하여 사용자의 감성을 추측할 필요가 있을 수 있다. 예를 들어, 메신저 프로그램, 게임 또는 스마트폰의 인공지능 UI 등에서 이용되는 자동 대화 시스템에서는 사용자의 감성을 추측하여 최적의 응답을 수행할 수 있어야 한다. 이에 따라, 사용자가 입력하는 단어에 기초하여 감성을 분석하고자 하는 시도로서 감성 단어장이 만들어져 오픈 소스(open-sourced)로서 공중에 배포되기도 하였다.As social network services became popular, and big data technology developed, there were various attempts to analyze information and obtain social network and chat contents. Especially, as the communication through the online becomes active, it may be necessary to guess the emotion of the user based on the language used by the user. For example, in an automatic dialog system used in a messenger program, a game, or an artificial intelligence UI of a smart phone, an optimal response should be performed by guessing the emotion of a user. Accordingly, an emotional wordbook was created as an attempt to analyze the emotion based on the words inputted by the user, and the word was distributed to the public as open-sourced.

사용자의 감성을 분석하는 방법 및 디바이스를 제공한다. 또한, 문장을 분석하는 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록 매체를 제공한다.A method and device for analyzing a user's emotions are provided. The present invention also provides a computer-readable recording medium storing a program for causing a computer to execute a method of analyzing a sentence.

일 실시 예에 따른 디바이스가 감성을 분석하는 방법은, 긍정적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 1 키워드 그룹 및 부정적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 2 키워드 그룹을 포함하는 제 1 감성 단어장을 획득하는 단계; 소셜 네트워크로부터 제 1 감성 단어장에 포함되지 않는 제 3 키워드를 포함하는 소셜 네트워크 데이터를 수집하는 단계; 소셜 네트워크 데이터 내에서, 제3 키워드가 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장(co-occurrence)하는 빈도 및 제 3 키워드가 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도에 기초하여, 제 3 키워드를 제 1 키워드 그룹 또는 제 2 키워드 그룹에 추가함으로써, 제 2 감성 단어장을 생성하는 단계; 를 포함할 수 있다.A method of a device for analyzing emotions according to an embodiment includes the steps of: generating a first keyword group including at least one keyword representing a positive emotion and a second keyword group including at least one keyword representing a negative emotion; 1) acquiring an emotional wordbook; Collecting social network data including a third keyword not included in the first emotional wordbook from the social network; In the social network data, the frequency with which the third keyword co-occurs with at least one keyword included in the first keyword group and the frequency with which the third keyword coexists with at least one keyword included in the second keyword group, Generating a second emotional wordbook by adding a third keyword to the first keyword group or the second keyword group based on the frequency of the second emoticon wordbook; . ≪ / RTI >

또한, 제 2 감성 단어장을 생성하는 단계는, 소셜 네트워크 데이터 내에서, 제 3 키워드가 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 제 3 키워드를 제 1 키워드 그룹에 추가하고, 소셜 네트워크 데이터 내에서, 제 3 키워드가 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 제 3 키워드를 제 2 키워드 그룹에 추가하는 단계를 포함할 수 있다.The step of generating the second emotional wordbook may include the step of generating a third emoticon wordbook in the social network data when the frequency with which the third keyword appears in common with at least one keyword included in the first keyword group exceeds a predetermined reference value The third keyword is added to the first keyword group and the third keyword is set to the second keyword group when the frequency in which the third keyword appears in common with at least one keyword included in the second keyword group exceeds a predetermined reference value, To the user.

또한, 제 1 감성 단어장은, 중립적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 3 키워드 그룹을 더 포함하고, 제 2 감성 단어장을 생성하는 단계는, 소셜 네트워크 데이터 내에서, 제 3 키워드가 제 3 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 제 3 키워드를 제 3 키워드 그룹에 추가하는 단계를 더 포함할 수 있다.Further, the first emotional wordbook further includes a third keyword group including at least one keyword indicating neutral emotion, and the step of generating the second emoticon wordbook includes the step of, in the social network data, And adding a third keyword to the third keyword group when the frequency of occurrence in common with at least one keyword included in the third keyword group exceeds a predetermined reference value.

또한, 디바이스가 감성을 분석하는 방법은, 외부 디바이스로부터 채팅 데이터를 수신하는 단계; 제 2 감성 단어장을 이용하여, 채팅 데이터에 포함되는 키워드들 각각에 대응하는 감성을 결정하는 단계; 및 채팅 데이터에 포함된 키워드들 각각에 대응하는 감성들에 기초하여, 외부 디바이스의 사용자의 감성을 결정하는 단계; 를 더 포함할 수 있다.Also, a method for a device to analyze emotions includes receiving chat data from an external device; Determining emotions corresponding to the keywords included in the chat data using the second emotional wordbook; And determining emotions of the user of the external device based on emotions corresponding to the keywords included in the chat data, respectively; As shown in FIG.

또한, 디바이스가 감성을 분석하는 방법은, 제 1 감성 단어장 및 제 2 감성 단어장은 제 1 키워드 그룹 또는 제2 키워드 그룹에 포함된 적어도 하나의 키워드에 대응하는 감성의 정도를 수치화한, 감성 점수를 포함하고,In addition, as a method for the device to analyze emotion, The first emotional wordbook and the second emotional wordbook include emotional scores obtained by quantifying the degree of emotions corresponding to at least one keyword included in the first keyword group or the second keyword group,

감성을 결정하는 단계는, 채팅 데이터에 포함된 적어도 하나의 키워드에 대한 감성 점수를 결정하는 단계를 포함할 수 있다.The step of determining emotion may comprise determining an emotion score for at least one keyword included in the chat data.

또한, 감성을 결정하는 단계는, 채팅 데이터에 포함된 하나 이상의 키워드에 대한 감성 점수의 합에 기초하여 감성을 결정하는 단계를 포함할 수 있다.In addition, the step of determining emotion may include determining emotion based on a sum of emotion scores for one or more keywords included in the chat data.

또한, 방법은, 결정된 감성에 기초하여 사용자와의 채팅 방식을 변경하는 단계를 더 포함할 수 있다.The method may further include the step of changing the chatting method with the user based on the determined emotion.

일 실시 예에 따라 디바이스가 채팅 내용을 요약하는 방법은, 제 1 주제와 관련된 적어도 하나의 키워드를 포함하는 제 1 키워드 그룹 및 제 2 주제와 관련된 적어도 하나의 키워드를 포함하는 제 2 키워드 그룹을 포함하는 제 1 특화 단어장을 획득하는 단계; 및 디바이스에 저장된 채팅 로그 내에서, 제 1 특화 단어장에 포함되지 않는 키워드가 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도 및 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도에 기초하여, 제 1 특화 단어장에 포함되지 않는 키워드를 제 1 키워드 그룹 또는 제 2 키워드 그룹에 추가함으로써, 제 2 특화 단어장을 생성하는 단계; 를 포함할 수 있다.A method for a device to summarize chat content according to an embodiment includes a first group of keywords including at least one keyword associated with a first subject and a second group of keywords including at least one keyword associated with a second subject Obtaining a first specialized wordbook; And a keyword that is not included in the first specialized lexicon in the chat log stored in the device coincides with at least one keyword contained in the second keyword group and a frequency that coincides with at least one keyword included in the first keyword group, Generating a second specialized wordbook by adding a keyword that is not included in the first specialized wordbook to the first keyword group or the second keyword group based on the frequency of occurrence of the second specialized wordbook; . ≪ / RTI >

또한, 디바이스가 채팅 내용을 요약하는 방법은, 외부 디바이스와 수행한 채팅의 결과를 나타내는 채팅 세션 데이터를 획득하는 단계; 제 2 특화 단어장을 이용하여, 채팅 세션 데이터에 포함되는 키워드들 중에서 하나 이상의 핵심 키워드를 추출하는 단계; 및 하나 이상의 핵심 키워드를 이용하여 채팅 세션 데이터의 내용을 요약하는 단계; 를 더 포함할 수 있다.Also, a method for a device to summarize chat content includes: obtaining chat session data that represents a result of a chat performed with an external device; Extracting one or more core keywords from the keywords included in the chat session data using the second specialized wordbook; And summarizing the contents of the chat session data using one or more core keywords; As shown in FIG.

또한, 핵심 키워드를 추출하는 단계는, 채팅 세션 데이터에 포함되는 키워드들 중에서 제 2 특화 단어장에 포함된 키워드를 추출하는 단계를 포함할 수 있다.The step of extracting the core keyword may include extracting a keyword included in the second specialized wordbook among the keywords included in the chat session data.

또한, 내용을 요약하는 단계는, 핵심 키워드를 포함하는 문장으로 요약하거나, 핵심 키워드 및 핵심 키워드에 대응하는 주제를 서로 매칭시킨 표로 요약하는 단계를 포함할 수 있다.The step of summarizing the contents may include a step of summarizing the contents into a sentence including the core keyword or summarizing the core keyword and the subject corresponding to the core keyword into a table matching each other.

또한, 공통 등장하는 빈도에 기초하는 단계는, PMI(pointwise mutual information)를 이용하는 것을 특징으로 한다.Further, the step based on the frequency of occurrence of common features is characterized by using pointwise mutual information (PMI).

일 실시 예에 따른 감성을 분석하는 디바이스는, 긍정적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 1 키워드 그룹 및 부정적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 2 키워드 그룹을 포함하는 제 1 감성 단어장을 획득하고, 소셜 네트워크로부터 제 1 감성 단어장에 포함되지 않는 제 3 키워드를 포함하는 소셜 네트워크 데이터를 수집하는 통신부; 소셜 네트워크 데이터 내에서, 제3 키워드가 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도 및 제 3 키워드가 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도에 기초하여, 제 3 키워드를 제 1 키워드 그룹 또는 제 2 키워드 그룹에 추가함으로써, 제 2 감성 단어장을 생성하는 제어부; 및 제 1 감성 단어장 및 제 2 감성 단어장을 저장하는 저장부; 를 포함할 수 있다.The device for analyzing emotion according to an embodiment includes a first emotion group including a first keyword group including at least one keyword indicating a positive emotion and a second keyword group including at least one keyword representing a negative emotion, A communication unit for acquiring a wordbook and collecting social network data including a third keyword not included in the first emotional wordbook from the social network; In the social network data, the frequency with which the third keyword appears in common with at least one keyword included in the first keyword group, and the frequency with which the third keyword appears in common with at least one keyword included in the second keyword group A control unit for generating a second emotional wordbook by adding a third keyword to the first keyword group or the second keyword group; A storage unit for storing the first emotional wordbook and the second emotional wordbook; . ≪ / RTI >

또한, 제어부는, 제 2 감성 단어장을 생성하는 경우, 소셜 네트워크 데이터 내에서, 제 3 키워드가 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 제 3 키워드를 제 1 키워드 그룹에 추가하고; 소셜 네트워크 데이터 내에서, 제 3 키워드가 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 제 3 키워드를 제 2 키워드 그룹에 추가할 수 있다.In the case where the second emotional wordbook is generated, when the frequency in which the third keyword appears in common with at least one keyword included in the first keyword group exceeds a predetermined reference value, Adding the keyword to the first keyword group; The third keyword may be added to the second keyword group in the case where the frequency in which the third keyword coexists with at least one keyword included in the second keyword group exceeds a predetermined reference value in the social network data.

또한, 제 1 감성 단어장은, 중립적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 3 키워드 그룹을 더 포함하고, 제어부는, 제 2 감성 단어장을 생성하는 경우, 소셜 네트워크 데이터 내에서, 제 3 키워드가 제 3 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 제 3 키워드를 제 3 키워드 그룹에 추가할 수 있다.Further, the first emotional wordbook further includes a third keyword group including at least one keyword indicating neutral emotion, and when the second emotional wordbook is generated, the control unit sets the third keyword in the social network data, The third keyword may be added to the third keyword group when the frequency with which at least one keyword included in the third keyword group exceeds a predetermined reference value.

또한, 통신부는, 외부 디바이스로부터 채팅 데이터를 수신하고; 제어부는, 제 2 감성 단어장을 이용하여, 채팅 데이터에 포함되는 키워드들 각각에 대응하는 감성을 결정하고; 채팅 데이터에 포함된 키워드들 각각에 대응하는 감성들에 기초하여, 외부 디바이스의 사용자의 감성을 결정할 수 있다.Further, the communication unit may receive chat data from an external device; The control unit determines the emotion corresponding to each of the keywords included in the chat data using the second emotional wordbook; The emotion of the user of the external device can be determined based on the emotions corresponding to each of the keywords included in the chat data.

또한, 제 1 감성 단어장 및 제 2 감성 단어장은 제 1 키워드 그룹 또는 제2 키워드 그룹에 포함된 적어도 하나의 키워드에 대응하는 감성의 정도를 수치화한, 감성 점수를 포함하고, 제어부는, 감성을 결정하는 경우, 채팅 데이터에 포함된 적어도 하나의 키워드에 대한 감성 점수를 결정할 수 있다.The first emotional wordbook and the second emoticonbook word may include a sensitivity score obtained by digitizing the degree of emotion corresponding to at least one keyword included in the first keyword group or the second keyword group, The emotional score for at least one keyword included in the chat data can be determined.

또한, 제어부는, 감성을 결정하는 경우, 채팅 데이터에 포함된 하나 이상의 키워드에 대한 감성 점수의 합에 기초하여 감성을 결정할 수 있다.Further, when the emotion is determined, the control unit may determine the emotion based on the sum of emotion scores for one or more keywords included in the chat data.

또한, 제어부는, 결정된 감성에 기초하여 사용자와의 채팅 방식을 변경할 수 있다.Further, the control unit can change the chatting method with the user based on the determined emotion.

일 실시 예에 따른 채팅 내용을 요약하는 디바이스는, 제 1 주제와 관련된 적어도 하나의 키워드를 포함하는 제 1 키워드 그룹 및 제 2 주제와 관련된 적어도 하나의 키워드를 포함하는 제 2 키워드 그룹을 포함하는 제 1 특화 단어장을 획득하고; 디바이스에 저장된 채팅 로그 내에서, 제 1 특화 단어장에 포함되지 않는 키워드가 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도 및 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도에 기초하여, 제 1 특화 단어장에 포함되지 않는 키워드를 제 1 키워드 그룹 또는 제 2 키워드 그룹에 추가함으로써, 제 2 특화 단어장을 생성하는 제어부; 및 제 1 특화 단어장 및 제 2 특화 단어장을 저장하는 저장부; 를 포함할 수 있다. A device for summarizing chat content according to one embodiment includes a first group of keywords including at least one keyword associated with a first subject and a second group of keywords including at least one keyword associated with a second subject, 1 acquire a specialized vocabulary; In the chat log stored in the device, a keyword that is not included in the first specialized lexicon is common with at least one keyword included in the second keyword group and a frequency appearing in common with at least one keyword included in the first keyword group A control unit for generating a second specialized wordbook by adding keywords not included in the first specialized wordbook to the first keyword group or the second keyword group based on the frequency; And a storage unit for storing the first specialized wordbook and the second specialized wordbook; . ≪ / RTI >

또한, 제어부는, 외부 디바이스와 수행한 채팅의 결과를 나타내는 채팅 세션 데이터를 획득하고; 제 2 특화 단어장을 이용하여, 채팅 세션 데이터에 포함되는 키워드들 중에서 하나 이상의 핵심 키워드를 추출하고; 하나 이상의 핵심 키워드를 이용하여 채팅 세션 데이터의 내용을 요약할 수 있다.In addition, the control unit may acquire chat session data indicating a result of the chat performed with the external device; Extract one or more core keywords from the keywords included in the chat session data using the second specialized wordbook; The content of the chat session data can be summarized using one or more key keywords.

또한, 제어부는, 핵심 키워드를 추출하는 경우, 채팅 세션 데이터에 포함되는 키워드들 중에서 제 2 특화 단어장에 포함된 키워드를 추출할 수 있다.In addition, when the core keyword is extracted, the control unit may extract a keyword included in the second specialized wordbook among the keywords included in the chat session data.

또한, 제어부는, 내용을 요약하는 경우, 핵심 키워드를 포함하는 문장으로 요약하거나, 핵심 키워드 및 핵심 키워드에 대응하는 주제를 서로 매칭시킨 표로 요약할 수 있다.또한, 제어부는, 공통 등장하는 빈도에 기초하는 경우, PMI를 이용하는 것을 특징으로 한다.The control unit may summarize the contents into a sentence including the core keyword, or summarize the keywords and the topics corresponding to the core keywords in a table that matches each other. In addition, The PMI is used.

일 실시 예에 따른 감성 분석 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.There is provided a computer-readable recording medium storing a program for causing a computer to execute a sensitivity analysis method according to an exemplary embodiment.

도 1 은 일 실시 예에 따른 사용자의 감성을 분석하는 시스템을 나타내는 블록도이다.
도 2a는 일 실시 예에 따른 감성 단어장을 도시한 도면이다.
도 2b는 감성 점수를 포함하는 감성 단어장의 예시를 도시한 도면이다.
도 2c 는 일 실시 예에 따른 특화 단어장을 도시한 도면이다.
도 3 은 일 실시 예에 따른 디바이스의 구조를 간단히 도시한 블록도이다.
도 4 는 일 실시 예에 따른 디바이스를 나타내는 블록도이다.
도 5 는 일 실시예에 따른 외부 디바이스 사용자의 감성을 분석하는 방법을 도시한 흐름도이다.
도 6 은 일 실시 예에 따른 디바이스가 감성 단어장을 생성하는 방법을 나타내는 흐름도이다.
도 7 은 일 실시 예에 따른 디바이스가 특화 단어장을 생성하는 방법을 도시한 흐름도이다.
도 8 은 일 실시 예에 따른 소셜 네트워크 데이터가 표시되는 일 예를 나타내는 도면이다.
도 9 는 도 6 에 도시된 감성 단어장을 생성하는 방법의 단계 640을 더 구체적으로 도시한 흐름도이다.
도 10 은 도 7 에 도시된 특화 단어장을 생성하는 방법의 단계 740을 더 구체적으로 도시한 흐름도이다.
도 11 은 일 실시예에 따른 디바이스가 외부 디바이스 사용자의 감성을 분석하는 방법을 도시한 흐름도이다.
도 12 는 일 실시 예에 따른 디바이스가 채팅 세션을 요약하는 방법을 도시한 흐름도이다.
도 13 은 일 실시 예에 따른 채팅 세션을 도시한 도면이다.
도 14 는 도 11 의 단계 1110 을 더 구체적으로 도시한 흐름도이다.
도 15 는 도 11 의 단계 1120 및 단계 1130 을 더 구체적으로 도시한 도면이다.
1 is a block diagram illustrating a system for analyzing emotions of a user according to an embodiment.
2A is a diagram illustrating an emotional wordbook according to an exemplary embodiment of the present invention.
FIG. 2B is a diagram showing an example of an emotional word list including emotional scores.
FIG. 2C is a diagram illustrating a specialized linguistic dictionary according to an embodiment.
3 is a block diagram briefly illustrating the structure of a device according to one embodiment.
4 is a block diagram illustrating a device according to one embodiment.
5 is a flowchart illustrating a method of analyzing emotions of a user of an external device according to an exemplary embodiment of the present invention.
6 is a flowchart illustrating a method for a device according to an embodiment to generate an emotional wordbook.
FIG. 7 is a flow diagram illustrating a method for a device according to an embodiment to create a specialized linguistic dictionary.
8 is a diagram illustrating an example of displaying social network data according to an embodiment.
FIG. 9 is a flowchart showing more specifically step 640 of the method for generating the emotional wordbook shown in FIG.
10 is a flow chart showing more specifically step 740 of the method for generating the specialized lingua franca shown in Fig.
11 is a flowchart illustrating a method for a device according to an embodiment to analyze the emotion of an external device user.
12 is a flow diagram illustrating a method for a device according to an embodiment to summarize a chat session.
13 is a diagram illustrating a chat session in accordance with one embodiment.
14 is a flow chart showing more specifically step 1110 of FIG.
15 is a diagram specifically showing steps 1120 and 1130 of FIG.

아래에서는 첨부한 도면을 참조하여 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 실시예는 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 명확한 설명을 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다. Hereinafter, the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. However, the embodiments may be embodied in various different forms and are not limited to the embodiments described herein. In the drawings, the same reference numbers are used throughout the specification to refer to the same or like parts.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 경우, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다. 또한 어떤 부분이 어떤 구성요소를 "포함"한다고 할 경우, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다.Throughout the specification, when a part is referred to as being "connected" to another part, it includes not only "directly connected" but also "electrically connected" with another part in between . It is also to be understood that when an element is referred to as "comprising ", it does not exclude other elements unless specifically stated to the contrary.

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

도 1 은 일 실시 예에 따른 사용자의 감성을 분석하는 시스템을 나타내는 블록도이다.1 is a block diagram illustrating a system for analyzing emotions of a user according to an embodiment.

일 실시 예에서, 시스템은 서버(100), 사용자 디바이스(120) 및 외부 디바이스(140)를 포함할 수 있다. 다른 실시 예에서, 시스템은 사용자 디바이스(120) 및 외부 디바이스(140)만을 포함할 수도 있다. 사용자 디바이스(120)는 외부 디바이스(140)와 통신을 수행할 수 있다. 사용자 디바이스(120)와 외부 디바이스(140)간의 통신은 서버(100) 또는 통신사의 통신망을 이용하여 수행될 수도 있고, 직접적인 연결망(103)을 이용하여 수행될 수도 있다. 사용자 디바이스(120)와 외부 디바이스 간의 통신은 블루투스 또는 적외선과 같은 근거리 통신을 이용하여 수행될 수도 있다. 사용자 디바이스(120)와 외부 디바이스(140)가 직접적인 연결망(103)을 통하여 연결되는 경우, 사용자 디바이스(120) 및 외부 디바이스(140) 중 적어도 하나에 통신을 수행하기 위해 필요한 프로그램이 설치되어 있을 수 있다. 이 경우, 통신을 수행한 결과가 사용자 디바이스(120) 및 외부 디바이스(140)중 적어도 하나에 저장될 수 있다. 사용자 디바이스(120)와 외부 디바이스(140)가 서버(100)를 통하여 통신을 수행하는 경우, 서버(100), 사용자 디바이스(120) 및 외부 디바이스(140)중 적어도 하나에 통신을 수행하기 위해 필요한 프로그램이 설치되어 있을 수 있다. 이 경우, 통신을 수행한 결과가 서버(100), 사용자 디바이스(120) 및 외부 디바이스(140)중 적어도 하나에 저장될 수 있다. 예를 들어, 채팅을 수행하기 위한 프로그램이 서버(100), 사용자 디바이스(120) 및 외부 디바이스(140)중 적어도 하나에 설치되어 있을 수 있다. 이 경우, 채팅을 수행한 결과를 나타내는 채팅 로그가 서버(100), 사용자 디바이스(120) 및 외부 디바이스(140)중 적어도 하나에 저장되어 있을 수 있다.In one embodiment, the system may include a server 100, a user device 120, and an external device 140. In another embodiment, the system may include only user device 120 and external device 140. The user device 120 may communicate with the external device 140. Communication between the user device 120 and the external device 140 may be performed using the communication network of the server 100 or the communication company or may be performed using the direct connection network 103. [ Communication between the user device 120 and the external device may be performed using local communication such as Bluetooth or infrared rays. When a user device 120 and an external device 140 are connected through a direct connection network 103, a program necessary for performing communication with at least one of the user device 120 and the external device 140 may be installed have. In this case, the result of performing the communication may be stored in at least one of the user device 120 and the external device 140. When the user device 120 and the external device 140 communicate with each other through the server 100, it is necessary to perform communication with at least one of the server 100, the user device 120 and the external device 140 The program may be installed. In this case, the result of performing the communication may be stored in at least one of the server 100, the user device 120, and the external device 140. For example, a program for performing a chat may be installed in at least one of the server 100, the user device 120, and the external device 140. In this case, a chat log indicating the result of chatting may be stored in at least one of the server 100, the user device 120, and the external device 140.

일 실시 예에서, 사용자 디바이스(120)는 고객 서비스를 제공하기 위해 이용될 수 있다. 예를 들어, 사용자 디바이스(120)의 사용자는 고객 상담원일 수 있고, 사용자 디바이스(120)를 이용하여 채팅을 통해 고객 상담 서비스를 제공할 수 있다.In one embodiment, the user device 120 may be utilized to provide customer service. For example, a user of the user device 120 may be a customer agent and may provide a customer consultation service via chat using the user device 120. [

일 실시 예에서, 서버(100) 또는 사용자 디바이스(120)는 외부 디바이스(140)의 사용자의 감성을 분석할 수 있다. 이 경우, 서버(100) 또는 사용자 디바이스(120)는 외부 디바이스(140)의 사용자의 감성을 분석하기 위해 필요한 감성 단어장을 획득할 수 있다. 서버(100) 또는 사용자 디바이스(120)는 기존의 제 1 감성 단어장을 획득하고, 소셜 네트워크로부터 제 1 감성 단어장에 포함되지 않는 새로운 키워드를 포함하는 소셜 네트워크 데이터를 수집할 수 있다. 서버(100) 또는 사용자 디바이스(120)는 소셜 네트워크 데이터에 포함된 새로운 키워드를 제 1 감성 단어장에 추가함으로써, 제 1 감성 단어장을 확장한 제 2 감성 단어장을 생성할 수 있다. 서버(100) 또는 사용자 디바이스(120)는 제 2 감성 단어장을 이용하여 외부 디바이스(140)의 사용자의 감성을 분석할 수 있다. 일 실시 예에서, 서버(100) 또는 사용자 디바이스(120)는 사용자 디바이스(120)와 외부 디바이스(140)가 수행한 채팅의 내용을 요약할 수 있다. 이 경우, 서버(100) 또는 사용자 디바이스(120)는 특화 단어장을 획득하고, 획득한 특화 단어장을 이용하여, 사용자 디바이스(120)와 외부 디바이스(140)가 수행한 채팅의 내용을 요약할 수 있다. 기존의 특화 단어장이 존재하지 않는 경우, 서버(100) 또는 사용자 디바이스(120)는 채팅 로그를 클러스터링(clustering) 하여 최초의 특화 단어장을 생성할 수 있다. 기존의 특화 단어장이 존재하는 경우, 서버(100) 또는 사용자 디바이스(120)는 기존의 제 1 특화 단어장을 획득할 수 있다. 서버(100) 또는 사용자 디바이스(120)는 채팅 로그로부터 제 1 특화 단어장에 포함되지 않는 새로운 키워드를 획득할 수 있다. 서버(100) 또는 사용자 디바이스(120)는 새로운 키워드를 제 1 특화 단어장에 추가함으로써, 제 1 특화 단어장을 확장한 제 2 특화 단어장을 생성할 수 있다. 서버(100) 또는 사용자 디바이스(120)는 제 2 특화 단어장을 이용하여 사용자 디바이스(120)와 외부 디바이스(140)가 수행한 채팅의 내용을 요약할 수 있다.In one embodiment, the server 100 or the user device 120 may analyze the emotion of the user of the external device 140. In this case, the server 100 or the user device 120 can acquire the emotional wordbook necessary for analyzing the emotion of the user of the external device 140. The server 100 or the user device 120 can acquire the existing first emotional wordbook and collect social network data including new keywords not included in the first emotional wordbook from the social network. The server 100 or the user device 120 may add a new keyword included in the social network data to the first emotional wordbook to generate a second emotional wordbook that extends the first emotive wordbook. The server 100 or the user device 120 can analyze the emotion of the user of the external device 140 using the second emotional wordbook. In one embodiment, server 100 or user device 120 may summarize the content of a chat performed by user device 120 and external device 140. In this case, the server 100 or the user device 120 may acquire a specialized linguistic linguistic dictionary and summarize the content of the chat performed by the user device 120 and the external device 140 using the acquired linguistic linguistic dictionary . If the existing specialized wordbook does not exist, the server 100 or the user device 120 may clustering the chat log to generate the first specialized wordbook. In the case where the existing specialized wordbook exists, the server 100 or the user device 120 can acquire the existing first specialized wordbook. The server 100 or the user device 120 may obtain new keywords not included in the first specialized lexicon from the chat log. The server 100 or the user device 120 may add a new keyword to the first specialized lexicon to generate a second specialized linguistic dictionary extending the first specialized linguistic lexicon. The server 100 or the user device 120 may summarize the content of the chat performed by the user device 120 and the external device 140 using the second specialized lexicon.

도 2a는 일 실시 예에 따른 감성 단어장을 도시한 도면이다. 감성 단어장(200)은 긍정 테이블(201) 및 부정 테이블(202)을 포함할 수 있다. 감성 단어장(200)은 중립 테이블을 더 포함할 수 있다(도시되지 않음). 긍정 테이블(201)은 긍정적인 감성을 나타내는 하나 이상의 키워드(예를 들어, Happy, Great, Good 등)를 포함할 수 있고, 부정 테이블(202)은 부정적인 감성을 나타내는 하나 이상의 키워드(예를 들어, Sad, Bad, Terrible 등)를 포함할 수 있다. 중립 테이블은 중립적인 감성을 나타내는, 즉 긍정적인 감성 및 부정적인 감성을 나타내지 않는 하나 이상의 키워드를 포함할 수 있다. 최초에 서버(100) 또는 사용자 디바이스(120)는 오픈 소스(open-sourced) 감성 단어장을 획득할 수 있다. 오픈 소스는 누구나 이용 가능하도록 무상으로 공개된 정보를 의미한다. 서버(100) 또는 사용자 디바이스(120)는 본 명세서에 개시된 방법을 이용하여 감성 단어장(200)을 확장할 수 있다. 오픈 소스 감성 단어장은 공중에 무료로 공개될 뿐 아니라, 공중에 의하여 업데이트될 수도 있다. 따라서, 서버(100) 또는 사용자 디바이스(120)는 직접 본 명세서에 개시된 방법을 이용하여 감성 단어장(200)을 확장하는 것 이외에도, 주기적으로 업데이트된 오픈 소스 감성 단어장을 획득하여 감성 단어장(200)을 확장할 수도 있다. 2A is a diagram illustrating an emotional wordbook according to an exemplary embodiment of the present invention. The emotional wordbook 200 may include an affirmative table 201 and a negative table 202. The emotional wordbook 200 may further include a neutral table (not shown). The affirmation table 201 may include one or more keywords (e.g., Happy, Great, Good, etc.) indicating a positive emotion and the negative table 202 may include one or more keywords (e.g., Sad, Bad, Terrible, etc.). The neutral table may include one or more keywords that represent neutral emotions, i. E. Do not exhibit positive emotions and negative emotions. Initially, the server 100 or the user device 120 may obtain an open-source emotional wordbook. Open Source means information that is freely available to anyone. Server 100 or user device 120 may extend emotional wordbook 200 using the methods described herein. The open source emotional vocabulary is not only publicly available for free, but can also be updated by the public. Accordingly, the server 100 or the user device 120 can directly acquire the updated open source emotional wordbook in addition to expanding the emotional wordbook 200 using the method disclosed herein, It can also be extended.

도 2b는 감성 점수를 포함하는 감성 단어장의 예시를 도시한 도면이다. 감성 단어장(220)은 키워드 테이블(221) 및 이에 대응하는 감성 점수 테이블(222)을 포함할 수 있다. 일 실시 예에서, 긍정적인 감성을 나타내는 키워드에 대응하는 점수는 양수일 수 있고, 부정적인 감성을 나타내는 키워드에 대응하는 점수는 음수일 수 있다. 키워드에 대응하는 점수는 키워드가 더 강한 감성을 나타낼수록 더 큰 절대값을 가질 수 있다. 키워드에 대응하는 점수는 키워드가 중립에 가까운 감성을 나타낼수록 더 작은 절대값을 가질 수 있다. 일 실시 예에서, 감성 단어장(220)에 포함된 키워드들은 -1 이상 1 이하의 감성 점수에 대응할 수 있다. 최초에 서버(100) 또는 사용자 디바이스(120)는 공중에 무료로 공개된 오픈 소스 감성 단어장을 획득할 수 있다. 서버(100) 또는 사용자 디바이스(120)는 본 명세서에 개시된 방법을 이용하여 감성 단어장(220)을 확장할 수 있다. 오픈 소스 감성 단어장은 공중에 무료로 공개될 뿐 아니라, 공중에 의하여 업데이트될 수도 있다. 따라서, 서버(100) 또는 사용자 디바이스(140)는 직접 본 명세서에 개시된 방법을 이용하여 감성 단어장(220)을 확장하는 것 이외에도, 주기적으로 업데이트된 오픈 소스 감성 단어장을 획득하여 감성 단어장(220)을 확장할 수도 있다.FIG. 2B is a diagram showing an example of an emotional word list including emotional scores. The emotional wordbook 220 may include a keyword table 221 and a corresponding emotional score table 222. In one embodiment, the score corresponding to the keyword indicating the positive emotion may be a positive number, and the score corresponding to the keyword indicating the negative emotion may be negative. The score corresponding to the keyword may have a larger absolute value as the keyword exhibits a stronger emotion. The score corresponding to the keyword may have a smaller absolute value as the keyword indicates a feeling of being close to neutral. In one embodiment, the keywords included in the emotional wordbook 220 may correspond to an emotional score between -1 and 1 inclusive. Initially, the server 100 or the user device 120 may obtain an open source emotional wordbook free of charge in the public domain. The server 100 or the user device 120 may extend the emotional wordbook 220 using the methods disclosed herein. The open source emotional vocabulary is not only publicly available for free, but can also be updated by the public. Thus, in addition to extending the emotional wordbook 220 directly using the method described herein, the server 100 or the user device 140 may obtain the updated open-source emotional wordbook to update the emotional wordbook 220 It can also be extended.

일 실시 예에서, 서버(100)또는 사용자 디바이스(120)는 용도에 따라 감성 점수를 다르게 설정할 수 있다. 예를 들어, 감성 단어장(220)은 고객센터 자동화를 위한 자동 채팅에 이용될 수 있다. 고객센터에서의 채팅 내용은 주로 제품 고장 혹은 오류에 대한 문의와 관련된 것들이므로, 부정적인 감성을 나타내는 키워드가 많이 사용될 수 있다. 따라서, 서버(100) 또는 사용자 디바이스(120)는 감성 단어장(220)의 부정적인 감성을 판단하는 기준을 완화할 수 있다.In one embodiment, the server 100 or user device 120 may set the sensitivity score differently depending on the application. For example, the emotional wordbook 220 may be used for automatic chatting for customer center automation. Since the chat contents in the customer center are mainly related to inquiries about product failure or error, many keywords indicating negative emotions may be used. Accordingly, the server 100 or the user device 120 can relax the criterion for determining the negative emotional state of the emotional wordbook 220.

예를 들어, 오픈 소스 감성 단어장에서는 키워드 "Bad"의 감성 점수가 부정적인 감성을 나타내는 -0.6점일 수 있다. 하지만, 고객센터의 채팅에서는 제품의 고장 혹은 오류를 나타내기 위해 "Bad"와 같은 키워드가 사용자의 감정과 무관하게 자주 사용될 수 있다. 따라서, 고객센터에서 이용되는 감성 단어장에서는 "Bad"를 0점으로 설정할 수 있다.For example, in the open source emotional wordbook, the emotional score of the keyword "Bad" may be -0.6 indicating negative emotions. However, in a chat in a customer center, keywords such as "Bad" can be frequently used to indicate a product failure or error regardless of the user's feelings. Therefore, "Bad" can be set to 0 point in the emotional wordbook used in the customer center.

도 2c 는 일 실시 예에 따른 특화 단어장을 도시한 도면이다. 특화 단어장 (260)은 하나 이상의 공통적인 주제에 관련된 키워드들의 그룹을 포함할 수 있다. 도 2c 에 도시된 바와 같이, 특화 단어장(260)은 "기종"과 관련된 적어도 하나의 키워드(예를 들어, A, B, C 등)를 포함하는 "기종" 테이블(261), "문제점"과 관련된 적어도 하나의 키워드(예를 들어, 업데이트, 화면, 배터리 등)를 포함하는 "문제점" 테이블(262) 및 "해결책"과 관련된 적어도 하나의 키워드(리셋, 백신, 정품사용 등)를 포함하는 "해결책" 테이블(263) 중 적어도 하나를 포함할 수 있다. 최초에 서버(100) 또는 사용자 디바이스(120)는 최초의 특화 단어장을 생성하기 위해 서버(100)에 저장된 채팅 로그를 획득할 수 있다. 서버(100) 또는 사용자 디바이스(120)는 채팅 로그를 클러스터링(clustering) 하여 유사한 주제에 관련된 키워드 그룹을 생성할 수 있다. 클러스터링은 데이터 마이닝(data mining)의 한 기법으로, 데이터베이스(database) 내에서 유사성을 갖는 정보를 클러스터라 불리는 몇몇의 그룹으로 분류할 수 있는 방법이다. 서버(100) 또는 사용자 디바이스(120)는 유사한 주제에 관련된 클러스터를 이용한 테이블을 생성하여 최초의 특화 단어장을 생성할 수 있다. FIG. 2C is a diagram illustrating a specialized linguistic dictionary according to an embodiment. The specialized lexicon 260 may include a group of keywords related to one or more common subjects. As shown in FIG. 2C, the specialized lexicon 260 includes a "model" table 261 that contains at least one keyword (eg, A, B, C, etc.) associated with the "model" Includes at least one keyword (reset, vaccine, genuine use, etc.) associated with the "problem" table 262 and at least one keyword associated with the "solution", including at least one keyword (e.g., update, Solution "table < RTI ID = 0.0 > 263 < / RTI > Initially, the server 100 or the user device 120 may obtain a chat log stored in the server 100 to create a first specialized lexicon. The server 100 or the user device 120 may clustering chat logs to generate keyword groups related to similar topics. Clustering is a technique of data mining, in which information with similarity in a database can be grouped into several groups called clusters. The server 100 or the user device 120 may generate a table using clusters related to a similar topic to generate an initial specialized lingua lang.

도 3 은 일 실시 예에 따른 디바이스의 구조를 간단히 도시한 블록도이다. 디바이스(300)는 도 2 의 사용자 디바이스(120) 또는 서버(100)에 대응될 수 있다. 디바이스(300)는 통신부(302), 제어부(304) 및 저장부(306)를 포함할 수 있다. 3 is a block diagram briefly illustrating the structure of a device according to one embodiment. The device 300 may correspond to the user device 120 or the server 100 of FIG. The device 300 may include a communication unit 302, a control unit 304, and a storage unit 306.

통신부(302)는 제어부(304)의 제어에 따라 외부 디바이스(140)와 통신을 수행하며, 정보를 전송하거나 수신할 수 있다. 통신부(302)는 2G망, 3G망, LTE망, Wifi, 블루투스, 적외선 및 지그비 중 하나를 이용하여 통신을 수행할 수 있으나, 이에 제한되지 않는다. The communication unit 302 communicates with the external device 140 under the control of the control unit 304 and can transmit or receive information. The communication unit 302 may perform communication using one of a 2G network, a 3G network, an LTE network, Wifi, Bluetooth, infrared, and ZigBee, but is not limited thereto.

통신부(302)는 인터넷 망을 이용하여 정보를 수집할 수 있다. 예를 들어, 통신부(302)는 소셜 네트워크 데이터를 수집할 수 있다. 일 실시 예에서, 통신부(302)는 키워드를 긍정적인 감성을 나타내는 키워드 및 부정적인 감성을 나타내는 키워드로 분류하는 감성 단어장을 획득할 수 있다. 감성 단어장은 중립적인 감성을 나타내는 키워드를 더 포함할 수 있으며, 감성 단어장에 포함된 키워드들 각각에 대응하는 감성의 정도를 수치화한, 감성 점수를 포함할 수 있다. 감성 단어장은 대중에 무료로 공개된 오픈 소스 감성 단어장일 수 있다. 실시 예에 따른 감성 단어장의 예시는 도 2a 및 도 2b 에 도시되어 있다. The communication unit 302 can collect information using the Internet network. For example, the communication unit 302 may collect social network data. In one embodiment, the communication unit 302 can acquire a keyword as a keyword indicating a positive emotion and an emotion wordbook that classifies the keyword as a keyword indicating negative emotion. The emotional wordbook may further include a keyword indicating neutral emotions, and may include emotional scores obtained by quantifying the degree of emotions corresponding to the keywords included in the emotional wordbook. Emotional wordbooks can be open source emotional wordbooks that are free to the public. An example of an emotional wordbook according to an embodiment is shown in Figs. 2A and 2B.

다른 실시 예에서, 통신부(302)는 복수의 디바이스들이 일정 기간 이상 채팅을 수행한 결과를 나타내는 채팅 로그를 획득할 수 있다. 또 다른 실시 예에서, 통신부(302)는 특화 단어장을 획득할 수 있다. 특화 단어장은 하나 이상의 공통적인 주제에 관련된 키워드들의 그룹을 포함하는 단어장일 수 있다. In another embodiment, the communication unit 302 may acquire a chat log indicating a result of a plurality of devices performing chat for a predetermined period or more. In another embodiment, the communication unit 302 can acquire a specialized wordbook. The specialized wordbook may be a wordbook containing a group of keywords related to one or more common topics.

저장부(306)는 제어부(304)의 제어에 따라 감성 단어장, 특화 단어장 및 채팅 로그 중 적어도 하나를 저장할 수 있다. 특화 단어장은 통신부(302)가 수신한 것일 수도 있고, 제어부(304)가 생성한 것일 수도 있다. 채팅 로그는 통신부(302)가 직접 채팅을 수행한 결과일 수도 있고, 하나 이상의 다른 디바이스들이 채팅을 수행한 결과를 통신부(302)가 수신한 것일 수도 있다. 저장부(306)는 디바이스(300) 또는 제어부(304)의 제어를 위한 제어 프로그램 및 애플리케이션들을 저장할 수 있다. The storage unit 306 may store at least one of an emotional wordbook, a specialized wordbook, and a chat log under the control of the control unit 304. [ The specialized wordbook may be one received by the communication unit 302 or generated by the control unit 304. [ The chat log may be a result of directly performing the chat by the communication unit 302 or may be the result of the communication unit 302 receiving the result of the chat by one or more other devices. The storage unit 306 may store control programs and applications for controlling the device 300 or the control unit 304. [

제어부(304)는 통신부(302) 및 저장부(306)를 제어할 수 있다. 제어부(304)는 통신부(302)가 수신한 정보를 분석 및 처리하며, 수신한 정보를 저장부(306)에 저장하도록 제어할 수 있다. 일 실시 예에서, 제어부(304)는 소셜 네트워크 데이터에 포함된 새로운 키워드를 제 1 감성 단어장에 추가함으로써, 제 1 감성 단어장을 확장한 제 2 감성 단어장을 생성할 수 있다. 제어부(304)는 제 2 감성 단어장을 이용하여 외부 디바이스(140)의 사용자의 감성을 분석할 수 있다. 다른 실시 예에서, 제어부(304)는 채팅 로그로부터 제 1 특화 단어장에 포함되지 않는 새로운 키워드를 획득할 수 있다. 서버(100) 또는 사용자 디바이스(120)는 새로운 키워드를 제 1 특화 단어장에 추가함으로써, 제 1 특화 단어장을 확장한 제 2 특화 단어장을 생성할 수 있다. 서버(100) 또는 사용자 디바이스(120)는 제 2 특화 단어장을 이용하여 사용자 디바이스(120)와 외부 디바이스(140)가 수행한 채팅의 내용을 요약할 수 있다.The control unit 304 can control the communication unit 302 and the storage unit 306. The control unit 304 analyzes and processes the information received by the communication unit 302 and controls the storage unit 306 to store the received information. In one embodiment, the control unit 304 may add a new keyword included in the social network data to the first emotional wordbook, thereby generating a second emotional wordbook that extends the first emotive wordbook. The control unit 304 can analyze the emotion of the user of the external device 140 using the second emotional wordbook. In another embodiment, the control 304 may obtain new keywords not included in the first specialized lexicon from the chat log. The server 100 or the user device 120 may add a new keyword to the first specialized lexicon to generate a second specialized linguistic dictionary extending the first specialized linguistic lexicon. The server 100 or the user device 120 may summarize the content of the chat performed by the user device 120 and the external device 140 using the second specialized lexicon.

도 4 는 일 실시 예에 따른 디바이스를 나타내는 블록도이다. 도 4 는 일 실시 예에 따른 디바이스일 뿐이며, 디바이스는 도 4 에 도시된 구성요소보다 적은 구성요소를 포함하거나, 보다 많은 구성요소를 포함할 수 있다. 4 is a block diagram illustrating a device according to one embodiment. 4 is a device according to one embodiment, and the device may include fewer components or may include more components than the components shown in FIG.

도 4 를 참조하면, 디바이스(300)는 제어부(304), 이동통신 모듈(320), 서브통신 모듈(330), 입/출력 모듈(360), 센서 모듈(370), 저장부(306) 및 디스플레이부(390)를 포함할 수 있다. 서브통신 모듈(330)은 무선랜 모듈(331) 및 근거리통신 모듈(332) 중 적어도 하나를 포함할 수 있다. 입/출력 모듈(360)은 버튼(361), 마이크(362), 스피커(363), 진동모터(364) 및 터치 패널(365) 중 적어도 하나를 포함할 수 있다. 도 3 의 통신부(302)는 이동통신 모듈(320) 및 서브통신 모듈(330)중 적어도 하나를 포함할 수 있다. 4, the device 300 includes a control unit 304, a mobile communication module 320, a sub communication module 330, an input / output module 360, a sensor module 370, a storage unit 306, And a display unit 390. The sub communication module 330 may include at least one of a wireless LAN module 331 and a local communication module 332. The input / output module 360 may include at least one of a button 361, a microphone 362, a speaker 363, a vibration motor 364, and a touch panel 365. The communication unit 302 of FIG. 3 may include at least one of a mobile communication module 320 and a sub communication module 330.

제어부(304)는 CPU(311), 디바이스(300)의 제어를 위한 제어 프로그램이 저장된 롬(312) 및 디바이스(300)의 외부로부터 입력되는 신호 또는 데이터를 기억하거나, 디바이스(300)에서 수행되는 작업을 위한 기억영역으로 사용되는 램(313) 및 디바이스(300)의 그래픽을 처리하기 위한 GPU(314)를 포함할 수 있다. CPU(311)는 싱글 코어, 듀얼 코어, 트리플 코어, 또는 쿼드 코어 등 복수의 프로세서를 포함할 수 있다. CPU(311), 롬(312), 램(313) 및 GPU(314)는 내부 버스(BUS)를 통해 상호 연결될 수 있다.The control unit 304 stores the ROM 312 storing the control program for controlling the device 300 and the signal or data input from the outside of the device 300, A RAM 313 used as a storage area for the operation and a GPU 314 for processing graphics of the device 300. [ The CPU 311 may include a plurality of processors such as a single core, a dual core, a triple core, or a quad core. The CPU 311, the ROM 312, the RAM 313, and the GPU 314 may be interconnected via an internal bus (BUS).

제어부(304)는 이동통신 모듈(320), 서브통신 모듈(330), 입/출력 모듈(360), 센서 모듈(370), 저장부(306) 및 디스플레이부(390)를 제어할 수 있다.The control unit 304 may control the mobile communication module 320, the sub communication module 330, the input / output module 360, the sensor module 370, the storage unit 306, and the display unit 390.

이동통신 모듈(320)은 제어부(304)의 제어에 따라 적어도 하나(하나 또는 복수)의 안테나(도시되지 않음)를 이용하여 이동 통신을 통해 디바이스(300)가 외부 장치와 연결되도록 할 수 있다. 이동통신 모듈(320)은 디바이스(300)에 입력되는 전화번호를 가지는 휴대폰(도시되지 않음), 스마트폰(도시되지 않음), 태블릿 PC(도시되지 않음) 또는 다른 장치(도시되지 않음)와 음성 통화, 화상 통화, 문자메시지(SMS) 또는 멀티미디어 메시지(MMS) 전송을 하기 위한 무선 신호를 송/수신할 수 있다.The mobile communication module 320 may allow the device 300 to be connected to an external device through mobile communication using at least one (one or more) antennas (not shown) under the control of the controller 304. The mobile communication module 320 is connected to a mobile phone (not shown), a smart phone (not shown), a tablet PC (not shown) or other device (not shown) And can transmit / receive a radio signal for making a call, a video call, a text message (SMS) or a multimedia message (MMS) transmission.

서브통신 모듈(330)은 무선랜 모듈(331)과 근거리통신 모듈(332) 중 적어도 하나를 포함할 수 있다. 예를 들어, 무선랜 모듈(331)만 포함하거나, 근거리통신 모듈(332)만 포함하거나 또는 무선랜 모듈(331)과 근거리통신 모듈(332)을 모두 포함할 수 있다.The sub communication module 330 may include at least one of a wireless LAN module 331 and a local area communication module 332. For example, it may include only a wireless LAN module 331, only a short range communication module 332, or both a wireless LAN module 331 and a short range communication module 332.

무선랜 모듈(331)은 제어부(304)의 제어에 따라 무선 AP(access point)(도시되지 않음)가 설치된 장소에서 인터넷에 연결할 수 있다. 무선랜 모듈(331)은 미국전기전자학회(IEEE)의 무선랜 규격 IEEE802.11x를 지원할 수 있다. 근거리통신 모듈(332)은 제어부(304)의 제어에 따라 디바이스(300)와 화상형성장치(도시되지 않음) 사이에 무선으로 근거리 통신을 할 수 있다. 근거리 통신방식은 블루투스(Bluetooth), 적외선 통신(IrDA, infrared data association), 지그비(Zig-bee) 방식 등 이 포함될 수 있다.The wireless LAN module 331 can connect to the Internet at a place where a wireless access point (not shown) is installed under the control of the controller 304. [ The wireless LAN module 331 can support IEEE 802.11x of the IEEE Institute of Electrical and Electronics Engineers (IEEE). The short-range communication module 332 can perform short-range wireless communication between the device 300 and the image forming apparatus (not shown) under the control of the control unit 304. [ The short-distance communication method may include Bluetooth, infrared data association (IrDA), Zig-bee method, and the like.

디바이스(300)는 성능에 따라 이동통신 모듈(320), 무선랜 모듈(331) 및 근거리통신 모듈(332) 중 적어도 하나를 포함할 수 있다.The device 300 may include at least one of a mobile communication module 320, a wireless LAN module 331, and a local communication module 332 depending on its performance.

입/출력 모듈(360)은 복수의 버튼(361), 마이크(362), 스피커(363), 진동모터(364) 및 터치 패널(365) 중 적어도 하나를 포함할 수 있다.The input / output module 360 may include at least one of a plurality of buttons 361, a microphone 362, a speaker 363, a vibration motor 364, and a touch panel 365.

버튼(361)은 디바이스(300)의 하우징의 전면, 측면 또는 후면에 형성될 수 있으며, 전원/잠금 버튼(도시되지 않음), 볼륨버튼(도시되지 않음) 메뉴 버튼, 홈 버튼, 돌아가기 버튼(back button) 및 검색 버튼(361) 중 적어도 하나를 포함할 수 있다.Button 361 may be formed on the front, side, or rear of the housing of device 300 and may include a power / lock button (not shown), a volume button (not shown), a home button, a back button, and a search button 361.

마이크(362)는 제어부(304)의 제어에 따라 음성(voice) 또는 사운드(sound)를 입력 받아 전기적인 신호를 생성할 수 있다.The microphone 362 may receive voice or sound according to the control of the controller 304 to generate an electrical signal.

스피커(363)는 제어부(304)의 제어에 따라 이동통신 모듈(320), 서브통신 모듈(330)의 다양한 신호에 대응되는 사운드를 디바이스(300) 외부로 출력할 수 있다. 스피커(363)는 디바이스(300)가 수행하는 기능에 대응되는 사운드를 출력할 수 있다. 스피커(363)는 디바이스(300)의 하우징의 적절한 위치 또는 위치들에 하나 또는 복수로 형성될 수 있다.The speaker 363 can output a sound corresponding to various signals of the mobile communication module 320 and the sub communication module 330 to the outside of the device 300 under the control of the control unit 304. [ The speaker 363 can output a sound corresponding to the function performed by the device 300. [ The speaker 363 may be formed in one or more of the appropriate positions or positions of the housing of the device 300.

진동모터(364)는 제어부(304)의 제어에 따라 전기적 신호를 기계적 진동으로 변환할 수 있다. 예를 들어, 진동 모드에 있는 디바이스(300)는 다른 장치(도시되지 않음)로부터 음성통화가 수신되는 경우, 진동 모터(364)가 동작할 수 있다. 진동 모터(364)는 터치 패널(365) 상에 접촉하는 사용자의 터치 동작 및 터치 패널(365) 상에서의 터치 입력의 연속적인 움직임에 응답하여 동작할 수 있다.The vibration motor 364 can convert the electrical signal into mechanical vibration under the control of the control unit 304. [ For example, the device 300 in the vibration mode may operate the vibration motor 364 when a voice call is received from another device (not shown). The vibration motor 364 may operate in response to the touching operation of the user touching the touch panel 365 and the continuous movement of the touch input on the touch panel 365.

터치 패널(365)은 사용자 인터페이스에 입력되는 적어도 하나의 터치에 대응되는 아날로그 신호를 제어부(304)로 전송할 수 있다. 터치 패널(365)은 사용자의 신체(예를 들어, 손가락) 또는 터치 가능한 입력 수단(예를 들어, 스타일러스 펜)을 통해 적어도 하나의 터치 입력을 수신할 수 있다. 또한, 터치 패널(365)은 적어도 하나의 터치 입력의 연속적인 움직임을 수신할 수 있다. 터치 패널(365)은 터치 입력의 연속적인 움직임에 대응되는 아날로그 신호를 제어부(304)로 전송할 수 있다.The touch panel 365 may transmit an analog signal corresponding to at least one touch input to the user interface to the control unit 304. The touch panel 365 may receive at least one touch input via a user's body (e.g., a finger) or touchable input means (e.g., a stylus pen). In addition, the touch panel 365 may receive continuous movement of at least one touch input. The touch panel 365 can transmit an analog signal corresponding to the continuous movement of the touch input to the control unit 304. [

터치 입력이라 함은 터치 패널(365)과 사용자의 신체 또는 터치 가능한 입력 수단과의 접촉을 통한 입력에 한정되지 않고, 비접촉 입력(예를 들어, 터치 패널(365)과 신체 간의 간격이 1mm 이하)을 포함할 수 있다. 터치 패널(365)에서 검출가능한 간격은 디바이스(300)의 성능 또는 구조에 따라 변경될 수 있다.The touch input is not limited to input through contact between the touch panel 365 and the user's body or touchable input means, but may be a non-contact input (e.g., a distance between the touch panel 365 and the body is 1 mm or less) . ≪ / RTI > The interval that can be detected by the touch panel 365 can be changed according to the performance or structure of the device 300. [

터치 패널(365) 은, 예를 들어, 저항막(resistive) 방식, 정전용량(capacitive) 방식, 적외선(infrared) 방식 또는 초음파(ultrasound wave)방식을 이용하여 구현될 수 있다. 터치 패널(365)은 수신된 아날로그 신호를 디지털 신호(예를 들어, X 좌표 및 Y 좌표)로 변환한 결과를 제어부(304)로 전송할 수 있다. 제어부(304)는 터치 패널(365)으로부터 수신된 디지털 신호를 이용하여 터치 패널(365)을 제어할 수 있다. 예를 들어, 제어부(304)는 터치 입력에 응답하여 터치 패널(365)에 표시된 애플리케이션 실행 아이콘(도시되지 않음)을 선택하거나 또는 애플리케이션을 실행할 수 있다. The touch panel 365 may be implemented using, for example, a resistive method, a capacitive method, an infrared method, or an ultrasound wave method. The touch panel 365 can transmit the result of converting the received analog signal to a digital signal (for example, an X coordinate and a Y coordinate) to the controller 304. The control unit 304 can control the touch panel 365 using the digital signal received from the touch panel 365. For example, the control unit 304 may select an application execution icon (not shown) displayed on the touch panel 365 or execute an application in response to the touch input.

센서 모듈(370)은 디바이스(300)의 상태를 검출하는 적어도 하나의 센서를 포함한다. 예를 들어, 센서 모듈(370)은 사용자의 디바이스(300)에 대한 접근여부를 검출하는 근접센서, 디바이스(300) 주변의 빛의 양을 검출하는 조도센서(도시되지 않음) 또는 디바이스(300)의 동작(예를 들어, 디바이스(300)의 회전, 디바이스(300)에 가해지는 가속도 또는 진동)을 검출하는 모션센서(도시되지 않음)를 포함할 수 있다. 센서 모듈(370)의 센서는 디바이스(300)의 성능에 따라 추가되거나 삭제될 수 있다.The sensor module 370 includes at least one sensor for detecting the state of the device 300. [ For example, the sensor module 370 may include a proximity sensor that detects whether a user accesses the device 300, a light sensor (not shown) or device 300 that detects the amount of light around the device 300, (Not shown) that detects motion of the device 300 (e.g., rotation of the device 300, acceleration or vibration applied to the device 300). The sensor of the sensor module 370 may be added or deleted depending on the performance of the device 300. [

저장부(306)는 제어부(304)의 제어에 따라 이동통신 모듈(320), 서브통신 모듈(330), 입/출력 모듈(360), 센서 모듈(370), 디스플레이부(390)의 동작에 대응되게 입/출력되는 신호 또는 데이터를 저장할 수 있다. 저장부(306)는 디바이스(300) 또는 제어부(304)의 제어를 위한 제어 프로그램 및 애플리케이션들을 저장할 수 있다.The storage unit 306 controls the operations of the mobile communication module 320, the sub communication module 330, the input / output module 360, the sensor module 370, and the display unit 390 under the control of the control unit 304 And can store signals or data correspondingly input / output. The storage unit 306 may store control programs and applications for controlling the device 300 or the control unit 304. [

"저장부"라는 용어는 저장부(306), 제어부(304) 내 롬(312), 램(313) 또는 디바이스(300)에 장착되는 메모리 카드(도시되지 않음)를 포함할 수 있다. 저장부는 비휘발성메모리, 휘발성메모리, 하드디스크드라이브(HDD) 또는 솔리드 스테이트 드라이브(SSD)를 포함할 수 있다.The term "storage unit" may include a storage unit 306, a ROM 312 in the control unit 304, a RAM 313, or a memory card (not shown) mounted in the device 300. The storage unit may include a nonvolatile memory, a volatile memory, a hard disk drive (HDD), or a solid state drive (SSD).

디스플레이부(390)는 디바이스(300)에서 처리되는 정보를 표시 패널(391)에 표시 출력한다. 예를 들어, 디스플레이부(390)는, 가상 이미지를 선택하기 위한 사용자 인터페이스, 가상 이미지의 동작을 설정하기 위한 사용자 인터페이스, 가상 이미지의 아이템을 구매하기 위한 사용자 인터페이스를 디스플레이할 수 있다.The display unit 390 displays and outputs information processed by the device 300 on the display panel 391. For example, the display unit 390 may display a user interface for selecting a virtual image, a user interface for setting an operation of a virtual image, and a user interface for purchasing an item of a virtual image.

한편, 표시 패널(391)과 터치 패널(365)이 레이어 구조를 이루어 터치 스크린으로 구성되는 경우, 디스플레이부(390)는 출력 장치 이외에 입력 장치로도 사용될 수 있다. 디스플레이부(390)의 표시 패널(391)은 액정 디스플레이(liquid crystal display), 박막 트랜지스터 액정 디스플레이(thin film transistor-liquid crystal display), 유기 발광 다이오드(organic light-emitting diode), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display), 전기영동 디스플레이(electrophoretic display) 중에서 적어도 하나를 포함할 수 있다. 그리고 디바이스(300)의 구현 형태에 따라 디바이스(300)는 디스플레이부(390)를 2개 이상 포함할 수도 있다. 이 경우, 2개 이상의 디스플레이부(390)는 힌지(hinge)를 이용하여 마주보게 배치될 수 있다.Meanwhile, when the display panel 391 and the touch panel 365 have a layer structure and are configured as a touch screen, the display unit 390 can be used as an input device in addition to the output device. The display panel 391 of the display unit 390 may be a liquid crystal display, a thin film transistor-liquid crystal display, an organic light-emitting diode, a flexible display ), A three-dimensional display (3D display), and an electrophoretic display (electrophoretic display). The device 300 may include two or more display units 390 depending on the implementation of the device 300. [ In this case, the two or more display units 390 may be arranged to face each other using a hinge.

도 5 는 일 실시예에 따른 외부 디바이스 사용자의 감성을 분석하는 방법을 도시한 흐름도이다. 일 실시 예에서, 사용자 디바이스(120)와 외부 디바이스(140)는 서버(100)를 통하여 통신을 수행할 수 있다. 일 실시 예에서, 외부 디바이스(140)의 사용자는 고객일 수 있고, 사용자 디바이스(120)의 사용자는 고객 서비스를 제공하는 주체일 수 있다. 고객 서비스를 제공하는 주체는 사람 또는 자동화된 서비스를 제공할 수 있는 프로그램이 설치되어 있는 디바이스일 수 있다. 서버(100)는 외부 디바이스(140) 사용자의 감성을 결정하거나, 사용자 디바이스(120)와 외부 디바이스(140)가 수행한 채팅의 내용을 요약할 수 있다. 5 is a flowchart illustrating a method of analyzing emotions of a user of an external device according to an exemplary embodiment of the present invention. In one embodiment, the user device 120 and the external device 140 may communicate via the server 100. [ In one embodiment, the user of the external device 140 may be a customer, and the user of the user device 120 may be the entity providing the customer service. The subject providing the customer service may be a person or a device equipped with a program capable of providing an automated service. The server 100 can determine the emotion of the user of the external device 140 or summarize the contents of the chat performed by the user device 120 and the external device 140. [

단계 500 에서, 서버(100)는 감성 단어장 또는 특화 단어장을 획득할 수 있다. 서버(100)는 감성 단어장 또는 특화 단어장을 직접 생성하거나, 이미 생성되어 있는 단어장을 외부로부터 수신할 수 있다. In step 500, the server 100 may obtain an emotional word list or a specialized word list. The server 100 can directly generate an emotional wordbook or a specialized wordbook or receive a wordbook already generated from the outside.

단계 510 및 단계 520 에서, 사용자 디바이스(120) 및 외부 디바이스(140)는 채팅을 시작할 수 있다. 채팅은 외부 디바이스(140)가 사용자 디바이스(120)에 대하여 채팅을 요청함으로써 시작될 수 있다. In steps 510 and 520, the user device 120 and the external device 140 may initiate a chat. The chat may be initiated by the external device 140 requesting a chat with the user device 120.

단계 512 및 단계 522 에서, 사용자 디바이스(120) 및 외부 디바이스(140)는 채팅을 수행할 수 있다. 채팅은 사용자 디바이스(120), 외부 디바이스(140) 및 서버(100) 중 적어도 하나에 설치된 채팅 프로그램을 이용하여 수행될 수 있다. 단계 502 에서, 서버(100)는 사용자 디바이스(120) 및 외부 디바이스(140)가 단계 512 및 단계 522 에서 채팅을 수행한 결과를 분석하여 외부 디바이스(140) 사용자의 감성을 결정할 수 있다. 서버(100)는 결정된 감성을 단계 504 에서 사용자 디바이스(120)로 전송할 수 있다. In steps 512 and 522, the user device 120 and the external device 140 may perform a chat. The chat may be performed using a chat program installed in at least one of the user device 120, the external device 140, and the server 100. [ In step 502, the server 100 may determine the emotion of the user of the external device 140 by analyzing the results of the user device 120 and the external device 140 performing the chat in steps 512 and 522. [ The server 100 may transmit the determined emotion to the user device 120 at step 504. [

일 실시 예에서, 사용자 디바이스(120)는 자동화된 서비스를 제공할 수 있는 프로그램이 설치되어 있는 디바이스일 수 있다. 이 경우, 사용자 디바이스(120)는 외부 디바이스(140)와 자동 채팅을 수행할 수 있다. 사용자 디바이스(120)는 자동 채팅을 수행하면서, 서버(100)로부터 외부 디바이스(140) 사용자의 감성을 수신할 수 있다. In one embodiment, the user device 120 may be a device on which a program capable of providing automated services is installed. In this case, the user device 120 can perform an automatic chat with the external device 140. The user device 120 can receive the emotion of the user of the external device 140 from the server 100 while performing an automatic chat.

일 실시 예에서, 사용자 디바이스(120)는 외부 디바이스(140) 사용자의 감성에 기초하여 채팅 방식을 변경할 수 있다. 예를 들어, 외부 디바이스(140) 사용자의 부정적인 감성이 소정의 기준(negative threshold)을 초과할 수 있다. 이 경우, 사용자 디바이스(120)는 자동 채팅을 종료하고, 사용자 디바이스(120)의 사용자가 직접 외부 디바이스(140) 사용자와 채팅을 수행하도록 할 수 있다.In one embodiment, the user device 120 may change the chatting method based on the emotion of the user of the external device 140. For example, the negative emotion of the user of the external device 140 may exceed a negative threshold. In this case, the user device 120 may terminate the automatic chat and allow the user of the user device 120 to conduct a chat with the user of the external device 140 directly.

일 실시 예에서, 서버(100)가 외부 디바이스(140) 사용자와 자동 채팅을 수행할 수 있다. 서버(100)는 자동 채팅을 수행하면서, 외부 디바이스(140) 사용자의 감성을 결정할 수 있다. 일 실시 예에서, 서버(100)는 외부 디바이스(140) 사용자의 감성에 기초하여 채팅 방식을 변경할 수 있다. 예를 들어, 외부 디바이스(140) 사용자의 부정적인 감성이 소정의 기준(negative threshold)을 초과할 수 있다. 이 경우, 서버(100)는 자동 채팅을 종료하고, 사용자 디바이스(120)를 호출할 수 있다. 서버(100)는 사용자 디바이스(120) 사용자가 직접 외부 디바이스(140) 사용자와 채팅을 수행하도록 할 수 있다.In one embodiment, the server 100 may perform an automatic chat with a user of the external device 140. The server 100 can determine the emotion of the user of the external device 140 while performing an automatic chat. In one embodiment, the server 100 may change the chatting method based on the emotion of the user of the external device 140. For example, the negative emotion of the user of the external device 140 may exceed a negative threshold. In this case, the server 100 may terminate the automatic chat and call the user device 120. [ The server 100 may allow a user of the user device 120 to directly conduct a chat with a user of the external device 140. [

단계 502 에서, 서버(100)는 또한 사용자 디바이스(120) 및 외부 디바이스(140)가 단계 512 및 단계 522 에서 채팅을 수행한 결과를 분석하여 사용자 디바이스(120) 및 외부 디바이스(140)가 채팅을 수행한 내용을 요약할 수 있다. 서버(100)는 또한 요약된 내용을 단계 504 에서 사용자 디바이스(120)로 전송할 수 있다. In step 502, the server 100 also analyzes the results of the user device 120 and the external device 140 performing the chat in steps 512 and 522, so that the user device 120 and the external device 140 chat You can summarize what you have done. The server 100 may also send the summarized content to the user device 120 at step 504.

단계 514 및 단계 524 에서, 사용자 디바이스(120) 및 외부 디바이스(140)는 채팅을 종료할 수 있다. 채팅은 사용자 디바이스(120) 및 외부 디바이스(140)중 하나가 채팅 종료 명령을 수신하면 종료될 수 있다. In steps 514 and 524, the user device 120 and the external device 140 may terminate the chat. The chat may be terminated when one of the user device 120 and the external device 140 receives a chat end command.

도 6 은 일 실시 예에 따른 디바이스가 감성 단어장을 생성하는 방법을 나타내는 흐름도이다. 6 is a flowchart illustrating a method for a device according to an embodiment to generate an emotional wordbook.

일 실시 예에 따른 디바이스(300)는 서버(100) 또는 사용자 디바이스(120)에 대응될 수 있다. 도 6에 도시된 바와 같이, 단계 610 에서, 디바이스(300)는 제1 감성 단어장을 획득할 수 있다. 이때, 제1 감성 단어장은 오픈 소스 감성 단어장일 수 있으며, 오픈 소스는 누구나 이용 가능하도록 무상으로 공개된 정보를 의미한다. 제1 감성 단어장은 긍정적인 감성을 나타내는 키워드 그룹과 부정적인 감성을 나타내는 키워드 그룹을 포함할 수 있다. 또한, 감성 단어장은 중립적인 감성을 나타내는 키워드 그룹을 더 포함할 수 있다. 감성 단어장은 키워드 각각에 대응하는 감성의 정도를 수치화한 감성 점수를 포함할 수 있다. 예를 들어, 감성 점수는 최고 1 점에서 최저 -1 점의 범위를 가질 수 있다. 이 경우, 가장 긍정적인 감성을 나타내는 키워드의 감성 점수가 1 점일 수 있고, 가장 부정적인 감성을 나타내는 키워드의 감성 점수가 -1 점일 수 있다. 중립적인 감성을 나타내는 키워드의 감성 점수는 0 점일 수 있다. 감성 단어장의 예시는 도 2a 및 도 2b 에 도시되어 있다. The device 300 according to one embodiment may correspond to the server 100 or the user device 120. [ As shown in FIG. 6, in step 610, the device 300 may obtain a first emotional wordbook. At this time, the first emotional wordbook may be an open source emotional wordbook, and open source means information that is open to the public free of charge. The first emotional wordbook may include a keyword group representing positive emotions and a keyword group representing negative emotions. In addition, the emotional wordbook may further include a keyword group indicating neutral emotions. The emotional wordbook may include a sensitivity score obtained by quantifying the degree of emotional corresponding to each keyword. For example, the emotional score may range from a maximum of 1 to a minimum of -1. In this case, the emotion score of the keyword showing the most positive emotion can be one point, and the emotion score of the keyword showing the most negative emotion can be -1 point. The sensibility score of the keyword indicating the neutral sensibility may be zero. An example of an emotional wordbook is shown in Figures 2a and 2b.

단계 620 에서, 디바이스(300)는 소셜 네트워크 데이터를 수집할 수 있다. 소셜 네트워크 데이터는 소셜 네트워크 서비스 서버에 저장된 데이터를 의미할 수 있다. 예를 들어, 소셜 네트워크 데이터는 소셜 네트워크 서비스를 이용하는 사용자들이 소셜 네트워크 서비스 서버에 업데이트한 텍스트, 이미지, 동영상 및 오디오 데이터를 포함할 수 있다. 본 명세서에서, 소셜 네트워크 데이터는 소셜 네트워크 서버에 저장된 데이터 중 텍스트 데이터를 의미한다. In step 620, the device 300 may collect social network data. The social network data may refer to data stored in a social network service server. For example, the social network data may include text, image, video, and audio data updated by users of the social network service server using the social network service. In this specification, the social network data refers to text data among data stored in a social network server.

디바이스(300)는 하나 이상의 소셜 네트워크 서비스 웹 페이지에 대해 크롤링(crawling)을 수행하여 소셜 네트워크 데이터를 수집할 수 있다. 크롤링은 데이터 마이닝에서 이용되는 기법으로, 복수의 컴퓨터 또는 서버에 분산 저장되어 있는 데이터를 수집하는 기술을 의미한다. 소셜 네트워크 웹페이지에 대한 예시는 도 8 에 도시되어 있다. The device 300 may perform crawling on one or more social network service web pages to collect social network data. Crawling is a technique used in data mining, which refers to a technique of collecting data stored in a distributed manner on a plurality of computers or servers. An example for a social network web page is shown in FIG.

단계 630 에서, 디바이스(300)는 단계 620 에서 수집한 소셜 네트워크 데이터를 키워드 단위로 분리할 수 있다. 디바이스(300)가 소셜 네트워크 데이터를 키워드 단위로 분리하는 데에는 n-gram 방식을 이용할 수 있다. 예를 들어, 1-gram 방식에서 디바이스(300)는 소셜 네트워크 데이터에 포함된 문장을 분리하여 단어 하나로 구성된 복수의 키워드를 생성할 수 있다. 다른 예에서, 디바이스(300)는 2-gram 방식을 이용하여 소셜 네트워크 데이터에 포함된 문장을 분리하여 단어 두 개로 구성된 복수의 키워드를 생성할 수 있다. In operation 630, the device 300 may divide the social network data collected in operation 620 into keywords. The device 300 may use an n-gram method for separating social network data by keyword. For example, in the 1-gram method, the device 300 can separate a sentence included in the social network data and generate a plurality of keywords each consisting of a word. In another example, the device 300 may separate a sentence contained in the social network data using a 2-gram scheme to generate a plurality of keywords consisting of two words.

단계 640 에서, 디바이스(300)는 단계 630 에서 생성한 새로운 키워드와 감성 단어장에 포함되는 적어도 하나의 키워드의 공통 등장(co-occurrence) 빈도를 계산하여, 감성 단어장에 새로운 키워드를 추가할 수 있다. 예를 들어, 단계 630 에서 생성된 새로운 키워드가 소셜 네트워크 데이터 내에서 감성 단어장에 포함된 긍정적인 감성을 나타내는 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과할 수 있다. 이 경우, 디바이스(300)는 감성 단어장에 새로운 키워드를 긍정적인 감성을 나타내는 키워드로서 추가할 수 있다. 복수의 키워드가 공통 등장한다는 것은, 복수의 키워드가 소셜 네트워크 데이터 내의 같은 코퍼스(corpus)에 공통적으로 포함되어 있다는 것을 의미할 수 있다. 코퍼스는 빅 데이터(big data)분석의 기초가 되는 키워드의 집합을 의미할 수 있으며, 예를 들어, 도 8에 도시된, 소셜 네트워크 서비스 웹 페이지에 게시된 포스트들(810 내지 840) 각각이 코퍼스일 수 있다. 이에 따라, 하나의 포스트들(post, 810 내지 840) 각각에 복수의 키워드가 공통적으로 포함되어 있는 경우, 복수의 키워드가 공통 등장한 것으로 결정할 수 있다.In step 640, the device 300 may calculate a co-occurrence frequency of at least one keyword included in the new keyword and the emotional wordbook created in step 630, and add a new keyword to the emotive wordbook. For example, the frequency at which the new keyword generated in step 630 coincides with the keyword indicating the positive emotion contained in the emotional wordbook in the social network data may exceed a predetermined reference value. In this case, the device 300 can add a new keyword to the emotional wordbook as a keyword indicating positive emotion. The common appearance of a plurality of keywords may mean that a plurality of keywords are commonly included in the same corpus in the social network data. The corpus may refer to a set of keywords that underlies the analysis of the big data. For example, each of the posts 810-840 posted on the social network service web page, shown in FIG. 8, Lt; / RTI > Accordingly, when a plurality of keywords are commonly included in each of the posts 810 to 840, it can be determined that a plurality of keywords appear in common.

예를 들어, "좋은" 은 감성 단어장에 포함된 긍정적인 감성을 나타내는 키워드 중 하나일 수 있다. 그리고 "즐거운"은 소셜 네트워크 데이터에 포함되는 키워드들 중 제1 감성 단어장에 포함되지 않은 키워드일 수 있다. 도 11에 도시된 바와 같이, 하나의 포스트(1110) 에 "좋은" 과 "즐거운" 이 공통적으로 포함되어 있는 경우, 디바이스(300)는 "좋은" 과 "즐거운" 이 공통 등장한 것으로 결정할 수 있다. 일 실시 예에서 "즐거운" 이 감성 단어장의 긍정적인 감성을 나타내는 키워드들과 공통 등장하는 빈도가 소정의 기준치를 초과할 수 있다. 이 경우, 디바이스(300)는 "즐거운" 을 감성 단어장의 긍정적인 감성을 나타내는 키워드로서 추가할 수 있다.  For example, "good" may be one of the keywords expressing a positive emotion contained in the emotion wordbook. And "pleasant" may be a keyword not included in the first emotional word list among the keywords included in the social network data. 11, the device 300 can determine that "good" and "enjoyable" coexist when common "good" and "pleasant" are included in one post 1110. In one embodiment, the frequency of common appearances with the keywords indicating the positive emotional state of the "pleasant" emotional wordbook may exceed a predetermined reference value. In this case, the device 300 can add "pleasant" as a keyword indicating a positive emotion of the emotional wordbook.

일 실시 예에서, 디바이스(300)는 "즐거운" 에 대응하는 감성의 정도를 수치화한 감성 점수를 획득할 수 있다. "즐거운" 에 대응하는 감성 점수는 "즐거운" 이 감성 단어장의 긍정적인 감성을 나타내는 키워드들과 공통 등장하는 빈도에 따라 결정될 수 있다. 다른 실시 예에서, 디바이스(300)는 부정적인 감성을 나타내는 키워드 또는 중립적인 감성을 나타내는 키워드에 대하여서도 같은 방법의 분석을 수행할 수 있다. In one embodiment, the device 300 may obtain a sensitivity score that quantifies the degree of emotion corresponding to "pleasant ". The emotional score corresponding to "pleasant" can be determined according to the frequency with which the words "pleasant" appear in common with the keywords indicating the positive emotions of the emotional wordbook. In another embodiment, the device 300 may perform the same method of analysis for keywords indicating negative emotions or for keywords representing neutral emotions.

단계 640을 수행한 결과로서, 디바이스(300)는 제1 감성 단어장보다 같거나 많은 키워드를 포함하는 확장된 감성 단어장(제2 감성 단어장)을 획득할 수 있다. 디바이스(300)는 도 6 에 도시된 방법을 이용하여 주기적으로 또는 계속해서 감성 단어장에 키워드를 추가할 수 있다. As a result of performing step 640, the device 300 can acquire an extended emotional wordbook (second emotional wordbook) including the same or more keywords than the first emotive wordbook. The device 300 may periodically or continuously add keywords to the emotional wordbook using the method shown in FIG.

도 7 은 일 실시 예에 따른 디바이스가 특화 단어장을 생성하는 방법을 도시한 흐름도이다. 디바이스(300)는 서버(100) 또는 사용자 디바이스(120)에 대응될 수 있다. 단계 710 에서, 만일 기존에 생성된 특화 단어장이 있다면 디바이스(300)는 기존의 제 1 특화 단어장을 획득할 수 있다. 만일 기존에 생성된 특화 단어장이 없다면, 디바이스(300)는 최초의 제 1 특화 단어장을 생성할 수 있다. 특화 단어장은 하나 이상의 공통적인 주제에 관련된 키워드들의 그룹을 포함하는 단어장일 수 있다. 특화 단어장의 예시가 도 2c 에 도시되어 있다. FIG. 7 is a flow diagram illustrating a method for a device according to an embodiment to create a specialized linguistic dictionary. The device 300 may correspond to the server 100 or the user device 120. In step 710, if there is an existing specialized linguistic dictionary generated, the device 300 can acquire the existing first specialized linguistic linguistic dictionary. If there is no existing specialized wordbook that has been created, the device 300 may generate the first first specialized wordbook. The specialized wordbook may be a wordbook containing a group of keywords related to one or more common topics. An example of a specialized wordbook is shown in Figure 2c.

단계 720 에서, 디바이스(300)는 채팅 로그를 수집할 수 있다. 채팅 로그는 사용자 디바이스(120) 및 외부 디바이스(140)를 포함하는 복수의 디바이스들이 서버(100)를 통하여 채팅을 수행한 결과를 나타내는 데이터일 수 있다. 만일 기존에 생성된 특화 단어장이 없다면, 디바이스(300)는 서버(100)에 저장된 모든 채팅 로그를 수집할 수 있다. 만일 기존에 생성된 특화 단어장이 있다면, 디바이스(300)는 가장 최근에 특화 단어장을 확장 또는 생성하기 위해 채팅 로그를 수집한 시점 이후에 새로 생성된 채팅 로그만을 획득할 수 있다. At step 720, the device 300 may collect the chat log. The chat log may be data indicating a result of a plurality of devices including the user device 120 and the external device 140 performing a chat through the server 100. [ If there are no existing specialized wordbooks, the device 300 may collect all the chat logs stored in the server 100. If there is an existing specialized wordbook, the device 300 can acquire a newly generated chat log only after the time at which the device 300 collects the chat log to expand or create the latest specialized wordbook.

단계 730 에서, 디바이스(300)는 단계 720 에서 수집한 채팅 로그를 키워드 단위로 분리할 수 있다. 디바이스(300)가 채팅 로그를 키워드 단위로 분리하는 데에는 n-gram 방식을 이용할 수 있다. 예를 들어, 1-gram 방식에서 디바이스(300)는 채팅 로그에 포함된 문장을 분리하여 단어 하나로 구성된 복수의 키워드를 생성할 수 있다. 다른 예에서, 디바이스(300)는 2-gram 방식을 이용하여 채팅 로그에 포함된 문장을 분리하여 단어 두 개로 구성된 복수의 키워드를 생성할 수 있다. In step 730, the device 300 may separate the chat log collected in step 720 on a keyword-by-keyword basis. The device 300 can use the n-gram method to separate the chat log by keyword unit. For example, in the 1-gram method, the device 300 can separate a sentence included in a chat log to generate a plurality of keywords composed of one word. In another example, the device 300 may generate a plurality of keywords consisting of two words by separating the sentences contained in the chat log using the 2-gram method.

단계 740 에서, 디바이스(300)는 단계 730 에서 생성한 새로운 키워드와 제 1 특화 단어장에 포함되는 적어도 하나의 키워드의 공통 등장 빈도를 계산하여, 제 1 특화 단어장에 새로운 키워드를 추가할 수 있다. 예를 들어, 단계 730 에서 생성한 새로운 키워드가 채팅 로그 내에서 특화 단어장에 포함된 특정 주제에 관련된 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과할 수 있다. 이 경우, 디바이스(300)는 특화 단어장에 새로운 키워드를 특정 주제에 관련된 키워드로서 추가할 수 있다. 복수의 키워드가 공통 등장한다는 것은, 복수의 키워드가 채팅 로그 내의 같은 코퍼스에 공통적으로 포함되어 있다는 것을 의미할 수 있다. 예를 들어, 복수의 키워드가 하나의 채팅 세션에 공통적으로 포함되어 있다는 것을 의미할 수 있다. 하나의 채팅 세션은 사용자 디바이스(120)와 외부 디바이스(140) 간의 채팅이 시작된 후부터 종료되기 전까지의 채팅 내용을 포함할 수 있다. 단계 740을 수행한 결과로서, 디바이스(300)는 제1 특화 단어장보다 같거나 많은 키워드를 포함하는 확장된 특화 단어장(제2 특화 단어장)을 획득할 수 있다. In step 740, the device 300 may calculate a common occurrence frequency of the new keyword generated in step 730 and at least one keyword included in the first specialized wordbook, and add a new keyword to the first specialized wordbook. For example, the frequency at which the new keyword generated in step 730 coincides with the keyword related to the specific topic included in the specialized lyric word in the chat log may exceed a predetermined reference value. In this case, the device 300 may add a new keyword to the specialized lexicon as a keyword related to a specific topic. The common appearance of a plurality of keywords may mean that a plurality of keywords are commonly included in the same corpus in the chat log. For example, it may mean that a plurality of keywords are commonly included in one chat session. One chat session may include chat content from the time the chat between the user device 120 and the external device 140 starts until the chat session ends. As a result of performing step 740, the device 300 may obtain an extended specialized lexicon (second specialized lexicon) containing the same or more keywords than the first specialized lexicon.

도 8 은 일 실시 예에 따른 소셜 네트워크 데이터가 표시되는 일 예를 나타내는 도면이다. 소셜 네트워크 데이터는 포스트(810 내지 840) 단위로 분리되어 표시될 수 있다. 포스트(810 내지 840)는 같은 사용자에 의해 쓰여진 것일 수도 있고, 복수의 사용자에 의해 쓰여진 것일 수도 있다. 소셜 네트워크 데이터는 포스트(810 내지 840)에 포함된 키워드들을 포함할 수 있다. 포스트(810 내지 840)는 소셜 네트워크 데이터의 키워드와 감성 단어장의 키워드 간의 공통 등장 빈도를 계산하는 기준이 될 수 있다. 예를 들어, 소셜 네트워크 데이터의 키워드와 감성 단어장의 긍정적인 감성을 나타내는 키워드가 같은 포스트(810 내지 840)내에서 공통적으로 등장할 수 있다. 이 경우, 소셜 네트워크 데이터의 키워드와 감성 단어장의 긍정적인 감성을 나타내는 키워드가 공통 등장하는 것으로 결정할 수 있다. 8 is a diagram illustrating an example of displaying social network data according to an embodiment. The social network data may be separately displayed in units of posts 810 to 840. [ The posts 810 to 840 may be written by the same user or by a plurality of users. The social network data may include keywords contained in the posts 810 through 840. The posts 810 to 840 can be used as a criterion for calculating the common appearance frequency between the keyword of the social network data and the keyword of the emotional wordbook. For example, keywords in the social network data and keywords indicating the positive emotional state of the emotional wordbook may appear in the same posts 810 to 840 in common. In this case, it can be determined that the keyword of the social network data and the keyword showing the positive emotion of the emotional wordbook appear in common.

디바이스(300)는 소셜 네트워크 데이터의 키워드를 감성 단어장에 추가하는 경우 반어법을 고려할 수 있다. 예를 들어, 감성 단어장의 부정적인 감성을 나타내는 키워드로 "불친절", "화" 및 "비싸다" 등이 포함되어 있고, 긍정적인 감성을 나타내는 키워드로 "즐거운" 등이 포함되어 있을 수 있다. 이 경우, 디바이스(300)가 소셜 네트워크 데이터를 분석하여 기존 감성 단어장에 포함되지 않은 새로운 키워드 "좋은" 을 획득할 수 있다. 키워드 "좋은"은 포스트(810)에서 키워드 "즐거운" 과 공통 등장하고, 포스트(840)에서 "불친절", "화" 및 "비싸다" 와 공통 등장한다. 만일 다른 글들에서 "좋은" 이 긍정적인 감성을 나타내는 다른 키워드들과 공통 등장하는 빈도가 높다면, 포스트(840) 의 경우 "좋은" 은 반어법을 사용하기 위해 선택된 키워드일 수 있다. 이 경우, 디바이스(300)는 포스트(840) 에서의 공통 등장 기록을 배제하여 더 정확한 감성 단어장을 생성할 수 있다. 예를 들어, 디바이스(300)는 반어법에 이용되는 키워드의 등장 빈도를 전체 등장 빈도에서 제외시킬 수 있다. The device 300 may consider the irony when adding the keyword of the social network data to the emotional wordbook. For example, keywords indicating "unkindness", "anger" and "expensive" are included as keywords indicating negative emotions of the emotional wordbook, and "pleasant" may be included as a keyword showing positive emotions. In this case, the device 300 may analyze the social network data to obtain a new keyword "good " that is not included in the existing emotional wordbook. The keyword "good" appears in common with the keyword "joyous" in the post 810, and appears in common with the word " unkind, " In the post 840 case, "good" may be the keyword chosen to use the irony if "good" in other articles has a high frequency of appearing in common with other keywords representing positive emotions. In this case, the device 300 can generate a more accurate emotional wordbook by excluding the common emotional record in the post 840. For example, the device 300 may exclude the occurrence frequency of a keyword used in the irony method from the total appearance frequency.

일 실시 예에서, 디바이스(300)는 특정 키워드와 연관된 긍정적인 감성을 나타내는 키워드 또는 부정적인 감성을 나타내는 키워드를 감성 단어장에 추가하여 특정 키워드에 특화된 감성 단어장을 생성할 수 있다. 예를 들어, 디바이스(300)가 "핸드폰 A" 와 연관된 긍정적인 감성을 나타내는 키워드 또는 부정적인 감성을 나타내는 키워드를 찾아야 할 수 있다. 이 경우, 디바이스(300)는 "핸드폰 A" 키워드와 소셜 네트워크 데이터에 포함된 키워드 간의 공통 등장 빈도를 계산할 수 있다. 또한, 디바이스(300)는 "핸드폰 A" 키워드와 감성 단어장에 포함된 키워드 간의 공통 등장 빈도를 계산할 수 있다. 예를 들어, "빠르다" 키워드는 문맥에 따라 긍정적인 감성, 중립적인 감성 또는 부정적인 감성을 나타낼 수 있다. 하지만, "빠르다" 라는 키워드와 "핸드폰 A" 키워드가 공통 등장하는 경우 "빠르다"라는 키워드는 핸드폰의 성능이 빠르다는 의미일 수 있다. 따라서, 디바이스(300)는 "빠르다" 라는 키워드를 긍정적인 감성을 나타내는 키워드로 결정할 수 있다. 일 실시 예에서, 디바이스(300)가 감성 단어장에 포함되지 않은 새로운 키워드 "빠르다" 를 소셜 네트워크 데이터로부터 획득할 수 있다. 이 경우, 디바이스(300)는 "빠르다" 및 "핸드폰 A" 키워드가 기존의 감성 단어장에 포함된 키워드와 공통적으로 등장하는 빈도를 분석할 수 있다. 예를 들어, "핸드폰 A" 키워드 및 "빠르다" 키워드가 기존의 감성 단어장에 포함된 긍정적인 감성을 나타내는 복수의 키워드들과 공통 등장하는 빈도가 소정의 기준치를 초과할 수 있다. 이 경우, 디바이스(300)는 "빠르다" 키워드가 "핸드폰 A" 키워드와 함께 사용될 때, "빠르다"라는 키워드가 긍정적인 감성을 나타내는 키워드인 것으로 결정할 수 있다. In one embodiment, the device 300 may add a keyword indicative of a positive emotion associated with a particular keyword or a keyword indicative of a negative emotion to the emotional wordbook to generate an emotional wordbook specific to the particular keyword. For example, the device 300 may need to find a keyword indicating a positive emotion associated with "Mobile Phone A" or a keyword indicating a negative emotion. In this case, the device 300 can calculate the common appearance frequency between the keyword "Mobile phone A" and the keyword included in the social network data. Further, the device 300 can calculate the common appearance frequency between the keyword "Mobile phone A" and the keyword included in the emotional wordbook. For example, the "fast" keyword may indicate positive emotion, neutral emotion or negative emotion depending on the context. However, when the keyword "fast" and the keyword "mobile phone A" appear in common, the keyword "fast" may mean that the performance of the mobile phone is fast. Therefore, the device 300 can determine the keyword "fast " as a keyword indicating a positive emotion. In one embodiment, the device 300 may obtain a new keyword " fast "from the social network data that is not included in the emotional word list. In this case, the device 300 can analyze the frequency with which the keywords "fast" and "cell phone A" appear in common with the keywords included in the existing emotional wordbook. For example, the frequency of common occurrence with a plurality of keywords indicating positive emotions included in the existing emotional wordbook may exceed a predetermined reference value, for example, the keywords "mobile phone A" and "fast". In this case, when the "fast" keyword is used with the "mobile phone A" keyword, the device 300 can determine that the keyword "fast" is a keyword indicating positive sentiment.

도 9 는 도 6 에 도시된 감성 단어장을 생성하는 방법의 단계 640을 더 구체적으로 도시한 흐름도이다. 단계 900 에서, 디바이스(300)는 도 6 의 단계 630 에서 분리한 키워드를 획득할 수 있다. FIG. 9 is a flowchart showing more specifically step 640 of the method for generating the emotional wordbook shown in FIG. At step 900, the device 300 may obtain the keyword separated in step 630 of FIG.

단계 910 에서, 디바이스(300)는 단계 900 에서 획득한 키워드와 감성 단어장에 포함되는 적어도 하나의 키워드의 공통 등장 빈도를 계산할 수 있다. 일 실시 예에서, 공통 등장 빈도를 계산하기 위해 PMI(pointwise mutual information)를 이용할 수 있다. 코퍼스 내에서 키워드 x가 등장할 확률이 p(x), y가 등장할 확률이 p(y), x와 y가 공통 등장할 확률이 p(x, y) 라고 할 때, 키워드 x와 y의 PMI 값은 아래의 수식을 이용하여 계산될 수 있다.In step 910, the device 300 may calculate the common occurrence frequency of at least one keyword included in the keyword acquired in step 900 and the emotional wordbook. In one embodiment, pointwise mutual information (PMI) may be used to calculate the common occurrence frequency. Let p (x) be the probability of keyword x appearing in the corpus, p (y) be the probability of appearance of y, and p (x, y) The PMI value can be calculated using the following equation.

Figure pat00001
Figure pat00001

PMI를 이용하여 키워드의 공통 등장 빈도를 계산하는 방법은 종래의 기술과 동일하다.The method of calculating the common appearance frequency of a keyword using the PMI is the same as that of the conventional technique.

단계 920 에서, 디바이스(300)는 단계 910 에서 계산한 공통 등장 빈도가 기준치 이상인 키워드를 추출할 수 있다. 예를 들어, 새로운 키워드 "awesome" 이 기존의 감성 단어장에 포함된 긍정적인 감성을 나타내는 키워드 "happy", "great" 및 "good" 등과 기준치 빈도 이상의 공통 등장 빈도를 가질 수 있다. 이 경우, 디바이스(300)는 "awesome"을 감성 단어장의 새로운 긍정적인 감성을 나타내는 키워드로서 추가할 수 있다. 마찬가지로, 새로운 키워드 "painful" 이 기존의 감성 단어장에 포함된 부정적인 감성을 나타내는 키워드 "sad", "bad" 및 "terrible" 등과 기준치 빈도 이상의 공통 등장 빈도를 가질 수 있다. 이 경우, 디바이스(300)는 "painful"을 감성 단어장의 새로운 부정적인 감성을 나타내는 키워드로서 추가할 수 있다.In step 920, the device 300 may extract a keyword having the common occurrence frequency calculated in step 910 equal to or higher than the reference value. For example, the new keyword " awesome " may have a common frequency of occurrence of the keywords "happy "," great ", and "good " In this case, the device 300 may add "awesome " as a keyword indicating a new positive emotion of the emotional wordbook. Likewise, the new keyword " painful "may have a common frequency of occurrence of the keywords" sad ", "bad "," terrible ", etc. indicating negative emotions included in the existing emotional wordbook, In this case, the device 300 may add "painful" as a keyword indicating a new negative emotion of the emotional wordbook.

단계 950 에서, 디바이스(300)는 단계 920 에서 추출한 키워드를 기존의 감성 단어장에 추가하여 기존의 감성 단어장을 확장할 수 있다. 디바이스(300)는 단계 950 을 수행한 후 다시 단계 900으로 돌아가서 다른 키워드들을 분석할 수 있다. In step 950, the device 300 may extend the existing emotional wordbook by adding the keyword extracted in step 920 to the existing emotive wordbook. Device 300 may perform step 950 and then go back to step 900 to analyze other keywords.

도 10 은 도 7 에 도시된 특화 단어장을 생성하는 방법의 단계 740을 더 구체적으로 도시한 흐름도이다. 단계 1000 에서, 디바이스(300)는 도 7 의 단계 730 에서 분리한 키워드를 획득할 수 있다. 10 is a flow chart showing more specifically step 740 of the method for generating the specialized lingua franca shown in Fig. In step 1000, the device 300 may obtain the keyword separated in step 730 of FIG.

단계 1010 에서, 디바이스(300)는 단계 1000 에서 획득한 키워드와 감성 단어장에 포함되는 적어도 하나의 키워드의 공통 등장 빈도를 계산할 수 있다. 일 실시 예에서, 공통 등장 빈도를 계산하기 위해 PMI를 이용할 수 있다. 코퍼스 내에서 키워드 x가 등장할 확률이 p(x), y가 등장할 확률이 p(y), x와 y가 공통 등장할 확률이 p(x, y) 라고 할 때, 키워드 x와 y의 PMI 값은 아래의 수식을 이용하여 계산될 수 있다.In operation 1010, the device 300 may calculate a common appearance frequency of at least one keyword included in the keyword and the sensory wordbook obtained in operation 1000. In one embodiment, PMI can be used to calculate the common occurrence frequency. Let p (x) be the probability of keyword x appearing in the corpus, p (y) be the probability of appearance of y, and p (x, y) The PMI value can be calculated using the following equation.

Figure pat00002
Figure pat00002

PMI를 이용하여 키워드의 공통 등장 빈도를 계산하는 방법은 종래의 기술과 동일하다.The method of calculating the common appearance frequency of a keyword using the PMI is the same as that of the conventional technique.

단계 1020 에서, 디바이스(300)는 단계 1010 에서 계산한 공통 등장 빈도가 기준치 이상인 키워드를 추출할 수 있다. In step 1020, the device 300 may extract a keyword whose common occurrence frequency calculated in step 1010 is equal to or higher than a reference value.

예를 들어, 새로운 키워드 "D" 가 기존의 특화 단어장에 포함된 "기종" 주제와 관련된 키워드 "A", "B" 및 "C" 등과 기준치 빈도 이상의 공통 등장 빈도를 가질 수 있다. 이 경우, 디바이스(300)는 "D" 를 특화 단어장의 새로운 "기종" 주제와 관련된 키워드로서 추가할 수 있다. 마찬가지로, 새로운 키워드 "와이파이" 가 기존의 특화 단어장에 포함된 "문제점" 주제와 관련된 키워드 "전원", "화면" 및 "배터리" 등과 기준치 빈도 이상의 공통 등장 빈도를 가질 수 있다. 이 경우, 디바이스(300)는 "와이파이" 를 특화 단어장의 새로운 "문제점" 주제와 관련된 키워드로서 추가할 수 있다.For example, the new keyword " D " may have a common frequency of occurrence, such as keywords "A "," B ", and "C " associated with the" model "subject included in the existing specialized lexicon, In this case, the device 300 may add "D" as a keyword associated with the new "model" Likewise, the new keyword "WiFi" may have a common frequency of occurrence, such as the keywords "power "," screen ", "battery ", etc., associated with the" problem " In this case, the device 300 may add "Wi-Fi" as a keyword associated with the new "problem"

단계 1050 에서, 디바이스(300)는 단계 1020 에서 추출한 키워드를 기존의 감성 단어장에 추가하여 기존의 감성 단어장을 확장할 수 있다. 디바이스(300)는 단계 1050 을 수행한 후 다시 단계 1000으로 돌아가서 다른 키워드들을 분석할 수 있다. In step 1050, the device 300 may extend the existing emotional wordbook by adding the keyword extracted in step 1020 to the existing emotive wordbook. The device 300 may perform step 1050 and then go back to step 1000 to analyze other keywords.

도 11 은 일 실시예에 따른 디바이스가 외부 디바이스 사용자의 감성을 분석하는 방법을 도시한 흐름도이다. 일 실시예에 따른 디바이스(300)는 서버(100) 또는 사용자 디바이스(120)에 대응될 수 있다. 11 is a flowchart illustrating a method for a device according to an embodiment to analyze the emotion of an external device user. The device 300 according to one embodiment may correspond to the server 100 or the user device 120. [

도 11을 참조하면, 단계 1110 에서, 디바이스(300)는 사용자 디바이스(120)와 외부 디바이스(140)가 채팅을 수행한 결과를 나타내는 채팅 데이터를 획득하고, 채팅 데이터를 키워드 단위로 분리할 수 있다. 채팅 데이터를 키워드 단위로 분리하는 방법은 n-gram 방식을 이용하여 수행될 수 있다. Referring to FIG. 11, in step 1110, the device 300 may acquire chat data indicating a result of performing a chat between the user device 120 and the external device 140, and may separate the chat data in units of keywords . The method of separating chat data by keyword may be performed using an n-gram method.

단계 1120 에서, 디바이스(300)는 단계 1110 에서 분리한 키워드 각각에 상응하는 감성을 결정할 수 있다. 예를 들어, 단계 1110 에서 분리한 키워드가 도 6 에서 생성한 감성 단어장(제2 감성 단어장)에 긍정적인 감성을 나타내는 키워드로서 포함되어 있을 수 있다. 이 경우, 디바이스(300)는 단계 1110 에서 분리한 키워드가 긍정적인 감성을 나타내는 키워드인 것으로 결정할 수 있다. 다른 실시 예에서, 디바이스(300)는 감성 단어장(제2 감성 단어장)을 이용하여 단계 1110 에서 분리한 키워드에 대응하는 감성 점수를 결정할 수 있다. In step 1120, the device 300 may determine the emotion corresponding to each of the keywords separated in step 1110. For example, the keyword extracted in step 1110 may be included as a keyword indicating a positive emotion in the emotion wordbook (second emotion wordbook) generated in FIG. In this case, the device 300 can determine that the keyword separated in step 1110 is a keyword indicating a positive emotion. In another embodiment, the device 300 may use the emotional wordbook (second emotional wordbook) to determine the emotional score corresponding to the keyword separated in step 1110.

도 6 의 감성 단어장을 생성하는 방법과 도 11 의 감성을 분석하는 방법은 동일한 디바이스 내에서 실시될 수도 있고, 서로 다른 디바이스 내에서 실시될 수도 있다. 예를 들어, 서버(100)에서 감성 단어장을 생성하고, 사용자 디바이스(120)에서 감성을 분석할 수 있다. 다른 예시에서, 서버(100) 또는 사용자 디바이스(120)에서 감성 단어장을 생성하고 감성을 분석할 수 있다.The method of generating the emotional wordbook of Fig. 6 and the method of analyzing emotions of Fig. 11 may be performed in the same device or may be performed in different devices. For example, the server 100 may generate an emotional wordbook, and the user device 120 may analyze emotions. In another example, the server 100 or the user device 120 may generate emotional wordbooks and analyze emotions.

단계 1130 에서, 디바이스(300)는 단계 1120 에서 결정한, 각 키워드에 대응하는 감성에 기초하여 외부 디바이스(140) 사용자의 감성을 결정할 수 있다. 예를 들어, 디바이스(300)는 단계 1120 에서 결정한 키워드들 중에서 긍정적인 감성을 나타내는 키워드가 부정적인 감성을 나타내는 키워드보다 많다고 결정할 수 있다. 이 경우 디바이스(300)는 외부 디바이스(140)사용자가 긍정적인 감성을 나타내고 있는 것으로 결정할 수 있다. 다른 예시에서, 디바이스(300)는 단계 1120 에서 결정한 키워드들 각각의 감성 점수를 합산한 결과가 양수인 것으로 결정할 수 있다. 이 경우, 디바이스(300)는 외부 디바이스(140)사용자는 긍정적인 감성을 나타내고 있다는 것을 결정할 수 있다. 또한, 디바이스(300)는 감성 점수를 합산한 결과의 절대값이 클수록 디바이스(140)사용자가 더 강한 감성을 나타내고 있는 것으로 결정할 수 있다. 디바이스(300)는 단계 1120 에서 결정한 키워드들 각각의 감성 점수를 합산한 결과가 음수인 것으로 결정할 수 있다. 이 경우, 디바이스(300)는 외부 디바이스(140)사용자가 부정적인 감성을 나타내는 것으로 결정할 수 있다. 또한, 디바이스(300)는 감성 점수를 합산한 결과의 절대값이 클수록 디바이스(140)사용자가 더 강한 감성을 나타내고 있는 것으로 결정할 수 있다.In step 1130, the device 300 may determine the emotion of the user of the external device 140 based on the emotion corresponding to each keyword, which was determined in step 1120. [ For example, the device 300 may determine that the keyword indicating the positive emotion among the keywords determined in the step 1120 is greater than the keyword indicating the negative emotion. In this case, the device 300 can determine that the user of the external device 140 is showing a positive emotion. In another example, the device 300 may determine that the sum of the emotion scores of each of the keywords determined in step 1120 is positive. In this case, the device 300 can determine that the user of the external device 140 is showing a positive emotion. In addition, the device 300 can determine that the greater the absolute value of the sum of the sensibility scores, the stronger the user of the device 140 is. The device 300 may determine that the sum of the emotion scores of each of the keywords determined in step 1120 is negative. In this case, the device 300 can determine that the user of the external device 140 indicates a negative emotion. In addition, the device 300 can determine that the greater the absolute value of the sum of the sensibility scores, the stronger the user of the device 140 is.

일 실시 예에서, 디바이스(300)는 사용자 디바이스(120)와 외부 디바이스(140)가 채팅을 종료한 후에 외부 디바이스(140) 사용자의 감성을 분석할 수 있다. 다른 실시 예에서, 디바이스(300)는 사용자 디바이스(120)와 외부 디바이스(140)가 채팅을 수행하는 중에 사용자의 감성을 분석할 수 있다. 예를 들어, 디바이스(300)는 외부 디바이스(140)로부터 채팅 데이터를 수신할 때 마다 채팅 데이터를 키워드 단위로 분리하여 외부 디바이스(140) 사용자의 감성을 분석할 수 있다. 다른 예시에서, 디바이스(300)는 외부 디바이스(140)로부터 채팅 데이터를 기 설정된 횟수 이상 수신할 때마다 채팅 데이터를 키워드 단위로 분리하여 외부 디바이스(140) 사용자의 감성을 분석할 수 있다. 또 다른 실시 예에서, 디바이스(300)는 외부 디바이스(140)로부터 기 설정된 시간 동안 수신한 채팅 데이터를 키워드 단위로 분리하여 외부 디바이스(140) 사용자의 감성을 분석할 수 있다.In one embodiment, the device 300 may analyze the emotions of the user of the external device 140 after the user device 120 and the external device 140 terminate the chat. In another embodiment, the device 300 may analyze the user's emotions while the user device 120 and the external device 140 are performing a chat. For example, each time the device 300 receives the chat data from the external device 140, the device 300 may analyze the emotion of the user of the external device 140 by separating the chat data by keyword unit. In another example, each time the device 300 receives chat data from the external device 140 for a predetermined number of times or more, the device 300 may analyze the emotion of the user of the external device 140 by separating the chat data by keyword unit. In another embodiment, the device 300 may analyze the emotion of the user of the external device 140 by separating the chat data received from the external device 140 for a predetermined time period by keyword unit.

도 12 는 일 실시 예에 따른 디바이스가 채팅 세션을 요약하는 방법을 도시한 흐름도이다. 디바이스(300)는 서버(100) 또는 사용자 디바이스(120)에 대응될 수 있다. 12 is a flow diagram illustrating a method for a device according to an embodiment to summarize a chat session. The device 300 may correspond to the server 100 or the user device 120.

단계 1210 에서, 디바이스(300)는 사용자 디바이스(120)와 외부 디바이스(140)가 채팅을 수행한 결과를 나타내는 채팅 세션 데이터를 획득한 후, 채팅 세션 데이터를 키워드 단위로 분리할 수 있다. 채팅 세션 데이터는 제 1 사용자와 제 2 사용자가 한 번의 채팅을 시작할 때부터 종료할 때까지 교환된 모든 채팅 데이터를 의미할 수 있다. 채팅 세션 데이터를 키워드 단위로 분리하는 방법은 n-gram 방식을 이용하여 수행될 수 있다. 사용자 디바이스(120)와 외부 디바이스(140)가 채팅을 수행하는 방법의 예시는 도 13 에 도시되어 있다. In operation 1210, the device 300 may obtain the chat session data indicating the result of performing the chat by the user device 120 and the external device 140, and may then separate the chat session data by keyword. The chat session data may refer to all chat data exchanged between when the first user and the second user initiate a chat, and when they end. The method of separating the chat session data by keyword may be performed using an n-gram method. An example of how the user device 120 and the external device 140 perform the chat is shown in FIG.

단계 1220 에서, 디바이스(300)는 단계 1210 에서 분리한 키워드를 분석하여 핵심 키워드를 선택할 수 있다. 핵심 키워드는 특화 단어장에 포함된 주제 각각에 대응하는 키워드일 수 있다. 디바이스(300)는 단계 1210 에서 분리한 키워드들 중에서 특화 단어장에 포함된 주제 각각에 대응하는 핵심 키워드를 추출할 수 있다. 예를 들어, 도 16을 참조하면, 디바이스는 단계 1210 에서 분리한 키워드들 중에서 특화 단어장에 포함된 "문제점" 주제에 대응하는 키워드인 "업데이트", "화면" 또는 "배터리" 와 동일하거나 유사한 키워드가 존재하는지 탐색할 수 있다. 디바이스(300)는 단계 1210 에서 분리한 키워드들 중에서 "문제점" 주제에 대응하는 키워드가 존재한다고 결정할 수 있다. 이 경우, 디바이스(300)는 단계 1210 에서 분리한 키워드들 중에서 "문제점" 주제에 대응하는 키워드를 채팅 세션에서 "문제점" 주제에 대응하는 핵심 키워드로 추출할 수 있다. In step 1220, the device 300 may analyze the keyword separated in step 1210 to select a core keyword. The core keyword may be a keyword corresponding to each of the topics included in the specialized wordbook. The device 300 can extract a core keyword corresponding to each of the topics included in the specialized linguistic word among the keywords separated in step 1210. [ For example, referring to FIG. 16, the device extracts keywords that are the same as or similar to "update", "screen", or "battery", which are keywords corresponding to the "problem" Can be detected. The device 300 may determine that there is a keyword corresponding to the "problem" subject among the keywords separated in step 1210. [ In this case, the device 300 can extract the keywords corresponding to the "problem" topic among the keywords separated in step 1210 as key keywords corresponding to the "problem"

도 7 의 특화 단어장을 생성하는 방법과 도 12 의 채팅 세션을 요약하는 방법은 동일한 디바이스 내에서 실시될 수도 있고, 서로 다른 디바이스 내에서 실시될 수도 있다. 예를 들어, 서버(100)에서 특화 단어장을 생성하고, 사용자 디바이스(120)에서 채팅 세션을 요약할 수 있다. 다른 예시에서, 서버(100) 또는 사용자 디바이스(120)에서 특화 단어장을 생성하고 채팅 세션을 요약할 수 있다.The method for generating the specialized lyric words in Fig. 7 and the method for summarizing the chat session in Fig. 12 may be implemented in the same device, or may be implemented in different devices. For example, the server 100 may generate a specialized lexicon and summarize the chat session at the user device 120. In another example, a server 100 or user device 120 may generate a specialized lexicon and summarize the chat session.

단계 1230 에서, 디바이스(300)는 단계 1220 에서 선택한 핵심 키워드를 이용하여 채팅 세션 데이터의 내용을 요약할 수 있다. 예를 들어, 디바이스(300)가 단계 1220 에서 채팅 세션 데이터 내에서 "기종" 주제에 대응하는 핵심 키워드로서 "B" 를 추출할 수 있다. 또한, 디바이스(300)가 "문제점" 주제에 대응하는 핵심 키워드로서 "업데이트"를 추출할 수 있다. 또한, 디바이스(300)가 "해결책" 주제에 대응하는 핵심 키워드로서 "리셋" 을 추출할 수 있다. 이 경우, 디바이스(300)는 채팅 세션 데이터의 내용을 "B 기종에 업데이트 관련 문제가 있어 리셋하여 해결하도록 제안하였음" 과 같은 형태로 요약할 수 있다. 이에 한정되지 않고, 디바이스(300)는 핵심 키워드를 이용하여 채팅 세션을 다양한 형태로 요약할 수 있다. In step 1230, the device 300 may summarize the contents of the chat session data using the core keyword selected in step 1220. For example, the device 300 may extract "B" as a key keyword corresponding to the "model" subject in the chat session data at step 1220. In addition, the device 300 may extract "update" as a key keyword corresponding to the "problem" In addition, the device 300 may extract "reset" as a key keyword corresponding to the "solution" In this case, the device 300 can summarize the contents of the chat session data in the form of "It is proposed to reset by resetting the B model due to an update-related problem ". Without being limited thereto, the device 300 may summarize the chat session in various forms using the core keyword.

일 실시 예에서, 디바이스(300)는 채팅 세션 데이터의 내용을 주제 및 이에 대응하는 핵심 키워드로 구성된 표로 요약할 수 있다. 다른 실시 예에서, 디바이스(300)는 단계 1220 에서 추출한 핵심 키워드를 포함하는 문장을 채팅 세션에서 추출하여 나열함으로써 채팅 세션을 요약할 수 있다. 채팅 세션을 요약한 결과는 사용자 디바이스(120)와 외부 디바이스(140)의 채팅 세션이 종료된 후에 사용자 디바이스(120)에 제공될 수도 있다. 또는, 사용자 디바이스(120)와 외부 디바이스(140)가 채팅을 시작할 때, 이전 채팅 세션 데이터의 내용을 요약한 결과가 사용자 디바이스(120) 또는 외부 디바이스(140)에 제공될 수도 있다. In one embodiment, the device 300 may summarize the content of the chat session data into a table of topics and corresponding key keywords. In another embodiment, the device 300 may summarize the chat session by extracting and listing the sentences containing the key keywords extracted in step 1220 from the chat session. The result of summarizing the chat session may be provided to the user device 120 after the chat session of the user device 120 and the external device 140 ends. Alternatively, when the user device 120 and the external device 140 start a chat, a result summarizing the contents of the previous chat session data may be provided to the user device 120 or the external device 140. [

도 13 은 일 실시 예에 따른 채팅 세션을 도시한 도면이다. 하나의 채팅 세션은 사용자 디바이스(120)와 외부 디바이스(140) 간의 채팅이 시작된 후부터 종료되기 전까지의 채팅 내용을 포함할 수 있다. 도 13 에 도시된 바에 따르면, 채팅 세션은 대화창(1310) 에서부터 대화창(1350) 까지의 채팅 내용을 포함할 수 있다. 일 실시 예에서, 도 11 의 단계 1110 의 채팅 데이터는 채팅 세션에 포함된 하나의 문장에 포함된 키워드일 수 있다. 다른 실시 예에서, 채팅 데이터는 채팅 세션에 포함된 하나 이상의 대화창(1310 내지 1350)에 포함된 키워드 또는 채팅 세션 전체에 포함된 키워드를 포함할 수 있다. 일 실시 예에서, 디바이스(300)는 사용자 디바이스(120)와 외부 디바이스(140)의 채팅이 종료된 후에 하나의 채팅 세션에 나타난 외부 디바이스(140) 사용자의 감성을 분석할 수 있다. 다른 실시 예에서, 디바이스(300)는 사용자 디바이스(120)와 외부 디바이스(140)가 채팅을 수행하는 중에 외부 디바이스(140) 사용자의 감성을 분석할 수 있다. 예를 들어, 디바이스(300)는 채팅 데이터에 포함되는 문장들 각각에 나타나는 외부 디바이스(140) 사용자의 감성을 분석할 수 있다. 또는, 디바이스(300)는 채팅 데이터에 포함되는 대화창들 각각에 나타나는 외부 디바이스(140) 사용자의 감성을 분석할 수 있다.13 is a diagram illustrating a chat session in accordance with one embodiment. One chat session may include chat content from the time the chat between the user device 120 and the external device 140 starts until the chat session ends. 13, the chat session may include chat content from the chat window 1310 to the chat window 1350. [ In one embodiment, the chat data in step 1110 of FIG. 11 may be a keyword contained in one sentence included in the chat session. In another embodiment, the chat data may include keywords contained in one or more chat windows 1310-1350 included in the chat session, or keywords contained throughout the chat session. In one embodiment, the device 300 may analyze the emotion of the user of the external device 140 that appeared in one chat session after the chat of the user device 120 and the external device 140 is terminated. In another embodiment, the device 300 may analyze the emotion of the user of the external device 140 while the user device 120 and the external device 140 are chatting. For example, the device 300 may analyze the emotion of the user of the external device 140 appearing in each of the sentences included in the chat data. Alternatively, the device 300 may analyze the emotion of the user of the external device 140 appearing in each of the chat windows included in the chat data.

도 14 는 도 11 의 단계 1110 또는 도 12 의 단계 1210을 더 구체적으로 도시한 흐름도이다. 단계 1410 에서, 디바이스(300)는 사용자 디바이스(120)와 외부 디바이스(140)가 채팅을 수행한 결과를 나타내는 채팅 데이터를 획득할 수 있다.14 is a flow chart showing more specifically step 1110 in Fig. 11 or step 1210 in Fig. In step 1410, the device 300 may obtain chat data indicating the result of the user device 120 and the external device 140 performing the chat.

단계 1420 에서, 디바이스(300)는 단계 1410 에서 획득한 채팅 데이터의 인사말(Greeting)을 제거할 수 있다. 인사말은 대부분의 채팅 데이터에 포함되어 있지만, 특별한 의미를 내포하고 있지 않으므로 분석의 정확성을 위하여 제거될 수 있다. 인사말을 제거하는 방법은 기 설정된 인사말 단어장을 이용하여 수행될 수 있다. 예를 들어, 인사말 단어장은 "안녕하세요" 또는 "감사합니다" 와 같은 인사말을 포함할 수 있다. 디바이스(300)는 채팅 데이터에서 인사말 단어장에 포함된 인사말을 제거함으로써 불필요한 분석을 피할 수 있다. In step 1420, the device 300 may remove the greeting of the chat data obtained in step 1410. [ Greeting is included in most chat data, but it does not have any special meaning and can be removed for accuracy of analysis. The method of removing the greeting can be performed using the preset greeting wordbook. For example, a greeting wordbook may include greetings such as "Hello" or "Thank you." The device 300 can avoid unnecessary analysis by removing the greetings included in the greeting words in the chat data.

단계 1430 에서, 디바이스(300)는 단계 1420 에서 인사말을 제거한 채팅 데이터를 키워드 단위로 분리할 수 있다. 디바이스(300)가 채팅 데이터를 키워드로 분리하는 방법은 n-gram 방식을 이용하여 수행될 수 있다. 디바이스(300)는 n-gram 방식을 이용하여 획득한 키워드를 필터링하여 불필요한 키워드를 제거할 수 있다. 예를 들어, 디바이스(300)는 관사, 정관사, 조사, 관용어구 등의 특별한 의미를 내포하지 않는 키워드를 제거할 수 있다. 디바이스(300)는 관사, 정관사, 조사, 관용어구 등의 특별한 의미를 내포하지 않는 키워드를 정리한, 기 설정된 필터링 리스트를 이용하여 불필요한 키워드를 제거할 수 있다. 예를 들어, 모든 코퍼스에서 공통적으로 등장하는 키워드는 불필요한 키워드일 수 있다. 따라서, 디바이스(300)는 모든 코퍼스에서 공통적으로 등장하는 키워드를 제거할 수 있다. In step 1430, the device 300 may separate the chat data from which the greeting is removed in step 1420 on a keyword-by-keyword basis. The method by which the device 300 separates chat data into keywords may be performed using an n-gram method. The device 300 can filter unnecessary keywords by filtering the keywords acquired using the n-gram method. For example, the device 300 may remove keywords that do not have a special meaning, such as articles, articles, quotations, idioms, and the like. The device 300 can remove unnecessary keywords using a predetermined filtering list in which keywords having no special meaning such as article, definite article, survey, idiomatic phrase, etc. are arranged. For example, keywords common to all corpora may be unnecessary keywords. Thus, the device 300 can remove keywords that appear in all the corpus.

디바이스(300)는 단계 1410 내지 단계 1430 에서 채팅 데이터를 처리한 결과인 채팅 키워드를 획득할 수 있다. 디바이스(300)는 채팅 키워드를 이용하여 도 11 의 단계 1120 및 단계 1130 에서 외부 디바이스(140) 사용자의 감성을 결정할 수 있다. 또는, 디바이스(300)는 채팅 키워드를 이용하여 도 12 의 단계 1220 및 단계 1230 에서 사용자 디바이스(120)와 외부 디바이스(140)가 수행한 채팅의 내용을 요약할 수 있다. The device 300 can acquire a chat keyword that is a result of processing the chat data in steps 1410 to 1430. The device 300 can determine the emotion of the user of the external device 140 in steps 1120 and 1130 of FIG. 11 using the chat keyword. Alternatively, the device 300 can summarize the content of the chat performed by the user device 120 and the external device 140 in steps 1220 and 1230 of FIG. 12 using the chat keyword.

도 15 는 도 11 의 단계 1120 및 단계 1130 을 더 구체적으로 도시한 도면이다. 단계 1510 에서, 디바이스(300)는 키워드를 획득할 수 있다. 이때, 획득된 키워드는 도 11 의 단계 1110 에서 분리된 키워드일 수 있다. 단계 1520 에서, 디바이스(300)는 감성 단어장을 이용하여 단계 1510 에서 획득한 키워드 각각에 대한 감성 점수를 계산할 수 있다. 15 is a diagram specifically showing steps 1120 and 1130 of FIG. At step 1510, the device 300 may obtain a keyword. At this time, the obtained keyword may be a keyword separated in step 1110 of FIG. In step 1520, the device 300 may calculate emotional scores for each of the keywords obtained in step 1510 using the emotional wordbook.

단계 1530 에서, 디바이스(300)는 단계 1520 에서 계산한 키워드 각각에 대한 감성 점수를 이용하여 반어법을 처리할 수 있다. 예를 들어, 디바이스(300)는 키워드 자체의 의미는 긍정적이지만, 문맥상 반어법을 이용한 경우인지를 판단할 수 있다. 일 실시 예에서, 디바이스(300)는 같은 문장 또는 일련의 문장에 포함된 키워드의 감성 점수를 비교할 수 있다. 예를 들어, 같은 문장 또는 일련의 문장에 포함된 다른 모든 키워드가 부정적인 감성을 나타내고 있는데, 하나의 다른 키워드가 긍정적인 감성을 나타내고 있을 수 있다. 이 경우, 디바이스(300)는 긍정적인 감성을 나타내는 키워드가 긍정적인 감성을 나타내는 것이 아니고 반어법에 이용되는 키워드인 것으로 결정할 수 있다. 이 경우, 디바이스(300)는 반어법에 이용되는 키워드를 분석에 이용하지 않음으로써 외부 디바이스(140)사용자의 감성을 더 정확하게 결정할 수 있다. In step 1530, the device 300 may process the irony using the emotion score for each of the keywords calculated in step 1520. For example, the device 300 can determine whether the keyword itself is positive, but uses the irony in the context. In one embodiment, the device 300 may compare emotional scores of keywords included in the same sentence or series of sentences. For example, all other keywords in the same sentence or series of sentences show negative emotions, and one other keyword may represent a positive emotion. In this case, the device 300 can determine that the keyword indicating the positive emotion is not the positive emotion but the keyword used in the irony method. In this case, the device 300 can determine the emotion of the user of the external device 140 more accurately by not using the keyword used for the analysis in the analysis.

단계 1540 에서, 디바이스(300)는 키워드 각각의 감성 점수를 업데이트할 수 있다. 사용자 디바이스(120)와 외부 디바이스(140)가 영어로 채팅을 수행하는 경우, 외부 디바이스(140) 사용자가 키워드를 대문자로 입력하는 것은 키워드가 나타내는 감성을 강조하기 위한 것일 수 있다. 따라서, 디바이스(300)가 키워드에 대한 감성 점수를 계산할 때, 키워드에 포함된 복수의 글자가 대문자로 구성되어 있다면 키워드가 나타내는 감성에 소정의 가산점을 부여할 수 있다. 예를 들어, "Bad" 키워드는 -0.6 점의 감성 점수를 가질 수 있다. 만일 디바이스(300)가 "BAD" 키워드를 획득하였다면, 디바이스(300)는 "BAD" 키워드에 0.2 점의 가산점을 부여하여 -0.8 점의 감성 점수를 가지는 것으로 결정할 수 있다. 다른 실시 예에서, 디바이스(300)는 키워드가 느낌표(!)와 함께 이용되는 경우에도 감성 점수에 대하여 소정의 가산점을 부여할 수 있다. In step 1540, the device 300 may update the emotion score of each of the keywords. When the user device 120 and the external device 140 perform chatting in English, the user of the external device 140 may input the keyword in capital letters to emphasize the emotion expressed by the keyword. Therefore, when the device 300 calculates the emotion score for the keyword, a predetermined additive point can be given to the emotion expressed by the keyword if a plurality of characters included in the keyword are composed of capital letters. For example, the "Bad" keyword could have an emotional score of -0.6. If the device 300 has acquired the keyword "BAD ", the device 300 can add 0.2 point to the keyword" BAD " to determine that it has a sensitivity score of -0.8. In another embodiment, the device 300 may assign a given point of addition to the emotional score even when the keyword is used with an exclamation point (!).

단계 1550 에서, 디바이스(300)는 외부 디바이스(140) 사용자의 감성을 결정할 수 있다. 예를 들어, 디바이스(300)는 채팅 데이터에 포함된 키워드에 대응하는 감성 점수를 합산하여 채팅 데이터에서 나타나는 외부 디바이스(140) 사용자의 감성을 결정할 수 있다. 디바이스(300)는 감성 점수를 합산한 결과가 양수이면 외부 디바이스(140)사용자가 긍정적인 감성을 나타내고 있다고 결정할 수 있다. 또한, 디바이스(300)는 감성 점수를 합산한 결과가 음수이면 외부 디바이스(140) 사용자가 부정적인 감성을 나타내고 있다고 결정할 수 있다. 디바이스(300)는 감성 점수를 합산한 결과의 절대값이 클수록 외부 디바이스(140) 사용자가 더 강한 감성을 나타내고 있다고 결정할 수 있다. 디바이스(300)는 감성 점수를 합산한 결과의 절대값이 소정의 기준치를 초과하지 못하면 외부 디바이스(140) 사용자가 중립적인 감성을 나타내고 있다고 결정할 수 있다. At step 1550, the device 300 may determine the emotion of the user of the external device 140. For example, the device 300 can determine the emotion of the user of the external device 140 appearing in the chat data by summing emotional scores corresponding to the keywords included in the chat data. The device 300 can determine that the user of the external device 140 shows a positive emotion when the sum of the emotion scores is positive. In addition, the device 300 can determine that the user of the external device 140 shows a negative emotion when the sum of the emotion scores is negative. The device 300 can determine that the user of the external device 140 shows stronger emotions as the absolute value of the sum of the emotion scores is larger. The device 300 can determine that the user of the external device 140 indicates a neutral sensibility if the absolute value of the sum of the sensibility scores does not exceed the predetermined reference value.

일 실시 예에서, 디바이스(300)는 사용자의 감성이 변화되는 추이를 실시간으로 관찰할 수 있다. 예를 들어, 디바이스(300)는 사용자와의 채팅을 수행하면서 수신되는 키워드에 기초하여 사용자의 감성을 업데이트할 수 있다. 디바이스(300)는 감성의 변화 추이를 기록할 수 있다. 예를 들어, 디바이스(300)는 사용자의 감성이 긍정적인 방향 또는 부정적인 방향으로 변화하는 추이를 관찰 및 기록할 수 있다. In one embodiment, the device 300 is able to observe in real time the transition in which the user's emotions change. For example, the device 300 may update the emotion of the user based on the received keyword while performing a chat with the user. The device 300 can record the change of emotion. For example, the device 300 can observe and record a transition in which a user's emotions change in a positive or negative direction.

또한, 디바이스(300)는 사용자의 비 언어적인 감성을 추출할 수 있다. 일 실시 예에서, 디바이스(300)는 사용자의 채팅 속도에 기초하여 사용자의 감성을 업데이트할 수 있다. 예를 들어, 디바이스(300)는 사용자의 채팅 속도가 점점 빨라지거나, 점점 느려지는 경우 사용자의 감성이 부정적인 것으로 판단할 수 있다.In addition, the device 300 can extract non-verbal emotions of the user. In one embodiment, the device 300 may update the emotion of the user based on the user's chat rate. For example, the device 300 may determine that the user's emotional response is negative if the user's chatting speed is getting faster or slower.

일 실시 예는 컴퓨터에 의해 실행되는 프로그램 모듈과 같은 컴퓨터에 의해 실행가능한 명령어를 포함하는 기록 매체의 형태로도 구현될 수 있다. 컴퓨터 판독 가능 매체는 컴퓨터에 의해 액세스될 수 있는 임의의 가용 매체일 수 있고, RAM과 같은 휘발성 및 ROM 과 같은 비휘발성 매체, 분리형 및 비분리형 매체를 모두 포함할 수 있다. 또한, 컴퓨터 판독가능 매체는 컴퓨터 저장 매체 및 통신 매체를 모두 포함할 수 있다. 컴퓨터 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보의 저장을 위한 임의의 방법 또는 기술로 구현된 휘발성 및 비휘발성, 분리형 및 비분리형 매체를 모두 포함할 수 있다. 통신 매체는 전형적으로 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈, 또는 반송파와 같은 변조된 데이터 신호의 기타 데이터, 또는 기타 전송 메커니즘을 포함하며, 임의의 정보 전달 매체를 포함할 수 있다. 예를 들어, 컴퓨터 저장 매체는 ROM, RAM, 플래시 메모리, CD, DVD, 자기 디스크 또는 자기 테이프 등으로 구현될 수 있다. 일 실시 예에 따르면, 디바이스(300)가 감성을 분석하는 방법에 있어서, 긍정적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 1 키워드 그룹 및 부정적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 2 키워드 그룹을 포함하는 제 1 감성 단어장을 획득하는 단계, 소셜 네트워크로부터 제 1 감성 단어장에 포함되지 않는 제 3 키워드를 포함하는 소셜 네트워크 데이터를 수집하는 단계 및 소셜 네트워크 데이터 내에서, 제 3 키워드가 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도 및 제 3 키워드가 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도에 기초하여, 제 3 키워드를 제 1 키워드 그룹 또는 제 2 키워드 그룹에 추가함으로써, 제 2 감성 단어장을 생성하는 단계를 실행하기 위한 프로그램이 기록될 수 있다. One embodiment may also be implemented in the form of a recording medium including instructions executable by a computer, such as program modules, being executed by a computer. Computer readable media can be any available media that can be accessed by a computer, and can include both volatile and nonvolatile media such as RAM, removable and non-removable media. In addition, the computer-readable medium can include both computer storage media and communication media. Computer storage media may include both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave, or other transport mechanism, and may include any information delivery media. For example, computer storage media may be embodied in ROM, RAM, flash memory, CD, DVD, magnetic disk, magnetic tape, or the like. According to one embodiment, a method is provided for a device 300 to analyze emotions, the method comprising: generating a first keyword group including at least one keyword indicative of positive emotions and a second keyword including at least one keyword indicative of negative emotions Collecting social network data including a third keyword that is not included in the first emotional wordbook from the social network; and, in the social network data, Based on a frequency that coincides with at least one keyword included in the keyword group and a frequency that the third keyword appears in common with at least one keyword included in the second keyword group, In order to execute the step of generating the second emotional wordbook by adding the keyword The program can be recorded.

100 : 서버
120 : 사용자 디바이스
140 : 외부 디바이스
100: Server
120: User device
140: External device

Claims (25)

디바이스가 감성을 분석하는 방법에 있어서,
긍정적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 1 키워드 그룹 및 부정적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 2 키워드 그룹을 포함하는 제 1 감성 단어장을 획득하는 단계;
소셜 네트워크로부터 상기 제 1 감성 단어장에 포함되지 않는 제 3 키워드를 포함하는 소셜 네트워크 데이터를 수집하는 단계;
상기 소셜 네트워크 데이터 내에서, 상기 제 3 키워드가 상기 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장(co-occurrence)하는 빈도 및 상기 제 3 키워드가 상기 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도에 기초하여, 상기 제 3 키워드를 상기 제 1 키워드 그룹 또는 상기 제 2 키워드 그룹에 추가함으로써, 제 2 감성 단어장을 생성하는 단계; 를 포함하는, 방법.
In a method for a device to analyze sensibility,
Obtaining a first emotional word list including a first keyword group including at least one keyword indicating positive emotion and a second keyword group including at least one keyword representing negative emotion;
Collecting social network data including a third keyword not included in the first emotional wordbook from the social network;
In the social network data, a frequency at which the third keyword co-occurs with at least one keyword included in the first keyword group and a frequency at which the third keyword is included in the second keyword group Generating a second emotional wordbook by adding the third keyword to the first keyword group or the second keyword group based on a frequency that coincides with the keyword of the first emoticon wordbook; / RTI >
제 1 항에 있어서,
상기 제 2 감성 단어장을 생성하는 단계는,
상기 소셜 네트워크 데이터 내에서, 상기 제 3 키워드가 상기 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 상기 제 3 키워드를 상기 제 1 키워드 그룹에 추가하고,
상기 소셜 네트워크 데이터 내에서, 상기 제 3 키워드가 상기 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 상기 제 3 키워드를 상기 제 2 키워드 그룹에 추가하는 단계를 포함하는, 방법.
The method according to claim 1,
Wherein the step of generating the second emoticon wordbook comprises:
The third keyword is added to the first keyword group when the frequency with which the third keyword appears in common with at least one keyword included in the first keyword group exceeds a predetermined reference value in the social network data ,
In the social network data, adding the third keyword to the second keyword group when the frequency with which the third keyword appears in common with at least one keyword included in the second keyword group exceeds a predetermined reference value ≪ / RTI >
제 2 항에 있어서,
상기 제 1 감성 단어장은,
중립적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 3 키워드 그룹을 더 포함하고,
상기 제 2 감성 단어장을 생성하는 단계는,
상기 소셜 네트워크 데이터 내에서, 상기 제 3 키워드가 상기 제 3 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 상기 제 3 키워드를 상기 제 3 키워드 그룹에 추가하는 단계를 더 포함하는, 방법.
3. The method of claim 2,
The first emotional word list includes:
Further comprising a third keyword group including at least one keyword indicating a neutral sensibility,
Wherein the step of generating the second emoticon wordbook comprises:
The third keyword is added to the third keyword group when the frequency with which the third keyword appears in common with at least one keyword included in the third keyword group exceeds a predetermined reference value in the social network data ≪ / RTI >
제 1 항에 있어서,
상기 방법은,
외부 디바이스로부터 채팅 데이터를 수신하는 단계;
상기 제 2 감성 단어장을 이용하여, 상기 채팅 데이터에 포함되는 키워드들 각각에 대응하는 감성을 결정하는 단계; 및
상기 채팅 데이터에 포함된 상기 키워드들 각각에 대응하는 감성들에 기초하여, 상기 외부 디바이스의 사용자의 감성을 결정하는 단계; 를 더 포함하는, 방법.
The method according to claim 1,
The method comprises:
Receiving chat data from an external device;
Determining emotions corresponding to the keywords included in the chat data using the second emotional wordbook; And
Determining emotion of the user of the external device based on emotions corresponding to each of the keywords included in the chat data; ≪ / RTI >
제 4 항에 있어서,
상기 제 1 감성 단어장 및 상기 제 2 감성 단어장은, 상기 제 1 키워드 그룹 또는 상기 제 2 키워드 그룹에 포함된 적어도 하나의 키워드에 대응하는 감성의 정도를 수치화한, 감성 점수를 포함하고,
상기 감성을 결정하는 단계는,
상기 채팅 데이터에 포함된 적어도 하나의 키워드에 대한 상기 감성 점수를 결정하는 단계를 포함하는 것을 특징으로 하는, 방법.
5. The method of claim 4,
Wherein the first emotional wordbook and the second emotional wordbook include emotional scores obtained by quantifying the degree of emotional corresponding to at least one keyword included in the first keyword group or the second keyword group,
Wherein the step of determining emotion comprises:
And determining the emotional score for at least one keyword included in the chat data.
제 5 항에 있어서,
상기 감성을 결정하는 단계는,
상기 채팅 데이터에 포함된 하나 이상의 키워드에 대한 감성 점수의 합에 기초하여 상기 감성을 결정하는 단계를 포함하는, 방법.
6. The method of claim 5,
Wherein the step of determining emotion comprises:
Determining the emotion based on a sum of emotion scores for one or more keywords included in the chat data.
제 4 항에 있어서, 상기 방법은,
상기 결정된 감성에 기초하여 상기 사용자와의 채팅 방식을 변경하는 단계를 더 포함하는, 방법.
5. The method of claim 4,
Further comprising changing a chatting mode with the user based on the determined emotion.
디바이스가 채팅 내용을 요약하는 방법에 있어서,
제 1 주제와 관련된 적어도 하나의 키워드를 포함하는 제 1 키워드 그룹 및 제 2 주제와 관련된 적어도 하나의 키워드를 포함하는 제 2 키워드 그룹을 포함하는 제 1 특화 단어장을 획득하는 단계; 및
상기 디바이스에 저장된 채팅 로그 내에서, 상기 제 1 특화 단어장에 포함되지 않는 키워드가 상기 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도 및 상기 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도에 기초하여, 상기 제 1 특화 단어장에 포함되지 않는 키워드를 상기 제 1 키워드 그룹 또는 상기 제 2 키워드 그룹에 추가함으로써, 제 2 특화 단어장을 생성하는 단계; 를 포함하는, 방법.
A method for a device to summarize chat content,
Comprising: obtaining a first specialized linguistic dictionary including a first group of keywords including at least one keyword associated with a first subject and a second group of keywords including at least one keyword associated with a second subject; And
Wherein a frequency in which a keyword that is not included in the first specialized lexicon is included in at least one keyword included in the first keyword group and a frequency in which at least one keyword included in the second keyword group Generating a second specialized wordbook by adding a keyword that is not included in the first specialized wordbook to the first keyword group or the second keyword group based on a frequency that appears in common with the first specialized wordbook; / RTI >
제 8 항에 있어서,
외부 디바이스와 수행한 채팅의 결과를 나타내는 채팅 세션 데이터를 획득하는 단계;
상기 제 2 특화 단어장을 이용하여, 상기 채팅 세션 데이터에 포함되는 키워드들 중에서 하나 이상의 핵심 키워드를 추출하는 단계; 및
상기 하나 이상의 핵심 키워드를 이용하여 상기 채팅 세션 데이터의 내용을 요약하는 단계; 를 더 포함하는, 방법.
9. The method of claim 8,
Obtaining chat session data indicating a result of the chat performed with the external device;
Extracting at least one core keyword from the keywords included in the chat session data using the second specialized lexicon; And
Summarizing the contents of the chat session data using the at least one core keyword; ≪ / RTI >
제 9 항에 있어서,
상기 핵심 키워드를 추출하는 단계는,
상기 채팅 세션 데이터에 포함되는 상기 키워드들 중에서 상기 제 2 특화 단어장에 포함된 키워드를 추출하는 단계를 포함하는, 방법.
10. The method of claim 9,
The extracting of the key keyword may include:
And extracting keywords included in the second specialized lexicon among the keywords included in the chat session data.
제 9 항에 있어서,
상기 내용을 요약하는 단계는,
상기 핵심 키워드를 포함하는 문장으로 요약하거나,
상기 핵심 키워드 및 상기 핵심 키워드에 대응하는 주제를 서로 매칭시킨 표로 요약하는 단계를 포함하는, 방법.
10. The method of claim 9,
Summarizing the above contents,
Summarized into sentences containing the core keyword,
And summarizing the core keyword and the subject corresponding to the core keyword into a table matched to each other.
제 1 항 또는 제 8 항에 있어서,
상기 공통 등장하는 빈도에 기초하는 단계는,
PMI(pointwise mutual information)를 이용하는 것을 특징으로 하는, 방법.
The method according to claim 1 or 8,
Wherein the step based on the common occurrence frequency comprises:
Using pointwise mutual information (PMI).
감성을 분석하는 디바이스에 있어서,
긍정적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 1 키워드 그룹 및 부정적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 2 키워드 그룹을 포함하는 제 1 감성 단어장을 획득하고, 소셜 네트워크로부터 상기 제 1 감성 단어장에 포함되지 않는 제 3 키워드를 포함하는 소셜 네트워크 데이터를 수집하는 통신부;
상기 소셜 네트워크 데이터 내에서, 상기 제 3 키워드가 상기 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도 및 상기 제 3 키워드가 상기 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도에 기초하여, 상기 제 3 키워드를 상기 제 1 키워드 그룹 또는 상기 제 2 키워드 그룹에 추가함으로써, 제 2 감성 단어장을 생성하는 제어부; 및
상기 제 1 감성 단어장 및 상기 제 2 감성 단어장을 저장하는 저장부; 를 포함하는, 디바이스.
In a device for analyzing emotion,
Obtaining a first emotional word list including a first keyword group including at least one keyword indicating positive emotions and at least one keyword representing negative emotions from the social network, A communication unit for collecting social network data including a third keyword not included in the wordbook;
A frequency in which the third keyword appears in common with at least one keyword included in the first keyword group and a frequency in which the third keyword appears in common with at least one keyword included in the second keyword group, A control unit for generating the second emotional wordbook by adding the third keyword to the first keyword group or the second keyword group based on the frequency of occurrence of the second emoticon wordbook; And
A storage unit for storing the first emotional wordbook and the second emoticonbook; .
제 13 항에 있어서,
상기 제어부는,
상기 제 2 감성 단어장을 생성하는 경우,
상기 소셜 네트워크 데이터 내에서, 상기 제 3 키워드가 상기 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 상기 제 3 키워드를 상기 제 1 키워드 그룹에 추가하고;
상기 소셜 네트워크 데이터 내에서, 상기 제 3 키워드가 상기 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 상기 제 3 키워드를 상기 제 2 키워드 그룹에 추가하는, 디바이스.
14. The method of claim 13,
Wherein,
When the second emotional wordbook is generated,
The third keyword is added to the first keyword group when the frequency with which the third keyword appears in common with at least one keyword included in the first keyword group exceeds a predetermined reference value in the social network data ;
In the social network data, adding the third keyword to the second keyword group when the frequency with which the third keyword appears in common with at least one keyword included in the second keyword group exceeds a predetermined reference value , device.
제 14 항에 있어서,
상기 제 1 감성 단어장은,
중립적인 감성을 나타내는 적어도 하나의 키워드를 포함하는 제 3 키워드 그룹을 더 포함하고,
상기 제어부는,
상기 제 2 감성 단어장을 생성하는 경우,
상기 소셜 네트워크 데이터 내에서, 상기 제 3 키워드가 상기 제 3 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도가 소정의 기준치를 초과하는 경우 상기 제 3 키워드를 상기 제 3 키워드 그룹에 추가하는, 디바이스.
15. The method of claim 14,
The first emotional word list includes:
Further comprising a third keyword group including at least one keyword indicating a neutral sensibility,
Wherein,
When the second emotional wordbook is generated,
The third keyword is added to the third keyword group when the frequency with which the third keyword appears in common with at least one keyword included in the third keyword group exceeds a predetermined reference value in the social network data , device.
제 13 항에 있어서,
상기 통신부는,
외부 디바이스로부터 채팅 데이터를 수신하고;
상기 제어부는,
상기 제 2 감성 단어장을 이용하여, 상기 채팅 데이터에 포함되는 키워드들 각각에 대응하는 감성을 결정하고;
상기 채팅 데이터에 포함된 상기 키워드들 각각에 대응하는 감성들에 기초하여, 상기 외부 디바이스의 사용자의 감성을 결정하는, 디바이스.
14. The method of claim 13,
Wherein,
Receive chat data from an external device;
Wherein,
Determine emotions corresponding to the keywords included in the chat data using the second emotional wordbook;
And determines the emotion of the user of the external device based on emotions corresponding to each of the keywords included in the chat data.
제 16 항에 있어서,
상기 제 1 감성 단어장 및 상기 제 2 감성 단어장은 상기 제 1 키워드 그룹 또는 상기 제 2 키워드 그룹에 포함된 적어도 하나의 키워드에 대응하는 감성의 정도를 수치화한, 감성 점수를 포함하고,
상기 제어부는,
상기 채팅 데이터에 포함된 적어도 하나의 키워드에 대한 상기 감성 점수를 결정하는, 디바이스.
17. The method of claim 16,
Wherein the first emotional wordbook and the second emotional wordbook include emotional scores obtained by quantifying the degree of emotions corresponding to at least one keyword included in the first keyword group or the second keyword group,
Wherein,
And determines the emotional score for at least one keyword included in the chat data.
제 17 항에 있어서,
상기 제어부는,
상기 채팅 데이터에 포함된 하나 이상의 키워드에 대한 감성 점수의 합에 기초하여 상기 감성을 결정하는, 디바이스.
18. The method of claim 17,
Wherein,
And determines the emotion based on a sum of emotion scores for one or more keywords included in the chat data.
제 16 항에 있어서,
상기 제어부는,
상기 결정된 감성에 기초하여 상기 사용자와의 채팅 방식을 변경하는, 디바이스.
17. The method of claim 16,
Wherein,
And changes the chatting method with the user based on the determined emotion.
채팅 내용을 요약하는 디바이스에 있어서,
제 1 주제와 관련된 적어도 하나의 키워드를 포함하는 제 1 키워드 그룹 및 제 2 주제와 관련된 적어도 하나의 키워드를 포함하는 제 2 키워드 그룹을 포함하는 제 1 특화 단어장을 획득하고;
상기 디바이스에 저장된 채팅 로그 내에서, 상기 제 1 특화 단어장에 포함되지 않는 키워드가 상기 제 1 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도 및 상기 제 2 키워드 그룹에 포함되는 적어도 하나의 키워드와 공통 등장하는 빈도에 기초하여, 상기 제 1 특화 단어장에 포함되지 않는 키워드를 상기 제 1 키워드 그룹 또는 상기 제 2 키워드 그룹에 추가함으로써, 제 2 특화 단어장을 생성하는 제어부; 및
상기 제 1 특화 단어장 및 상기 제 2 특화 단어장을 저장하는 저장부; 를 포함하는, 디바이스.
A device for summarizing chat content,
Obtaining a first specialized vocabulary field comprising a first group of keywords including at least one keyword associated with a first subject and a second group of keywords including at least one keyword associated with a second subject;
Wherein a frequency in which a keyword that is not included in the first specialized lexicon is included in at least one keyword included in the first keyword group and a frequency in which at least one keyword included in the second keyword group A control unit for generating a second specialized wordbook by adding a keyword that is not included in the first specialized wordbook to the first keyword group or the second keyword group based on a frequency that appears in common with the first specialized wordbook; And
A storage unit for storing the first specialized wordbook and the second specialized wordbook; .
제 20 항에 있어서,
상기 제어부는,
외부 디바이스와 수행한 채팅의 결과를 나타내는 채팅 세션 데이터를 획득하고;
상기 제 2 특화 단어장을 이용하여, 상기 채팅 세션 데이터에 포함되는 키워드들 중에서 하나 이상의 핵심 키워드를 추출하고;
상기 하나 이상의 핵심 키워드를 이용하여 상기 채팅 세션 데이터의 내용을 요약하는, 디바이스.
21. The method of claim 20,
Wherein,
Acquiring chat session data indicating a result of the chat performed with the external device;
Extract one or more core keywords from the keywords included in the chat session data using the second specialized lexicon;
And summarizes the contents of the chat session data using the one or more core keywords.
제 21 항에 있어서,
상기 제어부는,
상기 핵심 키워드를 추출하는 경우,
상기 채팅 세션 데이터에 포함되는 상기 키워드들 중에서 상기 제 2 특화 단어장에 포함된 키워드를 추출하는, 디바이스.
22. The method of claim 21,
Wherein,
When extracting the core keyword,
And extracts keywords included in the second specialized lexicon from among the keywords included in the chat session data.
제 21 항에 있어서,
상기 제어부는,
상기 내용을 요약하는 경우,
상기 핵심 키워드를 포함하는 문장으로 요약하거나,
상기 핵심 키워드 및 상기 핵심 키워드에 대응하는 주제를 서로 매칭시킨 표로 요약하는, 디바이스.
22. The method of claim 21,
Wherein,
In summary,
Summarized into sentences containing the core keyword,
And summarizing the key keyword and the subject corresponding to the key keyword into a table matched with each other.
제 13 항 또는 제 20 항에 있어서,
상기 제어부는,
상기 공통 등장하는 빈도에 기초하는 경우,
PMI를 이용하는 것을 특징으로 하는, 디바이스.
The method according to claim 13 or 20,
Wherein,
Based on the frequency of common appearance,
RTI ID = 0.0 > PMI. ≪ / RTI >
제 1 항의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium recording a program for causing a computer to execute the method of claim 1.
KR1020160058782A 2015-05-13 2016-05-13 Device and method for analyzing user emotion KR20160134564A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020150066947 2015-05-13
KR20150066947 2015-05-13

Publications (1)

Publication Number Publication Date
KR20160134564A true KR20160134564A (en) 2016-11-23

Family

ID=57248205

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160058782A KR20160134564A (en) 2015-05-13 2016-05-13 Device and method for analyzing user emotion

Country Status (2)

Country Link
KR (1) KR20160134564A (en)
WO (1) WO2016182393A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200107501A (en) * 2019-03-08 2020-09-16 연세대학교 산학협력단 Device and Method of Scoring Emotion for Psychological Consultation
KR20220111823A (en) * 2021-02-02 2022-08-10 한국방송통신대학교 산학협력단 Apparatus and method for establishing newly-coined word and emotion dictionary

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110414465B (en) * 2019-08-05 2023-11-10 北京深醒科技有限公司 Emotion analysis method for video communication
CN110600033B (en) * 2019-08-26 2022-04-05 北京大米科技有限公司 Learning condition evaluation method and device, storage medium and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4876692B2 (en) * 2006-04-26 2012-02-15 三菱電機株式会社 Text mining device, text mining program, and text mining method
KR101250520B1 (en) * 2010-10-28 2013-05-14 (주)아크릴 Community Formation System, Mobile and Method based on Affect
KR101191922B1 (en) * 2010-10-28 2012-10-17 (주)엠씨에스로직 Instant Messenger Service Providing System and Method therefor, and Communication Terminal and Method
KR101971720B1 (en) * 2012-08-06 2019-04-24 에스케이플래닛 주식회사 Method for protection of message, apparatus and system for the same
KR102137681B1 (en) * 2013-06-13 2020-08-28 주식회사 케이티 Method, server and device for providing real time broadcasting service using sns analysis data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200107501A (en) * 2019-03-08 2020-09-16 연세대학교 산학협력단 Device and Method of Scoring Emotion for Psychological Consultation
KR20220111823A (en) * 2021-02-02 2022-08-10 한국방송통신대학교 산학협력단 Apparatus and method for establishing newly-coined word and emotion dictionary

Also Published As

Publication number Publication date
WO2016182393A1 (en) 2016-11-17

Similar Documents

Publication Publication Date Title
US11809829B2 (en) Virtual assistant for generating personalized responses within a communication session
US11580350B2 (en) Systems and methods for an emotionally intelligent chat bot
KR102333505B1 (en) Generating computer responses to social conversational inputs
US10192545B2 (en) Language modeling based on spoken and unspeakable corpuses
US9842101B2 (en) Predictive conversion of language input
US10169329B2 (en) Exemplar-based natural language processing
US9760559B2 (en) Predictive text input
RU2699399C2 (en) System and method for detecting orphan utterances
WO2019118254A1 (en) Chatbot integrating derived user intent
WO2019005348A1 (en) Virtual assistant providing enhanced communication session services
US20140316764A1 (en) Clarifying natural language input using targeted questions
US10579742B1 (en) Biometric signal analysis for communication enhancement and transformation
US20140067818A1 (en) Pushing specific content to a predetermined webpage
US20090158175A1 (en) Communication support method, system, and server device
US10586528B2 (en) Domain-specific speech recognizers in a digital medium environment
KR20160134564A (en) Device and method for analyzing user emotion
EP2869219A1 (en) Text processing apparatus, text processing method, and computer program product
KR102430285B1 (en) Kiosk and its operation for the visually impaired
CN111314771B (en) Video playing method and related equipment
EP3835995A1 (en) Method and device for keyword extraction and storage medium
JP2022058098A (en) Public opinion acquisition and word viscosity model training method and device, server and medium
CN111555960A (en) Method for generating information
US11816328B2 (en) Context-based shape extraction and interpretation from hand-drawn ink input
CN110383271A (en) Data entry system with example generator
CN114610163A (en) Recommendation method, apparatus and medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
X091 Application refused [patent]
AMND Amendment
E902 Notification of reason for refusal
X601 Decision of rejection after re-examination