JP2006185426A - Html mail generation system, communication device, html mail generation method and recording medium - Google Patents

Html mail generation system, communication device, html mail generation method and recording medium Download PDF

Info

Publication number
JP2006185426A
JP2006185426A JP2005339971A JP2005339971A JP2006185426A JP 2006185426 A JP2006185426 A JP 2006185426A JP 2005339971 A JP2005339971 A JP 2005339971A JP 2005339971 A JP2005339971 A JP 2005339971A JP 2006185426 A JP2006185426 A JP 2006185426A
Authority
JP
Japan
Prior art keywords
emotion
character string
overall
character strings
document
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.)
Granted
Application number
JP2005339971A
Other languages
Japanese (ja)
Other versions
JP4872323B2 (en
Inventor
Hiroo Matsukawa
裕雄 松川
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2005339971A priority Critical patent/JP4872323B2/en
Publication of JP2006185426A publication Critical patent/JP2006185426A/en
Application granted granted Critical
Publication of JP4872323B2 publication Critical patent/JP4872323B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To automatically apply decoration to a character expressing feeling according to contents of a document when inputting the document of an HTML mail. <P>SOLUTION: When one or more character strings from which the feeling is read are present inside a created document of a text format when creating the document of the HTML mail, a control part 11 determines the whole feeling of the document from one or more character strings, forms the document of an HTML format wherein the decoration corresponding to the determined whole feeling is applied to each the character string, and display it on a display part 14. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、HTMLメール生成システム、通信装置、HTMLメール生成方法、及び記録媒体に関する。特に、本発明は、HTMLメールの文書入力時に、その文書の内容に応じて、感情を表す文字に装飾を掛けるHTMLメール生成システム、通信装置、HTMLメール生成方法、及び記録媒体に関する。   The present invention relates to an HTML mail generation system, a communication device, an HTML mail generation method, and a recording medium. In particular, the present invention relates to an HTML mail generation system, a communication device, an HTML mail generation method, and a recording medium that decorate characters representing emotion according to the contents of the document when HTML document is input.

オペレータは、HTML(Hyper Text Markup Language)形式のメールを作成する場合、一般に、以下の方法で行っている。すなわち、オペレータは、文章作成時にあらかじめフォントのサイズ、色、表示位置などの装飾の種類を指定してから文章を入力する。あるいは、利用者は、すべての本文を作成し終えた後に、装飾を希望する箇所をその作成した文書から選択し、装飾を付けるという作業を繰り返し行う。   When an operator creates an email in HTML (Hyper Text Markup Language) format, the operator generally performs the following method. That is, the operator inputs a sentence after designating a decoration type such as a font size, a color, and a display position in advance when the sentence is created. Alternatively, after the user has created all the texts, the user repeatedly selects the part desired to be decorated from the created document and adds the decorations.

しかしながら、上述した手順は、1つのHTML形式のメールを作成するに辺り、非常に時間と手間がかかる作業である。   However, the above-described procedure is very time-consuming and labor-intensive to create one HTML mail.

また、文書から語句を抽出しその語句の使用頻度に基づいて文書の特徴ベクトルを生成するという文書特徴抽出方法が、例えば、特開2000−181936号公報に開示されている。すなわち、文献1の文書特徴抽出方法は、文書から名詞の連続する語句(名詞bigram)を抽出し、出現回数をカウントする。そして、文献1の文書特徴抽出方法は、その出現回数を基に1つの語句を文書の特徴ベクトルとして生成する。   Also, for example, Japanese Patent Laid-Open No. 2000-181936 discloses a document feature extraction method that extracts a phrase from a document and generates a feature vector of the document based on the frequency of use of the phrase. That is, the document feature extraction method of Document 1 extracts continuous phrases of nouns (noun bigrams) from a document and counts the number of appearances. Then, the document feature extraction method of Document 1 generates one word / phrase as a feature vector of a document based on the number of appearances.

また、文字列を装飾対応のhtmlとしてHTMLメールを作成するという文書作成方法が、例えば、特開2004−157726号公報に開示されている。すなわち、オペレータが画面上でのHTMLメール作成時に、入力した文字を装飾するためにその文字列を選択し、更にファンクションキーの操作を行うと、携帯電話は、選択可能な絵文字を表示部に表示する。オペレータが画面上で希望の絵文字を選択すると、携帯電話は、その選択した文字列に絵文字を付加する。更にオペレータが表示画面を見ながらHTMLメールを選択すると、携帯電話は、付加されている絵文字に対応した装飾を、その選択した文字列に掛ける。   Also, for example, Japanese Patent Application Laid-Open No. 2004-157726 discloses a document creation method for creating an HTML mail using a character string as a decoration-compatible html. In other words, when an operator creates an HTML mail on the screen, he selects the character string to decorate the input character, and further operates the function key. Then, the mobile phone displays a selectable pictogram on the display unit. To do. When the operator selects a desired pictograph on the screen, the mobile phone adds the pictograph to the selected character string. Further, when the operator selects an HTML mail while looking at the display screen, the mobile phone applies a decoration corresponding to the added pictogram to the selected character string.

また、単語に対応する画像データなどを画像記憶部から抽出しそれに基づき電子メールを作成するという文書変換方法が、例えば、特開平11−110373号公報に開示されている。すなわち、文書変換装置は、入力された文章を、形態素解析して、単語を抽出する。更に、文書変換装置は、その抽出した単語を基に画像記憶部を検索し、単語に対応する画像を取得して、その取得した画像を貼り付けた文書を作成する。   A document conversion method for extracting image data corresponding to a word from an image storage unit and creating an e-mail based on the extracted image data is disclosed in, for example, Japanese Patent Application Laid-Open No. 11-110373. That is, the document conversion apparatus extracts a word by performing morphological analysis on the input sentence. Further, the document conversion device searches the image storage unit based on the extracted word, acquires an image corresponding to the word, and creates a document with the acquired image pasted.

一方、電子メールの文章を作成する場合、オペレータは、一般に、感情を表す語句(例えば、ありがとう、楽しい、うれしい、ごめん等の語句)を用いて文章を作成する。この作成した電子メールの文書内の感情を表す語句に、電子メールの内容に応じた装飾が掛けられていれば、その電子メールの文書内の感情を表す語句が、文書の内容に応じ、かつ目に見える形で表現されることになる。そのため、このような電子メールは、相手に感情表現を伝えることになり、便利なものである。   On the other hand, when creating an e-mail sentence, an operator generally creates a sentence using words and phrases that express emotions (for example, words such as thank-you, fun, happy, and sorry). If the word or phrase representing the emotion in the created e-mail document is decorated according to the content of the e-mail, the word or phrase representing the emotion in the e-mail document corresponds to the content of the document, and It will be expressed in a visible form. Therefore, such an e-mail is convenient because it conveys emotional expressions to the other party.

特開2000−181936号公報JP 2000-181936 A 特開2004−157726号公報JP 2004-157726 A 特開平11−110373号公報JP-A-11-110373

しかしながら、上記特許文献1の技術は、出現回数を基に特徴となる語句を抽出しているため、たまたま感情を示す語句を抽出することができるが、例え、たまたま感情を示す語句を抽出したとしても抽出した語句を装飾していない。そのため、上記特許文献1の技術は、HTMLメールの文書入力時に、感情を表現する語句(文字列)の装飾を掛けるようにするには、オペレータが手操作で行うことしかなく、非常に手間のかかる作業を解消することできない。この場合の手操作とは、例を挙げると、以下のことである。すなわち、オペレータがHTMLエディタにて装飾を付けたい部分に対して、あらかじめ文字色やサイズなどを指定してから文章を入力する。又は、オペレータがすべての文章を入力してから装飾を付けたい部分を範囲指定して、文字色やサイズを設定する。   However, since the technique of Patent Document 1 extracts a characteristic phrase based on the number of appearances, it is possible to extract a phrase indicating an emotion by chance. For example, it is assumed that a phrase indicating an emotion is extracted. Even the extracted phrases are not decorated. For this reason, the technique of Patent Document 1 described above requires only an operator to manually decorate a phrase (character string) that expresses emotion when inputting an HTML mail document. Such work cannot be eliminated. Examples of the manual operation in this case are as follows. That is, the operator inputs a sentence after designating a character color, a size, etc. in advance for a portion to be decorated with an HTML editor. Alternatively, after the operator inputs all the sentences, the range of the part to be decorated is specified, and the character color and size are set.

また、特許文献2の技術は、オペレータが手操作で画面操作を行いながら、画面上から絵文字を選択して、希望する文字列に付加するようにしている。そのため、上記特許文献2の技術は、HTMLメールの文書入力時に、感情を表現する語句(文字列)の装飾を掛けるようにするには、オペレータが手操作で行うことしかなく、非常に手間のかかる作業を解消することできない。   In the technique of Patent Literature 2, a pictograph is selected from the screen while the operator manually operates the screen, and is added to a desired character string. For this reason, the technique of the above-mentioned patent document 2 requires only manual operation by an operator to apply a decoration of a phrase (character string) expressing emotion when inputting an HTML mail document. Such work cannot be eliminated.

また、上記特許文献3の技術は、入力された文章から単語を抽出してその抽出した単語に対応する画像を、電子メールの内容に関係なく、無条件で文書に貼り付けている。そのため、上記特許文献3の技術は、HTMLメールの文書入力時に、感情を表現する語句(文字列)の装飾を掛けるようにするには、オペレータが手操作で行うことしかなく、非常に手間のかかる作業を解消することできない。   In the technique of Patent Document 3, a word is extracted from an input sentence, and an image corresponding to the extracted word is unconditionally pasted on a document regardless of the content of the e-mail. For this reason, the technique of the above-mentioned Patent Document 3 requires only manual operation by an operator to apply decorations of words (character strings) expressing emotions when inputting HTML mail documents. Such work cannot be eliminated.

そこで、本発明の目的は、上記問題点を鑑み、HTMLメールの文書入力時に、その文書の内容に応じて、感情を表す文字に装飾を自動的に掛けるHTMLメール生成システム、通信装置、HTMLメール生成方法、及び記録媒体を提供することにある。   In view of the above problems, an object of the present invention is to provide an HTML mail generation system, a communication device, and an HTML mail that automatically apply decorations to characters representing emotions according to the content of the HTML mail when a document is input To provide a generation method and a recording medium.

上記課題を解決するために、本発明のHTMLメール生成システムは、HTMLメールを作成するHTML生成システムであって、HTMLメールの文書作成時に、作成されたテキスト形式の文書の中に感情が読み取れる1つもしくは複数の文字列が存在すると、その1つもしくは複数の文字列から文書の全体感情を決定する感情決定手段と、前記文字列に前記決定した全体感情に対応した装飾を掛けたHTML形式の文書にして表示部に表示する作成手段と、有していることを特徴としている。   In order to solve the above-mentioned problems, the HTML mail generation system of the present invention is an HTML generation system for generating HTML mail, and emotions can be read in a text-format document generated when an HTML mail document is created. One or a plurality of character strings, an emotion determination means for determining the overall emotion of the document from the one or more character strings, and an HTML format in which the character string is decorated with a decoration corresponding to the determined overall emotion It is characterized by having creation means for displaying it on a display unit as a document.

更に、上記のHTMLメール生成システムにおいて、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書を備え、前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定することを特徴としても良い。   The HTML mail generation system further includes a dictionary for storing emotion information of emotion expressed by the character string and a frequency value indicating the strength of emotion of the character string for each character string, and the emotion determination The means extracts emotion information and frequency values corresponding to the one or more character strings by searching the dictionary using the one or more character strings as keys, and includes the extracted frequency values. The emotion information corresponding to the highest frequency value may be determined as the overall emotion.

更に、上記のHTMLメール生成システムにおいて、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、前記全体感情に対応した装飾パターンを格納するデータベースと、を備え、前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、前記作成手段は、前記決定した全体感情をキーにして前記データベースを検索することにより文書の背景色を決定することを特徴としても良い。   Furthermore, in the above HTML mail generation system, a dictionary that stores emotion information of emotion expressed by the character string and a frequency value indicating the strength of the emotion of the character string for each character string; A database storing corresponding decoration patterns, wherein the emotion determining means searches the dictionary using the one or more character strings as a key to thereby search the emotion corresponding to the one or more character strings. Information and a frequency value are extracted, emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion, and the creating means uses the determined overall emotion as a key The background color of the document may be determined by searching the database.

更に、上記のHTMLメール生成システムにおいて、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、部分感情と全体感情とに対応した装飾パターンを格納するデータベースと、を備え、前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、前記作成手段は、前記抽出した感情情報を部分感情としその部分感情と前記決定した全体感情とをキーにして前記データベースを検索することにより前記1つもしくは複数の文字列に対応する装飾パターンを抽出することを特徴としても良い。   Furthermore, in the above HTML mail generation system, a dictionary for storing emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of emotion of the character string, partial emotion and the whole A database that stores decoration patterns corresponding to emotions, and the emotion determination means searches the dictionary using the one or more character strings as a key to search for the one or more character strings. The corresponding emotion information and the frequency value are extracted, emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion, and the creating means includes the extracted emotion A decoration pattern corresponding to the one or more character strings is extracted by searching the database using information as a partial emotion and the partial emotion and the determined overall emotion as a key. It may be characterized.

また、本発明の通信装置は、HTMLメールを作成する通信装置であって、HTMLメールの文書作成時に、作成されたテキスト形式の文書の中に感情が読み取れる1つもしくは複数の文字列が存在すると、その1つもしくは複数の文字列から文書の全体感情を決定する感情決定手段と、前記文字列に前記決定した全体感情に対応した装飾を掛けたHTML形式の文書にして前記表示部に表示する作成手段と、有することを特徴としている。   Further, the communication device of the present invention is a communication device that creates HTML mail, and at the time of creating an HTML mail document, there is one or more character strings from which emotions can be read in the created text format document. An emotion determination means for determining the overall emotion of the document from the one or more character strings, and an HTML document in which the character string is decorated with a decoration corresponding to the determined overall emotion and displayed on the display unit It is characterized by having creation means.

更に、上記の通信装置において、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書を備え、前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定することを特徴としても良い。   Further, in the above communication device, for each character string, a dictionary that stores emotion information of emotion expressed by the character string and a frequency value indicating the strength of the emotion of the character string is provided, and the emotion determining means includes The emotion information and frequency values corresponding to the one or more character strings are extracted by searching the dictionary using the one or more character strings as a key, and the extracted frequency values Emotion information corresponding to the highest frequency value may be determined as the overall emotion.

更に、上記の通信装置において、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、前記全体感情に対応した装飾パターンを格納するデータベースと、を備え、前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、前記作成手段は、前記決定した全体感情をキーにして前記データベースを検索することにより文書の背景色を決定することを特徴としても良い。   Further, in the above communication device, a dictionary that stores emotion information of emotion expressed by the character string and a frequency value indicating the strength of emotion of the character string for each character string, and corresponds to the overall emotion A database for storing a decoration pattern, and the emotion determination means searches the dictionary with the one or more character strings as a key to search emotion information corresponding to the one or more character strings; A frequency value is extracted, emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion, and the creating means uses the determined overall emotion as a key. The background color of the document may be determined by searching the database.

更に、上記の通信装置において、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、部分感情と全体感情とに対応した装飾パターンを格納するデータベースと、を備え、前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記作成手段は、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、前記抽出した感情情報を部分感情としその部分感情と前記決定した全体感情とをキーにして前記データベースを検索することにより前記1つもしくは複数の文字列に対応する装飾パターンを抽出することを特徴としても良い。   Further, in the communication device, for each character string, a dictionary that stores emotion information of emotion expressed by the character string and a frequency value indicating the strength of the emotion of the character string, a partial emotion and an overall emotion, And a database that stores decoration patterns corresponding to, and the emotion determination means corresponds to the one or more character strings by searching the dictionary using the one or more character strings as a key. The emotion information and the frequency value are extracted, and the creation means determines emotion information corresponding to the highest frequency value among the extracted frequency values as the overall emotion, and the extracted emotion information is A decoration pattern corresponding to the one or more character strings is extracted by searching the database using the partial emotion as a key and the determined partial emotion as a key. Good.

また、本発明のHTMLメール生成方法は、HTMLメールの作成を行うHTMLメール生成方法であって、HTMLメールの文書作成時に、作成されたテキスト形式の文書の中に感情が読み取れる1つもしくは複数の文字列が存在すると、その1つもしくは複数の文字列から文書の全体感情を決定し、前記文字列に前記決定した全体感情に対応した装飾を掛けたHTML形式の文書にすることを特徴としている。   The HTML mail generation method of the present invention is an HTML mail generation method for generating an HTML mail, and at the time of creating an HTML mail document, one or a plurality of emotions can be read in the created text format document. If there is a character string, the entire emotion of the document is determined from the one or more character strings, and the document is an HTML document in which the character string is decorated with the decoration corresponding to the determined entire emotion. .

更に、上記のHTMLメール生成方法において、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書を予め準備し、前記全体感情を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定することを特徴としても良い。   Further, in the above HTML mail generation method, a dictionary is prepared in advance for storing emotion information of emotion expressed by the character string and a frequency value indicating the strength of emotion of the character string for each character string, When determining an overall emotion, the emotion information and frequency values corresponding to the one or more character strings are extracted by searching the dictionary using the one or more character strings as a key, and the extraction The emotion information corresponding to the highest value of the frequency values among the determined frequency values may be determined as the overall emotion.

更に、上記のHTMLメール生成方法において、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、前記全体感情に対応した装飾パターンを格納するデータベースと、を予め準備し、前記全体感情を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、前記決定した全体感情をキーにして前記データベースを検索することにより文書の背景色を決定することを特徴としても良い。   Further, in the HTML mail generation method described above, a dictionary that stores emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of the emotion of the character string; A database storing corresponding decoration patterns, and when determining the overall emotion, the one or more characters are searched by searching the dictionary using the one or more character strings as a key. Emotion information and frequency values corresponding to the column are extracted, emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion, and the determined overall emotion is a key The background color of the document may be determined by searching the database.

更に、上記のHTMLメール生成方法において、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、部分感情と全体感情とに対応した装飾パターンを格納するデータベースと、を予め準備し、前記1つもしくは複数の文字列を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記文1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、前記抽出した感情情報を部分感情としその部分感情と前記決定した全体感情とをキーにして前記データベースを検索することにより前記1つもしくは複数の文字列に対応する装飾パターンを抽出することを特徴としても良い。   Further, in the HTML mail generation method described above, a dictionary for storing emotion information of emotion expressed by the character string and a frequency value indicating the strength of emotion of the character string for each character string, partial emotion and the whole A database that stores decoration patterns corresponding to emotions, and when the one or more character strings are determined, the dictionary is searched using the one or more character strings as a key. To extract emotion information and frequency values corresponding to one or more character strings, and determine emotion information corresponding to the highest frequency value among the extracted frequency values as the overall emotion Then, the extracted emotion information is used as a partial emotion, and the database is searched using the partial emotion and the determined overall emotion as a key, whereby a decoration pattern corresponding to the one or more character strings is retrieved. It may be characterized in that extracting the over down.

また、本発明の記録媒体は、コンピュータに、HTMLメールの作成処理を実行させるプログラムを記憶した記録媒体であって、HTMLメールの文書作成時に、作成されたテキスト形式の文書の中に感情が読み取れる1つもしくは複数の文字列が存在すると、その1つもしくは複数の文字列から文書の全体感情を決定し、前記文字列に前記決定した全体感情に対応した装飾を掛けたHTML形式の文書にするという処理を前記コンピュータに実行させるプログラムを記憶している。   The recording medium of the present invention is a recording medium that stores a program for causing a computer to execute an HTML mail creation process, and emotions can be read in the created text format document when the HTML mail document is created. If one or more character strings exist, the entire emotion of the document is determined from the one or more character strings, and the document is in an HTML format in which the character string is decorated with the decoration corresponding to the determined entire emotion. A program for causing the computer to execute the process is stored.

更に、上記の記録媒体において、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書を記憶し、前記全体感情を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定する、という処理を前記コンピュータに実行させるプログラムを記憶しても良い。   Further, in the recording medium, for each character string, a dictionary for storing emotion information of emotion expressed by the character string and a frequency value indicating the emotion strength of the character string is stored, and the overall emotion is stored. When determining, emotion information and frequency values corresponding to the one or more character strings are extracted by searching the dictionary using the one or more character strings as a key, and the extracted frequency values A program for causing the computer to execute a process of determining emotion information corresponding to the highest frequency value as the overall emotion may be stored.

更に、上記の記録媒体において、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、前記全体感情に対応した装飾パターンを格納するデータベースと、を記憶し、前記全体感情を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、前記決定した全体感情をキーにして前記データベースを検索することにより文書の背景色を決定する、という処理を前記コンピュータに実行させるプログラムを記憶しても良い。   Furthermore, in the recording medium, a dictionary that stores emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of emotion of the character string, and the whole emotion A database that stores decoration patterns, and when determining the overall emotion, the dictionary is searched using the one or more character strings as a key, and the one or more character strings are supported. Emotion information and frequency value to be extracted, emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion, and the determined overall emotion is used as a key You may memorize | store the program which makes the said computer perform the process of determining the background color of a document by searching a database.

更に、上記の記録媒体において、前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、部分感情と全体感情とに対応した装飾パターンを格納するデータベースと、を記憶し、前記1つもしくは複数の文字列を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記文1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、前記抽出した感情情報を部分感情としその部分感情と前記決定した全体感情とをキーにして前記データベースを検索することにより前記1つもしくは複数の文字列に対応する装飾パターンを抽出する、という処理を前記コンピュータに実行させるプログラムを記憶しても良い。   Further, in the recording medium, for each character string, a dictionary for storing emotion information of emotion expressed by the character string and a frequency value indicating the strength of the emotion of the character string, partial emotion and overall emotion, A database storing decoration patterns corresponding to, and when the one or more character strings are determined, the dictionary is searched by using the one or more character strings as keys. Extracting emotion information and frequency values corresponding to one or a plurality of character strings, determining emotion information corresponding to the highest frequency value among the extracted frequency values as the overall emotion, Extracting the decoration pattern corresponding to the one or more character strings by searching the database using the extracted emotion information as a partial emotion and the partial emotion and the determined overall emotion as a key, A process referred to may be stored a program for causing the computer to execute.

従って、上記発明は、HTMLメールの文書作成時に、作成されたテキスト形式の文書の中に感情の読み取れる文字列が存在すると、その文字列から文書全体感情を決定する。更に、上記発明は、その決定した全体感情に対応した装飾パターンを、感情を表す文字列に掛けたHTML形式の文書にしている。そのため、上記発明は、オペレータがテキスト形式の文書を作成するだけで自動的に感情を表す文字列に装飾を掛けたHTML形式の文書に変換することができる。更に、上記発明は、その装飾を掛けたHTML形式の文章を表示しているため、オペレータは、メール送信する前に自動変換したHTML形式の文書を確認することができる。   Therefore, in the above invention, when an HTML mail document is created, if there is a character string in which the emotion can be read in the created text format document, the entire document emotion is determined from the character string. Further, in the above invention, an HTML document in which a decoration pattern corresponding to the determined overall emotion is applied to a character string representing the emotion is used. Therefore, the above invention can be converted into an HTML document in which a character string representing emotion is automatically decorated only by the operator creating a text document. Furthermore, since the above-mentioned invention displays the HTML-formatted text with the decoration, the operator can check the HTML-format document automatically converted before sending the mail.

次に、本発明の実施の形態について図面を参照して説明する。尚、本実施の形態では携帯電話機の場合で説明する。   Next, embodiments of the present invention will be described with reference to the drawings. In this embodiment, the case of a mobile phone will be described.

図1は、本発明に係るメール自動生成方法を適用した通信装置を含むシステムの一実施の形態を示すブロック図である。   FIG. 1 is a block diagram showing an embodiment of a system including a communication apparatus to which an automatic mail generation method according to the present invention is applied.

図1は、通信装置である携帯端末1と、記録媒体装置40と、記録媒体41とを含む。   FIG. 1 includes a mobile terminal 1 that is a communication device, a recording medium device 40, and a recording medium 41.

携帯端末1は、携帯電話機、PDA(Personal Digital Assistants)、PHS(Personal Handyphone System)などのように、通信機能を備える携帯型の通信装置である。携帯端末1は、アンテナ2と、制御部11と、無線部12と、信号処理部13と、表示部14と、キー操作部15と、ROM16と、RAM17と、インタフェース部18と、カメラ19、スピーカ21と、マイクロフォン22とを含む。   The mobile terminal 1 is a mobile communication device having a communication function, such as a mobile phone, a PDA (Personal Digital Assistants), and a PHS (Personal Handyphone System). The mobile terminal 1 includes an antenna 2, a control unit 11, a radio unit 12, a signal processing unit 13, a display unit 14, a key operation unit 15, a ROM 16, a RAM 17, an interface unit 18, a camera 19, A speaker 21 and a microphone 22 are included.

アンテナ2は、音声データ、メディアデータ等のデータの送受信を、図示していない無線網を介して行う。この場合のアンテナ2は、例えば、ホイップアンテナ、ロッドアンテナ、ヘリカルアンテナ、パッチアンテナ等の無指向性アンテナであっても良いし、ダイポールアンテナや逆Lアンテナなどの指向性アンテナであっても良い。   The antenna 2 transmits and receives data such as audio data and media data via a wireless network (not shown). In this case, the antenna 2 may be an omnidirectional antenna such as a whip antenna, a rod antenna, a helical antenna, or a patch antenna, or may be a directional antenna such as a dipole antenna or an inverted L antenna.

無線部12は、制御部11の制御の下で、アンテナ2を介して他の装置とのデータのやり取りを行う。   The wireless unit 12 exchanges data with other devices via the antenna 2 under the control of the control unit 11.

信号処理部13は、制御部11の下で、無線部12へ送出する信号または無線部12からの信号を処理する。   The signal processing unit 13 processes a signal transmitted to the wireless unit 12 or a signal from the wireless unit 12 under the control unit 11.

キー操作部15は、各種キー、ボタン等を有しており、制御部11の下で、オペレータによる各種キー操作を受け付ける。   The key operation unit 15 has various keys, buttons, and the like, and accepts various key operations by the operator under the control unit 11.

表示部(例えば、液晶パネル)14は、制御部11の下で、各種情報を表示する。   The display unit (for example, a liquid crystal panel) 14 displays various information under the control unit 11.

制御部11は、CPU(Central Processing Unit)によりROM16又はRAM17に格納されているプログラムを実行することによりプログラム制御で動作する。更に、制御部11は、無線部12、信号処理部13、表示部14、キー操作部15、インタフェース部18、及びカメラ19を制御する。   The control unit 11 operates by program control by executing a program stored in the ROM 16 or the RAM 17 by a CPU (Central Processing Unit). Further, the control unit 11 controls the wireless unit 12, the signal processing unit 13, the display unit 14, the key operation unit 15, the interface unit 18, and the camera 19.

ROM16は、例えば、フラッシュメモリ、EEPROM(Electronically Erasable and Programmable Read Only Memory)等の不揮発性の再書き込みのできるメモリである。ROM16は、前述の制御部11に接続され、受信した文字メッセージ(以下「メール」という。)の表示や各種表示を行うための文字フォント、絵文字などのデータを格納する。更に、ROM16は、HTMLメール生成プログラム161を含む各種プログラムを格納している。更に、ROM16は、感情分類キーワード辞書104(後述説明)と、装飾パターンデータベース105(後述説明)とを格納している。   The ROM 16 is a non-volatile rewritable memory such as a flash memory or an EEPROM (Electronically Erasable and Programmable Read Only Memory). The ROM 16 is connected to the control unit 11 described above and stores data such as character fonts and pictograms for displaying received character messages (hereinafter referred to as “mail”) and various displays. Further, the ROM 16 stores various programs including an HTML mail generation program 161. Further, the ROM 16 stores an emotion classification keyword dictionary 104 (described later) and a decoration pattern database 105 (described later).

RAM17は、例えば、RAM(Random Access Memory)等の揮発性のメモリである。RAM17は、前述の制御部11に接続され、受信したメールのデータ、画像のデータを記録する。また、RAM17は、カメラ19で撮影した写真画像のデータを記録するための画像記録部と、送受信メールやアドレスなどの文字データを記録する文字記録部とを有する(画像記録部と文字記録部とで電話帳が構成されていてもよい。)。また、RAM17は、制御部11が動作する場合の作業領域として利用される。   The RAM 17 is a volatile memory such as a RAM (Random Access Memory). The RAM 17 is connected to the control unit 11 and records received mail data and image data. The RAM 17 has an image recording unit for recording data of a photographic image taken by the camera 19 and a character recording unit for recording character data such as transmission / reception mails and addresses (an image recording unit and a character recording unit). Phone book may be configured with.) The RAM 17 is used as a work area when the control unit 11 operates.

カメラ19は、風景、人物等を撮影するためのカメラである。この場合のカメラ19は、例えば、CCD(Charge Coupled Devices)を用いたデジタルカメラを用いる。   The camera 19 is a camera for photographing a landscape, a person, and the like. As the camera 19 in this case, for example, a digital camera using a CCD (Charge Coupled Devices) is used.

スピーカ21は、音声を出力する。   The speaker 21 outputs sound.

マイクロフォン22は、音声、周辺の音等を入力する。チャット専用画面を有する。   The microphone 22 inputs sound, surrounding sounds, and the like. Has a chat-only screen.

制御部11は、携帯電話機1を統括制御するものである。制御部11は、CPU111とHTMLメール生成部30とを含んでいる。このHTMLメール生成部30は、CPU111によりプログラム制御で動作する。すなわち、HTMLメール生成部30は、ROM16に格納されているHTMLメール生成プログラム161を実行することにより、HTMLメールの生成を行う。   The control unit 11 performs overall control of the mobile phone 1. The control unit 11 includes a CPU 111 and an HTML mail generation unit 30. The HTML mail generation unit 30 is operated by the CPU 111 under program control. That is, the HTML mail generation unit 30 generates an HTML mail by executing the HTML mail generation program 161 stored in the ROM 16.

インタフェース部18は、制御部11の制御の下で、媒体装置40とのデータのやり取りを行う。従って、本実施の形態例では、インタフェース部18は、記録媒体41に格納されているHTML生成プログラム等をROM16内のエリアに格納するためのインタフェースとして利用される。   The interface unit 18 exchanges data with the medium device 40 under the control of the control unit 11. Therefore, in the present embodiment, the interface unit 18 is used as an interface for storing an HTML generation program or the like stored in the recording medium 41 in an area in the ROM 16.

記録媒体装置40は、例えば、CD-ROM drive装置、rewritable drive装置、DVD burning drive装置等の装置であって、記録媒体41を読み取ることができる装置である。   The recording medium device 40 is a device that can read the recording medium 41, such as a CD-ROM drive device, a rewritable drive device, a DVD burning drive device, or the like.

記録媒体41は、例えば、CD−ROM、CD−R、DVD等の記録媒体である。この記録媒体41には、HTMLメール生成プログラムと、感情分類キーワード辞書と、装飾パターンデータベースとが予め書き込まれている。   The recording medium 41 is a recording medium such as a CD-ROM, CD-R, or DVD. In this recording medium 41, an HTML mail generation program, an emotion classification keyword dictionary, and a decoration pattern database are written in advance.

携帯端末1のオペレータが、HTMLメール生成のサービスを受けたいときに、予め、記録媒体41に書き込まれているHTMLメール生成プログラムを携帯端末1にインストールする必要がある。すなわち、オペレータが媒体装置40に記録媒体41をセットし、記録媒体41に書き込まれているHTMLメール生成プログラムのインストールの指示をキー操作部15から行う。すると、制御部11は、媒体装置40を介してHTMLメール生成プログラムと感情分類キーワード辞書と装飾パターンデータベースとを読み取る。そして、制御部11は、読み取ったHTMLメール生成プログラムと感情分類キーワード辞書と装飾パターンデータベースとをROM16に記憶する。なお、ユーザが必ずしも携帯端末1の購入後にHTMメール生成プログラムと辞書とデータベースとをインストールする必要はなく、製造業者が、携帯端末1の工場出荷時に、インストールして記憶させておいても良い。または、販売業者が、携帯端末1の販売時に、HTMメール生成プログラムと辞書とデータベースをROM16にインストールして記憶させておいても良い。また、サービス提供者が記録媒体41に書き込まれているHTML生成プログラムを図示していないサーバ装置にインストールしておく。そしてユーザが、そのインストールしたサーバ装置からアンテナ2を介して、プログラムと辞書とデータベースとを携帯端末1にダウンロードして、ROM16に書き込んでも良い。   When an operator of the portable terminal 1 wants to receive an HTML mail generation service, it is necessary to install an HTML mail generation program written in the recording medium 41 in advance in the portable terminal 1. That is, the operator sets the recording medium 41 in the medium device 40, and instructs the key operation unit 15 to install the HTML mail generation program written in the recording medium 41. Then, the control unit 11 reads the HTML mail generation program, the emotion classification keyword dictionary, and the decoration pattern database via the medium device 40. Then, the control unit 11 stores the read HTML mail generation program, the emotion classification keyword dictionary, and the decoration pattern database in the ROM 16. It is not always necessary for the user to install the HTM mail generation program, the dictionary, and the database after purchasing the portable terminal 1, and the manufacturer may install and store the portable terminal 1 at the time of factory shipment. Alternatively, the dealer may install and store the HTM mail generation program, the dictionary, and the database in the ROM 16 when the mobile terminal 1 is sold. In addition, the service provider installs an HTML generation program written in the recording medium 41 in a server device not shown. Then, the user may download the program, the dictionary, and the database from the installed server device to the mobile terminal 1 via the antenna 2 and write them in the ROM 16.

図2は、図1に示した制御部11のHTMLメール生成部30を含むメール生成回路の例を示すブロック図である。   FIG. 2 is a block diagram illustrating an example of a mail generation circuit including the HTML mail generation unit 30 of the control unit 11 illustrated in FIG.

本HTMLメール生成部30は、メールエディタ101と、HTMLメール作成部102と、形態素解析部103とを含んでいる。また、ROM16は、HTMLメール生成部30が動作する上で必要な情報として、感情分類キーワード辞書104と、装飾パターンデータベース105とを含んでいる。   The HTML mail generation unit 30 includes a mail editor 101, an HTML mail creation unit 102, and a morpheme analysis unit 103. In addition, the ROM 16 includes an emotion classification keyword dictionary 104 and a decoration pattern database 105 as information necessary for the operation of the HTML mail generation unit 30.

メールエディタ101は、テキスト形式及びHTML形式のメールを編集する。   The mail editor 101 edits text format and HTML format emails.

HTMLメール作成部102は、テキスト形式メールからHTML形式メールを作成する。HTMLメール作成部102は、感情決定部1021と、作成部1022とを含む。   The HTML mail creating unit 102 creates an HTML mail from a text mail. The HTML mail creation unit 102 includes an emotion determination unit 1021 and a creation unit 1022.

感情決定部1021は、作成されたテキスト形式のメール文書の中から感情のある単語(文字列)を抽出する。感情決定部1021は、その抽出した単語を基に、単語自身の感情(本実施の形態例では、単語の部分感情ともいう)とメール文書の全体感情を抽出し、決定する。   The emotion determination unit 1021 extracts an emotional word (character string) from the created text-format mail document. The emotion determination unit 1021 extracts and determines the emotion of the word itself (also referred to as a partial emotion of the word in this embodiment) and the overall emotion of the mail document based on the extracted word.

作成部1022は、決定された全体感情から背景色を抽出し、決定する。作成部1022は、抽出された感情のある文字列に、決定された部分感情と全体感情とに対応した装飾パターンを抽出して決定する。作成部1022は、決定した装飾パターンを用いて、テキスト形式の文書をHTML形式のメール文書に変換し、その変換したHTML形式のメール文書を表示部14に表示する。   The creation unit 1022 extracts and determines the background color from the determined overall emotion. The creation unit 1022 extracts and determines a decoration pattern corresponding to the determined partial emotion and overall emotion from the extracted character string with emotion. The creation unit 1022 converts the text format document into an HTML format mail document using the determined decoration pattern, and displays the converted HTML format mail document on the display unit 14.

形態素解析部103は、テキスト形式のメールの本文を解析し、単語(文字列)単位に切り出す。   The morpheme analysis unit 103 analyzes the text body of the text mail and cuts it out in units of words (character strings).

感情分類キーワード辞書104は、ROM16内に割り当てられている。この感情分類キーワード辞書104は、形態素解析部103にて取り出した単語(文字列)に対応できるように、感情を分類して保存している。すなわち、感情分類キーワード辞書104は、例えば、図4に示すように、表記毎に、その表記に対応した感情と頻度とを含んでいる。この場合、表記は、単語(文字列)を示しており、形態素解析部103が切り出した単語(文字列)に対応する。感情は、単語(文字列)自身の感情を示す。頻度は、単語(文字列)自身の感情の強さを示しており、例では、高い値ほど感情が強い。更に、感情分類キーワード辞書104には、形態素解析部103が図4で示した単語以外に語尾も識別できるように、表記欄に語尾(例えば、「は」であれば、その「は」と語尾を示す識別情報とを含む。但し、感情と頻度は記載されていない)も保存されている。   The emotion classification keyword dictionary 104 is assigned in the ROM 16. This emotion classification keyword dictionary 104 classifies and stores emotions so as to correspond to the words (character strings) extracted by the morpheme analysis unit 103. That is, the emotion classification keyword dictionary 104 includes, for example, emotions and frequencies corresponding to the notation for each notation, as shown in FIG. In this case, the notation indicates a word (character string) and corresponds to the word (character string) cut out by the morphological analysis unit 103. Emotion indicates the emotion of the word (character string) itself. The frequency indicates the strength of the emotion of the word (character string) itself. In the example, the higher the value, the stronger the emotion. Furthermore, in the emotion classification keyword dictionary 104, the morphological analysis unit 103 can identify the ending in addition to the words shown in FIG. (However, emotion and frequency are not described) are also stored.

装飾パターンデータベース105は、ROM16内に割り当てられている。この装飾パターンデータベース105は、分類された感情に対応するHTMLの装飾パターンを保持している。装飾パターンには、全体の背景色の装飾と感情を示す単語自身の装飾とが存在する。そのために、装飾パターンデータベース105は、背景色データベース1051と部分装飾データベース1052とを含んでいる。   The decoration pattern database 105 is allocated in the ROM 16. The decoration pattern database 105 holds HTML decoration patterns corresponding to the classified emotions. The decoration pattern includes a decoration of the entire background color and a decoration of the word itself indicating emotion. For this purpose, the decoration pattern database 105 includes a background color database 1051 and a partial decoration database 1052.

背景色データベース1051は、全体感情に対応する背景色を全体感情毎に格納している。すなわち、背景色データベース1051は、例えば、図5(a)に示すように、全体感情毎に、その全体感情に対応した背景色を含んでいる。なお、全体感情とは、メール全体の感情表現を示す。   The background color database 1051 stores a background color corresponding to the entire emotion for each entire emotion. That is, the background color database 1051 includes, for example, a background color corresponding to the overall emotion for each overall emotion, as shown in FIG. Note that the overall emotion represents the emotional expression of the entire email.

部分装飾データベース1052は、部分感情毎に全体感情に対応した装飾パターン(例えば、色、フォントの大きさ、表示表現、配置)を格納している。すなわち、部分装飾データベース1052は、例えば、図5(b)に示すように、部分感情毎に、その部分感情と全体感情に対応した装飾パターンを含んでいる。なお、図5(b)中のテロップの装飾を指定された文字列は、表示部14の画面上で文字列の範囲内で右から左へ文字が1文字ずつ流れるような表示を行い、これを繰り返す。更に、テロップされた単語が続く場合は、その続いた文字列全体がテロップの対象となる。   The partial decoration database 1052 stores a decoration pattern (for example, color, font size, display expression, arrangement) corresponding to the whole emotion for each partial emotion. That is, for example, as shown in FIG. 5B, the partial decoration database 1052 includes a decoration pattern corresponding to the partial emotion and the whole emotion for each partial emotion. The character string designated with the telop decoration in FIG. 5B is displayed on the screen of the display unit 14 so that the characters flow from right to left one by one within the range of the character string. repeat. Further, when a teloped word continues, the entire subsequent character string becomes a telop target.

形態素解析部103は、電子メールの本文内にテキスト形式で記載された文書を、単語単位に切り出す。この場合の動作としては、形態素解析部103は、テキスト形式で記載された文章を形態素化することにより、最小の文字列を抽出する。この場合、形態素解析部103は、テキスト形式の電子メールの本文から、感情分類キーワード辞書104に登録された単語(表記の欄)に一致する部分の文字列を検索して一致する部分の文字列を抽出することにより、単語単位に切り出す。なお、形態素解析部103は、例えば、特開平7−311769号公報記載の技術を利用しても良く、本発明では、特に規定しない。   The morphological analysis unit 103 cuts out a document described in a text format in the body of the e-mail in units of words. As an operation in this case, the morphological analysis unit 103 extracts a minimum character string by morphizing a sentence written in a text format. In this case, the morpheme analysis unit 103 searches the text of the text-format e-mail for the character string of the part that matches the word (notation column) registered in the emotion classification keyword dictionary 104, and matches the character string of the part Are extracted in units of words. Note that the morphological analysis unit 103 may use, for example, a technique described in JP-A-7-311769, and is not particularly defined in the present invention.

ここで、形態素とは、これ以上に細かくすると意味がなくなってしまう最小の文字列のことを示す。また、テキスト形式とは、レイアウト情報や装飾情報を持たない、純粋に文字のみで構成されるデータ形式のことを示す。HTML(HyperText Markup Language)は、SGML(Standard Generalized Markup Language)を基にして開発されたマークアップ言語であり、Webページを作成する場合などに用いられる。SGMLは、1960年代にアメリカで考案された、文書の電子化のための規格である。   Here, the morpheme indicates a minimum character string that has no meaning if it is made finer than this. In addition, the text format indicates a data format composed of pure characters without layout information or decoration information. HTML (HyperText Markup Language) is a markup language developed on the basis of SGML (Standard Generalized Markup Language), and is used for creating Web pages. SGML is a standard for digitizing documents that was devised in the United States in the 1960s.

HTMLメール生成部30は、HTMLメールの文書入力時に感情が読み取れる文字列が存在すると、文字列に感情に対応した装飾を掛け、その掛けた文字列を含む文書を表示部14に表示する。この場合、HTMLメール生成部30は、切り出された文字列を基に、装飾パターンデータベース105から、文字列が表す喜怒快楽の感情と頻度を抽出し、その抽出した文字列から頻度の高い感情をメールの全体の感情を示すとして抽出する。更に、HTMLメール生成部30は、文字列が表す喜怒哀楽の感情とメールの全体感情とを基に、装飾パターンデータベース105から装飾パターンを抽出し、その抽出した装飾パターンを用いて文字列に装飾を掛ける。   If there is a character string from which emotions can be read when the HTML mail document is input, the HTML mail generation unit 30 applies a decoration corresponding to the emotion to the character string, and displays a document including the multiplied character string on the display unit 14. In this case, the HTML mail generation unit 30 extracts emotions and frequencies of pleasure and joy represented by the character strings from the decoration pattern database 105 based on the extracted character strings, and the emotions with high frequency are extracted from the extracted character strings. Is extracted as indicating the overall emotion of the email. Further, the HTML mail generation unit 30 extracts a decoration pattern from the decoration pattern database 105 based on the emotion of emotion expressed by the character string and the entire feeling of the mail, and converts the decoration pattern into the character string using the extracted decoration pattern. Hang the decoration.

次に、本発明を実施するための最良の形態の動作について図面を参照して説明する。   Next, the operation of the best mode for carrying out the present invention will be described with reference to the drawings.

次に、図3及び図7を中心に参照して本実施の形態の全体の動作について詳細に説明する。   Next, the overall operation of the present embodiment will be described in detail with reference to FIGS. 3 and 7.

図3は、図2に示したHTMLメール作成部30の動作を示すフローチャートである。すなわち、制御部11がHTMLメール生成プログラム161を実行した場合の動作を示すフローチャートである。図7(a)は、テキスト形式の電子メールの本文の内容を示す。図7(b)は、図7(a)の本文から切り出された単語を感情テーブル106の抽出語欄に書き込んだ場合の感情テーブル106の内容を示す図である。図7(c)は、図7(b)に登録されている単語をキーにして、感情分類キーワード辞書から感情と頻度を抽出した結果を、感情テーブル106に書き込んだ場合の感情テーブル106の内容を示す図である。図7(d)は、図7(a)のテキスト形式の電子メール本文からHTML形式の電子メール本文に変換した場合のHTMLメール本文の内容を示す図である。   FIG. 3 is a flowchart showing the operation of the HTML mail creation unit 30 shown in FIG. That is, it is a flowchart showing an operation when the control unit 11 executes the HTML mail generation program 161. FIG. 7A shows the contents of the text of the e-mail in the text format. FIG. 7B shows the contents of the emotion table 106 when words extracted from the text of FIG. 7A are written in the extracted word column of the emotion table 106. FIG. 7C shows the contents of the emotion table 106 when the result of extracting emotions and frequencies from the emotion classification keyword dictionary using the words registered in FIG. FIG. FIG. 7D is a diagram showing the contents of the HTML mail body when the text-format electronic mail body in FIG. 7A is converted to the HTML-format electronic body.

まず、オペレータがHTMLメールを作成するために、携帯端末1の表示部14に表示されたメニュー画面から「メール作成」を選択すると、制御部11は、メールエディタ101を実行する。すると、メールエディタ11は、テキスト形式の電子メール本文を、表示部14とキー操作部15を介してオペレータに入力させる。オペレータがテキスト形式の電子メールの作成(例えば、図7(a)参照)が終わると、メールエディタ101は、テキスト形式で記載された電子メール(図7(a))をHTMLメール作成部102に渡す(図3のステップS201)。   First, when the operator selects “Create Mail” from the menu screen displayed on the display unit 14 of the mobile terminal 1 in order to create an HTML mail, the control unit 11 executes the mail editor 101. Then, the mail editor 11 causes the operator to input a text-format electronic mail body via the display unit 14 and the key operation unit 15. When the operator finishes creating the e-mail in the text format (for example, see FIG. 7A), the mail editor 101 sends the e-mail described in the text format (FIG. 7A) to the HTML mail creating unit 102. (Step S201 in FIG. 3).

HTMLメール作成部102は、テキスト形式の電子メール(図7(a))を形態素解析部103に渡す。すると、形態素解析部103は、テキスト形式の電子メールの本文を、感情分類キーワード辞書104を検索することにより単語単位に切り出し、その単語単位に切り出した情報をHTMLメール作成部102に渡す。HTMLメール作成部102は、単語単位に切り出された情報を抽出語として受け取る(図3のステップS202)。   The HTML mail creation unit 102 passes the text-format electronic mail (FIG. 7A) to the morpheme analysis unit 103. Then, the morphological analysis unit 103 cuts out the body of the text-format e-mail into words by searching the emotion classification keyword dictionary 104, and passes the information cut out in units of the words to the HTML mail creating unit 102. The HTML mail creating unit 102 receives information extracted in units of words as an extracted word (step S202 in FIG. 3).

抽出語を受け取ったHTMLメール作成部102は、制御を感情決定部1021に渡す。   The HTML mail creation unit 102 that has received the extracted word passes control to the emotion determination unit 1021.

HTMLメール作成部102の感情決定部1021は、作業を行うためにRAM17内に感情テーブル106(例えば、図6を参照)を作成し、その受け取った抽出語を感情テーブル106の抽出語欄に上から順に書き込む。この場合、抽出語を書き込んだ感情テーブル106は、例えば、図7(b)のようになる。なお、図7(b)の抽出語欄には、語尾が記載されていないが、語尾を含んだ(例えば、「今日」を「今日は」)文字列にしても良い。また、図7(b)の抽出語欄のように、語尾を省略する場合には、切り出した文字列(この場合、語尾を合成した文字列)がわかるように抽出語欄に併記して書くようにしても良い。   The emotion determination unit 1021 of the HTML mail creation unit 102 creates an emotion table 106 (see, for example, FIG. 6) in the RAM 17 to perform work, and adds the received extracted word to the extracted word column of the emotion table 106. Write in order. In this case, the emotion table 106 in which the extracted words are written is, for example, as shown in FIG. Although the ending is not described in the extracted word column in FIG. 7B, a character string including the ending (for example, “today” is “today”) may be used. When the ending is omitted as in the extracted word column of FIG. 7B, the extracted word string is written together in the extracted word column so that the extracted character string (in this case, the combined character string) can be seen. You may do it.

感情決定部1021は、抽出語(切り出された単語)をキーにして、感情分類キーワード辞書104(図2)を検索し、それぞれの単語に対応する感情と頻度とを抽出する。更に、感情決定部1021は、感情テーブル106の感情欄と頻度欄に、抽出したそれぞれの単語の感情と頻度を、抽出語(単語)毎に書き込んでいき、感情テーブル106を完成する(例えば、図7(c)を参照)。すなわち、感情決定部1021は、感情テーブル106を完成させることにより、感情を表現する単語の部分感情が決定したことになる。この場合、例えば、図7(c)において、感情「嬉しい」が単語「ありがとう」の部分感情を示し、感情「楽しい」が単語「楽しかった」および「お出かけ」の部分感情を示す。なお、図7(c)の感情テーブル内の感情欄の「−」は、感情表現のないことを示し、頻度欄の「−」は、感情がないことを示す。従って、図7(a)の電子メールの本文は、3つの喜怒快楽を示す単語を含むことになる。なお、感情テーブル内の「−」の表示は、「0」であっても良いし、ブランクであっても良い。   The emotion determination unit 1021 searches the emotion classification keyword dictionary 104 (FIG. 2) using the extracted word (the extracted word) as a key, and extracts the emotion and frequency corresponding to each word. Further, the emotion determination unit 1021 writes the emotion and frequency of each extracted word in the emotion column and the frequency column of the emotion table 106 for each extracted word (word), thereby completing the emotion table 106 (for example, (See FIG. 7 (c)). That is, the emotion determination unit 1021 completes the emotion table 106 to determine the partial emotion of the word expressing the emotion. In this case, for example, in FIG. 7C, the emotion “joyful” indicates the partial emotion of the word “thank you”, and the emotion “fun” indicates the partial emotions of the words “fun” and “going out”. Note that “−” in the emotion column in the emotion table in FIG. 7C indicates that there is no emotion expression, and “−” in the frequency column indicates that there is no emotion. Therefore, the text of the e-mail in FIG. 7A includes three words indicating the emotions. The display of “−” in the emotion table may be “0” or may be blank.

次に、感情決定部1021は、感情テーブル106内に感情を示す1つ又は複数の単語が存在するかを、感情テーブル106内の頻度を検索することにより判断する。存在すると、感情決定部1021は、作成した感情テーブル106内の抽出語(切り出された単語)のうち、最も感情の頻度の高い単語とその単語に対応する感情とを抽出する。この場合、感情決定部1021は、この抽出した頻度の高い感情がメール全体の感情を示していると判断する(図3のステップS203)。この感情決定部1021の判断がメール文書の全体感情を決定したことになる。 すなわち、図7
(c)の感情テーブル106を参照すると、頻度情報が500である「ありがとう」という単語が、「嬉しい」という感情表現を示している。感情決定部1021は、この「うれしい」という感情を、メール全体の感情として決定することになる。
Next, the emotion determination unit 1021 determines whether or not one or more words indicating emotions exist in the emotion table 106 by searching the frequency in the emotion table 106. If it exists, the emotion determination unit 1021 extracts a word with the highest emotion frequency and an emotion corresponding to the word from the extracted words (cut out words) in the created emotion table 106. In this case, the emotion determination unit 1021 determines that the extracted frequently-sent emotion indicates the emotion of the entire mail (step S203 in FIG. 3). This determination by the emotion determination unit 1021 determines the overall emotion of the mail document. That is, FIG.
Referring to the emotion table 106 in (c), the word “thank you” whose frequency information is 500 indicates the emotion expression “happy”. The emotion determination unit 1021 determines this “happy” emotion as the emotion of the entire mail.

図5(a)は、図2に示した装飾パターンデータベース105のうちの背景色データベース1051の一実施の形態を示す図である。図5(b)は、装飾パターンデータベース105のうちの部分装飾データベース1052の一実施の形態を示す図である。   FIG. 5A is a diagram showing an embodiment of the background color database 1051 in the decoration pattern database 105 shown in FIG. FIG. 5B is a diagram showing an embodiment of a partial decoration database 1052 in the decoration pattern database 105.

次に、感情決定部1021は、作成部1022に制御を渡す。HTMLメール作成部102の作成部1022は、決定された全体感情をキーにして、装飾パターンデータベース105(図2)の中にある背景色データベース1051(図5(a))を検索し、該当する全体の背景色を抽出し、決定する。さらに、作成部1022は、切り出された単語の部分感情と全体感情とをキーにして部分装飾データベース1052(図5(b))を検索し、該当する装飾パターンを抽出する。この場合、作成部1022は、感情テーブル106に登録されている抽出語に対応する感情を部分感情とし、その部分感情と決定された全体感情とをキーにして部分装飾データベース1052を検索し、それぞれの抽出語(単語)に該当する装飾パターンを部分装飾データベース1052から抽出し決定する。このようにして、作成部1022は、メールの背景色を反映させ、かつ喜怒哀楽を示す単語にそれぞれの装飾パターン情報を反映させながら、テキスト形式のメールをHTML形式のメールに変換する。更に、作成部1022は、このようにして作成したHTML形式のメール文書を表示部14に表示する(図3のステップS204)。   Next, the emotion determination unit 1021 passes control to the creation unit 1022. The creation unit 1022 of the HTML mail creation unit 102 searches the background color database 1051 (FIG. 5A) in the decoration pattern database 105 (FIG. 2) by using the determined overall emotion as a key, and applies. Extract and determine the overall background color. Further, the creation unit 1022 searches the partial decoration database 1052 (FIG. 5B) using the partial emotion and the overall emotion of the extracted word as keys, and extracts a corresponding decoration pattern. In this case, the creation unit 1022 uses the emotion corresponding to the extracted word registered in the emotion table 106 as a partial emotion, searches the partial decoration database 1052 using the partial emotion and the determined overall emotion as a key, The decoration pattern corresponding to the extracted word (word) is extracted from the partial decoration database 1052 and determined. In this way, the creation unit 1022 converts the text-format mail into the HTML-format mail while reflecting the background color of the mail and reflecting the decoration pattern information in the words indicating emotion. Further, the creation unit 1022 displays the HTML-format mail document created in this way on the display unit 14 (step S204 in FIG. 3).

最後に、作成部1022は、HTMLメール作成部102に制御を返す。すると、HTMLメール作成部102は、変換されたHTML形式のメール(図7(d))をメールエディタ101(図2)に戻して完了となる(図3のステップS205)。   Finally, the creation unit 1022 returns control to the HTML mail creation unit 102. Then, the HTML mail creating unit 102 returns the converted HTML-format mail (FIG. 7D) to the mail editor 101 (FIG. 2) and is completed (step S205 in FIG. 3).

以上説明したように、制御部11が、テキスト形式の電子メールを形態素の解析を行うことにより単語単位に切り出し、その切り出した単語を基に、感情分類キーワード辞書104と装飾パターンデータベース105を検索することにより、装飾パターンを、抽出しているため、自動的にHTML形式のメールを作成することが可能となる。すなわち、オペレータは強調したい言葉を範囲選択して、装飾の種類を変更するという作業を繰り返し行う必要がなく、本発明の実施の形態は、その煩わしい操作を自動的に行うことが可能となる。   As described above, the control unit 11 cuts out an e-mail in text format into words by analyzing morphemes, and searches the emotion classification keyword dictionary 104 and the decoration pattern database 105 based on the cut-out words. Thus, since the decoration pattern is extracted, it is possible to automatically create an HTML mail. That is, it is not necessary for the operator to repeatedly select a word to be emphasized and change the decoration type, and the embodiment of the present invention can automatically perform the troublesome operation.

上記実施の形態は、メール全体の感情に対してHTML形式メールの背景として背景色のみを対象としている。しかし、上記の実施の形態において、その背景色の代わりに、予め対象としている感情毎に分類された画像データベースを用意しておき、HTMLメール作成部102がメールの全体の感情に従い、画像データベースを検索して画像を抽出し、背景としてその抽出した画像を挿入しても良い。また、上記実施の形態は、取り出された感情に対して1つの装飾パターンしか用意していないが、予め数パターン用意しておくことで、複数のHTML形式のメールを提示し、ユーザに好みにより選ばせるようにしても良い。   In the above embodiment, only the background color is used as the background of the HTML mail for the feeling of the whole mail. However, in the above embodiment, instead of the background color, an image database classified in advance for each target emotion is prepared, and the HTML mail creation unit 102 creates an image database according to the entire emotion of the mail. An image may be extracted by searching, and the extracted image may be inserted as a background. Moreover, although the said embodiment prepares only one decoration pattern with respect to the taken-out emotion, by preparing several patterns in advance, a plurality of HTML-format mails are presented, and the user can choose according to their preference. You may make it choose.

上記実施の形態は、携帯端末において説明したが、携帯型でないPersonal Computer等の通信機器に利用しても良い。更に、HTML作成プログラムを記録した記録媒体を出荷した場合、オペレータは、通信機能を備えたコンピュータを保有していれば、記録媒体41に格納したHTML作成プログラムをコンピュータにインストールすることにより、HTML作成のサービスを受けることができる。   Although the above embodiment has been described with respect to a portable terminal, it may be used for a communication device such as a personal computer that is not portable. Further, when the recording medium on which the HTML creation program is recorded is shipped, if the operator has a computer equipped with a communication function, the HTML creation program stored in the recording medium 41 is installed in the computer to create the HTML. Can receive services.

上記実施の形態は、RAM17を揮発性のメモリを前提として説明したが、フラッシュメモリ等の不揮発性メモリであっても良い。   In the above embodiment, the RAM 17 has been described on the assumption of a volatile memory. However, a nonvolatile memory such as a flash memory may be used.

上記実施の形態は、HTMLメール生成プログラムと感情分類キーワード辞書と装飾パターンデータベースをROM16に格納するようにしたが、RAM17または図示していない不揮発性の記録媒体装置(例えば、磁気ディスク等)に格納するようにしても良い。   In the above embodiment, the HTML mail generation program, the emotion classification keyword dictionary, and the decoration pattern database are stored in the ROM 16, but are stored in the RAM 17 or a non-illustrated nonvolatile recording medium device (for example, a magnetic disk). You may make it do.

以上説明したように、本実施の形態における制御部11がHTMLメールの文書作成時に、作成されたテキスト形式の文書の中に感情の読み取れる文字列が存在すると、その文字列から文書全体感情を決定する。更に、本実施の形態における制御部11が、その決定した全体感情に対応した装飾パターンを、感情を表す文字列に掛けたHTML形式の文書にしている。そのため、本実施の形態は、オペレータがテキスト形式の文書を作成するだけで自動的に感情を表す文字列に装飾を掛けたHTML形式の文書に変換することができる。更に、制御部11がその装飾を掛けたHTML形式の文章を表示しているため、オペレータは、メール送信する前に自動変換したHTML形式の文書を確認することができる。   As described above, when the control unit 11 in the present embodiment creates an HTML mail document, if there is a character string in which the emotion can be read in the created text format document, the entire document emotion is determined from the character string. To do. Further, the control unit 11 in the present embodiment makes an HTML document in which a decoration pattern corresponding to the determined overall emotion is applied to a character string representing the emotion. Therefore, in this embodiment, the operator can automatically convert the document into an HTML format in which a character string representing an emotion is decorated only by creating a text format document. Further, since the control unit 11 displays the HTML-formatted text with the decoration, the operator can check the HTML-format document automatically converted before sending the mail.

本発明の実施の形態におけるメール自動生成方法を適用した通信装置を含むシステム全体の構成を示すブロック図である。It is a block diagram which shows the structure of the whole system containing the communication apparatus to which the mail automatic generation method in embodiment of this invention is applied. 図1の制御部内のHTMLメール生成部を含むHTML生成回路の構成を示すブロック図である。It is a block diagram which shows the structure of the HTML production | generation circuit containing the HTML mail production | generation part in the control part of FIG. 図2のHTMLメール作成部が動作する場合のフローチャートである。It is a flowchart in case the HTML mail preparation part of FIG. 2 operate | moves. 図2の感情分類キーワード辞書の構成を示す図である。It is a figure which shows the structure of the emotion classification keyword dictionary of FIG. (a)は、図2の装飾パターンデータベースのうちの背景色データベースの構成例を示す図である。(b)は、図2の装飾パターンデータベースのうちの部分装飾データベースの構成例を示す図である。(A) is a figure which shows the structural example of the background color database among the decoration pattern databases of FIG. (B) is a figure which shows the structural example of the partial decoration database among the decoration pattern databases of FIG. 図1のRAMのあるエリアに作業領域として割り当てられた初期状態の感情テーブルの構成例を示す図である。It is a figure which shows the structural example of the emotion table of the initial state allocated as a work area to the area with RAM of FIG. (a)は、テキスト形式で書かれた電子メールの本文である。(b)は、図6の感情テーブルに切り出した単語が書き込まれた場合の構成例を示す図である。(c)は、図7(a)の本文から切り出した単語である抽出語に対応して、感情と頻度を抽出した場合の結果を示す感情テーブルの構成例を示す図である。(d)は、図7(a)のテキスト形式の電子メール本文からHTML形式の電子メール本文に変換した場合の図である。(A) is the body of the e-mail written in text format. (B) is a figure which shows the structural example when the word cut out in the emotion table of FIG. 6 is written. (C) is a figure which shows the structural example of the emotion table which shows the result at the time of extracting an emotion and frequency corresponding to the extracted word which is the word cut out from the text of Drawing 7 (a). (D) is a figure at the time of converting from the text-format e-mail body of FIG. 7 (a) into the HTML-format e-mail body.

符号の説明Explanation of symbols

1 携帯端末
2 アンテナ
11 制御部
12 無線部
13 信号処理部
14 表示部
15 キー操作部
16 ROM
17 RAM
18 インタフェース部
19 カメラ
21 スピーカ
22 マイクロフォン
30 HTMLメール生成部
40 記録媒体装置
41 記録媒体
101 メールエディタ
102 HTMLメール作成部
103 形態素解析部
104 感情分類キーワード辞書
105 装飾パターンデータベース
106 感情テーブル
111 CPU
161 HTMLメール生成プログラム
1021 感情決定部
1022 作成部
DESCRIPTION OF SYMBOLS 1 Portable terminal 2 Antenna 11 Control part 12 Radio | wireless part 13 Signal processing part 14 Display part 15 Key operation part 16 ROM
17 RAM
DESCRIPTION OF SYMBOLS 18 Interface part 19 Camera 21 Speaker 22 Microphone 30 HTML mail production | generation part 40 Recording medium apparatus 41 Recording medium 101 Mail editor 102 HTML mail preparation part 103 Morphological analysis part 104 Emotion classification keyword dictionary 105 Decoration pattern database 106 Emotion table 111 CPU
161 HTML mail generation program 1021 emotion determination unit 1022 creation unit

Claims (16)

HTMLメールを作成するHTML生成システムであって、
HTMLメールの文書作成時に、作成されたテキスト形式の文書の中に感情が読み取れる1つもしくは複数の文字列が存在すると、その1つもしくは複数の文字列から文書の全体感情を決定する感情決定手段と、
前記文字列に前記決定した全体感情に対応した装飾を掛けたHTML形式の文書にして表示部に表示する作成手段と、有することを特徴とするHTMLメール生成システム。
An HTML generation system for creating HTML mail,
When one or more character strings from which emotions can be read exist in the created text format document when creating an HTML mail document, emotion determination means for determining the overall emotion of the document from the one or more character strings When,
An HTML mail generation system, comprising: creation means for displaying an HTML document in which a decoration corresponding to the determined overall emotion is applied to the character string and displaying the document on a display unit.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書を備え、
前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定することを特徴とする請求項1記載のHTMLメール生成システム。
A dictionary for storing emotion information of emotion expressed by the character string and a frequency value indicating the strength of emotion of the character string for each character string;
The emotion determination means extracts emotion information and frequency values corresponding to the one or more character strings by searching the dictionary using the one or more character strings as a key,
The HTML mail generation system according to claim 1, wherein emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、
前記全体感情に対応した装飾パターンを格納するデータベースと、を備え、
前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、
前記作成手段は、前記決定した全体感情をキーにして前記データベースを検索することにより文書の背景色を決定することを特徴とする請求項1記載のHTMLメール生成システム。
A dictionary that stores emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of the emotion of the character string;
A database for storing decoration patterns corresponding to the overall emotion,
The emotion determination means extracts emotion information and frequency values corresponding to the one or more character strings by searching the dictionary using the one or more character strings as a key,
Emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion,
2. The HTML mail generation system according to claim 1, wherein the creating means determines a background color of the document by searching the database using the determined overall emotion as a key.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、
部分感情と全体感情とに対応した装飾パターンを格納するデータベースと、を備え、
前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、
前記作成手段は、前記抽出した感情情報を部分感情としその部分感情と前記決定した全体感情とをキーにして前記データベースを検索することにより前記1つもしくは複数の文字列に対応する装飾パターンを抽出することを特徴とする請求項1または3記載のHTMLメール生成システム。
A dictionary that stores emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of the emotion of the character string;
A database storing decoration patterns corresponding to partial emotions and overall emotions, and
The emotion determination means extracts emotion information and frequency values corresponding to the one or more character strings by searching the dictionary using the one or more character strings as a key,
Emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion,
The creation means extracts a decoration pattern corresponding to the one or more character strings by searching the database using the extracted emotion information as a partial emotion and the partial emotion and the determined overall emotion as a key. The HTML mail generation system according to claim 1, wherein the HTML mail generation system is an HTML mail generation system.
HTMLメールを作成する通信装置であって、
HTMLメールの文書作成時に、作成されたテキスト形式の文書の中に感情が読み取れる1つもしくは複数の文字列が存在すると、その1つもしくは複数の文字列から文書の全体感情を決定する感情決定手段と、
前記文字列に前記決定した全体感情に対応した装飾を掛けたHTML形式の文書にして前記表示部に表示する作成手段と、有することを特徴とする通信装置。
A communication device for creating HTML mail,
When one or more character strings from which emotions can be read exist in the created text format document when creating an HTML mail document, emotion determination means for determining the overall emotion of the document from the one or more character strings When,
A communication device, comprising: a creation unit configured to display an HTML document in which the character string is decorated corresponding to the determined overall emotion and displayed on the display unit.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書を備え、
前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定することを特徴とする請求項5記載の通信装置。
A dictionary for storing emotion information of emotion expressed by the character string and a frequency value indicating the strength of emotion of the character string for each character string;
The emotion determination means extracts emotion information and frequency values corresponding to the one or more character strings by searching the dictionary using the one or more character strings as a key,
6. The communication apparatus according to claim 5, wherein emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、
前記全体感情に対応した装飾パターンを格納するデータベースと、を備え、
前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、
前記作成手段は、前記決定した全体感情をキーにして前記データベースを検索することにより文書の背景色を決定することを特徴とする請求項5記載の通信装置。
A dictionary that stores emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of the emotion of the character string;
A database for storing decoration patterns corresponding to the overall emotion,
The emotion determination means extracts emotion information and frequency values corresponding to the one or more character strings by searching the dictionary using the one or more character strings as a key,
Emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion,
6. The communication apparatus according to claim 5, wherein the creating unit determines a background color of the document by searching the database using the determined overall emotion as a key.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、
部分感情と全体感情とに対応した装飾パターンを格納するデータベースと、を備え、
前記感情決定手段は、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記作成手段は、前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、
前記抽出した感情情報を部分感情としその部分感情と前記決定した全体感情とをキーにして前記データベースを検索することにより前記1つもしくは複数の文字列に対応する装飾パターンを抽出することを特徴とする請求項5または7記載の通信装置。
A dictionary that stores emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of the emotion of the character string;
A database storing decoration patterns corresponding to partial emotions and overall emotions, and
The emotion determination means extracts emotion information and frequency values corresponding to the one or more character strings by searching the dictionary using the one or more character strings as a key,
The creation means determines emotion information corresponding to the highest value of the frequency values among the extracted frequency values as the overall emotion,
The extracted emotion information is a partial emotion, and the decoration pattern corresponding to the one or more character strings is extracted by searching the database using the partial emotion and the determined overall emotion as a key. The communication device according to claim 5 or 7.
HTMLメールの作成を行うHTMLメール生成方法であって、
HTMLメールの文書作成時に、作成されたテキスト形式の文書の中に感情が読み取れる1つもしくは複数の文字列が存在すると、その1つもしくは複数の文字列から文書の全体感情を決定し、
前記文字列に前記決定した全体感情に対応した装飾を掛けたHTML形式の文書にすることを特徴とするHTMLメール生成方法。
An HTML mail generation method for creating an HTML mail,
When creating an HTML mail document, if there is one or more character strings from which emotions can be read in the created text format document, the overall emotion of the document is determined from the one or more character strings,
An HTML mail generation method, wherein the character string is converted to an HTML document in which a decoration corresponding to the determined overall emotion is applied.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書を予め準備し、
前記全体感情を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定することを特徴とする請求項9記載のHTMLメール生成方法。
Prepare in advance a dictionary for storing emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of the emotion of the character string,
When determining the overall emotion, the emotion information and the frequency value corresponding to the one or more character strings are extracted by searching the dictionary using the one or more character strings as a key,
10. The HTML mail generation method according to claim 9, wherein emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、
前記全体感情に対応した装飾パターンを格納するデータベースと、を予め準備し、
前記全体感情を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、
前記決定した全体感情をキーにして前記データベースを検索することにより文書の背景色を決定することを特徴とする請求項9記載のHTMLメール生成方法。
A dictionary that stores emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of the emotion of the character string;
A database for storing a decoration pattern corresponding to the overall emotion is prepared in advance,
When determining the overall emotion, the emotion information and the frequency value corresponding to the one or more character strings are extracted by searching the dictionary using the one or more character strings as a key,
Emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion,
10. The HTML mail generation method according to claim 9, wherein the background color of the document is determined by searching the database using the determined overall emotion as a key.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、
部分感情と全体感情とに対応した装飾パターンを格納するデータベースと、を予め準備し、
前記1つもしくは複数の文字列を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記文1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、
前記抽出した感情情報を部分感情としその部分感情と前記決定した全体感情とをキーにして前記データベースを検索することにより前記1つもしくは複数の文字列に対応する装飾パターンを抽出することを特徴とする請求項9または11記載のHTMLメール生成方法。
A dictionary that stores emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of the emotion of the character string;
A database storing decoration patterns corresponding to partial emotions and overall emotions in advance,
When determining the one or more character strings, the emotion information and the frequency value corresponding to the one or more character strings are searched by searching the dictionary using the one or more character strings as a key. And extract
Emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion,
The extracted emotion information is a partial emotion, and the decoration pattern corresponding to the one or more character strings is extracted by searching the database using the partial emotion and the determined overall emotion as a key. The HTML mail generation method according to claim 9 or 11.
コンピュータに、HTMLメールの作成処理を実行させるプログラムを記憶した記録媒体であって、
HTMLメールの文書作成時に、作成されたテキスト形式の文書の中に感情が読み取れる1つもしくは複数の文字列が存在すると、その1つもしくは複数の文字列から文書の全体感情を決定し、
前記文字列に前記決定した全体感情に対応した装飾を掛けたHTML形式の文書にするという処理を前記コンピュータに実行させるプログラムを記憶した記録媒体。
A recording medium storing a program for causing a computer to execute an HTML mail creation process,
When creating an HTML mail document, if there is one or more character strings from which emotions can be read in the created text format document, the overall emotion of the document is determined from the one or more character strings,
A recording medium storing a program for causing the computer to execute a process of making an HTML document in which the character string is decorated corresponding to the determined overall emotion.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書を記憶し、
前記全体感情を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定する、という処理を前記コンピュータに実行させるプログラムを記憶した請求項13記載の記録媒体。
Storing a dictionary storing emotion information of emotion expressed by the character string and a frequency value indicating the strength of emotion of the character string for each character string;
When determining the overall emotion, the emotion information and the frequency value corresponding to the one or more character strings are extracted by searching the dictionary using the one or more character strings as a key,
14. The recording medium according to claim 13, wherein a program for causing the computer to execute a process of determining emotion information corresponding to the highest frequency value among the extracted frequency values as the overall emotion is stored.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、
前記全体感情に対応した装飾パターンを格納するデータベースと、を記憶し、
前記全体感情を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、
前記決定した全体感情をキーにして前記データベースを検索することにより文書の背景色を決定する、という処理を前記コンピュータに実行させるプログラムを記憶した請求項14記載の記録媒体。
A dictionary that stores emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of the emotion of the character string;
Storing a database storing decoration patterns corresponding to the whole emotion,
When determining the overall emotion, the emotion information and the frequency value corresponding to the one or more character strings are extracted by searching the dictionary using the one or more character strings as a key,
Emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion,
15. The recording medium according to claim 14, wherein a program for causing the computer to execute a process of determining a background color of a document by searching the database using the determined overall emotion as a key.
前記文字列毎に前記文字列が表す喜怒哀楽の感情情報と前記文字列の感情の強さを示す頻度値とを格納する辞書と、
部分感情と全体感情とに対応した装飾パターンを格納するデータベースと、を記憶し、
前記1つもしくは複数の文字列を決定する場合に、前記1つもしくは複数の文字列をキーにして前記辞書を検索することにより前記文1つもしくは複数の文字列に対応する感情情報と頻度値とを抽出し、
前記抽出した頻度値の中で前記頻度値の一番高い値に該当する感情情報を前記全体感情として決定し、
前記抽出した感情情報を部分感情としその部分感情と前記決定した全体感情とをキーにして前記データベースを検索することにより前記1つもしくは複数の文字列に対応する装飾パターンを抽出する、という処理を前記コンピュータに実行させるプログラムを記憶した13または15記載の記録媒体。
A dictionary that stores emotion information of emotion expressed by the character string for each character string and a frequency value indicating the strength of the emotion of the character string;
A database storing decoration patterns corresponding to partial emotions and overall emotions;
When determining the one or more character strings, the emotion information and the frequency value corresponding to the one or more character strings are searched by searching the dictionary using the one or more character strings as a key. And extract
Emotion information corresponding to the highest frequency value among the extracted frequency values is determined as the overall emotion,
A process of extracting a decoration pattern corresponding to the one or more character strings by searching the database using the extracted emotion information as a partial emotion and the partial emotion and the determined overall emotion as a key. 16. A recording medium according to 13 or 15, which stores a program to be executed by the computer.
JP2005339971A 2004-12-02 2005-11-25 HTML mail generation system, communication apparatus, HTML mail generation method, and recording medium Expired - Fee Related JP4872323B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005339971A JP4872323B2 (en) 2004-12-02 2005-11-25 HTML mail generation system, communication apparatus, HTML mail generation method, and recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2004349799 2004-12-02
JP2004349799 2004-12-02
JP2005339971A JP4872323B2 (en) 2004-12-02 2005-11-25 HTML mail generation system, communication apparatus, HTML mail generation method, and recording medium

Publications (2)

Publication Number Publication Date
JP2006185426A true JP2006185426A (en) 2006-07-13
JP4872323B2 JP4872323B2 (en) 2012-02-08

Family

ID=36738458

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005339971A Expired - Fee Related JP4872323B2 (en) 2004-12-02 2005-11-25 HTML mail generation system, communication apparatus, HTML mail generation method, and recording medium

Country Status (1)

Country Link
JP (1) JP4872323B2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008117142A (en) * 2006-11-02 2008-05-22 Nec Corp Portable terminal, electronic mail transmission/reception system, electronic mail transmission/reception method and electronic mail transmission/reception program
JP2009026089A (en) * 2007-07-19 2009-02-05 Nec Corp Creation device of template for decoration mail, method, program, and cellular phone
JP2011028545A (en) * 2009-07-27 2011-02-10 Nec Corp Document creation apparatus and document creation method and program and information processing apparatus and communication equipment
JP2011061582A (en) * 2009-09-11 2011-03-24 Nec Corp Device, method and program for processing decoration, communication apparatus, and decoration processing system
WO2011086939A1 (en) * 2010-01-18 2011-07-21 株式会社アクロディア System for generating information performing display of intermingled characters and pictures
JP2012114730A (en) * 2010-11-25 2012-06-14 Toshiba Tec Corp Information processing terminal
JP2014142716A (en) * 2013-01-22 2014-08-07 Ntt Docomo Inc Design determination device and design determination method
JP2014146385A (en) * 2014-05-20 2014-08-14 Nec Corp Document preparation device, document preparation method, program, information processor and communication device
JP2015534664A (en) * 2012-08-15 2015-12-03 インヴュー,インコーポレイテッド System and method for increasing clarity and expressiveness in network communications
JP2019053460A (en) * 2017-09-14 2019-04-04 大日本印刷株式会社 Color change device and program
JP2020141400A (en) * 2019-02-26 2020-09-03 怜以 佐藤 Call control device, call control method, character input device for voice conversion, and character input method and program for voice conversion

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002032306A (en) * 2000-07-19 2002-01-31 Atr Media Integration & Communications Res Lab Mail transmission system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002032306A (en) * 2000-07-19 2002-01-31 Atr Media Integration & Communications Res Lab Mail transmission system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008117142A (en) * 2006-11-02 2008-05-22 Nec Corp Portable terminal, electronic mail transmission/reception system, electronic mail transmission/reception method and electronic mail transmission/reception program
JP2009026089A (en) * 2007-07-19 2009-02-05 Nec Corp Creation device of template for decoration mail, method, program, and cellular phone
JP2011028545A (en) * 2009-07-27 2011-02-10 Nec Corp Document creation apparatus and document creation method and program and information processing apparatus and communication equipment
JP2011061582A (en) * 2009-09-11 2011-03-24 Nec Corp Device, method and program for processing decoration, communication apparatus, and decoration processing system
WO2011086939A1 (en) * 2010-01-18 2011-07-21 株式会社アクロディア System for generating information performing display of intermingled characters and pictures
JP5767590B2 (en) * 2010-01-18 2015-08-19 株式会社アクロディア A system that generates information that displays a mixture of text and pictures
JP2012114730A (en) * 2010-11-25 2012-06-14 Toshiba Tec Corp Information processing terminal
JP2015534664A (en) * 2012-08-15 2015-12-03 インヴュー,インコーポレイテッド System and method for increasing clarity and expressiveness in network communications
JP2014142716A (en) * 2013-01-22 2014-08-07 Ntt Docomo Inc Design determination device and design determination method
JP2014146385A (en) * 2014-05-20 2014-08-14 Nec Corp Document preparation device, document preparation method, program, information processor and communication device
JP2019053460A (en) * 2017-09-14 2019-04-04 大日本印刷株式会社 Color change device and program
JP2020141400A (en) * 2019-02-26 2020-09-03 怜以 佐藤 Call control device, call control method, character input device for voice conversion, and character input method and program for voice conversion

Also Published As

Publication number Publication date
JP4872323B2 (en) 2012-02-08

Similar Documents

Publication Publication Date Title
JP4872323B2 (en) HTML mail generation system, communication apparatus, HTML mail generation method, and recording medium
US20060129927A1 (en) HTML e-mail creation system, communication apparatus, HTML e-mail creation method, and recording medium
US10261753B2 (en) Graphical user interface language model
JP5172682B2 (en) Generating words and names using N-grams of phonemes
US8340956B2 (en) Information provision system, information provision method, information provision program, and information provision program recording medium
JP2013068952A (en) Consolidating speech recognition results
JPH1125098A (en) Information processor and method for obtaining link destination file and storage medium
JP4787634B2 (en) Music font output device, font database and language input front-end processor
JP2004199550A (en) Terminal device and server
JP7200533B2 (en) Information processing device and program
JP3542578B2 (en) Speech recognition apparatus and method, and program
JP4200874B2 (en) KANSEI information estimation method and character animation creation method, program using these methods, storage medium, sensitivity information estimation device, and character animation creation device
JP2003167600A (en) Voice recognition unit and its method, page description language display device and its control method, and computer program
JP6619932B2 (en) Morphological analyzer and program
JP6249760B2 (en) Text-to-speech device
JP6289950B2 (en) Reading apparatus, reading method and program
JP6197523B2 (en) Speech synthesizer, language dictionary correction method, and language dictionary correction computer program
KR100834279B1 (en) Method for processing message input and mobile terminal for performing the same
JP2002207728A (en) Phonogram generator, and recording medium recorded with program for realizing the same
JPH08272388A (en) Device and method for synthesizing voice
JP2002268664A (en) Voice converter and program
JP2003202886A (en) Device, method, and program for text input processing
JP2011034441A (en) Notation conversion device, method of the same and program
JP5545711B2 (en) Character conversion apparatus and character conversion method
JP4407510B2 (en) Speech synthesis apparatus and speech synthesis program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070122

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080613

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081020

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20090512

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110408

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20110705

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111025

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111107

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141202

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees