[go: up one dir, main page]

WO2016013913A1 - Text editing method and electronic device supporting same - Google Patents

Text editing method and electronic device supporting same Download PDF

Info

Publication number
WO2016013913A1
WO2016013913A1 PCT/KR2015/007763 KR2015007763W WO2016013913A1 WO 2016013913 A1 WO2016013913 A1 WO 2016013913A1 KR 2015007763 W KR2015007763 W KR 2015007763W WO 2016013913 A1 WO2016013913 A1 WO 2016013913A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
text
user
recipient
electronic device
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/KR2015/007763
Other languages
French (fr)
Korean (ko)
Inventor
한원징
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
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
Priority claimed from CN201410359715.6A external-priority patent/CN105335343A/en
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Priority to US15/325,952 priority Critical patent/US10878180B2/en
Priority to EP15824623.1A priority patent/EP3173939A4/en
Publication of WO2016013913A1 publication Critical patent/WO2016013913A1/en
Anticipated expiration legal-status Critical
Priority to US17/107,143 priority patent/US11790156B2/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Definitions

  • the described embodiment relates to a method of editing text and an electronic device supporting the same.
  • the expression included in the input text may be automatically converted into a suitable expression according to the social relationship with the receiver.
  • FIG. 3 is a flowchart illustrating a method for editing text according to an embodiment of the present invention.
  • FIG. 5 is a flowchart illustrating a method for editing text according to a language ratio of text according to an embodiment of the present invention.
  • the controller may be further configured to obtain information about the user, recognize a social relationship between the user and the receiver, and convert at least a portion of the text into text corresponding to the social relationship according to the recognized social relationship. can do.
  • the electronic device 100 may generate (or create) text based on a user input.
  • the electronic device 100 may receive an input for creating a title and a body of text from a user through an input unit (eg, a keyboard).
  • the electronic device 100 may generate text based on the received input.
  • FIG. 2 shows an overall flow diagram of a method for editing text according to an embodiment of the present invention.
  • the electronic device 100 may generate text based on a user input. Steps 201 and 203 may be performed in a different order.
  • the electronic device 100 may generate text for posting (or posting) within a micro blog or online community.
  • the electronic device 100 may obtain information about the receiver. For example, when an email address of a receiver is input from a user in an email address input box, the electronic device 100 may obtain information about a recipient corresponding to the email address based on the email address. For example, the electronic device 100 may obtain recipient information mapped to an email address and stored, for example, information on a recipient name, age, gender, a department belonging to a recipient, a recipient status, and the like.
  • the electronic device 100 may convert a term or the like of the currently generated text based on the receiver information.
  • the electronic device 100 may convert a word, a clause, or a sentence in the currently generated text into a word, a clause, or a sentence having the same or similar meaning according to the information on the receiver.
  • the electronic device 100 may convert "Lots of love” into “yours lovingly”.
  • the electronic device 100 may convert the etiquette representation of the currently generated text based on information about the receiver, for example, the status of the receiver.
  • a process 201 of generating text based on a user input may be performed.
  • the method may further include: collecting and storing conversation history information between the user and at least one or more counterpart with whom the user has a social relationship before acquiring information on the recipient, and analyzing the conversation history information.
  • the process of generating and storing language habit information of the user or language habit information of the counterpart may be further performed.
  • the language habit information may include information about a user's tone, dialect, or frequently used expression.
  • the step 205 of converting at least a part of the text may include detecting a text having content inconsistent with the general common sense information or the latest news information among the text, and converting the detected text into the general common sense information or the And converting the text into text corresponding to recent news information.
  • FIG. 3 is a flowchart illustrating a method for editing text according to an embodiment of the present invention.
  • the electronic device 100 may convert at least a portion of the text according to the language used by the receiver.
  • the electronic device 100 converts "You are so beautiful” input into Korean into “You are so beautiful” in English, and converts the converted English text to the receiver.
  • the electronic device may transmit to the electronic device 100.
  • the electronic device 100 may obtain attribute information of the plurality of receivers "User A”, “User B”, and “User C”. For example, the electronic device 100 may obtain attribute information about the plurality of receivers that are matched with and stored in each of the plurality of receivers “User A”, “User B”, and “User C”. For example, as shown at 803, attribute information about the name, gender, age, nationality, institution, status, religion, etc. for each of the plurality of recipients "User A", “User B”, and “User C", respectively. Can be obtained.
  • the electronic device 100 may determine that the logical error has occurred. You can output a notification.
  • the electronic device 100 may correct it as “Lots of love”.
  • the audio output unit 1340 may output audio (eg, voice, sound) input through the communication unit 1310.
  • the audio output unit 1340 may output audio stored in the storage unit 1350 under the control of the controller 1360.
  • the audio output unit 1340 may include at least one of a speaker, a headphone output terminal, or a S / PDIF (Sony / Philips Digital Interface: output terminal)
  • the audio output unit 1340 may include a speaker, a headphone output terminal, and a S / PDIF. It may include a combination of output terminals.
  • the controller 1360 may obtain receiver information based on the input receiver phone number. For example, the controller 1360 may acquire information on a name, age, gender, a recipient's department, and a recipient's status of the recipient mapped and stored in the recipient's phone number through the phone book search.
  • the controller 1360 may obtain information about the receiver through the generated text analysis. For example, the controller 1360 may obtain information about a recipient name, a recipient's position, etc., which are located at the beginning, end, or title of the text. For example, when the beginning portion of the text includes "Dear Kim xx", the controller 1360 may determine "Dear Kim xx" disposed in the first paragraph of the generated text as the beginning portion of the text. When “Dear Kim xx” is determined as the beginning of the text, the controller 1360 may determine “Kim xx” disposed immediately after the word “Dear” of “Dear Kim xx” as a receiver. When the receiver is determined, the controller 1360 may acquire information about the receiver mapped to the receiver by searching the storage unit 1350 such as a phone book or a contact.
  • the storage unit 1350 such as a phone book or a contact.
  • the controller 1360 may convert the sentence structure of the currently generated text based on the receiver information.
  • the sentence structure may be an arrangement structure of words or clauses in one sentence.
  • the controller 1360 may check the sentence structure of the text previously transmitted and received between the user and the receiver.
  • the controller 1360 may convert the sentence structure of the text according to the confirmed sentence structure. For example, when the currently generated text is composed of a general subject, an object, a descriptor, and the like, the controller 1360 indicates that the sentence structure of the text previously transmitted / received between the user and the receiver is a sentence structure composed of sections based on six principles. You can check it.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Machine Translation (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a text editing method and an electronic device supporting same, the method in which an expression, comprised in a text that has been input, can automatically be converted into an appropriate expression with respect to the social relations between a user and a recipient. A text editing method for an electronic device comprises the steps of: obtaining one or more information items about a recipient; receiving a text from a user; and converting one or more parts of the text with respect to the obtained information items about the recipient.

Description

텍스트를 편집하는 방법 및 이를 지원하는 전자장치How to edit text and the electronics that support it

기재된 실시예는 텍스트를 편집하는 방법 및 이를 지원하는 전자장치에 관한 것이다.The described embodiment relates to a method of editing text and an electronic device supporting the same.

인터넷 기술의 계속적인 발전과 함께, 사람들은 종종 일일 학습, 업무 및 라이프 동안 가상 플랫폼 예를 들어, 이메일 인스턴트 메시징 및 소셜 네트워킹 사이트 등을 통해 많은 정보를 교환하고 있다. 교환되는 정보는 보통 텍스트 형식으로 전송된다. 텍스트 교환은 오늘날의 대인관계에서 중요한 역할을 수행하고 있으며, 이에 따라 텍스트 표현을 향상시키기 위한 기술이 개발되고 있다.With the continuous development of Internet technology, people often exchange a lot of information through virtual platforms such as email instant messaging and social networking sites during daily learning, work and life. The information exchanged is usually sent in text form. Text exchange plays an important role in today's interpersonal relationships, and thus technology is being developed to improve text representation.

기재된 실시예에 따르면, 입력된 텍스트에 포함된 표현을 수신자와의 사회적 관계에 따라 적합한 표현으로 자동으로 변환할 수 있는 텍스트 편집 방법 및 이를 지원하는 전자장치가 제공될 수 있다.According to the described embodiment, a text editing method capable of automatically converting an expression included in an input text into a suitable expression according to a social relationship with a receiver, and an electronic device supporting the same may be provided.

전자장치의 텍스트를 편집하는 방법에 있어서, 적어도 하나 이상의 수신자에 대한 정보를 획득하는 단계, 사용자로부터 텍스트를 수신하는 단계, 및 상기 획득된 수신자에 대한 정보에 따라, 상기 텍스트의 적어도 일부를 변환하는 단계를 포함할 수 있다.A method of editing text in an electronic device, the method comprising: obtaining information about at least one recipient, receiving text from a user, and converting at least a portion of the text according to the obtained recipient information It may include a step.

기재된 실시예에 따르면, 입력된 텍스트에 포함된 표현이 수신자와의 사회적 관계에 따라 적합한 표현으로 자동으로 변환될 수 있다.According to the described embodiment, the expression included in the input text may be automatically converted into a suitable expression according to the social relationship with the receiver.

도 1은 본 발명의 일 실시예에 따른 텍스트를 편집하기 위한 방법에 대한 개념도를 도시한다.1 is a conceptual diagram of a method for editing text according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 따른 텍스트를 편집하기 위한 방법에 대한 전체적인 흐름도를 도시한다.2 shows an overall flow diagram of a method for editing text according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 텍스트를 편집하기 위한 방법을 설명하기 위한 흐름도이다.3 is a flowchart illustrating a method for editing text according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따라 수신자가 사용하는 언어에 따라 텍스트를 편집하기 위한 방법을 설명하기 위한 흐름도이다.4 is a flowchart illustrating a method for editing text according to a language used by a receiver according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따라 텍스트의 언어 비율에 따라 텍스트를 편집하기 위한 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a method for editing text according to a language ratio of text according to an embodiment of the present invention.

도 6은 본 발명의 다른 실시예에 따른 텍스트를 편집하기 위한 방법을 설명하기 위한 흐름도이다.6 is a flowchart illustrating a method for editing text according to another embodiment of the present invention.

도 7은 본 발명의 또 다른 실시예에 따른 텍스트를 편집하기 위한 방법을 설명하기 위한 흐름도이다.7 is a flowchart illustrating a method for editing text according to another embodiment of the present invention.

도 8은 본 발명의 또 다른 실시예에 따른 텍스트를 편집하기 위한 방법을 설명하기 위한 예시도이다.8 is an exemplary view for explaining a method for editing text according to another embodiment of the present invention.

도 9는 본 발명의 일 실시예에 따라 수신자에 대한 정보에 기반하여 관심 주제를 제공하는 방법을 설명하기 위한 흐름도이다.9 is a flowchart illustrating a method of providing a topic of interest based on information about a receiver according to an embodiment of the present invention.

도 10은 본 발명의 일 실시예에 따라 수신자에 대한 정보에 기반하여 텍스트 템플릿을 제공하는 방법을 설명하기 위한 흐름도이다.10 is a flowchart illustrating a method of providing a text template based on information about a receiver according to an embodiment of the present invention.

도 11은 본 발명의 일 실시예에 따라 수신자에 대한 정보에 기반하여 텍스트 템플릿을 제공하는 방법을 설명하기 위한 예시도이다.11 is an exemplary diagram for describing a method of providing a text template based on information about a receiver according to an embodiment of the present invention.

도 12는 본 발명의 일 실시예에 따라 텍스트의 오류를 수정하는 방법을 설명하기 위한 흐름도이다.12 is a flowchart illustrating a method of correcting an error in text according to an embodiment of the present invention.

도 13은 본 발명의 일 실시예에 따라 텍스트를 편집하기 위한 전자장치의 블록 도면을 도시한다.13 is a block diagram of an electronic device for editing text according to an embodiment of the present invention.

실시예에 따른 방법은, 전자장치의 텍스트를 편집하는 방법에 있어서, 적어도 하나 이상의 수신자에 대한 정보를 획득하는 단계, 사용자로부터 텍스트를 수신하는 단계, 및 상기 획득된 수신자에 대한 정보에 따라, 상기 텍스트의 적어도 일부를 변환하는 단계를 포함할 수 있다.According to an embodiment, there is provided a method of editing text in an electronic device, the method comprising: obtaining information about at least one or more recipients, receiving text from a user, and according to the obtained recipient information; Converting at least a portion of the text.

또한, 상기 수신자에 대한 정보는 상기 수신자가 사용하는 언어에 대한 정보를 포함하고, 상기 텍스트의 적어도 일부를 변환하는 단계는, 상기 수신자가 사용하는 언어에 대한 정보에 따라, 상기 텍스트의 적어도 일부를 다른 언어의 텍스트로 변환하는 단계를 포함할 수 있다.In addition, the information on the recipient includes information on the language used by the recipient, and the step of converting at least a portion of the text, according to the information about the language used by the receiver, at least a portion of the text Converting to text of another language.

또한, 상기 수신된 텍스트는 적어도 둘 이상의 서로 다른 언어로 구성되고, 상기 텍스트의 적어도 일부를 변환하는 단계는, 상기 텍스트를 구성하는 상기 언어의 상대적인 비율에 따라, 상기 텍스트의 적어도 일부를 다른 언어의 텍스트로 변환하는 단계를 더 포함할 수 있다.In addition, the received text is composed of at least two different languages, and the step of converting at least a portion of the text, according to the relative proportion of the language constituting the text, at least a portion of the text of another language The method may further include converting to text.

또한, 상기 방법은, 상기 사용자에 대한 정보를 획득하는 단계, 및 상기 사용자 및 상기 수신자 사이의 사회적 관계를 인식하는 단계를 더 포함하고, 상기 텍스트의 적어도 일부를 변환하는 단계는, 상기 인식된 사회적 관계에 따라 상기 텍스트의 적어도 일부를 상기 사회적 관계에 대응하는 텍스트로 변환하는 단계를 포함할 수 있다.Further, the method further includes obtaining information about the user, and recognizing a social relationship between the user and the recipient, wherein converting at least a portion of the text comprises: the recognized social And converting at least a portion of the text into text corresponding to the social relationship according to the relationship.

또한, 상기 수신자에 대한 정보를 획득하는 단계는, 복수의 수신자에 대한 정보를 획득하는 단계, 및 상기 복수의 수신자 중에서 대표 수신자를 결정하는 단계를 포함하고, 상기 텍스트의 적어도 일부를 변환하는 단계는, 상기 대표 수신자에 대한 정보에 따라, 상기 텍스트의 적어도 일부를 변환하는 단계를 포함할 수 있다.In addition, obtaining information about the recipient includes obtaining information on a plurality of recipients, and determining a representative recipient among the plurality of recipients, and converting at least a portion of the text. And converting at least a portion of the text according to the information on the representative receiver.

또한, 상기 대표 수신자를 결정하는 단계는, 상기 복수의 수신자 중에서 수신자의 나이, 성별, 국적, 언어, 종교, 직업, 소재지, 지위 중에서 적어도 하나 이상을 기초로 하여 상기 대표 수신자를 결정하는 단계를 포함할 수 있다.The determining of the representative recipient may include determining the representative recipient based on at least one of an age, gender, nationality, language, religion, occupation, location, and status of the recipient among the plurality of recipients. can do.

또한, 상기 방법은, 상기 수신자에 대한 정보를 획득하는 단계 이전에, 상기 사용자의 신상 정보, 사회적 관계 정보, 언어 습관 정보, 관심사 정보, 또는 선호 정보 중에서 적어도 하나 이상을 수집하여 저장하는 단계, 상기 사용자와 사회적 관계가 형성된 적어도 하나 이상의 상대방의 신상 정보, 사회적 관계 정보, 언어 습관 정보, 관심사 정보 또는 선호 정보 중에서 적어도 하나 이상을 수집하여 저장하는 단계, 및 상기 사용자와 상기 적어도 하나 이상의 상대방 사이의 대화 이력 정보를 수집하여 저장하는 단계를 더 포함하고, 상기 텍스트의 적어도 일부를 변환하는 단계는, 상기 저장된 정보 중에서 상기 수신자에 관련된 정보를 검색하는 단계, 및 상기 검색된 정보를 기초로 하여, 상기 텍스트에 포함된 오류를 정정하거나 또는 상기 텍스트 중에서 적어도 일부를 상기 검색된 정보에 대응하는 텍스트로 변환하는 단계를 포함할 수 있다.The method may further include collecting and storing at least one of personal information, social relationship information, language habit information, interest information, or preference information of the user before obtaining the information on the receiver. Collecting and storing at least one or more of personal information, social relationship information, language habit information, interest information, or preference information of at least one or more other parties with whom a social relationship is established, and a conversation between the user and the at least one or more counterparts. And collecting and storing historical information, wherein converting at least a portion of the text comprises: retrieving information related to the recipient from among the stored information, and based on the retrieved information, Correct the error contained or And converting at least a part of the text into text corresponding to the retrieved information.

또한, 상기 방법은, 상기 수신자에 대한 정보를 획득하는 단계 이전에, 상기 사용자와 사회적 관계가 형성된 적어도 하나 이상의 상대방과 상기 사용자 사이의 대화 이력 정보를 수집하여 저장하는 단계, 및 상기 대화 이력 정보를 분석하여 상기 사용자의 언어 습관 정보 또는 상기 상대방의 언어 습관 정보를 생성하고 저장하는 단계를 더 포함하고, 상기 텍스트의 적어도 일부를 변환하는 단계는, 상기 저장된 상대방의 언어 습관 정보 중에서 상기 수신자에 대응하는 언어 습관 정보 또는 상기 사용자의 언어 습관 정보를 로드하는 단계, 및 상기 텍스트 중에서 적어도 일부를 상기 로드된 언어 습관 정보에 대응하는 텍스트로 변환하는 단계를 포함할 수 있다.The method may further include collecting and storing conversation history information between the user and at least one or more counterparts having a social relationship with the user, before obtaining the information on the recipient, and storing the conversation history information. Analyzing and generating and storing language habit information of the user or language habit information of the counterpart; and converting at least a portion of the text may correspond to the recipient among the stored language habit information of the counterpart. Loading language habit information or language habit information of the user, and converting at least a portion of the text into text corresponding to the loaded language habit information.

또한, 상기 방법은, 상기 수신자에 대한 정보를 획득하는 단계 이전에, 적어도 하나 이상의 종류의 사회적 관계 각각에 대응하는 금칙어 정보, 상기 사회적 관계 각각에 대응하는 추천 대화 템플릿 정보, 일반 상식 정보, 또는 최근 뉴스 정보 중에서 적어도 하나 이상을 수집하여 저장하는 단계를 더 포함하고, 상기 수신자에 대한 정보를 획득하는 단계 이후 상기 텍스트를 수신하는 단계 이전에, 상기 금칙어 정보, 상기 추천 대화 템플릿 정보, 상기 일반 상식 정보, 상기 최근 뉴스 정보 중에서 상기 수신자에 대응하는 정보를 검색하는 단계, 및 상기 검색된 정보를 표시하는 단계를 더 포함할 수 있다.In addition, the method may include, before acquiring information about the recipient, banned word information corresponding to each of at least one or more types of social relations, recommendation dialogue template information corresponding to each of the social relations, general common sense information, or recent information. And collecting and storing at least one of news information, and before receiving the text after obtaining the information on the recipient, the banned information, the recommended conversation template information, and the general common sense information. The method may further include searching for information corresponding to the receiver among the recent news information, and displaying the searched information.

또한, 상기 방법은, 상기 수신자에 대한 정보를 획득하는 단계 이전에, 일반 상식 정보, 또는 최근 뉴스 정보 중에서 적어도 하나 이상을 수집하여 저장하는 단계를 더 포함하고, 상기 텍스트의 적어도 일부를 변환하는 단계는, 상기 텍스트 중에서 상기 일반 상식 정보 또는 상기 최근 뉴스 정보와 서로 모순되는 내용의 텍스트를 검출하는 단계, 및 상기 검출된 텍스트를 상기 일반 상식 정보 또는 상기 최근 뉴스 정보에 대응하는 텍스트로 변환하는 단계를 포함할 수 있다.The method may further include collecting and storing at least one of general common sense information or recent news information before obtaining the information on the recipient, and converting at least a portion of the text. The method may further include detecting a text having a content inconsistent with the general common sense information or the latest news information, and converting the detected text into text corresponding to the general common sense information or the recent news information. It may include.

실시예에 따른 전자장치는, 사용자로부터 텍스트를 수신하는 입력부, 및 적어도 하나 이상의 수신자에 대한 정보를 획득하고, 상기 획득된 수신자에 대한 정보에 따라 상기 텍스트의 적어도 일부를 변환하는 제어부를 포함할 수 있다.An electronic device according to an embodiment may include an input unit that receives text from a user, and a controller that obtains information on at least one or more recipients, and converts at least a portion of the text according to the obtained receiver information. have.

또한, 상기 수신자에 대한 정보는 상기 수신자가 사용하는 언어에 대한 정보를 포함하고, 상기 제어부는, 상기 수신자가 사용하는 언어에 대한 정보에 따라 상기 텍스트의 적어도 일부를 다른 언어의 텍스트로 변환할 수 있다.The information on the receiver may include information on a language used by the receiver, and the controller may convert at least a portion of the text into text of another language according to the information on the language used by the receiver. have.

또한, 상기 수신된 텍스트는 적어도 둘 이상의 서로 다른 언어로 구성되고, 상기 제어부는, 상기 텍스트를 구성하는 상기 언어의 상대적인 비율에 따라, 상기 텍스트의 적어도 일부를 다른 언어의 텍스트로 변환할 수 있다.In addition, the received text is composed of at least two different languages, and the controller may convert at least a portion of the text into text of another language according to a relative ratio of the languages constituting the text.

또한, 상기 제어부는, 상기 사용자에 대한 정보를 획득하고, 상기 사용자 및 상기 수신자 사이의 사회적 관계를 인식하고, 상기 인식된 사회적 관계에 따라 상기 텍스트의 적어도 일부를 상기 사회적 관계에 대응하는 텍스트로 변환할 수 있다.The controller may be further configured to obtain information about the user, recognize a social relationship between the user and the receiver, and convert at least a portion of the text into text corresponding to the social relationship according to the recognized social relationship. can do.

또한, 상기 제어부는, 복수의 수신자에 대한 정보를 획득하고, 상기 복수의 수신자 중에서 대표 수신자를 결정하고, 상기 대표 수신자에 대한 정보에 따라 상기 텍스트의 적어도 일부를 변환할 수 있다.The controller may obtain information about a plurality of recipients, determine a representative recipient from among the plurality of recipients, and convert at least a portion of the text according to the information on the representative recipients.

또한, 상기 제어부는, 상기 복수의 수신자 중에서 수신자의 나이, 성별, 국적, 언어, 종교, 직업, 소재지, 지위 중에서 적어도 하나 이상을 기초로 하여 상기 대표 수신자를 결정할 수 있다.The controller may determine the representative receiver based on at least one of a plurality of recipients, among at least one of a recipient's age, gender, nationality, language, religion, occupation, location, and status.

또한, 상기 전자장치는, 상기 사용자의 신상 정보, 사회적 관계 정보, 언어 습관 정보, 관심사 정보, 또는 선호 정보 중에서 적어도 하나 이상을 수집하여 저장하고, 상기 사용자와 사회적 관계가 형성된 적어도 하나 이상의 상대방의 신상 정보, 사회적 관계 정보, 언어 습관 정보, 관심사 정보 또는 선호 정보 중에서 적어도 하나 이상을 수집하여 저장하고, 상기 사용자와 상기 적어도 하나 이상의 상대방 사이의 대화 이력 정보를 수집하여 저장하는 저장부를 더 포함하고, 상기 제어부는, 상기 저장된 정보 중에서 상기 수신자에 관련된 정보를 검색하고, 상기 검색된 정보를 기초로 하여 상기 텍스트에 포함된 오류를 정정하거나 또는 상기 텍스트 중에서 적어도 일부를 상기 검색된 정보에 대응하는 텍스트로 변환할 수 있다.In addition, the electronic device collects and stores at least one or more of personal information, social relationship information, language habit information, interest information, or preference information of the user, and the personal information of at least one or more counterparts having a social relationship with the user. And a storage unit for collecting and storing at least one or more of information, social relation information, language habit information, interest information, or preference information, and collecting and storing conversation history information between the user and the at least one or more counterparts. The controller may search for information related to the receiver from the stored information, correct an error included in the text based on the found information, or convert at least a portion of the text into text corresponding to the searched information. have.

또한, 상기 전자장치는, 상기 사용자와 사회적 관계가 형성된 적어도 하나 이상의 상대방과 상기 사용자 사이의 대화 이력 정보를 수집하여 저장하고, 상기 대화 이력 정보를 분석하여 상기 사용자의 언어 습관 정보 또는 상기 상대방의 언어 습관 정보를 생성하고 저장하는 저장부를 더 포함하고, 상기 제어부는, 상기 저장된 상대방의 언어 습관 정보 중에서 상기 수신자에 대응하는 언어 습관 정보 또는 상기 사용자의 언어 습관 정보를 로드하고, 상기 텍스트 중에서 적어도 일부를 상기 로드된 언어 습관 정보에 대응하는 텍스트로 변환할 수 있다.The electronic device may collect and store conversation history information between the user and at least one or more counterparts having a social relationship with the user, and analyze the conversation history information to determine the language habit information of the user or the language of the other party. The apparatus may further include a storage unit configured to generate and store habit information, wherein the controller is configured to load language habit information corresponding to the receiver or language habit information of the user from among the stored language habit information of the counterpart, and at least a portion of the text. The text may be converted into text corresponding to the loaded language habit information.

또한, 상기 전자장치는, 적어도 하나 이상의 종류의 사회적 관계 각각에 대응하는 금칙어 정보, 상기 사회적 관계 각각에 대응하는 추천 대화 템플릿 정보, 일반 상식 정보, 또는 최근 뉴스 정보 중에서 적어도 하나 이상을 수집하여 저장하는 저장부를 더 포함하고, 상기 제어부는, 상기 금칙어 정보, 상기 추천 대화 템플릿 정보, 상기 일반 상식 정보, 상기 최근 뉴스 정보 중에서 상기 수신자에 대응하는 정보를 검색하고, 상기 검색된 정보를 디스플레이에 표시할 수 있다.In addition, the electronic device collects and stores at least one of banned words information corresponding to each of at least one or more types of social relationships, recommended dialogue template information, general common sense information, or recent news information corresponding to each of the social relationships. The apparatus may further include a storage unit, wherein the controller may search for information corresponding to the receiver among the banned word information, the recommended conversation template information, the general common sense information, and the recent news information, and display the retrieved information on a display. .

또한, 상기 전자장치는, 일반 상식 정보, 또는 최근 뉴스 정보 중에서 적어도 하나 이상을 수집하여 저장하는 저장부를 더 포함하고, 상기 제어부는, 상기 텍스트 중에서 상기 일반 상식 정보 또는 상기 최근 뉴스 정보와 서로 모순되는 내용의 텍스트를 검출하고, 상기 검출된 텍스트를 상기 일반 상식 정보 또는 상기 최근 뉴스 정보에 대응하는 텍스트로 변환할 수 있다.The electronic device may further include a storage unit which collects and stores at least one of general common sense information or recent news information, and wherein the controller is inconsistent with the general common sense information or the recent news information in the text. The text of the content may be detected, and the detected text may be converted into text corresponding to the general common sense information or the recent news information.

본 발명에서 사용되는 용어는 본 발명에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 당 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서, 본 발명에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 발명의 전반에 걸친 내용을 토대로 정의되어야 한다.The terms used in the present invention have been selected as widely used general terms as possible in consideration of the functions in the present invention, but this may vary according to the intention or precedent of the person skilled in the art, the emergence of new technologies and the like. In addition, in certain cases, there is also a term arbitrarily selected by the applicant, in which case the meaning will be described in detail in the description of the invention. Therefore, the terms used in the present invention should be defined based on the meanings of the terms and the contents throughout the present invention, rather than the names of the simple terms.

명세서 전체에서 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 구성요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있음을 의미한다. 또한, 명세서에 기재된 "~부", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다.When a part of the specification is to "include" any component, this means that it may further include other components, except to exclude the component unless otherwise stated. In addition, the terms "~ unit", "module", etc. described in the specification mean a unit for processing at least one function or operation, which may be implemented in hardware or software or a combination of hardware and software.

아래에서는 첨부한 도면을 참고하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고, 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. In the drawings, parts irrelevant to the description are omitted for simplicity of explanation, and like reference numerals designate like parts throughout the specification.

도 1은 본 발명의 일 실시예에 따른 텍스트를 편집하기 위한 방법에 대한 개념도를 도시한다.1 is a conceptual diagram of a method for editing text according to an embodiment of the present invention.

일 실시예에서, 전자장치(100)는 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 태블릿 PC, 전자책 단말기, 디지털 방송용 단말기, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 네비게이션, MP3 플레이어, 디지털 카메라, 착용형 기기(wearable device)(예: 안경, 손목 시계) 등이 있을 수 있으나, 이에 한정되지 않는다.In an embodiment, the electronic device 100 may be a mobile phone, a smart phone, a laptop computer, a tablet PC, an e-book device, a digital broadcasting terminal, a personal digital assistant (PDA), a portable multimedia player (PMP). ), Navigation, MP3 players, digital cameras, wearable devices (eg, glasses, wrist watches) and the like, but are not limited thereto.

이하에서, '사용자'는 텍스트를 생성, 또는 생성된 텍스트를 전송하는 사람을 지칭하고, 실시예에 따라 '사용자'는 '송신자'와 혼용하기로 한다. '수신자'는 생성 또는 편집된 텍스트를 수신할 사람을 지칭하기로 한다.Hereinafter, 'user' refers to a person who generates text or transmits the generated text, and according to an embodiment, 'user' is used interchangeably with 'sender'. 'Recipient' refers to a person to receive the generated or edited text.

도 1을 참조하면, 전자장치(100)는 사용자 입력에 기반하여 텍스트를 생성(또는 작성)할 수 있다. 예를 들어, 전자장치(100)는 입력부(예: 키보드 등)를 통해 사용자로부터 텍스트의 제목, 본문을 작성하기 위한 입력을 수신할 수 있다. 전자장치(100)는 수신된 입력에 기반하여, 텍스트를 생성할 수 있다.Referring to FIG. 1, the electronic device 100 may generate (or create) text based on a user input. For example, the electronic device 100 may receive an input for creating a title and a body of text from a user through an input unit (eg, a keyboard). The electronic device 100 may generate text based on the received input.

일 실시예에서, 전자장치(100)는 수신자에 대한 정보를 획득할 수 있다. 예를 들어 이메일의 경우, 전자장치(100)는 수신자 입력란(120)을 통해 입력된 수신자 이름(예: "Kim xx")을 획득할 수 있다. 다른 예에서, 전자장치(100)는 수신자에 대한 정보로서, 수신자 이름뿐만 아니라 수신자가 소속된 부서, 수신자의 직위 등에 대한 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 저장부를 검색함으로써 수신자의 이름에 매칭되는 수신자의 소속 부서 및 수신자의 직위 등과 같은 수신자에 대한 정보를 획득할 수 있다. 다만, 수신자에 대한 정보를 획득하는 방법은 이에 제한되지 않는다.In an embodiment, the electronic device 100 may obtain information about the receiver. For example, in the case of an e-mail, the electronic device 100 may obtain a recipient name (eg, “Kim xx”) input through the recipient input box 120. In another example, the electronic device 100 may obtain information about the recipient as well as the name of the recipient, the department to which the recipient belongs, the title of the recipient, and the like. For example, the electronic device 100 may obtain information about the receiver such as a department of the receiver and the title of the receiver that match the name of the receiver by searching the storage unit. However, the method of obtaining information about the receiver is not limited thereto.

일 실시예에서, 전자장치(100)는 수신자에 대한 정보에 기반하여 텍스트의 적어도 일부를 변환(또는 변경)할 수 있다. 예를 들어, 전자장치(100)는 수신자에 대한 정보에 기반하여, 텍스트의 언어, 텍스트 구조, 텍스트 표현 등을 변환할 수 있다.In an embodiment, the electronic device 100 may convert (or change) at least a portion of the text based on the information about the receiver. For example, the electronic device 100 may convert the language, text structure, text representation, and the like of the text based on the information on the receiver.

예를 들어, 전자장치(100)는 수신자에 대한 정보로서, 수신자의 지위 정보를 획득할 수 있다. 전자장치(100)는 수신자의 지위가 사용자의 지위보다 높은 것으로 확인되는 경우, 텍스트의 적어도 일부를 변환할 수 있다. 예를 들어, 도 1에서, 전자장치(100)는 수신자 "Kim xx"의 지위가 사용자 입력란(110)에 입력된 사용자 "Kang yy"의 지위 보다 높은 경우, 전자장치(100)는 텍스트의 도입부에 입력된 "Dear Kim, note that"을 동일 또는 유사한 의미를 가지며, 공적인 표현 또는 정중한 표현으로서 "please be noted that"으로 변환할 수 있다.For example, the electronic device 100 may obtain status information of the receiver as information on the receiver. When it is determined that the status of the receiver is higher than that of the user, the electronic apparatus 100 may convert at least a portion of the text. For example, in FIG. 1, when the status of the receiver “Kim xx” is higher than the status of the user “Kang yy” input in the user input box 110, the electronic device 100 may include an introduction portion of text. "Dear Kim, note that" entered in has the same or similar meaning, and can be converted into "please be noted that" as an official expression or polite expression.

일 실시예에서, 전자장치(100)는 추천 텍스트 및 추천 텍스트로의 변환 여부를 선택하기 위한 표시를 출력할 수 있다. 예를 들어, 도 1에 도시된 바와 같이, 전자장치(100)는 추천 텍스트로서 "please be noted that"을 출력하기 위한 창(window)(130) 및 추천 텍스트로의 변환 여부를 선택하기 위한 버튼(140, 150) 등을 출력할 수 있다. 전자장치(100)가 "Y" 버튼(140)에 대한 입력을 수신하는 경우, 전자장치(100)는 "Dear Kim, note that"을 "please be noted that"로 변환할 수 있다. 전자장치(100)가 "N" 버튼(150)에 대한 입력을 수신하는 경우, 전자장치(100)는 텍스트 변환 없이 현재 텍스트 "Dear all, note Kim"을 유지할 수 있다.According to an embodiment, the electronic device 100 may output a recommendation text and a display for selecting whether to convert the recommendation text into recommendation text. For example, as shown in FIG. 1, the electronic device 100 may display a window 130 for outputting "please be noted that" as the recommendation text and a button for selecting whether to convert to the recommendation text. 140 and 150 can be output. When the electronic device 100 receives an input for the “Y” button 140, the electronic device 100 may convert “Dear Kim, note that” into “please be noted that”. When the electronic device 100 receives an input for the "N" button 150, the electronic device 100 may maintain the current text "Dear all, note Kim" without converting the text.

이와 같이, 본 발명의 다양한 실시예에 따른 전자장치(100)의 텍스트를 편집하는 방법은 텍스트를 수신자 정보에 기반하여 텍스트(또는 텍스트 표현)의 적어도 일부를 변환할 수 있다.As described above, in the method of editing the text of the electronic device 100 according to various embodiments of the present disclosure, the text may be converted to at least a portion of the text (or text representation) based on the receiver information.

이하 도 2 내지 도 13을 참조하여 전자장치(100)의 텍스트를 편집하는 방법에 대하여 보다 상세히 설명하도록 한다.Hereinafter, a method of editing text of the electronic device 100 will be described in more detail with reference to FIGS. 2 to 13.

도 2는 본 발명의 일 실시예에 따른 텍스트를 편집하기 위한 방법에 대한 전체적인 흐름도를 도시한다.2 shows an overall flow diagram of a method for editing text according to an embodiment of the present invention.

도 2를 참조하면, 과정 201에서 전자장치(100)는 사용자 입력에 기반하여 텍스트를 생성할 수 있다. 과정 201 및 과정 203은 수행되는 순서가 서로 바뀌더라도 무방하다.Referring to FIG. 2, in operation 201, the electronic device 100 may generate text based on a user input. Steps 201 and 203 may be performed in a different order.

일 실시예에서, 전자장치(100)는 입력부(예: 키보드, 키패드 등)를 통해 입력된 사용자 입력에 기반하여 텍스트를 생성할 수 있다. 예를 들어, 전자장치(100)는 사용자로부터 입력부를 통해 텍스트를 구성할 문자, 숫자 등을 입력 받을 수 있다. 일 실시예에서, 전자장치(100)는 전문 워드 프로세싱 어플리케이션(예: Microsoft Office Word) 등을 이용하여 텍스트를 생성할 수 있다.According to an embodiment, the electronic device 100 may generate text based on a user input input through an input unit (eg, a keyboard, a keypad, etc.). For example, the electronic device 100 may receive a character, a number, etc. that will constitute text through an input unit from the user. In an embodiment, the electronic device 100 may generate text using a professional word processing application (eg, Microsoft Office Word).

다른 실시예에서, 전자장치(100)는 기저장된 텍스트를 불러옴으로써 텍스트를 생성할 수 있다. 예를 들어, 전자장치(100)는 저장부에 저장된 문서, 이메일, 문자 메시지 등을 불러옴으로써 새로운 텍스트를 생성할 수 있다.In another embodiment, the electronic device 100 may generate text by reading previously stored text. For example, the electronic device 100 may generate new text by reading a document, an email, a text message, or the like stored in the storage unit.

또 다른 실시예에서, 전자장치(100)는 외부 전자장치(100)로부터 수신된 텍스트에 대한 응답(reply), 전달(reply) 기능을 수행함으로써, 텍스트를 생성할 수 있다. 예를 들어, 전자장치(100)는 이메일(e-mail), 또는 문자 메시지 등을 수신하고, 수신된 이메일 또는 문자 메시지 등에 대하여 응답(reply), 또는 전달(forward) 기능을 실행함으로써, 새롭게 텍스트를 생성할 수 있다.In another embodiment, the electronic device 100 may generate text by performing a reply and a reply function on the text received from the external electronic device 100. For example, the electronic device 100 receives an e-mail or a text message and performs a reply or forward function on the received e-mail or a text message, thereby newly refreshing the text. Can be generated.

또 다른 실시예에서, 전자장치(100)는 인스턴트 메시징 어플리케이션, 예를 들어, 외부 전자장치(100)와 실시간으로 채팅 기능을 수행하는 어플리케이션이 실행되는 동안, 사용자로부터의 입력을 통해 텍스트를 생성할 수 있다.In another embodiment, the electronic device 100 may generate text through input from a user while an instant messaging application, for example, an application that performs a chat function in real time with the external electronic device 100, is executed. Can be.

또 다른 실시예에서, 전자장치(100)는 마이크로 블로그(micro blog) 또는 온라인 커뮤니티 내에서 게시(또는 포스트)하기 위한 텍스트를 생성할 수 있다.In another embodiment, the electronic device 100 may generate text for posting (or posting) within a micro blog or online community.

다만, 이에 제한되지 않으며, 전자장치(100)는 다양한 방법으로 텍스트를 생성할 수 있다.However, the present invention is not limited thereto, and the electronic device 100 may generate text in various ways.

과정 203에서, 전자장치(100)는 수신자에 대한 정보를 획득할 수 있다. 예를 들어, 이메일 주소 입력란에 사용자로부터 수신자의 이메일 주소가 입력되면, 전자장치(100)는 이메일 주소에 기반하여 이메일 주소에 해당하는 수신자에 대한 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 이메일 주소에 매핑되어 저장된 수신자 정보, 예를 들어, 수신자 이름, 나이, 성별, 수신자 소속 부서, 수신자 지위 등에 대한 정보를 획득할 수 있다.In operation 203, the electronic device 100 may obtain information about the receiver. For example, when an email address of a receiver is input from a user in an email address input box, the electronic device 100 may obtain information about a recipient corresponding to the email address based on the email address. For example, the electronic device 100 may obtain recipient information mapped to an email address and stored, for example, information on a recipient name, age, gender, a department belonging to a recipient, a recipient status, and the like.

다른 예에서, 문자 메시지 수신자 입력란에 수신자 전화 번호가 입력되는 경우, 전자장치(100)는 입력된 수신자 전화 번호에 기반하여 수신자 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 폰 북 검색을 통해, 수신자 전화 번호에 매핑되어 저장된 수신자의 이름, 나이, 성별, 수신자 소속 부서, 및 수신자 지위 등에 대한 정보를 획득할 수 있다.In another example, when the receiver phone number is input in the text message receiver input box, the electronic device 100 may obtain receiver information based on the input receiver phone number. For example, the electronic device 100 may acquire information on a name, age, gender, a recipient's department, and a recipient's status of the recipient, which are mapped and stored in the recipient's telephone number, through a phone book search.

또 다른 예에서, 인스턴트 메시징 어플리케이션을 통해 상대방과 채팅하는 경우, 전자장치(100)는 채팅에 참여하는 상대방 즉, 메시지 수신자에 대한 정보를 인스턴트 메시징 서비스를 제공하는 서버로부터 수신자 정보를 획득할 수 있다.In another example, when chatting with a counterpart via an instant messaging application, the electronic device 100 may obtain receiver information from a server that provides an instant messaging service with information about a counterpart participating in the chat, that is, a message receiver. .

또 다른 예에서, 전자장치(100)는 생성된 텍스트 분석을 통해 수신자에 대한 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 텍스트 내 서두 부분, 말미 부분, 또는 제목에 위치하는 수신자 이름, 수신자의 지위 등에 대한 정보를 획득할 수 있다. 예를 들어, 텍스트의 서두 부분이 "Dear Kim xx"을 포함하는 경우, 전자장치(100)는 텍스트의 복수의 문단들 중 첫 번째 문단을 텍스트의 서두 부분으로 결정할 수 있다. "Dear Kim xx"가 텍스트의 서두 부분에 포함되는 결정되면, 전자장치(100)는 "Dear Kim xx" 중 단어 "Dear" 바로 뒤에 배치된 "Kim xx"를 수신자로 결정할 수 있다. 전자장치(100)는 수신자가 결정되면, 폰 북, 연락처 등을 검색함으로써 수신자에 매핑된 수신자에 대한 정보를 획득할 수 있다.In another example, the electronic device 100 may obtain information about the receiver through the generated text analysis. For example, the electronic device 100 may obtain information about a recipient name, a recipient's position, and the like located at the beginning, end, or title of the text. For example, when the first part of the text includes “Dear Kim xx,” the electronic device 100 may determine the first paragraph of the plurality of paragraphs of the text as the first part of the text. When it is determined that "Dear Kim xx" is included in the beginning of the text, the electronic device 100 may determine "Kim xx" disposed immediately after the word "Dear" of "Dear Kim xx" as a receiver. When the receiver is determined, the electronic device 100 may obtain information about the receiver mapped to the receiver by searching for a phone book or a contact.

또 다른 예에서, 전자장치(100)는 마이크로 블로그 등에 텍스트가 입력되는 경우, 수신자를 불특정인으로 결정할 수 있다.In another example, when text is input to a micro blog or the like, the electronic device 100 may determine that the receiver is unspecified.

다만, 수신자 정보를 획득하는 방법은 위에 열거한 예에 제한되지 않는다.However, the method of obtaining the receiver information is not limited to the examples listed above.

일 실시예에서, 전자장치(100)는 수신자 정보 외에 텍스트를 생성, 또는 텍스트를 전송하는 사용자에 대한 정보를 더 획득할 수 있다. 예를 들어, 전자장치(100)는 이메일 주소 입력란에 입력된 사용자(또는 송신자) 이메일 주소에 기반하여 사용자에 대한 정보를 획득할 수 있다. 다른 예에서, 전자장치(100)는 문자 메시지 송신자 입력란에 입력된 사용자 전화 번호 또는 사용자 이름에 기반하여 사용자에 대한 정보를 획득할 수 있다. 또 다른 예에서, 전자장치(100)는 전자장치(100) 기기 자체로부터 사용자에 대한 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 전자장치(100)의 SIM(Subscriber Identification Module) 카드로부터 사용자에 대한 정보를 획득할 수 있다.According to an embodiment of the present disclosure, the electronic device 100 may further obtain information about a user who generates text or transmits text in addition to the receiver information. For example, the electronic device 100 may obtain information about the user based on the user (or sender) email address entered in the email address input box. In another example, the electronic device 100 may obtain information about the user based on the user's telephone number or the user's name input in the text message sender input box. In another example, the electronic device 100 may obtain information about a user from the device itself. For example, the electronic device 100 may obtain information about a user from a subscriber identification module (SIM) card of the electronic device 100.

또 다른 예에서, 전자장치(100)는 생성된 텍스트 분석을 통해 사용자에 대한 정보를 더 획득할 수 있다. 예를 들어, 전자장치(100)는 텍스트 내 서두 부분, 말미 부분, 또는 제목에 위치하는 사용자 이름, 사용자의 지위 등에 대한 정보를 획득할 수 있다. 예를 들어, 텍스트의 말미 부분이 "From Kang yy"를 포함하는 경우, 전자장치(100)는 복수의 문단들 중 마지막 문단을 텍스트 말미 부분으로 결정할 수 있다. "From Kang yy"가 텍스트의 말미 부분에 포함되는 것으로 결정되면, 전자장치(100)는 "From Kang yy" 중 단어 "From" 바로 뒤에 배치된 "Kang yy"를 사용자(또는 사용자 이름)로 결정할 수 있다. 전자장치(100)는 사용자가 결정되면, 폰 북, 연락처 등을 검색함으로써 사용자에 매핑된 사용자에 대한 정보를 획득할 수 있다.In another example, the electronic device 100 may further obtain information about the user through the generated text analysis. For example, the electronic device 100 may obtain information about a user name, a user's position, and the like located at the beginning, end, or title of the text. For example, when the end portion of the text includes “From Kang yy,” the electronic device 100 may determine the last paragraph among the plurality of paragraphs as the end portion of the text. If it is determined that "From Kang yy" is included at the end of the text, the electronic device 100 determines that "Kang yy" placed immediately after the word "From" of "From Kang yy" as a user (or user name). Can be. When the user is determined, the electronic device 100 may obtain information about the user mapped to the user by searching for a phone book or a contact.

과정 205에서, 전자장치(100)는 수신자에 대한 정보에 기반하여, 텍스트의 적어도 일부를 변환할 수 있다.In operation 205, the electronic device 100 may convert at least a portion of the text based on the information about the receiver.

일 실시예에서, 전자장치(100)는 수신자에 대한 정보에 기반하여, 텍스트의 언어를 변환할 수 있다. 예를 들어, 전자장치(100)는 수신자가 사용하는 언어, 또는 생성된 텍스트를 구성하는 언어 비율에 따라 생성된 텍스트의 언어를 변환할 수 있다.In an embodiment, the electronic device 100 may convert the language of the text based on the information about the receiver. For example, the electronic device 100 may convert the language of the generated text according to the language used by the receiver or the language ratio constituting the generated text.

다른 실시예에서, 전자장치(100)는 수신자에 대한 정보에 기반하여, 문단 구조를 변환할 수 있다. 예를 들어, 전자장치(100)는 사용자 및 수신자 간 이전에 송수신되었던 텍스트의 문단 구조 및 현재 생성된 텍스트의 문단 구조를 확인할 수 있다. 일 실시예에서, 텍스트의 문단 구조는 요약-상세한 설명-결론 순으로 배열된 구조, 상세한 설명-결론 순으로 배열된 구조, 또는 요약-상세 설명 순으로 배열된 구조 등일 수 있다. 다만, 텍스트의 문단 구조는 이에 제한되지 않는다. 일 실시예에서, 전자장치(100)는 문단에 포함된 접속사, 또는 부사 등의 단어 또는 절을 확인함으로써, 문단이 요약, 상세한 설명, 또는 결론에 해당되는지를 결정할 수 있다. 예를 들어, 전자장치(100)가 문단 내, 예를 들어, 문단의 서두 부분에 "Simply", "In short" 등의 단어 또는 절이 포함된 것을 확인하면, 전자장치(100)는 문단을 요약에 해당하는 것으로 결정할 수 있다. 다른 예에서, 전자장치(100)가 문단 내에 "Particularly", "Specially", 또는 "Concretely" 등의 단어 또는 절이 포함된 것을 확인하면, 전자장치(100)는 문단을 상세한 설명에 해당하는 것으로 결정할 수 있다.In another embodiment, the electronic device 100 may convert the paragraph structure based on the information about the receiver. For example, the electronic device 100 may check the paragraph structure of the text previously transmitted and received between the user and the receiver, and the paragraph structure of the currently generated text. In one embodiment, the paragraph structure of the text may be a structure arranged in summary-detailed description-conclusion order, a structure arranged in detailed description-conclusion order, or a structure arranged in summary-detailed description order. However, the paragraph structure of the text is not limited thereto. In an embodiment, the electronic device 100 may determine whether a paragraph corresponds to a summary, a detailed description, or a conclusion by identifying a word or a phrase such as an conjunction or an adverb included in the paragraph. For example, when the electronic device 100 determines that a word or a phrase such as “Simply” or “In short” is included in the paragraph, for example, the beginning of the paragraph, the electronic device 100 summarizes the paragraph. Can be determined to correspond to. In another example, if the electronic device 100 determines that a word or phrase such as "Particularly", "Specially", or "Concretely" is included in the paragraph, the electronic device 100 determines that the paragraph corresponds to the detailed description. Can be.

또 다른 예에서, 전자장치(100)가 문단 내에 "In conclusion", "In result", "Thus" 등의 단어 또는 절이 포함된 것을 확인하면, 전자장치(100)는 문단이 결론에 해당하는 것으로 결정할 수 있다. 다만, 본 발명의 기술적 사상은 전술한 예에 제한되지 않는다.In another example, when the electronic device 100 determines that a word or a phrase such as "In conclusion", "In result", "Thus", etc. is included in a paragraph, the electronic device 100 determines that the paragraph corresponds to the conclusion. You can decide. However, the technical idea of the present invention is not limited to the above examples.

일 실시예에서, 전자장치(100)는 사용자 및 수신자 간 이전에 송수신되었던 텍스트의 문단 구조 및 현재 생성된 텍스트의 문단 구조가 불일치하는 경우, 전자장치(100)는 사용자 및 수신자 간 이전에 송수신되었던 텍스트의 문단 구조에 일치하도록 현재 생성된 텍스트의 문단 구조를 변환할 수 있다. 예를 들어, 사용자 A가 수신자 B에게 전송하였던 이메일 텍스트 문단 구조가 요약 후 상세한 설명 순으로 배열되는 구조이고, 현재 생성된 텍스트의 문단 구조가 상세한 설명 후 요약 순으로 배열되는 구조인 경우, 전자장치(100)는 현재 생성된 텍스트의 문단 구조를 요약 후 상세한 설명 순으로 배열되는 구조로 변환할 수 있다.In an embodiment, if the paragraph structure of the text previously transmitted and received between the user and the receiver and the paragraph structure of the currently generated text are inconsistent, the electronic device 100 may have previously transmitted and received between the user and the recipient. You can convert the paragraph structure of the currently generated text to match the paragraph structure of the text. For example, if the email text paragraph structure that user A sent to recipient B is arranged in the order of summary after detailed description, and the paragraph structure of the currently generated text is arranged in order of summary after detailed description, the electronic device In operation 100, the paragraph structure of the currently generated text may be converted into a structure arranged after the summary and detailed description.

일 실시예에서, 전자장치(100)는 수신자 정보에 기반하여, 현재 생성된 텍스트의 문장 구조를 변환할 수 있다. 일 실시예에서, 문장 구조는 하나의 문장 내에서 단어, 또는 절의 배열 구조(또는 순서)일 수 있다. 일 실시예에서, 전자장치(100)는 사용자 및 수신자 간 이전에 송수신되었던 텍스트의 문장 구조를 확인할 수 있다. 전자장치(100)는 확인된 문장 구조에 따라, 텍스트의 문장 구조를 변환할 수 있다. 예를 들어, 현재 생성된 텍스트가 일반적인 주어, 목적어, 서술어 등으로 구성되는 경우, 전자장치(100)는 사용자 및 수신자 간 이전에 송수신되었던 텍스트의 문장 구조가 육하원칙에 의해 절 단위로 구성된 문장 구조인 것으로 확인할 수 있다. 예를 들어, 현재 생성된 텍스트의 문장 구조가 "The meeting will take place in the first conference room at 3:00 pm today"인 경우, 전자장치(100)는 "For today's meeting, the time is 3:00 pm, and the location is the first conference room"로 문장 구조를 변환할 수 있다.In an embodiment, the electronic device 100 may convert the sentence structure of the currently generated text based on the receiver information. In one embodiment, the sentence structure may be an arrangement structure (or order) of words or clauses in one sentence. In an embodiment, the electronic device 100 may check the sentence structure of the text previously transmitted and received between the user and the receiver. The electronic device 100 may convert the sentence structure of the text according to the confirmed sentence structure. For example, when the currently generated text is composed of a general subject, an object, a descriptor, and the like, the electronic device 100 may have a sentence structure in which the sentence structure of the text previously transmitted and received between the user and the receiver is composed of sections based on six principles. It can be confirmed that. For example, if the sentence structure of the currently generated text is "The meeting will take place in the first conference room at 3:00 pm today", the electronic device 100 may read "For today's meeting, the time is 3:00". pm, and the location is the first conference room ".

일 실시예에서, 전자장치(100)는 수신자 정보에 기반하여, 현재 생성된 텍스트의 용어 등을 변환할 수 있다. 예를 들어, 전자장치(100)는 수신자에 대한 정보에 따라, 현재 생성된 텍스트 내의 단어, 절, 또는 문장을 동일 또는 유사한 의미를 가지는 단어, 절, 또는 문장으로 변환할 수 있다. 예를 들어, 현재 생성된 텍스트의 말미 부분에 "Lots of love"이 포함되고, 전자장치(100)가 수신자로부터 이전에 수신되었던 텍스트의 말미 부분에 "yours lovingly"가 포함되어 있음을 확인하는 경우, 전자장치(100)는 "Lots of love"를 "yours lovingly"로 변환할 수 있다. 다른 예에서, 전자장치(100)는 수신자에 대한 정보, 예를 들어, 수신자의 지위 등에 기반하여, 현재 생성된 텍스트의 예절 표현을 변환할 수 있다. 예를 들어, 전자장치(100)는 수신자가 사용자 보다 높은 지위에 있거나 연장자인 경우, 현재 생성된 텍스트를 보다 예절 있는 표현으로 변환할 수 있다. 예를 들어, 현재 생성된 텍스트가 "Thank you"인 경우, 전자장치(100)는 현재 생성된 텍스트를 "Thank you very much for your understanding and assistance"와 같이 예절을 갖춘 표현으로 텍스트를 변환할 수 있다. 다른 예에서, 현재 생성된 텍스트가 "Sorry to bother"인 경우, 전자장치(100)는 현재 생성된 텍스트를 "Excuse me"와 같이 예절을 갖춘 표현(또는 예절을 갖춘 표현으로 일반적으로 사용되는 표현)으로 텍스트를 변환할 수 있다.According to an embodiment of the present disclosure, the electronic device 100 may convert a term or the like of the currently generated text based on the receiver information. For example, the electronic device 100 may convert a word, a clause, or a sentence in the currently generated text into a word, a clause, or a sentence having the same or similar meaning according to the information on the receiver. For example, when the end of the currently generated text includes "Lots of love", and the electronic device 100 confirms that the end of the text previously received from the receiver includes "yours lovingly". The electronic device 100 may convert "Lots of love" into "yours lovingly". In another example, the electronic device 100 may convert the etiquette representation of the currently generated text based on information about the receiver, for example, the status of the receiver. For example, the electronic device 100 may convert the currently generated text into a more polite expression when the receiver is in a higher position than the user or is an elder. For example, if the currently generated text is "Thank you", the electronic device 100 may convert the currently generated text into a polite expression such as "Thank you very much for your understanding and assistance". have. In another example, when the currently generated text is "Sorry to bother", the electronic device 100 may display the currently generated text as an etiquette expression (or an etiquette expression commonly used as "Excuse me"). ) Can be converted into text.

일 실시예에서, 전자장치(100)는 생성된 텍스트 부분 중 변환이 결정된 텍스트 부분을 변환되지 않는 다른 텍스트 부분과 구별되도록 표시할 수 있다. 예를 들어, 전자장치(100)는 변환이 결정된 텍스트의 일부를 다른 텍스트 부분과 구별하기 위하여 변환이 결정된 텍스트의 색상, 굵기, 크기, 음영 등을 두드러지도록 표시할 수 있다. 다른 실시예에서, 전자장치(100)는 변환될 텍스트(또는 추천 텍스트)를 표시할 수 있다. 예를 들어, 전자장치(100)는 변환이 결정된 텍스트 주변 영역에 별도의 창을 통해 변환될 텍스트를 표시할 수 있다.According to an embodiment of the present disclosure, the electronic device 100 may display the text portion of the generated text portion to be distinguished from other text portions that are not converted. For example, the electronic device 100 may display the color, thickness, size, shadow, etc. of the text in which the conversion is determined to distinguish the part of the text in which the conversion is determined from other text parts. In another embodiment, the electronic device 100 may display text to be converted (or recommendation text). For example, the electronic device 100 may display the text to be converted through a separate window in an area around the text where the conversion is determined.

다른 실시예에 따르면, 수신자에 대한 정보를 획득하는 과정 203 이후에 사용자 입력에 기반하여 텍스트를 생성하는 과정 201이 수행될 수 있다. 또한, 수신자에 대한 정보를 획득하는 과정 203 이전에, 사용자의 신상 정보, 사회적 관계 정보, 언어 습관 정보, 관심사 정보, 또는 선호 정보 중에서 적어도 하나 이상을 수집하여 저장하는 과정, 상기 사용자와 사회적 관계가 형성된 적어도 하나 이상의 상대방의 신상 정보, 사회적 관계 정보, 언어 습관 정보, 관심사 정보 또는 선호 정보 중에서 적어도 하나 이상을 수집하여 저장하는 과정, 및 상기 사용자와 상기 적어도 하나 이상의 상대방 사이의 대화 이력 정보를 수집하여 저장하는 과정이 더 수행될 수 있다.According to another embodiment, after the process 203 of obtaining information about the receiver, a process 201 of generating text based on a user input may be performed. In addition, before the process of obtaining information on the recipient 203, the process of collecting and storing at least one or more of the user's personal information, social relationship information, language habit information, interest information, or preference information, the social relationship with the user Collecting and storing at least one or more of formed personal information, social relationship information, language habit information, interest information, or preference information of at least one counterpart; and collecting conversation history information between the user and the at least one counterpart; The storing process may be further performed.

신상 정보는 나이, 성별, 국적, 언어, 종교, 직업, 소재지, 지위 중에서 적어도 하나 이상을 포함할 수 있다. 사회적 관계 정보는 사용자와 사회적 관계가 형성된 상대방에 대한 정보 및 상기 형성된 사회적 관계의 종류에 대한 정보를 포함할 수 있다. 언어 습관 정보는 사용자의 말투, 사투리, 또는 자주 사용하는 표현 등에 대한 정보를 포함할 수 있다. 관심사 정보는 사용자의 특기, 취미, 또는 관심 주제 등에 대한 정보를 포함할 수 있다. 선호 정보는 사용자가 선호하는 기타 대화 규칙, 대화 방법, 또는 대화 정책 등에 대한 정보를 포함할 수 있다.The personal information may include at least one of age, gender, nationality, language, religion, occupation, location, and status. The social relationship information may include information on a counterpart in which a social relationship is formed with the user and information on the type of the social relationship. The language habit information may include information about a user's tone, dialect, or frequently used expression. Interest information may include information about the user's skills, hobbies, or topics of interest. The preference information may include information about other conversation rules, conversation methods, or conversation policies that the user prefers.

또한, 상기 텍스트의 적어도 일부를 변환하는 과정 205은, 상기 저장된 정보 중에서 상기 수신자에 관련된 정보를 검색하는 과정, 및 상기 검색된 정보를 기초로 하여, 상기 텍스트에 포함된 오류를 정정하거나 또는 상기 텍스트 중에서 적어도 일부를 상기 검색된 정보에 대응하는 텍스트로 변환하는 과정을 포함할 수 있다.In addition, the step 205 of converting at least a portion of the text may include retrieving information related to the receiver from the stored information, and correcting an error included in the text based on the retrieved information or from among the text. The method may include converting at least a portion of the text into text corresponding to the retrieved information.

또 다른 실시예에 따르면, 수신자에 대한 정보를 획득하는 과정 203 이후에 사용자 입력에 기반하여 텍스트를 생성하는 과정 201이 수행될 수 있다. 또한, 상기 수신자에 대한 정보를 획득하는 과정 203 이전에, 상기 사용자와 사회적 관계가 형성된 적어도 하나 이상의 상대방과 상기 사용자 사이의 대화 이력 정보를 수집하여 저장하는 과정, 및 상기 대화 이력 정보를 분석하여 상기 사용자의 언어 습관 정보 또는 상기 상대방의 언어 습관 정보를 생성하고 저장하는 과정이 더 수행될 수 있다. 언어 습관 정보는 사용자의 말투, 사투리, 또는 자주 사용하는 표현 등에 대한 정보를 포함할 수 있다.According to another embodiment, after the process 203 of obtaining information about the receiver, a process 201 of generating text based on a user input may be performed. The method may further include: collecting and storing conversation history information between the user and at least one or more counterpart with whom the user has a social relationship before acquiring information on the recipient, and analyzing the conversation history information. The process of generating and storing language habit information of the user or language habit information of the counterpart may be further performed. The language habit information may include information about a user's tone, dialect, or frequently used expression.

또한, 상기 텍스트의 적어도 일부를 변환하는 과정 205는, 상기 저장된 상대방의 언어 습관 정보 중에서 상기 수신자에 대응하는 언어 습관 정보 또는 상기 사용자의 언어 습관 정보를 로드하는 과정, 및 상기 텍스트 중에서 적어도 일부를 상기 로드된 언어 습관 정보에 대응하는 텍스트로 변환하는 과정을 포함할 수 있다.The converting of at least a portion of the text may include loading language habit information corresponding to the receiver or language habit information of the user from among the stored language habit information of the counterpart; And converting the text into text corresponding to the loaded language habit information.

또 다른 실시예에 따르면, 수신자에 대한 정보를 획득하는 과정 203 이후에 사용자 입력에 기반하여 텍스트를 생성하는 과정 201이 수행될 수 있다. 또한, 상기 수신자에 대한 정보를 획득하는 과정 203 이전에, 적어도 하나 이상의 종류의 사회적 관계 각각에 대응하는 금칙어 정보, 상기 사회적 관계 각각에 대응하는 추천 대화 템플릿 정보, 일반 상식 정보, 또는 최근 뉴스 정보 중에서 적어도 하나 이상을 수집하여 저장하는 과정이 더 수행될 수 있다.According to another embodiment, after the process 203 of obtaining information about the receiver, a process 201 of generating text based on a user input may be performed. In addition, before the process 203 of obtaining information about the recipient, from among banned words information corresponding to each of at least one or more types of social relations, recommended dialogue template information corresponding to each of the social relations, general common sense information, or recent news information. The process of collecting and storing at least one or more may be performed.

금칙어 정보는 특정한 종류의 사회적 관계에서 사용해선 안되거나 사용하지 않는 편이 권장되는 금칙어에 대한 정보를 포함할 수 있다. 예를 들어, 상대방이 자신의 직장 상사인 경우 경어에 해당하는 단어들은 금칙어로서 지정될 수 있다. 추천 대화 템플릿 정보는 특정한 종류의 사회적 관계가 형성된 상대방과 진행될 수 있는 대화의 여러 가지 템플릿을 포함할 수 있다. 상기 템플릿은 사용자로부터 구체적인 텍스트를 수신하기 이전에 디스플레이에 표시됨으로써, 사용자가 텍스트를 더 용이하고 간편하게 입력할 수 있도록 사용자를 도와줄 수 있다.Banned word information may include information about banned words that should or should not be used in certain types of social relationships. For example, when the other party is his / her boss, words corresponding to the honor words may be designated as banned words. The recommended conversation template information may include various templates of a conversation that may be conducted with a counterpart having a certain kind of social relationship formed. The template may be displayed on the display before receiving specific text from the user, thereby helping the user to enter the text more easily and simply.

또한, 상기 텍스트를 수신하는 과정 201 이전에, 상기 금칙어 정보, 상기 추천 대화 템플릿 정보, 상기 일반 상식 정보, 상기 최근 뉴스 정보 중에서 상기 수신자에 대응하는 정보를 검색하는 과정, 및 상기 검색된 정보를 표시하는 과정이 더 수행될 수 있다.In addition, before the step 201 of receiving the text, searching for information corresponding to the receiver among the banned information, the recommended conversation template information, the general common sense information, and the recent news information, and displaying the retrieved information. The process can be further performed.

또 다른 실시예에 따르면, 수신자에 대한 정보를 획득하는 과정 203 이후에 사용자 입력에 기반하여 텍스트를 생성하는 과정 201이 수행될 수 있다. 또한, 상기 수신자에 대한 정보를 획득하는 과정 203 이전에, 일반 상식 정보, 또는 최근 뉴스 정보 중에서 적어도 하나 이상을 수집하여 저장하는 과정을 더 수행될 수 있다.According to another embodiment, after the process 203 of obtaining information about the receiver, a process 201 of generating text based on a user input may be performed. In addition, before the process 203 of obtaining the information on the receiver, the process of collecting and storing at least one or more of general common sense information or recent news information may be further performed.

또한, 상기 텍스트의 적어도 일부를 변환하는 과정 205는, 상기 텍스트 중에서 상기 일반 상식 정보 또는 상기 최근 뉴스 정보와 서로 모순되는 내용의 텍스트를 검출하는 과정, 및 상기 검출된 텍스트를 상기 일반 상식 정보 또는 상기 최근 뉴스 정보에 대응하는 텍스트로 변환하는 과정을 포함할 수 있다.In addition, the step 205 of converting at least a part of the text may include detecting a text having content inconsistent with the general common sense information or the latest news information among the text, and converting the detected text into the general common sense information or the And converting the text into text corresponding to recent news information.

이하 도 3 내지 도 13을 참조하여, 수신자에 대한 정보에 따라 텍스트를 편집하는 방법에 대하여 보다 상세하게 설명하도록 한다.Hereinafter, a method of editing text according to information about a receiver will be described in more detail with reference to FIGS. 3 to 13.

도 3은 본 발명의 일 실시예에 따른 텍스트를 편집하기 위한 방법을 설명하기 위한 흐름도이다.3 is a flowchart illustrating a method for editing text according to an embodiment of the present invention.

도 3을 참조하면, 과정 301에서 전자장치(100)는 사용자 입력에 기반하여 텍스트를 생성할 수 있다. 과정 301은 도 2의 과정 201과 중복되므로 상세한 설명은 생략하도록 한다.Referring to FIG. 3, in operation 301, the electronic device 100 may generate text based on a user input. Process 301 is redundant with process 201 of FIG. 2, and thus a detailed description thereof will be omitted.

과정 303에서, 전자장치(100)는 수신자가 사용하는 언어에 대한 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 수신자의 이메일 주소, 전화 번호, 수신자 이름 등의 수신자에 대한 정보가 획득되면, 수신자에 대한 정보에 매핑된 수신자의 국적에 대한 정보를 확인할 수 있다. 전자장치(100)는 수신자의 국적에 해당하는 국가에서 사용하는 언어를 확인함으로써, 사용자가 사용하는 언어에 대한 정보를 획득할 수 있다. 다른 예에서, 전자장치(100)는 이전에 사용자 및 수신자 간 송수신되었던 텍스트의 언어에 기반하여 수신자가 사용하는 언어에 대한 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 텍스트가 송신될 수신자로부터 수신되었던 텍스트의 언어를 확인함으로써, 수신자가 사용하는 언어에 대한 정보를 획득할 수 있다. 다만, 수신자가 사용하는 언어를 획득하는 방법은 위에서 열거한 예에 제한되지 않는다.In operation 303, the electronic device 100 may obtain information about a language used by the receiver. For example, when the electronic device 100 obtains information on the recipient such as the recipient's e-mail address, telephone number, recipient name, etc., the electronic device 100 may check the information on the nationality of the recipient mapped to the information on the recipient. The electronic device 100 may obtain information about a language used by the user by checking a language used in a country corresponding to the nationality of the receiver. In another example, the electronic device 100 may obtain information about a language used by the receiver based on the language of the text previously transmitted and received between the user and the receiver. For example, the electronic device 100 may obtain information about a language used by the receiver by confirming the language of the text received from the receiver to which the text is to be transmitted. However, the method of obtaining the language used by the receiver is not limited to the examples listed above.

일 실시예에서, 수신자가 사용하는 언어는 세계어 또는 토착어일 수 있다. 세계어는 국가 또는 지역 별 표준 언어일 수 있다. 예를 들어, 세계어는 영어, 중국어, 한국어, 또는 일어일 수 있다. 토착어는 하나의 세계어 내에서 세부 지역에서 사용되는 언어일 수 있다. 예를 들어, 세계어가 중국어인 경우, 토착어는 광둥어, 또는 타이완어일 수 있다.In one embodiment, the language used by the recipient may be a global or indigenous language. The world language may be a national or regional standard language. For example, the world language may be English, Chinese, Korean, or Japanese. The indigenous language may be a language used in a specific region within one world language. For example, if the world language is Chinese, the native language may be Cantonese or Taiwanese.

과정 305에서, 전자장치(100)는 수신자가 사용하는 언어에 따라 텍스트의 적어도 일부를 변환할 수 있다.In operation 305, the electronic device 100 may convert at least a portion of the text according to the language used by the receiver.

일 실시예에서, 전자장치(100)는 생성된 텍스트를 수신자가 사용하는 언어의 텍스트로 변환할 수 있다. 예를 들어, 텍스트가 영어로 생성된 상태에서, 수신자가 사용하는 언어가 중국어인 것으로 확인되면, 전자장치(100)는 영어로 생성된 텍스트를 중국어의 텍스트로 변환할 수 있다. 일 실시예에서, 전자장치(100)는 언어 번역 프로그램을 이용하여 현재 생성된 텍스트를 사용자가 사용하는 언어의 텍스트로 변환할 수 있다. 다른 예에서, 전자장치(100)는 텍스트가 토착어로 생성된 상태에서, 수신자가 사용하는 언어가 세계어(또는 표준어)로 확인되면, 전자장치(100)는 토착어로 생성된 텍스트를 세계어의 텍스트로 변환할 수 있다.In an embodiment, the electronic device 100 may convert the generated text into text of a language used by the receiver. For example, when it is confirmed that the language used by the receiver is Chinese while the text is generated in English, the electronic device 100 may convert the text generated in English into text in Chinese. According to an embodiment, the electronic device 100 may convert text currently generated into text of a language used by a user using a language translation program. In another example, when the electronic device 100 generates text as a native language, and the language used by the receiver is identified as a world language (or a standard language), the electronic device 100 may convert the text generated as a native language into a world language. You can convert it to text.

일 실시예에서, 전자장치(100)는 생성된 텍스트의 언어 비율에 따라 텍스트의 적어도 일부를 변환할 수 있다. 예를 들어, 텍스트의 언어가 복수인 경우, 생성된 텍스트 내에서 복수의 언어의 비율은 다를 수 있다. 전자장치(100)는 텍스트 내 복수의 언어 중 가장 높은 비율을 가진 언어로 텍스트 내의 언어를 변환할 수 있다. 예를 들어, 텍스트 내에 영어 및 중국어가 혼합되어 있고 대부분의 텍스트가 중국어 텍스트인 경우, 전자장치(100)는 영어의 텍스트를 중국어 텍스트로 변환할 수 있다.In an embodiment, the electronic device 100 may convert at least a portion of the text according to the language ratio of the generated text. For example, if the language of the text is plural, the ratio of the plural languages in the generated text may be different. The electronic device 100 may convert a language in the text into a language having the highest ratio among the plurality of languages in the text. For example, if English and Chinese are mixed in the text and most of the text is Chinese text, the electronic device 100 may convert the English text into Chinese text.

도 4는 본 발명의 일 실시예에 따라 수신자가 사용하는 언어에 따라 텍스트를 편집하기 위한 방법을 설명하기 위한 흐름도이다.4 is a flowchart illustrating a method for editing text according to a language used by a receiver according to an embodiment of the present invention.

도 4를 참조하면, 401 및 403은 인스턴트 메시지 어플리케이션이 실행되는 화면을 나타낸다. 401에서, 사용자가 한국어로 "당신은 매우 아름답습니다"라는 문장을 입력하고, 전송을 위한 버튼을 선택하는 경우, 전자장치(100)는 수신자에 대한 정보로서, 수신자가 사용하는 언어에 대한 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 인스턴트 메시지 서비스에 가입된 수신자(또는 상대방)에 대한 정보(예: 수신자 이름("Susan"), 서비스에 가입된 수신자 아이디 등)를 서버로부터 획득할 수 있다. 일 실시예에서, 전자장치(100)는 획득된 수신자 정보에 기반하여 수신자가 사용하는 언어에 대한 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 수신자 이름에 매칭된 수신자의 국적 등을 확인하고, 수신자 국적에 해당하는 언어를 수신자가 사용하는 언어로 결정할 수 있다. 다른 예에서, 전자장치(100)는 이전에 사용자 및 수신자 간 송수신되었던 인스턴트 메시지의 언어에 기반하여 수신자가 사용하는 언어에 대한 정보를 획득할 수 있다. 전자장치(100)는 이전에 수신자에게 송신하였던 메시지의 언어를 확인하고, 확인된 메시지의 언어를 수신자가 사용하는 언어로 결정할 수 있다.Referring to FIG. 4, 401 and 403 show screens on which an instant message application is executed. In 401, when the user inputs a sentence "You are very beautiful" in Korean and selects a button for transmission, the electronic device 100 may provide information about a language used by the receiver as information about the receiver. Can be obtained. For example, the electronic device 100 may obtain information (eg, a recipient name (“Susan”), a recipient ID subscribed to a service, etc.) of a receiver (or a counterpart) subscribed to an instant message service from a server. . In an embodiment, the electronic device 100 may obtain information about a language used by the receiver based on the obtained receiver information. For example, the electronic device 100 may check the nationality of the recipient matched with the recipient name and determine the language corresponding to the recipient nationality as the language used by the receiver. In another example, the electronic device 100 may obtain information about a language used by the receiver based on the language of the instant message previously transmitted and received between the user and the receiver. The electronic device 100 may check the language of the message previously transmitted to the receiver, and determine the language of the confirmed message as the language used by the receiver.

403에서 수신자가 사용하는 언어가 영어로 결정되는 경우, 전자장치(100)는 한국어로 입력된 "당신은 매우 아름답습니다"를 영어의 "You are so beautiful"로 변환하고, 변환된 영어 텍스트를 수신자 전자장치(100)로 송신할 수 있다.If the language used by the receiver is determined in English at 403, the electronic device 100 converts "You are so beautiful" input into Korean into "You are so beautiful" in English, and converts the converted English text to the receiver. The electronic device may transmit to the electronic device 100.

도 5는 본 발명의 일 실시예에 따라 텍스트의 언어 비율에 따라 텍스트를 편집하기 위한 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a method for editing text according to a language ratio of text according to an embodiment of the present invention.

도 5를 참조하면, 501 및 503은 인스턴트 메시지 어플리케이션이 실행되는 화면을 나타낸다. 501에서, 사용자가 한국어 및 영어가 혼합된 텍스트 "이후의 cooperation을 목적으로 그쪽의 progress를 follow하려 합니다. reply 빨리 부탁드립니다."를 입력하는 경우, 전자장치(100)는 한국어 및 영어의 비율을 확인할 수 있다. 예를 들어, 전자장치(100)는 텍스트 내에서 한국어로 입력된 단어의 개수 및 영어로 입력된 단어의 개수를 비교하고, 전자장치(100)는 한국어로 입력된 단어의 개수가 영어로 입력된 단어의 개수 보다 많음을 확인할 수 있다. 전자장치(100)는 영어로 입력된 텍스트를 영어에 비하여 높은 비율을 갖는 한국어의 텍스트로 변환할 수 있다. 예를 들어, 전자장치(100)는 영어로 입력된 텍스트 "cooperation", "progress", "follow" 각각을 "합작", "진도", "회답"으로 변환할 수 있다.Referring to FIG. 5, 501 and 503 represent screens on which an instant message application is executed. At 501, if the user enters a text that is a mixture of Korean and English, "I want to follow your progress for future cooperation purposes. Please reply quickly.", The electronic device 100 determines the ratio of Korean and English. You can check it. For example, the electronic device 100 compares the number of words input in Korean and the number of words input in English in the text, and the electronic device 100 compares the number of words input in Korean in English. You can see that the number of words is more than. The electronic device 100 may convert text input in English into Korean text having a higher ratio than English. For example, the electronic device 100 may convert each of the texts "cooperation", "progress", and "follow" input in English into "collaboration", "progress", and "answer".

503에 도시된 바와 같이, 전자장치(100)는 낮은 비율을 가지는 영어 텍스트를 보다 높은 비율을 가지는 한국어 텍스트로 변환할 수 있다. 전자장치(100)는 메시지 전체를 한국어 텍스트 "이후의 합작을 목적으로 그쪽의 진도를 따라 하려 합니다. 회답 빨리 부탁 드립니다"로 변환할 수 있다.As illustrated in 503, the electronic device 100 may convert English text having a lower ratio into Korean text having a higher ratio. The electronic device 100 may convert the entire message into the Korean text "We will try to follow your progress for the purpose of subsequent collaboration. Please reply quickly."

도 6은 본 발명의 다른 실시예에 따른 텍스트를 편집하기 위한 방법을 설명하기 위한 흐름도이다.6 is a flowchart illustrating a method for editing text according to another embodiment of the present invention.

도 6을 참조하면, 과정 601에서, 전자장치(100)는 사용자 입력에 기반하여 텍스트를 생성할 수 있다. 과정 603에서, 전자장치(100)는 수신자에 대한 정보를 획득할 수 있다. 과정 601 및 과정 603은 도 2의 과정 201 및 과정 203과 중복되므로 상세한 설명은 생략하도록 한다.Referring to FIG. 6, in operation 601, the electronic device 100 may generate text based on a user input. In operation 603, the electronic device 100 may obtain information about the receiver. Processes 601 and 603 overlap with process 201 and process 203 of FIG. 2, so a detailed description thereof will be omitted.

과정 605에서, 전자장치(100)는 사용자 및 수신자 간 사회적 관계를 인식할 수 있다. 예를 들어, 전자장치(100)는 사용자 및 수신자의 사회적 지위에 따라, 사용자에 비하여 수신자가 높은 지위에 있거나, 낮은 지위에 있는 것으로 결정할 수 있다. 다른 예에서, 전자장치(100)는 사용자 및 수신자의 나이에 따라, 사용자에 비하여 수신자가 연장자이거나, 연소자임을 결정할 수 있다.In operation 605, the electronic device 100 may recognize a social relationship between the user and the receiver. For example, the electronic device 100 may determine that the receiver is in a high position or low position relative to the user according to the social positions of the user and the receiver. In another example, the electronic device 100 may determine that the receiver is an elder or a burner compared to the user according to the age of the user and the receiver.

과정 607에서, 전자장치(100)는 사용자 및 수신자 간 사회적 관계에 따라 텍스트의 적어도 일부를 상기 사회적 관계에 대응하는 텍스트로 변환할 수 있다. 예를 들어, 수신자의 지위가 사용자의 지위 보다 높거나, 수신자의 나이가 사용자의 나이 보다 많은 경우, 전자장치(100)는 현재 생성된 텍스트를 보다 예절(또는 격식)을 갖춘 텍스트로 변환할 수 있다. 전자장치(100)는 현재 생성된 텍스트와 동일하거나 유사한 의미를 가지며, 예절(또는 격식)을 갖춘 텍스트로 변환할 수 있다. 다른 예에서, 수신자의 지위가 사용자의 지위 보다 낮거나, 수신자의 나이가 사용자의 나이 보다 적은 경우, 전자장치(100)는 이모티콘(예: 어색함, 우울, 슬픔, 또는 난감함을 나타내는 이모티콘) 등을 텍스트에 부가할 수 있다. 다만, 이는 예시이며, 본 발명의 기술적 사상은 이에 제한되지 않는다.In operation 607, the electronic device 100 may convert at least a portion of the text into text corresponding to the social relationship according to the social relationship between the user and the receiver. For example, if the recipient's status is higher than the user's status or the recipient's age is older than the user's age, the electronic device 100 may convert the currently generated text into more polite (or formal) text. have. The electronic device 100 may have the same or similar meaning as the currently generated text, and may be converted into text having etiquette (or formality). In another example, when the status of the receiver is lower than the status of the user or the age of the receiver is less than the age of the user, the electronic device 100 may display emoticons (eg, emoticons indicating awkwardness, depression, sadness, or embarrassment). Can be added to the text. However, this is only an example, and the technical spirit of the present invention is not limited thereto.

도 7은 본 발명의 또 다른 실시예에 따른 텍스트를 편집하기 위한 방법을 설명하기 위한 흐름도이다.7 is a flowchart illustrating a method for editing text according to another embodiment of the present invention.

도 7을 참조하면, 과정 701에서 전자장치(100)는 사용자 입력에 기반하여 텍스트를 생성할 수 있다. 과정 701은 도 2의 과정 201과 중복되므로 상세한 설명은 생략하도록 한다.Referring to FIG. 7, in operation 701, the electronic device 100 may generate text based on a user input. Process 701 is overlapped with process 201 of FIG. 2, so a detailed description thereof will be omitted.

과정 703에서, 전자장치(100)는 복수의 수신자에 대한 정보를 획득할 수 있다. 예를 들어, 수신자 이메일 주소 입력란에 복수의 이메일 주소가 입력되면, 전자장치(100)는 복수의 이메일 주소 각각에 상응하는 수신자에 대한 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 이메일 주소에 매핑되어 저장된 수신자에 대한 정보, 예를 들어, 수신자 이름, 나이, 성별, 수신자 소속 부서, 수신자 지위 등에 대한 정보를 획득할 수 있다.In operation 703, the electronic device 100 may obtain information about a plurality of recipients. For example, when a plurality of email addresses are input in the recipient email address input box, the electronic device 100 may obtain information about a recipient corresponding to each of the plurality of email addresses. For example, the electronic device 100 may obtain information about a recipient mapped and stored in an e-mail address, for example, information on a recipient name, age, gender, a department belonging to a recipient, a recipient status, and the like.

다른 예에서, 문자 메시지 수신자 입력란에 복수의 전화 번호가 입력되면, 전자장치(100)는 입력된 복수의 수신자 전화 번호에 해당하는 복수의 수신자 정보를 획득할 수 있다. 또 다른 예에서, 인스턴트 메시징 어플리케이션을 통해 복수의 상대방과 채팅하는 경우, 전자장치(100)는 인스턴트 메시지 서비스를 제공하는 서버로부터 복수의 수신자에 대한 정보를 획득하거나, 서버로부터 복수의 수신자 아이디에 대한 정보를 수신하여, 수신된 복수의 수신자 아이디에 매칭되어 저장된 수신자 정보를 획득할 수 있다.In another example, when a plurality of telephone numbers are input in the text message receiver input box, the electronic device 100 may obtain a plurality of receiver information corresponding to the input plurality of receiver telephone numbers. In another example, when chatting with a plurality of parties through an instant messaging application, the electronic device 100 obtains information on a plurality of recipients from a server providing an instant message service, or from a server for a plurality of recipient IDs. By receiving the information, the receiver information matched with the plurality of received receiver IDs can be obtained.

다만, 복수의 수신자에 대한 정보를 획득하는 방법은 이에 제한되지 않는다.However, the method of obtaining information about the plurality of recipients is not limited thereto.

과정 705에서, 전자장치(100)는 복수의 수신자가 특정인인지 결정할 수 있다. 예를 들어, 전자장치(100)는 블로그(blog) 상에 텍스트를 생성되는 경우와 같이 수신자를 입력할 필요가 없이 텍스트를 전송하거나 게시할 수 있는 경우, 수신자를 불특정인으로 결정할 수 있다. 다른 예에서, 전자장치(100)는 수신자가 개인이 아닌 회사(또는 회사의 하부 부서)인 경우와 같이 개인을 특정할 수 없는 경우, 수신자를 불특정인으로 결정할 수 있다. 일 실시예에서, 전자장치(100)는 수신자가 특정 가능한 개인인 경우, 수신자를 특정인으로 결정할 수 있다. 예를 들어, 이메일 수신자 입력란에 복수의 개인 이메일 주소가 입력되는 경우, 전자장치(100)는 복수의 개인 이메일 주소에 해당하는 수신자 각각을 특정인으로 결정할 수 있다.In operation 705, the electronic device 100 may determine whether the plurality of recipients is a specific person. For example, the electronic device 100 may determine the recipient as unspecified when it is possible to transmit or post the text without having to input the recipient, such as when text is generated on a blog. In another example, the electronic device 100 may determine the recipient as unspecified when the recipient cannot be specified, such as when the recipient is a company (or a subordinate department of the company). In an embodiment, when the receiver is a specific person, the electronic device 100 may determine the receiver as a specific person. For example, when a plurality of personal email addresses are input in the email recipient input box, the electronic device 100 may determine each recipient corresponding to the plurality of personal email addresses as a specific person.

과정 707에서, 과정 705에서 전자장치(100)가 복수의 수신자가 특정인이 아닌 것으로 결정하면(즉, 불특정인으로 결정하면), 전자장치(100)는 현재 생성된 텍스트를 공적인 표현의 텍스트로 변환할 수 있다. 예를 들어, 수신자가 'xx Administration and management department'와 같이 회사 내 부서인 경우, 전자장치(100)는 현재 생성된 텍스트를 공적으로 표현된(또는 격식을 갖춰 표현된) 텍스트로 변환할 수 있다. 다만, 이는 예시이며 이에 제한되지 않는다. 예를 들어, 블로그(blog) 상에 텍스트가 생성되고, 수신자가 불특정인 경우, 전자장치(100)는 이모티콘(예: 어색함, 우울, 슬픔, 또는 난감함을 나타내는 이모티콘) 등을 텍스트에 부가할 수 있다.In operation 707, when the electronic device 100 determines that the plurality of receivers are not specific persons (that is, determining non-specific persons) in operation 705, the electronic device 100 converts the currently generated text into the text of the public expression. can do. For example, when the receiver is a department in a company such as 'xx Administration and management department', the electronic device 100 may convert the currently generated text into publicly expressed (or formalized) text. . However, this is an example and is not limited thereto. For example, when text is generated on a blog and the receiver is unspecified, the electronic device 100 may add an emoticon (eg, an emoticon indicating awkwardness, depression, sadness, or embarrassment) to the text. Can be.

과정 709에서, 과정 705에서 전자장치(100)가 복수의 수신자를 특정인으로 결정하면, 전자장치(100)는 복수의 수신자 중 대표 수신자를 결정할 수 있다. 일 실시예에서, 대표 수신자는 복수의 수신자 중 텍스트 변환을 결정하기 위한 기준이 되는 수신자일 수 있다. 일 실시예에서, 전자장치(100)는 복수의 수신자 간 사회적 관계를 기준으로 대표 수신자를 결정할 수 있다. 일 실시예에서, 전자장치(100)는 복수의 수신자의 속성 정보에 기반하여, 복수의 수신자 간 사회적 관계를 인식할 수 있다. 속성 정보는 수신자의 자연발생적인 속성 및 사회적인 속성에 대한 정보를 포함할 수 있다. 예를 들어, 자연발생적인 속성은 수신자의 나이, 성별 등일 수 있다. 사회적인 속성은 수신자의 국적, 모국어, 종교, 직업, 일하는 위치, 직장 내 지위 등을 포함할 수 있다. 다만, 이에 제한되지 않는다. 일 실시예에서, 전자장치(100)는 저장부에 기저장된 정보 검색, 사용자 및 수신자 간 송수신되었던 텍스트 기록 검색, 또는 온라인 검색 등을 통해 수신자의 속성 정보를 획득할 수 있다. 일 실시예에서, 전자장치(100)는 수신자들의 속성 정보를 비교함으로써, 수신자들 간 사회적인 관계를 결정할 수 있다. 예를 들어, 전자장치(100)는 수신자들의 나이에 대한 정보를 획득하고, 수신자들의 나이를 비교함으로써, 가장 나이가 많은 수신자를 결정할 수 있다. 전자장치(100)는 수신자들 중 가장 나이가 많은 수신자를 대표 수신자로 결정할 수 있다. 다른 예에서, 전자장치(100)는 수신자들의 국적에 대한 정보를 획득할 수 있다. 전자장치(100)는 수신자들의 국적을 비교하여 외국인이 있는 경우, 외국인에 해당하는 수신자를 대표 수신자로 결정할 수 있다. 또 다른 예에서, 전자장치(100)는 수신자들의 성별 정보를 획득할 수 있다. 전자장치(100)는 수신자들 중 여성이 있는 경우, 여성에 해당하는 수신자를 대표 수신자로 결정할 수 있다. 다만, 대표 수신자를 결정하는 방법은 이에 제한되지 않는다.In operation 709, when the electronic device 100 determines a plurality of recipients as a specific person in operation 705, the electronic device 100 may determine a representative receiver among the plurality of recipients. In one embodiment, the representative recipient may be a recipient that is a reference for determining text conversion among a plurality of recipients. In an embodiment, the electronic device 100 may determine the representative recipient based on the social relationship between the plurality of recipients. In an embodiment, the electronic device 100 may recognize a social relationship between the plurality of receivers based on the attribute information of the plurality of receivers. Attribute information may include information about naturally occurring and social attributes of the recipient. For example, the naturally occurring attribute may be the age, gender, etc. of the recipient. Social attributes may include the recipient's nationality, native language, religion, occupation, work location, status in the workplace, and so on. However, the present invention is not limited thereto. According to an embodiment, the electronic device 100 may obtain attribute information of the receiver through information retrieval previously stored in the storage unit, text record retrieval between the user and the receiver, or online retrieval. In an embodiment, the electronic device 100 may determine the social relationship between the receivers by comparing attribute information of the receivers. For example, the electronic device 100 may determine the oldest recipient by obtaining information about the age of the recipients and comparing the ages of the recipients. The electronic device 100 may determine the oldest receiver among the receivers as the representative receiver. In another example, the electronic device 100 may obtain information about nationalities of recipients. The electronic device 100 may determine the recipient corresponding to the foreign person as the representative recipient when there are foreigners by comparing the nationalities of the recipients. In another example, the electronic device 100 may obtain gender information of recipients. If there is a female among the receivers, the electronic device 100 may determine a receiver corresponding to the female as the representative receiver. However, the method of determining the representative recipient is not limited thereto.

과정 711에서, 전자장치(100)는 결정된 대표 수신자에 대한 정보에 기반하여, 텍스트의 적어도 일부를 변환할 수 있다. 예를 들어, 현재 생성된 텍스트가 중국어로 표현된 텍스트이고, 대표 수신자가 사용하는 언어가 영어인 경우, 전자장치(100)는 중국어로 표현된 텍스트를 영어 텍스트로 변환할 수 있다. 다른 예에서, 대표 수신자의 사회적 지위가 사용자의 지위 보다 높은 것으로 결정되면, 전자장치(100)는 예절을 갖춘 표현(또는 공적인 표현)으로 텍스트의 표현을 변환할 수 있다.In operation 711, the electronic device 100 may convert at least a portion of the text based on the determined information about the representative receiver. For example, when the currently generated text is text expressed in Chinese and the language used by the representative receiver is English, the electronic device 100 may convert the text expressed in Chinese into English text. In another example, if it is determined that the social status of the representative recipient is higher than that of the user, the electronic device 100 may convert the textual representation into a polite expression (or a public expression).

도 8은 본 발명의 또 다른 실시예에 따른 텍스트를 편집하기 위한 방법을 설명하기 위한 예시도이다.8 is an exemplary view for explaining a method for editing text according to another embodiment of the present invention.

도 8을 참조하면, 801은 이메일 상에서 생성된 텍스트를 나타내는 화면을 도시한다. 전자장치(100)는 송신자 입력란을 통해 입력된 사용자 "User X"에 대한 정보를 획득하고, 수신자 입력란을 통해 입력된 복수의 수신자 "User A", "User B", 및 "User C"에 대한 정보를 획득할 수 있다.Referring to FIG. 8, 801 illustrates a screen representing text generated on an email. The electronic device 100 obtains information on the user "User X" input through the sender input box, and the plurality of recipients "User A", "User B", and "User C" input through the receiver input box. Information can be obtained.

일 실시예에서, 전자장치(100)는 복수의 수신자 "User A", "User B", 및 "User C"의 속성 정보를 획득할 수 있다. 예를 들어, 전자장치(100)는 복수의 수신자 "User A", "User B", 및 "User C" 각각에 매칭되어 저장된 복수의 수신자에 대한 속성 정보를 획득할 수 있다. 예를 들어, 803에 도시된 바와 같이, 복수의 수신자 "User A", "User B", 및 "User C" 각각에 대한 이름, 성별, 나이, 국적, 소속 기관, 지위, 종교 등에 대한 속성 정보를 획득할 수 있다. 일 실시예에서, 전자장치(100)는 복수의 수신자 "User A", "User B", 및 "User C" 각각이 특정 가능한 개인임을 확인하고, 수신자를 복수의 특정인(또는 특정 수신자)으로 결정할 수 있다.In an embodiment, the electronic device 100 may obtain attribute information of the plurality of receivers "User A", "User B", and "User C". For example, the electronic device 100 may obtain attribute information about the plurality of receivers that are matched with and stored in each of the plurality of receivers “User A”, “User B”, and “User C”. For example, as shown at 803, attribute information about the name, gender, age, nationality, institution, status, religion, etc. for each of the plurality of recipients "User A", "User B", and "User C", respectively. Can be obtained. In one embodiment, the electronic device 100 determines that each of the plurality of recipients "User A", "User B", and "User C" is a specific possible individual, and determines the receiver as a plurality of specific persons (or specific recipients). Can be.

일 실시예에서, 전자장치(100)는 복수의 수신자 "User A", "User B", 및 "User C" 중 대표 수신자를 결정할 수 있다. 예를 들어, 전자장치(100)는 획득된 속성 정보에 기반하여 대표 수신자를 결정할 수 있다. 예를 들어, 803에서, 전자장치(100)는 "User A" 및 "User B"는 지위가 선생이고, "User C"의 지위는 학생임을 확인할 수 있다. 전자장치(100)는 "User A"의 나이가 "User B" 보다 많음을 확인할 수 있다. 전자장치(100)는 속성 정보로서 지위 및 나이에 기반하여, "User A"를 대표 수신자로 결정할 수 있다. 다른 예에서, 전자장치(100)는 "User A"가 남성이고, "User B"는 여성임을 확인할 수 있다. 예를 들어, 전자장치(100)가 대표 수신자를 결정하기 위한 설정으로서, 남성에 보다 여성에 우선 순위가 부여된 경우, 전자장치(100)는 지위 및 성별에 기반하여, "User B"를 대표 수신자로 결정할 수 있다. 다만, 이는 예시이며 본 발명의 기술적 사상은 이에 제한되지 않는다. 예를 들어, 전자장치(100)는 대표 수신자를 결정하기 위한 설정으로서, 종교의 유무에 우선 순위가 부여된 경우, "User A"를 키 사용자로 결정할 수 있다.In an embodiment, the electronic device 100 may determine a representative receiver from among the plurality of receivers “User A”, “User B”, and “User C”. For example, the electronic device 100 may determine the representative receiver based on the acquired attribute information. For example, at 803, the electronic device 100 may identify that "User A" and "User B" are teachers, and that "User C" is a student. The electronic device 100 may confirm that the age of “User A” is greater than “User B”. The electronic device 100 may determine “User A” as the representative receiver based on the status and age as the attribute information. In another example, the electronic device 100 may identify that "User A" is male and "User B" is female. For example, when the electronic device 100 is set to determine the representative recipient, and the male is given priority to the female, the electronic device 100 may represent the "User B" based on the status and gender. Can be determined by the receiver. However, this is only an example and the technical spirit of the present invention is not limited thereto. For example, the electronic device 100 is a setting for determining a representative receiver. When priority is given to the presence or absence of religion, the electronic device 100 may determine "User A" as a key user.

일 실시예에서, 전자장치(100)는 복수의 수신자 "User A", "User B", 및 "User C" 중 대표 수신자가 결정되면, 대표 수신자에 대한 정보에 기반하여 텍스트의 적어도 일부를 변환할 수 있다. 예를 들어, 대표 수신자가 "User A"로 결정된 경우, 전자장치(100)는 사용자 "User X" 및 대표 수신자 "User A" 간 송수신된 텍스트에 기반하여, 텍스트의 적어도 일부를 변환할 수 있다. 예를 들어, 전자장치(100)는 텍스트 말미 부분에 생성된 "Best and thanks"를 "Yours Sincerely"로 변환할 수 있다. 일 실시예에서, 전자장치(100)는 추천 텍스트로서 "Yours Sincerely" 및 추천 텍스트로의 변환 여부를 선택하기 위한 버튼을 출력할 수 있다.In an embodiment, when the representative recipient among the plurality of recipients “User A”, “User B”, and “User C” is determined, the electronic device 100 converts at least a portion of the text based on the information on the representative recipient. can do. For example, when the representative receiver is determined to be “User A,” the electronic device 100 may convert at least a portion of the text based on the text transmitted and received between the user “User X” and the representative receiver “User A”. . For example, the electronic device 100 may convert "Best and thanks" generated at the end of the text into "Yours Sincerely". According to an embodiment, the electronic device 100 may output “Yours Sincerely” and a button for selecting whether to convert the recommendation text into the recommendation text.

도 9는 본 발명의 일 실시예에 따라 수신자에 대한 정보에 기반하여 관심 주제를 제공하는 방법을 설명하기 위한 흐름도이다.9 is a flowchart illustrating a method of providing a topic of interest based on information about a receiver according to an embodiment of the present invention.

도 9를 참조하면, 과정 901에서, 전자장치(100)는 수신자에 대한 정보를 획득할 수 있다. 과정 901은 도 2의 과정 203과 중복되므로 상세한 설명은 생략하기로 한다.Referring to FIG. 9, in operation 901, the electronic device 100 may obtain information about a receiver. Process 901 is duplicated with process 203 of FIG. 2, and thus a detailed description thereof will be omitted.

과정 903에서, 전자장치(100)는 관심 주제를 제공할 수 있다. 일 실시예에서, 관심 주제는 사용자 및 수신자 간 공통되는 관심사일 수 있다. 일 실시예에서, 전자장치(100)는 사용자 및 수신자 간 송수신되었던 텍스트에 기반하여 관심 주제를 결정할 수 있다.In operation 903, the electronic device 100 may provide a topic of interest. In one embodiment, the topic of interest may be a common interest between the user and the recipient. In an embodiment, the electronic device 100 may determine a subject of interest based on text that has been transmitted and received between the user and the receiver.

예를 들어, 전자장치(100)는 사용자 및 수신자 간 송수신되었던 텍스트의 제목, 본문 내용 등에 일정 횟수 이상으로 생성된 단어 등을 관심 주제로 결정할 수 있다. 예를 들어, 전자장치(100)는 사용자 및 수신자 간 송수신된 텍스트에 "여행"이 일정 횟수 이상으로 생성된 경우, "여행"을 관심 주제로 결정할 수 있다. 전자장치(100)가 "여행"을 관심 주제로 결정하는 경우, 전자장치(100)는 여행과 관련된 정보, 예를 들어, 여행에 관한 명소, 교통 상황, 및 숙박 정보를 제공할 수 있다.For example, the electronic device 100 may determine, as a subject of interest, a word generated more than a predetermined number of times, such as a title and a body content of text that has been transmitted and received between a user and a receiver. For example, the electronic device 100 may determine "travel" as a subject of interest when "travel" is generated more than a predetermined number of times between texts transmitted and received between the user and the receiver. When the electronic device 100 determines "travel" as a subject of interest, the electronic device 100 may provide information related to the trip, for example, a landmark, a traffic condition, and accommodation information about the trip.

다른 예에서, 전자장치(100)는 관심 주제로서 핫 토픽(hot topic)을 제공할 수 있다. 예를 들어, 전자장치(100)는 웹으로부터 핫 토픽에 대한 정보를 획득할 수 있다. 예를 들어, 월드컵 기간 동안, 전자장치(100)는 관심 주제로서 월드컵을 결정하고, 월드컵과 관련된 경기 스케줄 및 선수 설명 등을 제공할 수 있다.In another example, the electronic device 100 may provide a hot topic as a topic of interest. For example, the electronic device 100 may obtain information about a hot topic from the web. For example, during the World Cup period, the electronic device 100 may determine a World Cup as a subject of interest, and provide a game schedule and player description related to the World Cup.

과정 905에서, 전자장치(100)는 사용자 입력에 기반하여, 텍스트를 생성할 수 있다. 과정 907에서, 전자장치(100)는 수신자에 대한 정보에 기반하여 텍스트의 적어도 일부를 변환할 수 있다. 과정 905 및 과정 907은 각각 도 2의 과정 201 및 과정 205과 중복되므로 상세한 설명은 생략하기로 한다.In operation 905, the electronic device 100 may generate text based on a user input. In operation 907, the electronic device 100 may convert at least a portion of the text based on the information about the receiver. Processes 905 and 907 overlap with process 201 and process 205 of FIG. 2, respectively, and thus a detailed description thereof will be omitted.

도 10은 본 발명의 일 실시예에 따라 수신자에 대한 정보에 기반하여 텍스트 템플릿을 제공하는 방법을 설명하기 위한 흐름도이다.10 is a flowchart illustrating a method of providing a text template based on information about a receiver according to an embodiment of the present invention.

도 10을 참조하면, 과정 1001에서 전자장치(100)는 사용자로부터 키워드를 입력 받을 수 있다. 일 실시예에서, 키워드는 텍스트의 본문 내용을 결정하기 위한 단어 등일 수 있다.Referring to FIG. 10, in operation 1001, the electronic device 100 may receive a keyword from a user. In one embodiment, the keyword may be a word or the like for determining the body content of the text.

과정 1003에서, 전자장치(100)는 키워드에 해당하는 텍스트 템플릿을 검색할 수 있다. 일 실시예에서, 텍스트 템플릿은 키워드에 기반하여 생성되는 텍스트 프레임일 수 있다. 예를 들어, 사용자가 회의를 공지하기 위하여 키워드로서 "회의"를 입력하는 경우, 전자장치(100)는 "회의"와 관련된 텍스트 템플릿을 검색할 수 있다. 예를 들어, 전자장치(100)는 "For meeting, the time is ( ), and the location is ( )"와 같이 시간, 장소 등에 대한 정보를 제외한 텍스트가 미리 작성된 텍스트 템플릿을 검색할 수 있다.In operation 1003, the electronic device 100 may search for a text template corresponding to a keyword. In one embodiment, the text template may be a text frame generated based on a keyword. For example, when a user inputs "meeting" as a keyword to announce a meeting, the electronic device 100 may search for a text template related to "meeting". For example, the electronic device 100 may search for a text template in which text, except for information on time and place, is pre-written, such as "For meeting, the time is (), and the location is ()".

과정 1005에서, 전자장치(100)는 검색된 텍스트 템플릿을 제공할 수 있다. 예를 들어, 전자장치(100)는 편집 가능한 텍스트 템플릿을 표시할 수 있다.In operation 1005, the electronic device 100 may provide a searched text template. For example, the electronic device 100 may display an editable text template.

과정 1007에서, 전자장치(100)는 제공된 텍스트 템플릿에 기반하여 텍스트를 생성할 수 있다. 예를 들어, 전자장치(100)는 사용자로부터 텍스트 템플릿 선택 입력을 수신함으로써, 텍스트를 생성할 수 있다. 일 실시예에서, 전자장치(100)는 사용자로부터 생성된 텍스트의 빈 공간(또는 괄호)에 대한 입력을 수신함으로써, 텍스트를 완성할 수 있다.In operation 1007, the electronic device 100 may generate text based on the provided text template. For example, the electronic device 100 may generate text by receiving a text template selection input from a user. In an embodiment, the electronic device 100 may complete the text by receiving an input for an empty space (or parenthesis) of the text generated from the user.

도 11은 본 발명의 일 실시예에 따라 수신자에 대한 정보에 기반하여 텍스트 템플릿을 제공하는 방법을 설명하기 위한 예시도이다.11 is an exemplary diagram for describing a method of providing a text template based on information about a receiver according to an embodiment of the present invention.

도 11을 참조하면, 전자장치(100)는 사용자로부터 키워드 "English birthday party invitation"을 입력 받을 수 있다. 전자장치(100)는 입력된 키워드에 기반하여, 저장부를 검색함으로써, "English birthday party invitation"에 해당하는 텍스트 템플릿을 획득할 수 있다.Referring to FIG. 11, the electronic device 100 may receive a keyword “English birthday party invitation” from a user. The electronic device 100 may obtain a text template corresponding to "English birthday party invitation" by searching the storage unit based on the input keyword.

일 실시예에서, 도 11에 도시된 바와 같이, 시간, 장소, 초대 대상에 대한 입력란을 제외하고, 전자장치(100)는 생일 파티 초대를 위한 텍스트 템플릿을 제공할 수 있다.In an embodiment, as shown in FIG. 11, except for input fields for time, place, and an invitation target, the electronic device 100 may provide a text template for a birthday party invitation.

도 12는 본 발명의 일 실시예에 따라 텍스트의 오류를 수정하는 방법을 설명하기 위한 흐름도이다.12 is a flowchart illustrating a method of correcting an error in text according to an embodiment of the present invention.

도 12를 참조하면, 과정 1201에서 전자장치(100)는 사용자 입력에 기반하여 텍스트를 생성할 수 있다. 과정 1203에서 전자장치(100)는 수신자에 대한 정보를 획득할 수 있다. 과정 1205에서 전자장치(100)는 수신자에 대한 정보에 기반하여 텍스트의 적어도 일부를 변환할 수 있다. 과정 1201, 과정 1203, 및 과정 1205 각각은 도 2의 과정 201, 과정 203, 및 과정 205 각각과 중복되므로 상세한 설명은 생략하기로 한다.Referring to FIG. 12, in operation 1201, the electronic device 100 may generate text based on a user input. In operation 1203, the electronic device 100 may obtain information about the receiver. In operation 1205, the electronic device 100 may convert at least a portion of the text based on the information about the receiver. Each of the processes 1201, 1203, and 1205 overlaps with each of the processes 201, 203, and 205 of FIG. 2, and thus a detailed description thereof will be omitted.

과정 1207에서, 전자장치(100)는 텍스트의 오류를 수정할 수 있다.In operation 1207, the electronic device 100 may correct an error of the text.

일 실시예에서, 전자장치(100)는 텍스트의 논리적 오류, 일반적인 지식 오류, 및 명백한 철자 오류 등을 수정할 수 있다.In one embodiment, the electronic device 100 may correct logical errors of text, general knowledge errors, and obvious spelling errors.

예를 들어, 현재 생성된 텍스트 상에서 입력된 일정이 2014년 7월 9일이고, 현재 날짜가 2014년 7월 10일인 경우와 같이 논리적 오류가 있는 경우, 전자장치(100)는 논리적 오류 발생에 대한 알림을 출력할 수 있다.For example, if there is a logical error, such as the case in which the schedule input on the currently generated text is July 9, 2014, and the current date is July 10, 2014, the electronic device 100 may determine that the logical error has occurred. You can output a notification.

다른 예에서, 현재 생성된 텍스트 내에 "The capital of Australia is Sydney"와 같이 일반적인 지식 오류가 있는 경우, 전자장치(100)는 "Sydney" 를 "Canberra"로 수정할 수 있다.In another example, when there is a general knowledge error such as "The capital of Australia is Sydney" in the currently generated text, the electronic device 100 may modify "Sydney" to "Canberra".

또 다른 예에서, 현재 생성된 텍스트 내에 "Lots of lave"와 같이 명백한 철자 오류가 있는 경우, 전자장치(100)는 "Lots of love"로 수정할 수 있다.In another example, when there is an obvious spelling error such as "Lots of lave" in the currently generated text, the electronic device 100 may correct it as "Lots of love".

도 13은 본 발명의 일 실시예에 따라 텍스트를 편집하기 위한 전자장치(100)의 블록 도면을 도시한다.13 is a block diagram of an electronic device 100 for editing text according to an embodiment of the present invention.

도 13을 참조하면, 전자장치(100)는 통신부(1310), 표시부(1320), 입력부(1330), 오디오 출력부(1340), 저장부(1350), 및 제어부(1360) 등을 포함할 수 있다.Referring to FIG. 13, the electronic device 100 may include a communication unit 1310, a display unit 1320, an input unit 1330, an audio output unit 1340, a storage unit 1350, a control unit 1360, and the like. have.

일 실시예에서, 통신부(1310)는 제어부(1360)의 제어 하에 전자장치(100)를 외부 장치(예를 들어, 인스턴트 메시징 서비스를 제공하는 서버)와 연결할 수 있다. 제어부(1360)는 통신부(1310)를 통해 연결된 외부 장치로 생성된 텍스트를 전송하거나, 외부 장치로부터 텍스트를 수신할 수 있다. 예를 들어, 제어부(1360)는 통신부(1310)를 통해 이메일, 문자 메시지 등을 외부 장치로 전송할 수 있다. 일 실시예에서, 통신부(1310)는 BLE(Bluetooth Low Energy) 통신부(1310), 근거리 무선 통신부(1310)(Near Field Communication unit), WLAN(와이파이) 통신부(1310), 지그비(Zigbee) 통신부(1310), 적외선(IrDA, infrared Data Association) 통신부(1310), WFD(Wi-Fi Direct) 통신부(1310), UWB(ultra wideband) 통신부(1310), Ant+ 통신부(1310) 등을 포함할 수 있으나, 이에 한정되는 것은 아니다.In an embodiment, the communication unit 1310 may connect the electronic device 100 with an external device (eg, a server providing an instant messaging service) under the control of the control unit 1360. The controller 1360 may transmit the generated text to the external device connected through the communication unit 1310 or may receive the text from the external device. For example, the controller 1360 may transmit an email, a text message, and the like to the external device through the communication unit 1310. In one embodiment, the communication unit 1310 is a Bluetooth Low Energy (BLE) communication unit 1310, a near field communication unit 1310 (Near Field Communication unit), WLAN (Wi-Fi) communication unit 1310, Zigbee (Zigbee) communication unit 1310 ), An infrared data association (IrDA) communication unit 1310, a Wi-Fi Direct communication unit 1310, an ultra wideband communication unit 1310, an Ant + communication unit 1310, and the like. It is not limited.

일 실시예에서, 표시부(1320)는 제어부(1360)의 제어 하에 데이터를 화면에 표시할 수 있다. 예를 들어, 제어부(1360)가 데이터를 처리(예를 들어, 디코딩(decoding))하여 버퍼에 저장하면 표시부(1320)는 버퍼에 저장된 데이터를 아날로그 신호로 변환하여 화면에 표시할 수 있다. 표시부(1320)는 제어부(1360) 제어 하에 전자장치(100)의 이용에 따른 다양한 화면 예를 들어, 잠금 화면, 홈(home) 화면, 애플리케이션 실행 화면, 메뉴 화면, 키패드 화면, 메시지 작성 화면 및 인터넷 화면 등을 표시할 수 있다.In an embodiment, the display 1320 may display data on the screen under the control of the controller 1360. For example, when the controller 1360 processes (eg, decodes) data and stores the data in a buffer, the display unit 1320 may convert the data stored in the buffer into an analog signal and display the data on the screen. The display 1320 may control various screens according to the use of the electronic device 100 under the control of the controller 1360, for example, a lock screen, a home screen, an application execution screen, a menu screen, a keypad screen, a message writing screen, and the Internet. A screen or the like can be displayed.

일 실시예에서, 표시부(1320)는 액정 표시 장치(Liquid Crystal Display; LCD), AMOLED(Active Matrix Organic Light Emitted Diode), PMOLED(Passive Matrix Organic Light Emitted Diode), 플랙서블 디스플레이(Flexible display) 또는 투명 디스플레이로 구성될 수 있다.In one embodiment, the display 1320 may be a liquid crystal display (LCD), an active matrix organic light emitting diode (AMOLED), a passive matrix organic light emitting diode (PMOLED), a flexible display, or a transparent display. It can be configured as a display.

일 실시예에서, 표시부(1320)는 제어부(1360)의 제어 하에, 생성된 텍스트, 또는 생성된 텍스트의 적어도 일부가 변환된 텍스트를 표시할 수 있다. 다른 실시예에서, 표시부(1320)는 제어부(1360) 제어 하에, 추천 텍스트 및 추천 텍스트로의 변환 여부를 선택하기 위한 표시를 표시할 수 있다. 또 다른 실시예에서, 표시부(1320)는 제어부(1360) 제어 하에, 텍스트 템플릿 등을 표시할 수 있다.According to an embodiment, the display 1320 may display the generated text or text in which at least a portion of the generated text is converted under the control of the controller 1360. According to another embodiment, the display unit 1320 may display a recommendation text and a display for selecting whether to convert the recommendation text under the control of the controller 1360. In another embodiment, the display 1320 may display a text template or the like under the control of the controller 1360.

일 실시예에서, 입력부(1330)는 터치패널 및 키 입력부(1330) 등을 포함할 수 있다. 일 실시예에서, 터치패널은 사용자의 손가락 등의 접촉에 응답하여 터치 이벤트를 생성하고, 생성된 터치 이벤트를 제어부(1360)로 전달할 수 있다. 터치패널에서 터치 영역 즉, 사용자의 손가락이나 펜 등에 의해 터치된 영역에 포함된 좌표들을 제어부(1360)로 전달하고, 제어부(1360)는 터치 영역에 포함된 좌표들 중 적어도 하나를 터치 좌표로 결정할 수 있다.In an embodiment, the input unit 1330 may include a touch panel and a key input unit 1330. In an embodiment, the touch panel may generate a touch event in response to a touch of a user's finger or the like, and transmit the generated touch event to the controller 1360. The touch panel transmits coordinates included in a touch area, that is, an area touched by a user's finger or pen, to the controller 1360, and the controller 1360 determines at least one of the coordinates included in the touch area as touch coordinates. Can be.

일 실시예에서, 터치패널은 사용자로부터 텍스트를 구성하는 문자, 숫자 등을 입력 받을 수 있다. 다른 실시예에서, 터치패널은 사용자로부터 생성된 텍스트 또는 적어도 일부가 변환된 텍스트를 수신자에게 전송하기 위한 입력을 수신할 수 있다.In one embodiment, the touch panel may receive letters, numbers, etc. constituting text from a user. In another embodiment, the touch panel may receive an input for transmitting text generated from a user or text converted at least in part to a receiver.

일 실시예에서, 키(key) 입력부(1330)는 숫자 또는 문자 정보를 입력받고 각종 기능들을 설정하기 위한 다수의 키들을 포함할 수 있다. 이러한 키들은 메뉴 불러오기 키, 화면 온/오프 키, 전원 온/오프 키 및 볼륨 조절키 등을 포함할 수 있다. 키 입력부(1330)는 사용자 설정 및 전자장치(100)의 기능 제어와 관련된 키 이벤트를 생성하여 제어부(1360)로 전달한다. 키 입력부(1330)의 키는 하드 키(hard key)라고 하고 표시부(1320) 상에 표시되는 가상의(virtual) 키는 소프트 키(soft key)로 지칭될 수 있다.In one embodiment, the key input unit 1330 may include a plurality of keys for receiving numeric or character information and setting various functions. These keys may include menu call keys, screen on / off keys, power on / off keys, volume control keys, and the like. The key input unit 1330 generates a key event related to user setting and function control of the electronic device 100 and transmits the generated key event to the control unit 1360. The key of the key input unit 1330 may be referred to as a hard key, and a virtual key displayed on the display unit 1320 may be referred to as a soft key.

일 실시예에서, 오디오 출력부(1340)는 통신부(1310) 등을 통해 입력되는 오디오(예를 들어, 음성, 사운드)를 출력할 수 있다. 오디오 출력부(1340)는 제어부(1360)의 제어에 의해 저장부(1350)에 저장된 오디오를 출력할 수 있다. 오디오 출력부(1340)는 스피커, 헤드폰 출력 단자 또는 S/PDIF(Sony/Philips Digital Interface: 출력 단자 중 적어도 하나를 포함할 수 있다. 오디오 출력부(1340)는 스피커, 헤드폰 출력 단자 및 S/PDIF 출력 단자의 조합을 포함할 수 있다.In one embodiment, the audio output unit 1340 may output audio (eg, voice, sound) input through the communication unit 1310. The audio output unit 1340 may output audio stored in the storage unit 1350 under the control of the controller 1360. The audio output unit 1340 may include at least one of a speaker, a headphone output terminal, or a S / PDIF (Sony / Philips Digital Interface: output terminal) The audio output unit 1340 may include a speaker, a headphone output terminal, and a S / PDIF. It may include a combination of output terminals.

일 실시예에서, 오디오 출력부(1340)는 제어부(1360) 제어 하에, 현재 생성된 텍스트의 적어도 일부가 변환되거나, 텍스트의 오류가 수정되는 경우, 해당하는 안내음 또는 효과음을 출력할 수 있다.According to an embodiment, the audio output unit 1340 may output a corresponding guide sound or a sound effect when at least a part of the currently generated text is converted or an error in the text is corrected under the control of the controller 1360.

일 실시예에서, 저장부(1350)는 제어부(1360)의 제어에 의해 전자장치(100)를 구동하고 제어하기 위한 다양한 데이터, 프로그램 또는 어플리케이션을 저장할 수 있다. 저장부(1350)는 통신부(1310), 표시부(1320), 입력부(1330), 오디오 출력부(1340)의 구동에 대응되는 입력/출력되는 신호 또는 데이터를 저장할 수 있다. 저장부(1350)는 전자장치(100) 및 제어부(1360)의 제어를 위한 제어 프로그램, 제조사에서 최초 제공되거나 외부에서부터 다운로드 받은 어플리케이션, 어플리케이션과 관련된 GUI(graphical user interface), GUI를 제공하기 위한 오브젝트(예를 들어, 이미지 텍스트, 아이콘, 버튼 등), 사용자 정보, 문서, 데이터베이스들 또는 관련 데이터들을 저장할 수 있다.In an embodiment, the storage 1350 may store various data, programs, or applications for driving and controlling the electronic device 100 under the control of the controller 1360. The storage unit 1350 may store input / output signals or data corresponding to driving of the communication unit 1310, the display unit 1320, the input unit 1330, and the audio output unit 1340. The storage unit 1350 is a control program for controlling the electronic device 100 and the control unit 1360, an application initially provided from a manufacturer or downloaded from the outside, a graphical user interface (GUI) related to the application, and an object for providing a GUI. (Eg, image text, icons, buttons, etc.), user information, documents, databases, or related data.

일 실시예에서 "저장부(1350)" 라는 용어는 저장부(1350), 제어부(1360)의 롬, 램 또는 전자장치(100) 에 장착되는 메모리 카드(예를 들어, micro SD 카드, USB 메모리, 도시되지 아니함)를 포함한다. 또한, 저장부(1350)는 비휘발성 메모리, 휘발성 메모리, 하드 디스크 드라이브(HDD) 또는 솔리드 스테이트 드라이브(SSD)를 포함할 수 있다.In one embodiment, the term “storage unit 1350” refers to a memory card (eg, a micro SD card or a USB memory) mounted in the storage unit 1350, the ROM, the RAM of the controller 1360, or the electronic device 100. , Not shown). In addition, the storage 1350 may include a nonvolatile memory, a volatile memory, a hard disk drive (HDD), or a solid state drive (SSD).

일 실시예에서, 저장부(1350)는 도시되지 아니한 방송 수신 모듈, 채널 제어 모듈, 볼륨 제어 모듈, 통신 제어 모듈, 음성 인식 모듈, 모션 인식 모듈, 광 수신 모듈, 디스플레이 제어 모듈, 오디오 제어 모듈, 외부 입력 제어 모듈, 전원 제어 모듈, 무선(예를 들어, 블루투스)으로 연결되는 외부 장치의 전원 제어 모듈, 음성 데이터베이스(DB), 또는 모션 데이터베이스(DB)를 포함할 수 있다. 저장부(1350)의 도시되지 아니한 모듈들 및 데이터 베이스는 전자장치(100)에서 방송 수신의 제어 기능, 채널 제어 기능, 볼륨 제어 기능, 통신 제어 기능, 음성 인식 기능, 모션 인식 기능, 광 수신 제어 기능, 디스플레이 제어 기능, 오디오 제어 기능, 외부 입력 제어 기능, 전원 제어 기능 또는 무선(예를 들어, 블루투스)으로 연결되는 외부 장치의 전원 제어 기능을 수행하기 위하여 소프트웨어 형태로 구현될 수 있다.In an embodiment, the storage unit 1350 may include a broadcast reception module, a channel control module, a volume control module, a communication control module, a voice recognition module, a motion recognition module, an optical reception module, a display control module, an audio control module, which are not shown. It may include an external input control module, a power control module, a power control module of an external device connected by wireless (for example, Bluetooth), a voice database (DB), or a motion database (DB). Modules and databases (not shown) of the storage unit 1350 may control broadcast reception in the electronic device 100, a channel control function, a volume control function, a communication control function, a voice recognition function, a motion recognition function, and an optical reception control. It may be implemented in software form to perform a function, a display control function, an audio control function, an external input control function, a power control function, or a power control function of an external device connected wirelessly (for example, Bluetooth).

일 실시예에서, 제어부(1360)는 전자장치(100) 의 전반적인 동작 및 전자장치(100)의 내부 구성요소들 사이의 신호 흐름을 제어하고, 데이터를 처리하는 기능을 수행한다. 제어부(1360)는 사용자의 입력이 있거나 기 설정되어 저장된 조건을 만족하는 경우, 제어부(1360)는 저장부(1350)에 저장된 OS(Operation System) 및 다양한 애플리케이션을 실행할 수 있다.In an embodiment, the controller 1360 controls the overall operation of the electronic device 100 and the flow of signals between internal components of the electronic device 100 and processes data. The controller 1360 may execute an operating system (OS) and various applications stored in the storage 1350 when a user input or a preset and stored condition is satisfied.

일 실시예에서, 제어부(1360)는 사용자 입력에 기반하여 텍스트틀 생성할 수 있다.In an embodiment, the controller 1360 may generate a text frame based on a user input.

일 실시예에서, 제어부(1360)는 입력부(1330)를 통해 입력된 사용자 입력에 기반하여 텍스트를 생성할 수 있다. 예를 들어, 제어부(1360)는 사용자로부터 입력부(1330)를 통해 텍스트를 구성할 문자, 숫자 등에 대한 정보를 수신할 있다. 일 실시예에서, 제어부(1360)는 전문 워드 프로세싱 어플리케이션(예: Microsoft Office Word) 등을 이용하여 텍스트를 생성할 수 있다.According to an embodiment, the controller 1360 may generate text based on a user input input through the input unit 1330. For example, the controller 1360 may receive information about letters, numbers, and the like that form text through the input unit 1330 from the user. In an embodiment, the controller 1360 may generate text using a professional word processing application (eg, Microsoft Office Word).

다른 실시예에서, 제어부(1360)는 기저장된 텍스트를 불러옴으로써 텍스트를 생성할 수 있다. 예를 들어, 제어부(1360)는 저장부(1350)에 저장된 문서, 이메일, 문자 메시지 등을 불러옴으로써 새로운 텍스트를 생성할 수 있다.In another embodiment, the controller 1360 may generate text by reading previously stored text. For example, the controller 1360 may generate new text by reading a document, an email, a text message, and the like stored in the storage 1350.

또 다른 실시예에서, 제어부(1360)는 외부 전자장치(100)로부터 수신된 텍스트에 대한 응답(reply), 전달(reply) 기능을 수행함으로써, 텍스트를 생성할 수 있다. 예를 들어, 제어부(1360)는 이메일(e-mail), 또는 문자 메시지 등을 수신하고, 수신된 이메일 또는 문자 메시지 등에 대하여 응답, 또는 전달 기능을 실행함으로써, 새롭게 텍스트를 생성할 수 있다.In another embodiment, the controller 1360 may generate text by performing a reply and a reply function on the text received from the external electronic device 100. For example, the controller 1360 may newly generate text by receiving an e-mail or a text message and executing a response or delivery function on the received e-mail or a text message.

또 다른 실시예에서, 제어부(1360)는 인스턴트 메시징 어플리케이션, 예를 들어, 외부 전자장치(100)와 실시간으로 채팅 기능을 수행하는 어플리케이션이 실행되는 동안, 사용자로부터 입력을 통해 텍스트를 생성할 수 있다.In another embodiment, the controller 1360 may generate text through input from a user while an instant messaging application, for example, an application that performs a chat function in real time with the external electronic device 100, is executed. .

또 다른 실시예에서, 제어부(1360)는 마이크로 블로그(micro blog) 또는 온라인 커뮤니티 내에서 게시(또는 포스트)를 통해 텍스트를 생성할 수 있다.In another embodiment, the controller 1360 may generate text through postings (or posts) within a micro blog or online community.

다만, 이에 제한되지 않으며, 제어부(1360)는 다양한 방법으로 텍스트를 생성할 수 있다.However, the present invention is not limited thereto, and the controller 1360 may generate text in various ways.

일 실시예에서, 제어부(1360)는 수신자에 대한 정보를 획득할 수 있다. 예를 들어, 이메일 주소 입력란에 사용자로부터 수신자의 이메일 주소가 입력되면, 제어부(1360)는 이메일 주소에 기반하여 이메일 주소에 해당하는 수신자에 대한 정보를 획득할 수 있다. 예를 들어, 제어부(1360)는 이메일 주소에 매핑되어 저장된 수신자 정보, 예를 들어, 수신자 이름, 나이, 성별, 수신자 소속 부서, 수신자 지위 등에 대한 정보를 획득할 수 있다.In one embodiment, the controller 1360 may obtain information about the receiver. For example, when an email address of the receiver is input from the user in the email address input box, the controller 1360 may obtain information about the receiver corresponding to the email address based on the email address. For example, the controller 1360 may obtain recipient information mapped to an email address and stored, for example, information on a recipient name, age, gender, a department belonging to a recipient, a recipient status, and the like.

다른 예에서, 문자 메시지 수신자 입력란에 수신자 전화 번호가 입력되는 경우, 제어부(1360)는 입력된 수신자 전화 번호에 기반하여 수신자 정보를 획득할 수 있다. 예를 들어, 제어부(1360)는 폰 북 검색을 통해, 수신자 전화 번호에 매핑되어 저장된 수신자의 이름, 나이, 성별, 수신자 소속 부서, 및 수신자 지위 등에 대한 정보를 획득할 수 있다.In another example, when the receiver phone number is input in the text message receiver input box, the controller 1360 may obtain receiver information based on the input receiver phone number. For example, the controller 1360 may acquire information on a name, age, gender, a recipient's department, and a recipient's status of the recipient mapped and stored in the recipient's phone number through the phone book search.

또 다른 예에서, 인스턴트 메시징 어플리케이션을 통해 상대방과 채팅하는 경우, 제어부(1360)는 채팅에 참여하는 상대방 즉, 메시지 수신자의 아이디에 기반하여 수신자 정보를 획득할 수 있다.In another example, when chatting with a counterpart via an instant messaging application, the controller 1360 may acquire receiver information based on an ID of a counterpart, that is, a message receiver, participating in the chat.

또 다른 예에서, 제어부(1360)는 생성된 텍스트 분석을 통해 수신자에 대한 정보를 획득할 수 있다. 예를 들어, 제어부(1360)는 텍스트 내 서두 부분, 말미 부분, 또는 제목에 위치하는 수신자 이름, 수신자의 지위 등에 대한 정보를 획득할 수 있다. 예를 들어, 텍스트의 서두 부분이 "Dear Kim xx"을 포함하는 경우, 제어부(1360)는 생성된 텍스트의 첫 번째 문단에 배치된 "Dear Kim xx"를 텍스트의 서두 부분으로 결정할 수 있다. "Dear Kim xx"가 텍스트의 서두 부분으로 결정되면, 제어부(1360)는 "Dear Kim xx" 중 단어 "Dear" 바로 뒤에 배치된 "Kim xx"를 수신자로 결정할 수 있다. 제어부(1360)는 수신자가 결정되면, 폰 북, 연락처 등 저장부(1350) 검색을 통해 수신자에 매핑된 수신자에 대한 정보를 획득할 수 있다.In another example, the controller 1360 may obtain information about the receiver through the generated text analysis. For example, the controller 1360 may obtain information about a recipient name, a recipient's position, etc., which are located at the beginning, end, or title of the text. For example, when the beginning portion of the text includes "Dear Kim xx", the controller 1360 may determine "Dear Kim xx" disposed in the first paragraph of the generated text as the beginning portion of the text. When “Dear Kim xx” is determined as the beginning of the text, the controller 1360 may determine “Kim xx” disposed immediately after the word “Dear” of “Dear Kim xx” as a receiver. When the receiver is determined, the controller 1360 may acquire information about the receiver mapped to the receiver by searching the storage unit 1350 such as a phone book or a contact.

또 다른 예에서, 제어부(1360)는 마이크로 블로그 등에 텍스트가 입력되는 경우, 수신자를 불특정인으로 결정할 수 있다.In another example, when text is input to a micro blog or the like, the controller 1360 may determine the recipient as unspecified.

다만, 수신자 정보를 획득하는 방법은 위에 열거한 예에 제한되지 않는다.However, the method of obtaining the receiver information is not limited to the examples listed above.

일 실시예에서, 제어부(1360)는 수신자 정보 외에 텍스트를 생성, 또는 텍스트를 전송하는 사용자에 대한 정보를 더 획득할 수 있다. 예를 들어, 제어부(1360)는 이메일 주소 입력란에 입력된 사용자(또는 송신자) 이메일 주소에 기반하여 사용자에 대한 정보를 획득할 수 있다. 다른 예에서, 제어부(1360)는 문자 메시지 송신자 입력란에 입력된 사용자 전화 번호 또는 사용자 이름에 기반하여 사용자에 대한 정보를 획득할 수 있다. 또 다른 예에서, 제어부(1360)는 전자장치(100) 기기 자체로부터 사용자에 대한 정보를 획득할 수 있다. 예를 들어, 제어부(1360)는 전자장치(100)의 SIM(Subscriber Identification Module) 카드로부터 사용자에 대한 정보를 획득할 수 있다.According to an embodiment, the controller 1360 may further obtain information on a user who generates text or transmits text in addition to the receiver information. For example, the controller 1360 may obtain information about the user based on the user (or sender) email address entered in the email address input box. In another example, the controller 1360 may obtain information about the user based on the user's telephone number or the user's name input in the text message sender input box. In another example, the controller 1360 may obtain information about a user from the device itself of the electronic device 100. For example, the controller 1360 may obtain information about a user from a subscriber identification module (SIM) card of the electronic device 100.

또 다른 예에서, 제어부(1360)는 생성된 텍스트 분석을 통해 사용자에 대한 정보를 더 획득할 수 있다. 예를 들어, 전자장치(100)는 텍스트 내 서두 부분, 말미 부분, 또는 제목에 위치하는 사용자 이름, 사용자의 지위 등에 대한 정보를 획득할 수 있다. 예를 들어, 텍스트의 말미 부분이 "From Kang yy"를 포함하는 경우, 제어부(1360)는 "From Kang yy"를 텍스트 말미 부분으로 결정할 수 있다. "From Kang yy"가 텍스트의 말미 부분으로 결정되면, 제어부(1360)는 "From Kang yy" 중 단어 "From" 바로 뒤에 배치된 "Kang yy"를 사용자(또는 사용자 이름)로 결정할 수 있다. 제어부(1360)는 사용자가 결정되면, 폰 북, 연락처 등 저장부(1350) 검색을 통해 사용자에 매핑된 사용자에 대한 정보를 획득할 수 있다.In another example, the controller 1360 may further obtain information about the user through the generated text analysis. For example, the electronic device 100 may obtain information about a user name, a user's position, and the like located at the beginning, end, or title of the text. For example, when the end portion of the text includes "From Kang yy", the controller 1360 may determine "From Kang yy" as the end portion of the text. When "From Kang yy" is determined as the end portion of the text, the controller 1360 may determine "Kang yy" disposed immediately after the word "From" of "From Kang yy" as a user (or user name). When the user is determined, the controller 1360 may acquire information about the user mapped to the user by searching the storage unit 1350 such as a phone book or a contact.

일 실시예에서, 제어부(1360)는 수신자에 대한 정보에 기반하여, 텍스트의 적어도 일부를 변환할 수 있다.In an embodiment, the controller 1360 may convert at least a portion of the text based on the information about the receiver.

일 실시예에서, 제어부(1360)는 수신자에 대한 정보에 기반하여, 텍스트의 언어를 변환할 수 있다. 예를 들어, 제어부(1360)는 수신자가 사용하는 언어, 또는 생성된 텍스트를 구성하는 언어 비율에 따라 생성된 텍스트의 언어를 변환할 수 있다.In an embodiment, the controller 1360 may convert the language of the text based on the information about the receiver. For example, the controller 1360 may convert a language of the generated text according to a language used by the receiver or a language ratio constituting the generated text.

다른 실시예에서, 제어부(1360)는 수신자에 대한 정보에 기반하여, 문단 구조를 변환할 수 있다. 예를 들어, 제어부(1360)는 사용자 및 수신자 간 이전에 송수신되었던 텍스트의 문단 구조 및 현재 생성된 텍스트의 문단 구조를 확인할 수 있다. 일 실시예에서, 텍스트의 문단 구조는 요약-상세한 설명-결론 순으로 배열된 구조, 상세한 설명-결론 순으로 배열된 구조, 또는 요약-상세 설명 순으로 배열된 구조 등일 수 있다. 다만, 텍스트의 문단 구조는 이에 제한되지 않는다. 일 실시예에서, 제어부(1360)는 문단에 포함된 접속사, 또는 부사 등의 단어 또는 절을 확인함으로써, 문단이 요약, 상세한 설명, 또는 결론에 해당되는지를 결정할 수 있다. 예를 들어, 제어부(1360)가 문단 내, 예를 들어, 문단의 서두 부분에 "Simply", "In short" 등의 단어 또는 절이 포함된 것을 확인하면, 제어부(1360)는 문단을 요약에 해당하는 것으로 결정할 수 있다. 다른 예에서, 제어부(1360)가 문단 내에 "Particularly", "Specially", 또는 "Concretely" 등의 단어 또는 절이 포함된 것을 확인하면, 제어부(1360)는 문단을 상세한 설명에 해당하는 것으로 결정할 수 있다.In another embodiment, the controller 1360 may convert the paragraph structure based on the information about the receiver. For example, the controller 1360 may check the paragraph structure of the text previously transmitted and received between the user and the receiver, and the paragraph structure of the currently generated text. In one embodiment, the paragraph structure of the text may be a structure arranged in summary-detailed description-conclusion order, a structure arranged in detailed description-conclusion order, or a structure arranged in summary-detailed description order. However, the paragraph structure of the text is not limited thereto. In one embodiment, the controller 1360 may determine whether a paragraph corresponds to a summary, detailed description, or conclusion by checking a word or phrase, such as an conjunction or an adverb included in the paragraph. For example, when the controller 1360 determines that a word or a phrase such as “Simply” or “In short” is included in a paragraph of the paragraph, for example, the paragraph 1, the controller 1360 corresponds to the summary. You can decide to. In another example, when the controller 1360 determines that a word or phrase such as “Particularly”, “Specially”, or “Concretely” is included in the paragraph, the controller 1360 may determine that the paragraph corresponds to the detailed description. .

또 다른 예에서, 제어부(1360)가 문단 내에 "In conclusion", "In result", "Thus" 등의 단어 또는 절이 포함된 것을 확인하면, 제어부(1360)는 문단이 결론에 해당하는 것으로 결정할 수 있다. 다만, 본 발명의 기술적 사상은 전술한 예에 제한되지 않는다.In another example, when the controller 1360 determines that a word or phrase such as "In conclusion", "In result", "Thus", etc. is included in the paragraph, the controller 1360 may determine that the paragraph corresponds to the conclusion. have. However, the technical idea of the present invention is not limited to the above examples.

일 실시예에서, 제어부(1360)는 사용자 및 수신자 간 이전에 송수신되었던 텍스트의 문단 구조 및 현재 생성된 텍스트의 문단 구조가 불일치하는 경우, 제어부(1360)는 사용자 및 수신자 간 이전에 송수신되었던 텍스트의 문단 구조에 일치하도록 현재 생성된 텍스트의 문단 구조를 변환할 수 있다. 예를 들어, 사용자 A가 수신자 B에게 전송하였던 이메일 텍스트 문단 구조가 요약 후 상세한 설명 순으로 배열되는 구조이고, 현재 생성된 텍스트의 문단 구조가 상세한 설명 후 요약 순으로 배열되는 구조인 경우, 전자장치(100)는 현재 생성된 텍스트의 문단 구조를 요약 후 상세한 설명 순으로 배열되는 구조로 변환할 수 있다.In one embodiment, when the paragraph structure of the text previously transmitted and received between the user and the receiver and the paragraph structure of the currently generated text are inconsistent, the controller 1360 may determine the text of the text previously transmitted and received between the user and the receiver. You can convert the paragraph structure of the currently generated text to match the paragraph structure. For example, if the email text paragraph structure that user A sent to recipient B is arranged in the order of summary after detailed description, and the paragraph structure of the currently generated text is arranged in order of summary after detailed description, the electronic device In operation 100, the paragraph structure of the currently generated text may be converted into a structure arranged after the summary and detailed description.

일 실시예에서, 제어부(1360)는 수신자 정보에 기반하여, 현재 생성된 텍스트의 문장 구조를 변환할 수 있다. 일 실시예에서, 문장 구조는 하나의 문장 내에서 단어, 또는 절의 배열 구조일 수 있다. 일 실시예에서, 제어부(1360)는 사용자 및 수신자 간 이전에 송수신되었던 텍스트의 문장 구조를 확인할 수 있다. 제어부(1360)는 확인된 문장 구조에 따라, 텍스트의 문장 구조를 변환할 수 있다. 예를 들어, 현재 생성된 텍스트가 일반적인 주어, 목적어, 서술어 등으로 구성되는 경우, 제어부(1360)는 사용자 및 수신자 간 이전에 송수신되었던 텍스트의 문장 구조가 육하원칙에 의해 절 단위로 구성된 문장 구조인 것으로 확인할 수 있다. 예를 들어, 현재 생성된 텍스트의 문장 구조가 "The meeting will take place in the first conference room at 3:00 pm today"인 경우, 제어부(1360)는 "For today's meeting, the time is 3:00 pm, and the location is the first conference room"로 문장 구조를 변환할 수 있다.In an embodiment, the controller 1360 may convert the sentence structure of the currently generated text based on the receiver information. In one embodiment, the sentence structure may be an arrangement structure of words or clauses in one sentence. In one embodiment, the controller 1360 may check the sentence structure of the text previously transmitted and received between the user and the receiver. The controller 1360 may convert the sentence structure of the text according to the confirmed sentence structure. For example, when the currently generated text is composed of a general subject, an object, a descriptor, and the like, the controller 1360 indicates that the sentence structure of the text previously transmitted / received between the user and the receiver is a sentence structure composed of sections based on six principles. You can check it. For example, if the sentence structure of the currently generated text is "The meeting will take place in the first conference room at 3:00 pm today", the control unit 1360 may control "For today's meeting, the time is 3:00 pm". , and the location is the first conference room ".

일 실시예에서, 제어부(1360)는 수신자 정보에 기반하여, 현재 생성된 텍스트의 용어 등을 변환할 수 있다. 예를 들어, 제어부(1360)는 수신자에 대한 정보에 따라, 현재 생성된 텍스트 내의 단어, 절, 또는 문장을 동일 또는 유사한 의미를 가지는 단어, 절, 또는 문장으로 변환할 수 있다. 예를 들어, 현재 생성된 텍스트의 말미 부분에 "Lots of love"이 포함되고, 전자장치(100)가 수신자로부터 이전에 수신되었던 텍스트의 말미 부분에 "yours lovingly"가 포함되어 있음을 확인하는 경우, 제어부(1360)는 "Lots of love"를 "yours lovingly"로 변환할 수 있다. 다른 예에서, 제어부(1360)는 수신자에 대한 정보, 예를 들어, 수신자의 지위 등에 기반하여, 현재 생성된 텍스트의 예절 표현을 변환할 수 있다. 예를 들어, 제어부(1360)는 수신자가 사용자 보다 높은 지위에 있거나 연장자인 경우, 현재 생성된 텍스트를 보다 예절 있는 표현으로 변환할 수 있다. 예를 들어, 현재 생성된 텍스트가 "Thank you"인 경우, 전자장치(100)는 현재 생성된 텍스트를 "Thank you very much for your understanding and assistance"와 같이 예절을 갖춘 표현으로 텍스트를 변환할 수 있다. 다른 예에서, 현재 생성된 텍스트가 "Sorry to bother"인 경우, 제어부(1360)는 현재 생성된 텍스트를 "Excuse me"와 같이 예절을 갖춘 표현(또는 예절을 갖춘 표현으로 일반적으로 사용되는 표현)으로 텍스트를 변환할 수 있다.In an embodiment, the controller 1360 may convert a term or the like of the currently generated text based on the receiver information. For example, the controller 1360 may convert a word, a clause, or a sentence in the currently generated text into a word, a clause, or a sentence having the same or similar meaning according to the information on the receiver. For example, when the end of the currently generated text includes "Lots of love", and the electronic device 100 confirms that the end of the text previously received from the receiver includes "yours lovingly". The controller 1360 may convert "Lots of love" into "yours lovingly". In another example, the controller 1360 may convert an etiquette representation of currently generated text based on information about the receiver, for example, the status of the receiver. For example, the controller 1360 may convert the currently generated text into a more polite expression when the receiver is in a higher position than the user or is an elder. For example, if the currently generated text is "Thank you", the electronic device 100 may convert the currently generated text into a polite expression such as "Thank you very much for your understanding and assistance". have. In another example, when the currently generated text is "Sorry to bother", the control unit 1360 may display the currently generated text as a courtesy expression (or an expression generally used in a manner with expression). You can convert the text with.

일 실시예에서, 제어부(1360)는 생성된 텍스트 부분 중 변환이 결정된 텍스트 부분을 변환되지 않는 다른 텍스트 부분과 구별되도록 표시할 수 있다. 예를 들어, 제어부(1360)는 변환이 결정된 텍스트의 일부를 다른 텍스트 부분과 구별하기 위하여 변환이 결정된 텍스트의 색상, 굵기, 크기, 음영 등을 두드러지도록 표시할 수 있다. 다른 실시예에서, 제어부(1360)는 변환될 텍스트(또는 추천 텍스트)를 표시할 수 있다. 예를 들어, 제어부(1360)는 변환이 결정된 텍스트 주변 영역에 별도의 창을 통해 변환될 텍스트를 표시할 수 있다.According to an embodiment, the controller 1360 may display the text portion of the generated text portion to be distinguished from other text portions that are not converted. For example, the controller 1360 may display the color, thickness, size, shadow, etc. of the text in which the conversion is determined to distinguish the part of the text in which the conversion is determined from other text parts. In another embodiment, the controller 1360 may display text (or recommendation text) to be converted. For example, the controller 1360 may display the text to be converted through a separate window in an area around the text where the conversion is determined.

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

Claims (20)

전자장치의 텍스트를 편집하는 방법에 있어서,In the method of editing the text of the electronic device, 적어도 하나 이상의 수신자에 대한 정보를 획득하는 단계;Obtaining information about at least one recipient; 사용자로부터 텍스트를 수신하는 단계; 및Receiving text from a user; And 상기 획득된 수신자에 대한 정보에 따라, 상기 텍스트의 적어도 일부를 변환하는 단계Converting at least a portion of the text according to the obtained information about the recipient 를 포함하는 방법.How to include. 제1항에 있어서,The method of claim 1, 상기 수신자에 대한 정보는 상기 수신자가 사용하는 언어에 대한 정보를 포함하고,The information about the recipient includes information about a language used by the receiver, 상기 텍스트의 적어도 일부를 변환하는 단계는,Converting at least a portion of the text, 상기 수신자가 사용하는 언어에 대한 정보에 따라, 상기 텍스트의 적어도 일부를 다른 언어의 텍스트로 변환하는 단계를 포함하는 방법.Converting at least a portion of the text into text in another language, in accordance with information about a language used by the recipient. 제1항에 있어서,The method of claim 1, 상기 수신된 텍스트는 적어도 둘 이상의 서로 다른 언어로 구성되고,The received text is composed of at least two different languages, 상기 텍스트의 적어도 일부를 변환하는 단계는,Converting at least a portion of the text, 상기 텍스트를 구성하는 상기 언어의 상대적인 비율에 따라, 상기 텍스트의 적어도 일부를 다른 언어의 텍스트로 변환하는 단계를 더 포함하는 방법.Converting at least a portion of the text into text of another language in accordance with a relative proportion of the language constituting the text. 제1항에 있어서,The method of claim 1, 상기 사용자에 대한 정보를 획득하는 단계; 및Obtaining information about the user; And 상기 사용자 및 상기 수신자 사이의 사회적 관계를 인식하는 단계Recognizing a social relationship between the user and the recipient 를 더 포함하고,More, 상기 텍스트의 적어도 일부를 변환하는 단계는,Converting at least a portion of the text, 상기 인식된 사회적 관계에 따라 상기 텍스트의 적어도 일부를 상기 사회적 관계에 대응하는 텍스트로 변환하는 단계를 포함하는 방법.Converting at least a portion of the text into text corresponding to the social relationship in accordance with the recognized social relationship. 제1항에 있어서,The method of claim 1, 상기 수신자에 대한 정보를 획득하는 단계는,Obtaining information about the recipient, 복수의 수신자에 대한 정보를 획득하는 단계; 및Obtaining information about the plurality of recipients; And 상기 복수의 수신자 중에서 대표 수신자를 결정하는 단계Determining a representative recipient from the plurality of recipients 를 포함하고,Including, 상기 텍스트의 적어도 일부를 변환하는 단계는,Converting at least a portion of the text, 상기 대표 수신자에 대한 정보에 따라, 상기 텍스트의 적어도 일부를 변환하는 단계를 포함하는 방법.Translating at least a portion of the text according to the information about the representative recipient. 제5항에 있어서,The method of claim 5, 상기 대표 수신자를 결정하는 단계는,Determining the representative recipient, 상기 복수의 수신자 중에서 수신자의 나이, 성별, 국적, 언어, 종교, 직업, 소재지, 지위 중에서 적어도 하나 이상을 기초로 하여 상기 대표 수신자를 결정하는 단계를 포함하는 방법.Determining the representative recipient from the plurality of recipients based on at least one of an age, gender, nationality, language, religion, occupation, location, status of the recipient. 제1항에 있어서,The method of claim 1, 상기 수신자에 대한 정보를 획득하는 단계 이전에, 상기 사용자의 신상 정보, 사회적 관계 정보, 언어 습관 정보, 관심사 정보, 또는 선호 정보 중에서 적어도 하나 이상을 수집하여 저장하는 단계;Collecting and storing at least one of personal information, social relationship information, language habit information, interest information, or preference information of the user before obtaining the information on the recipient; 상기 사용자와 사회적 관계가 형성된 적어도 하나 이상의 상대방의 신상 정보, 사회적 관계 정보, 언어 습관 정보, 관심사 정보 또는 선호 정보 중에서 적어도 하나 이상을 수집하여 저장하는 단계; 및Collecting and storing at least one or more of personal information, social relationship information, language habit information, interest information, or preference information of at least one or more counterparts with whom the user has a social relationship; And 상기 사용자와 상기 적어도 하나 이상의 상대방 사이의 대화 이력 정보를 수집하여 저장하는 단계Collecting and storing conversation history information between the user and the at least one counterpart; 를 더 포함하고,More, 상기 텍스트의 적어도 일부를 변환하는 단계는,Converting at least a portion of the text, 상기 저장된 정보 중에서 상기 수신자에 관련된 정보를 검색하는 단계; 및Retrieving information related to the recipient from the stored information; And 상기 검색된 정보를 기초로 하여, 상기 텍스트에 포함된 오류를 정정하거나 또는 상기 텍스트 중에서 적어도 일부를 상기 검색된 정보에 대응하는 텍스트로 변환하는 단계Correcting an error included in the text or converting at least a portion of the text into text corresponding to the retrieved information based on the retrieved information; 를 포함하는 방법.How to include. 제1항에 있어서,The method of claim 1, 상기 수신자에 대한 정보를 획득하는 단계 이전에,Prior to obtaining information about the recipient, 상기 사용자와 사회적 관계가 형성된 적어도 하나 이상의 상대방과 상기 사용자 사이의 대화 이력 정보를 수집하여 저장하는 단계; 및Collecting and storing conversation history information between at least one counterpart having a social relationship with the user and the user; And 상기 대화 이력 정보를 분석하여 상기 사용자의 언어 습관 정보 또는 상기 상대방의 언어 습관 정보를 생성하고 저장하는 단계Generating and storing language habit information of the user or language habit information of the counterpart by analyzing the conversation history information; 를 더 포함하고,More, 상기 텍스트의 적어도 일부를 변환하는 단계는,Converting at least a portion of the text, 상기 저장된 상대방의 언어 습관 정보 중에서 상기 수신자에 대응하는 언어 습관 정보 또는 상기 사용자의 언어 습관 정보를 로드하는 단계; 및Loading language habit information corresponding to the receiver or language habit information of the user from among the stored language habit information of the counterpart; And 상기 텍스트 중에서 적어도 일부를 상기 로드된 언어 습관 정보에 대응하는 텍스트로 변환하는 단계Converting at least a portion of the text into text corresponding to the loaded language habit information 를 포함하는 방법.How to include. 제1항에 있어서,The method of claim 1, 상기 수신자에 대한 정보를 획득하는 단계 이전에,Prior to obtaining information about the recipient, 적어도 하나 이상의 종류의 사회적 관계 각각에 대응하는 금칙어 정보, 상기 사회적 관계 각각에 대응하는 추천 대화 템플릿 정보, 일반 상식 정보, 또는 최근 뉴스 정보 중에서 적어도 하나 이상을 수집하여 저장하는 단계Collecting and storing at least one of banned words information corresponding to each of at least one kind of social relations, recommended dialogue template information corresponding to each of the social relations, general common sense information, or recent news information; 를 더 포함하고,More, 상기 수신자에 대한 정보를 획득하는 단계 이후 상기 텍스트를 수신하는 단계 이전에,After the step of acquiring information about the recipient, before the step of receiving the text, 상기 금칙어 정보, 상기 추천 대화 템플릿 정보, 상기 일반 상식 정보, 상기 최근 뉴스 정보 중에서 상기 수신자에 대응하는 정보를 검색하는 단계; 및Searching for information corresponding to the recipient among the banned information, the recommended conversation template information, the general common sense information, and the recent news information; And 상기 검색된 정보를 표시하는 단계Displaying the retrieved information 를 더 포함하는 방법.How to include more. 제1항에 있어서,The method of claim 1, 상기 수신자에 대한 정보를 획득하는 단계 이전에,Prior to obtaining information about the recipient, 일반 상식 정보, 또는 최근 뉴스 정보 중에서 적어도 하나 이상을 수집하여 저장하는 단계Collecting and storing at least one of general common sense information or recent news information 를 더 포함하고,More, 상기 텍스트의 적어도 일부를 변환하는 단계는,Converting at least a portion of the text, 상기 텍스트 중에서 상기 일반 상식 정보 또는 상기 최근 뉴스 정보와 서로 모순되는 내용의 텍스트를 검출하는 단계; 및Detecting text in the text that is inconsistent with the general common sense information or the latest news information; And 상기 검출된 텍스트를 상기 일반 상식 정보 또는 상기 최근 뉴스 정보에 대응하는 텍스트로 변환하는 단계Converting the detected text into text corresponding to the general common sense information or the latest news information 를 포함하는 방법.How to include. 전자장치에 있어서,In the electronic device, 사용자로부터 텍스트를 수신하는 입력부; 및An input unit for receiving text from a user; And 적어도 하나 이상의 수신자에 대한 정보를 획득하고, 상기 획득된 수신자에 대한 정보에 따라 상기 텍스트의 적어도 일부를 변환하는 제어부A control unit for obtaining information on at least one recipient and converting at least a portion of the text according to the obtained recipient information 를 포함하는 전자장치.Electronic device comprising a. 제11항에 있어서,The method of claim 11, 상기 수신자에 대한 정보는 상기 수신자가 사용하는 언어에 대한 정보를 포함하고,The information about the recipient includes information about a language used by the receiver, 상기 제어부는, 상기 수신자가 사용하는 언어에 대한 정보에 따라 상기 텍스트의 적어도 일부를 다른 언어의 텍스트로 변환하는 전자장치.The controller converts at least a portion of the text into text of another language according to information about a language used by the receiver. 제11항에 있어서,The method of claim 11, 상기 수신된 텍스트는 적어도 둘 이상의 서로 다른 언어로 구성되고,The received text is composed of at least two different languages, 상기 제어부는, 상기 텍스트를 구성하는 상기 언어의 상대적인 비율에 따라, 상기 텍스트의 적어도 일부를 다른 언어의 텍스트로 변환하는 전자장치.And the controller converts at least a portion of the text into text of another language according to a relative ratio of the languages constituting the text. 제11항에 있어서,The method of claim 11, 상기 제어부는, 상기 사용자에 대한 정보를 획득하고, 상기 사용자 및 상기 수신자 사이의 사회적 관계를 인식하고, 상기 인식된 사회적 관계에 따라 상기 텍스트의 적어도 일부를 상기 사회적 관계에 대응하는 텍스트로 변환하는 전자장치.The controller may be configured to acquire information about the user, recognize a social relationship between the user and the receiver, and convert at least a portion of the text into text corresponding to the social relationship according to the recognized social relationship. Device. 제11항에 있어서,The method of claim 11, 상기 제어부는, 복수의 수신자에 대한 정보를 획득하고, 상기 복수의 수신자 중에서 대표 수신자를 결정하고, 상기 대표 수신자에 대한 정보에 따라 상기 텍스트의 적어도 일부를 변환하는 전자장치.The controller is configured to obtain information about a plurality of recipients, determine a representative recipient from among the plurality of recipients, and convert at least a portion of the text according to the information on the representative recipients. 제15항에 있어서,The method of claim 15, 상기 제어부는, 상기 복수의 수신자 중에서 수신자의 나이, 성별, 국적, 언어, 종교, 직업, 소재지, 지위 중에서 적어도 하나 이상을 기초로 하여 상기 대표 수신자를 결정하는 전자장치.And the controller determines the representative receiver based on at least one of a plurality of recipients, among at least one of a recipient's age, gender, nationality, language, religion, occupation, location, and status. 제11항에 있어서,The method of claim 11, 상기 사용자의 신상 정보, 사회적 관계 정보, 언어 습관 정보, 관심사 정보, 또는 선호 정보 중에서 적어도 하나 이상을 수집하여 저장하고, 상기 사용자와 사회적 관계가 형성된 적어도 하나 이상의 상대방의 신상 정보, 사회적 관계 정보, 언어 습관 정보, 관심사 정보 또는 선호 정보 중에서 적어도 하나 이상을 수집하여 저장하고, 상기 사용자와 상기 적어도 하나 이상의 상대방 사이의 대화 이력 정보를 수집하여 저장하는 저장부Collect and store at least one or more of personal information, social relationship information, language habit information, interest information, or preference information of the user, and personal information, social relationship information, and language of at least one or more counterparts with whom the user has a social relationship. A storage unit for collecting and storing at least one or more of habit information, interest information, or preference information, and collecting and storing conversation history information between the user and the at least one counterpart; 를 더 포함하고,More, 상기 제어부는, 상기 저장된 정보 중에서 상기 수신자에 관련된 정보를 검색하고, 상기 검색된 정보를 기초로 하여 상기 텍스트에 포함된 오류를 정정하거나 또는 상기 텍스트 중에서 적어도 일부를 상기 검색된 정보에 대응하는 텍스트로 변환하는 전자장치.The controller may be configured to retrieve information related to the receiver from the stored information, correct an error included in the text based on the retrieved information, or convert at least a portion of the text into text corresponding to the retrieved information. Electronics. 제11항에 있어서,The method of claim 11, 상기 사용자와 사회적 관계가 형성된 적어도 하나 이상의 상대방과 상기 사용자 사이의 대화 이력 정보를 수집하여 저장하고, 상기 대화 이력 정보를 분석하여 상기 사용자의 언어 습관 정보 또는 상기 상대방의 언어 습관 정보를 생성하고 저장하는 저장부Collecting and storing conversation history information between the user and at least one or more counterparts with whom the user has a social relationship, and analyzing the conversation history information to generate and store language habit information of the user or language habit information of the other party. Storage 를 더 포함하고,More, 상기 제어부는, 상기 저장된 상대방의 언어 습관 정보 중에서 상기 수신자에 대응하는 언어 습관 정보 또는 상기 사용자의 언어 습관 정보를 로드하고, 상기 텍스트 중에서 적어도 일부를 상기 로드된 언어 습관 정보에 대응하는 텍스트로 변환하는 전자장치.The controller may be configured to load language habit information corresponding to the receiver or language habit information of the user among the language habit information of the stored counterpart, and convert at least a portion of the text into text corresponding to the loaded language habit information. Electronics. 제11항에 있어서,The method of claim 11, 적어도 하나 이상의 종류의 사회적 관계 각각에 대응하는 금칙어 정보, 상기 사회적 관계 각각에 대응하는 추천 대화 템플릿 정보, 일반 상식 정보, 또는 최근 뉴스 정보 중에서 적어도 하나 이상을 수집하여 저장하는 저장부A storage unit that collects and stores at least one of banned words information corresponding to each of at least one kind of social relations, recommended dialogue template information corresponding to each of the social relations, general common sense information, or recent news information. 를 더 포함하고,More, 상기 제어부는, 상기 금칙어 정보, 상기 추천 대화 템플릿 정보, 상기 일반 상식 정보, 상기 최근 뉴스 정보 중에서 상기 수신자에 대응하는 정보를 검색하고, 상기 검색된 정보를 디스플레이에 표시하는 전자장치.The controller is configured to search for information corresponding to the receiver among the banned word information, the recommended conversation template information, the general common sense information, and the recent news information, and to display the retrieved information on a display. 제11항에 있어서,The method of claim 11, 일반 상식 정보, 또는 최근 뉴스 정보 중에서 적어도 하나 이상을 수집하여 저장하는 저장부Storage unit for collecting and storing at least one or more of the common sense information, or recent news information 를 더 포함하고,More, 상기 제어부는, 상기 텍스트 중에서 상기 일반 상식 정보 또는 상기 최근 뉴스 정보와 서로 모순되는 내용의 텍스트를 검출하고, 상기 검출된 텍스트를 상기 일반 상식 정보 또는 상기 최근 뉴스 정보에 대응하는 텍스트로 변환하는 전자장치.The controller may be configured to detect a text having a content inconsistent with the general common sense information or the recent news information among the text, and convert the detected text into a text corresponding to the general common sense information or the recent news information. .
PCT/KR2015/007763 2014-07-25 2015-07-24 Text editing method and electronic device supporting same Ceased WO2016013913A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US15/325,952 US10878180B2 (en) 2014-07-25 2015-07-24 Text editing method and electronic device supporting same
EP15824623.1A EP3173939A4 (en) 2014-07-25 2015-07-24 Text editing method and electronic device supporting same
US17/107,143 US11790156B2 (en) 2014-07-25 2020-11-30 Text editing method and electronic device supporting same

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201410359715.6A CN105335343A (en) 2014-07-25 2014-07-25 Text editing method and device
CN201410359715.6 2014-07-25
KR1020150105219A KR102581452B1 (en) 2014-07-25 2015-07-24 Method for editing text and electronic device supporting the same
KR10-2015-0105219 2015-07-24

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US15/325,952 A-371-Of-International US10878180B2 (en) 2014-07-25 2015-07-24 Text editing method and electronic device supporting same
US17/107,143 Continuation US11790156B2 (en) 2014-07-25 2020-11-30 Text editing method and electronic device supporting same

Publications (1)

Publication Number Publication Date
WO2016013913A1 true WO2016013913A1 (en) 2016-01-28

Family

ID=55163367

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2015/007763 Ceased WO2016013913A1 (en) 2014-07-25 2015-07-24 Text editing method and electronic device supporting same

Country Status (1)

Country Link
WO (1) WO2016013913A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115859923A (en) * 2022-11-25 2023-03-28 江西科技学院 Text transmission method, system and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080141106A1 (en) * 2001-04-30 2008-06-12 Multiworks, Inc. Methods and systems for providng technology-assisted content development
US20080313534A1 (en) * 2005-01-07 2008-12-18 At&T Corp. System and method for text translations and annotation in an instant messaging session
WO2010020087A1 (en) * 2008-08-18 2010-02-25 Xingke Medium And Small Enterprises Service Center Of Northeastern University Automatic word translation during text input
US20130144599A1 (en) * 2003-02-10 2013-06-06 At&T Intellectual Property I, L.P. Message Translations
US20130191739A1 (en) * 2012-01-25 2013-07-25 International Business Machines Corporation Intelligent automatic expansion/contraction of abbreviations in text-based electronic communications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080141106A1 (en) * 2001-04-30 2008-06-12 Multiworks, Inc. Methods and systems for providng technology-assisted content development
US20130144599A1 (en) * 2003-02-10 2013-06-06 At&T Intellectual Property I, L.P. Message Translations
US20080313534A1 (en) * 2005-01-07 2008-12-18 At&T Corp. System and method for text translations and annotation in an instant messaging session
WO2010020087A1 (en) * 2008-08-18 2010-02-25 Xingke Medium And Small Enterprises Service Center Of Northeastern University Automatic word translation during text input
US20130191739A1 (en) * 2012-01-25 2013-07-25 International Business Machines Corporation Intelligent automatic expansion/contraction of abbreviations in text-based electronic communications

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3173939A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115859923A (en) * 2022-11-25 2023-03-28 江西科技学院 Text transmission method, system and readable storage medium

Similar Documents

Publication Publication Date Title
US10554590B2 (en) Personalized automated agent
WO2016099192A1 (en) Text-based content management method and apparatus of electronic device
WO2018034552A1 (en) Language translation device and language translation method
US11790156B2 (en) Text editing method and electronic device supporting same
WO2011068375A2 (en) Method and apparatus for providing user interface
CN1704958B (en) Information transmission system and information transmission method
CN106446054B (en) A kind of information recommendation method, device and electronic equipment
WO2015020354A1 (en) Apparatus, server, and method for providing conversation topic
WO2015030461A1 (en) User device and method for creating handwriting content
WO2015064903A1 (en) Displaying messages in an electronic device
WO2019117642A1 (en) Server and user terminal for supporting management of social network
WO2016167424A1 (en) Answer recommendation device, and automatic sentence completion system and method
WO2014035209A1 (en) Method and apparatus for providing intelligent service using inputted character in a user device
WO2015186908A1 (en) Mobile terminal and control method therefor
WO2019125082A1 (en) Device and method for recommending contact information
EP3652925A1 (en) Device and method for recommending contact information
WO2021002585A1 (en) Method for providing electronic document through chatbot, and method and apparatus for creating electronic document through chatbot
WO2021100989A1 (en) Apparatus and method for creating interactive and document-type electronic document, and method for providing electronic document that may be created interactively
CN109814730B (en) Input method and device and input device
EP3039512A1 (en) User device and method for creating handwriting content
WO2016117854A1 (en) Text editing apparatus and text editing method based on speech signal
WO2019164078A1 (en) Real-time multi-language interpretation wireless transmitting and receiving system capable of extracting topic sentence and transmitting and receiving method using same
WO2021096150A1 (en) Method for generating customized lesson module for language learning
WO2018117630A1 (en) User device for matching talented person with project, and computer program stored on computer-readable storage medium
CN108595107A (en) A kind of interface content processing method and mobile terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15824623

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2015824623

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015824623

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15325952

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE