Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5510263B2 - Emoticon reading information estimation device, emoticon reading information estimation method, emoticon reading information estimation program, and information terminal - Google Patents
[go: Go Back, main page]

JP5510263B2 - Emoticon reading information estimation device, emoticon reading information estimation method, emoticon reading information estimation program, and information terminal - Google Patents

Emoticon reading information estimation device, emoticon reading information estimation method, emoticon reading information estimation program, and information terminal Download PDF

Info

Publication number
JP5510263B2
JP5510263B2 JP2010230985A JP2010230985A JP5510263B2 JP 5510263 B2 JP5510263 B2 JP 5510263B2 JP 2010230985 A JP2010230985 A JP 2010230985A JP 2010230985 A JP2010230985 A JP 2010230985A JP 5510263 B2 JP5510263 B2 JP 5510263B2
Authority
JP
Japan
Prior art keywords
emoticon
reading information
dictionary
unit
input
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.)
Expired - Fee Related
Application number
JP2010230985A
Other languages
Japanese (ja)
Other versions
JP2012084022A (en
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010230985A priority Critical patent/JP5510263B2/en
Publication of JP2012084022A publication Critical patent/JP2012084022A/en
Application granted granted Critical
Publication of JP5510263B2 publication Critical patent/JP5510263B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Description

本件は、顔文字読み情報推定装置、顔文字読み情報推定方法、及び顔文字読み情報推定プログラム、並びに情報端末に関する。   The present invention relates to an emoticon reading information estimation device, an emoticon reading information estimation method, an emoticon reading information estimation program, and an information terminal.

音声合成の分野においては、複数の記号の組み合わせで表記される顔文字(『(^_^)』、『(T_T)』など)を、顔文字が表す意味として読み上げるための方法が検討・開発されてきている(例えば、特許文献1〜3参照)。これらの方法では、顔文字(『(^_^)』、『(T_T)』など)を「カッコ、ハット、アンダーバー…」というように記号として読み上げずに、「ニコリ」や「エーン」のように読み上げるようにする。なお、本明細書では、説明の便宜上、二重かぎ括弧『』に囲まれた文字列は、顔文字又は顔文字の構成部品を意味するものとする。すなわち、二重かぎ括弧『』は顔文字の一部を構成しないものとする。   In the field of speech synthesis, methods to examine and develop emoticons (“(^ _ ^)”, “(T_T)”, etc.) represented by combinations of multiple symbols as meanings represented by emoticons are being studied and developed. (For example, see Patent Documents 1 to 3). In these methods, emoticons (“(^ _ ^)”, “(T_T)”, etc.) are not read out as symbols like “braces, hats, underbars…”, but like “Nikori” or “Aen” To read aloud. In the present specification, for convenience of explanation, a character string enclosed in double brackets “” means an emoticon or a component of the emoticon. That is, the double angle bracket “” does not constitute part of the emoticon.

上記特許文献1では、複数の顔文字の表記と、これに対応する読みを予め辞書に登録しておき、当該辞書から顔文字の読みを検索することで、顔文字が表す意味を読み上げる技術が開示されている。また、特許文献2では、予め、顔文字の輪郭となる文字を輪郭記号表として定義しておき、輪郭記号を頼りに顔文字部分を検出し、輪郭内部に存在する特徴文字の数に応じて、読み方を決定する技術が開示されている。更に、特許文献3では、目の部品、口の部品というように、顔の部品毎に文字(記号)と意味を予め定義しておき、顔文字全体が表す意味を、部品の積み上げで解析する技術が開示されている。   In the above-mentioned Patent Document 1, there is a technique in which a plurality of emoticon expressions and corresponding readings are registered in a dictionary in advance and the meanings represented by the emoticons are read out by searching for emoticon readings from the dictionary. It is disclosed. Moreover, in patent document 2, the character used as the outline of an emoticon is defined beforehand as an outline symbol table, the emoticon part is detected using the outline symbol, and according to the number of characteristic characters existing inside the outline. A technique for determining how to read is disclosed. Furthermore, in Patent Document 3, characters (symbols) and meanings are defined in advance for each facial part, such as an eye part and a mouth part, and the meaning represented by the whole emoticon is analyzed by stacking the parts. Technology is disclosed.

特開平11−305987号公報JP-A-11-305987 特開2002−268665号公報JP 2002-268665 A 特開2005−284192号公報JP 2005-284192 A

しかしながら、特許文献1では、予め辞書登録しておいた顔文字しか読み上げることができず、バリエーションが豊富な顔文字を読み上げることができない。また、特許文献2では、輪郭記号の全部又は一部が存在しない顔文字(『^_^;』、『´ω`)ノ』など)や輪郭記号が別の意味で用いられている顔文字(輪郭記号(丸括弧)が頬を表す『( ´)Д(` )』など)を読み上げることができない。   However, in Patent Document 1, only emoticons registered in the dictionary in advance can be read out, and emoticons rich in variations cannot be read out. Furthermore, in Patent Document 2, emoticons that do not have all or part of outline symbols (such as “^ _ ^;”, “´ω`) ノ”) and emoticons that use contour symbols in a different meaning are used. (For example, "(') Д (`)" whose outline symbol (parentheses) represents a cheek) cannot be read out.

また、特許文献2及び3では、同じ記号が異なる顔のパーツとして用いられる場合(手と鼻として同じ記号が用いられる『( ゜∋゜)』や『∈(゜◎゜)∋』など)や、想定した顔部品が揃っていない場合(片方の目が存在しない『(´Д⊂グスン』など)は正しく読み上げることができない。   Also, in Patent Documents 2 and 3, when the same symbol is used as different facial parts (such as “(゜ ∋ ゜)” or “∈ (゜ ◎ ゜) 同 じ” where the same symbol is used as a hand and nose) If the expected facial parts are not available (such as “(´Д⊂ グ ス ン”), where one eye does not exist, it cannot be read out correctly.

そこで本件は上記の課題に鑑みてなされたものであり、多種多様な顔文字に対して、その意味を表す読み情報を精度良く推定することが可能な顔文字読み情報推定装置、顔文字読み情報推定方法、及び顔文字読み情報推定プログラムを提供することを目的とする。また、本件は、ユーザに対して顔文字の適切な読みを提供することが可能な情報端末を提供することを目的とする。   Therefore, the present case has been made in view of the above problems, and for emoticons reading information estimation device, emoticon reading information capable of accurately estimating reading information representing the meaning of various emoticons. An object is to provide an estimation method and an emoticon reading information estimation program. In addition, an object of the present invention is to provide an information terminal that can provide an appropriate reading of an emoticon to a user.

本明細書に記載の顔文字読み情報推定装置は、複数の記号で表された顔文字の読み情報を推定する顔文字読み情報推定装置であって、複数の顔文字に関し、顔文字を表す複数の記号から当該顔文字の意味内容に寄与するとして予め抽出された少なくとも1つの主要記号と、当該顔文字の読み情報とが紐付けられて登録された顔文字辞書を格納する格納部と、外部からの顔文字の入力を受け付ける受付部と、前記顔文字辞書に登録されている顔文字毎に、前記主要記号と前記受付部に入力された前記顔文字を表す複数の記号とを比較し、前記入力された顔文字を表す複数の記号全体における前記主要記号と同一の記号の割合を取得する取得部と、前記取得部で取得された割合に基づいて、前記入力された顔文字と、前記顔文字辞書に登録されている顔文字との類似度を算出する算出部と、前記類似度に基づいて、前記顔文字辞書に登録されている顔文字の読み情報の中から、前記入力された顔文字の読み情報を推定する推定部と、を備える顔文字読み情報推定装置である。   The emoticon reading information estimation apparatus described in this specification is an emoticon reading information estimation apparatus that estimates reading information of an emoticon represented by a plurality of symbols. A storage unit for storing an emoticon dictionary in which at least one main symbol extracted in advance as a contribution to the meaning content of the emoticon and the reading information of the emoticon are associated and registered; For each emoticon registered in the emoticon dictionary and a reception unit that accepts an input of the emoticon from the main symbol and a plurality of symbols representing the emoticon input to the reception unit, An acquisition unit that acquires a ratio of the same symbol as the main symbol in all of a plurality of symbols that represent the input emoticon, the input emoticon based on the ratio acquired by the acquisition unit, Registered in the emoticon dictionary A calculation unit for calculating the similarity to the emoticon to be detected, and based on the similarity, the reading information of the inputted emoticon is estimated from the emoticon reading information registered in the emoticon dictionary An emoticon reading information estimation device comprising:

本明細書に記載の情報端末は、本明細書に記載の顔文字読み情報推定装置と、前記顔文字読み情報推定装置の前記推定部で推定された、前記入力された顔文字の読み情報を、文字データ又は音声として出力する出力装置と、を備える情報端末である。   The information terminal described in this specification includes the emoticon reading information estimation device described in this specification and the input emoticon reading information estimated by the estimation unit of the emoticon reading information estimation device. And an output device that outputs as character data or voice.

本明細書に記載の顔文字読み情報推定方法は、複数の記号で表された顔文字の読み情報をコンピュータを用いて推定する顔文字読み情報推定方法であって、外部からの顔文字の入力を受け付ける受付工程と、複数の顔文字に関し、顔文字を表す複数の記号から当該顔文字の意味内容に寄与するとして予め抽出された少なくとも1つの主要記号と、当該顔文字の読み情報とが紐付けられて登録された顔文字辞書を参照して、当該顔文字辞書に登録されている顔文字毎に、前記主要記号と前記入力された前記顔文字を表す複数の記号とを比較し、前記入力された顔文字を表す複数の記号全体における前記主要記号と同一の記号の割合を取得する取得工程と、前記取得工程で取得された割合に基づいて、前記入力された顔文字と、前記顔文字辞書に登録されている顔文字との類似度を算出する算出工程と、前記類似度に基づいて、前記顔文字辞書に登録されている顔文字の読み情報の中から、前記入力された顔文字の読み情報を推定する推定工程と、をコンピュータが実行する顔文字読み情報推定方法である。   The emoticon reading information estimation method described in the present specification is an emoticon reading information estimation method for estimating emoticon reading information represented by a plurality of symbols using a computer, and inputs emoticons from the outside A reception step of accepting a message, at least one main symbol extracted in advance as a contribution to the meaning content of the emoticon from a plurality of symbols representing the emoticon, and the reading information of the emoticon With reference to the emoticon dictionary that is attached and registered, for each emoticon registered in the emoticon dictionary, the main symbol is compared with a plurality of symbols representing the input emoticon, An acquisition step of acquiring a ratio of the same symbol as the main symbol in a plurality of symbols representing the input emoticon, the input emoticon based on the ratio acquired in the acquisition step, and the face In the character dictionary A calculation step of calculating a similarity to the recorded emoticon, and reading of the input emoticon from the emoticon reading information registered in the emoticon dictionary based on the similarity An estimation method for estimating information, and a emoticon reading information estimation method executed by a computer.

本明細書に記載の顔文字読み情報推定プログラムは、コンピュータに、複数の記号で表された顔文字の読み情報を推定させる顔文字読み情報推定プログラムであって、コンピュータに、外部からの顔文字の入力を受け付ける受付工程、複数の顔文字に関し、顔文字を表す複数の記号から当該顔文字の意味内容に寄与するとして予め抽出された少なくとも1つの主要記号と、当該顔文字の読み情報とが紐付けられて登録された顔文字辞書を参照して、当該顔文字辞書に登録されている顔文字毎に、前記主要記号と前記入力された前記顔文字を表す複数の記号とを比較し、前記入力された顔文字を表す複数の記号全体における前記主要記号と同一の記号の割合を取得する取得工程、前記取得工程で取得された割合に基づいて、前記入力された顔文字と、前記顔文字辞書に登録されている顔文字との類似度を算出する算出工程、及び前記類似度に基づいて、前記顔文字辞書に登録されている顔文字の読み情報の中から、前記入力された顔文字の読み情報を推定する推定工程、を実行させる顔文字読み情報推定プログラムである。   The emoticon reading information estimation program described in this specification is an emoticon reading information estimation program that causes a computer to estimate reading information of an emoticon represented by a plurality of symbols. The reception process of accepting the input of at least one main symbol extracted in advance as a contribution to the semantic content of the emoticon from a plurality of symbols representing the emoticon, and the reading information of the emoticon With reference to the emoticon dictionary registered in association with each other, for each emoticon registered in the emoticon dictionary, the main symbol is compared with a plurality of symbols representing the input emoticon, An acquisition step of acquiring a ratio of the same symbol as the main symbol in all of a plurality of symbols representing the input emoticon, and the input face sentence based on the ratio acquired in the acquisition step And a calculation step of calculating a similarity with the emoticon registered in the emoticon dictionary, and the reading information of the emoticon registered in the emoticon dictionary based on the similarity, An emoticon reading information estimation program that executes an estimation step of estimating input reading information of an emoticon.

本明細書に記載の顔文字読み情報推定装置、顔文字読み情報推定方法、及び顔文字読み情報推定プログラムは、多種多様な顔文字に対して、その意味を表す読み情報を精度良く推定することが可能なできるという効果を奏する。また、本明細書に記載の情報端末は、ユーザに対して顔文字の適切な読みを提供することができるという効果を奏する。   The emoticon reading information estimation device, emoticon reading information estimation method, and emoticon reading information estimation program described in this specification accurately estimate reading information representing the meaning of various types of emoticons. There is an effect that is possible. In addition, the information terminal described in the present specification has an effect that it is possible to provide an appropriate reading of the emoticon to the user.

一実施形態に係る携帯電話の構成を概略的に示すブロック図である。It is a block diagram which shows roughly the structure of the mobile telephone which concerns on one Embodiment. 図1の処理部のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the process part of FIG. 処理部の機能ブロック図である。It is a functional block diagram of a processing part. 図3の顔文字抽出部の構成図である。It is a block diagram of the emoticon extraction part of FIG. 図3の顔文字読み推定部の構成図である。It is a block diagram of the emoticon reading estimation part of FIG. 一実施形態に係る携帯電話(処理部)の一連の処理を示すフローチャートである。It is a flowchart which shows a series of processes of the mobile telephone (processing part) which concerns on one Embodiment. 図6のステップS3における具体的な処理内容を示すフローチャートである。It is a flowchart which shows the specific processing content in step S3 of FIG. 図8(a)〜図8(d)は、図7の処理を説明するための図(その1)である。FIGS. 8A to 8D are diagrams (part 1) for explaining the processing of FIG. 図9(a)〜図9(d)は、図7の処理を説明するための図(その2)である。FIG. 9A to FIG. 9D are diagrams (part 2) for explaining the processing of FIG. 図6のステップS5における具体的な処理内容を示すフローチャートである。It is a flowchart which shows the specific processing content in step S5 of FIG. 顔文字辞書の具体的な登録内容を示す図である。It is a figure which shows the specific registration content of an emoticon dictionary. 類似度算出部に出力された対応付け結果を示す図である。It is a figure which shows the matching result output to the similarity calculation part. 図10のステップS70における具体的な処理内容を示すフローチャートである。It is a flowchart which shows the specific processing content in step S70 of FIG. 図13の処理を説明するための図である。It is a figure for demonstrating the process of FIG. 図10のステップS71における具体的な処理内容を示すフローチャートである。It is a flowchart which shows the specific processing content in step S71 of FIG. 図15の処理を説明するための図である。It is a figure for demonstrating the process of FIG. 辞書部品順序と、未知顔文字対応付け順序とを示す図である。It is a figure which shows a dictionary component order and an unknown face character matching order. 図10のステップS72における具体的な処理内容を示すフローチャートである。It is a flowchart which shows the specific processing content in step S72 of FIG. 図18の処理を説明するための図(その1)である。It is FIG. (1) for demonstrating the process of FIG. 図18の処理を説明するための図(その2)である。FIG. 19 is a second diagram for explaining the processing in FIG. 18; 図18の処理を説明するための図(その3)である。FIG. 19 is a diagram (No. 3) for explaining the processing of FIG. 18; 図18の処理を説明するための図(その4)である。It is FIG. (4) for demonstrating the process of FIG.

以下、一実施形態について、図1〜図22に基づいて詳細に説明する。図1には、一実施形態に係る携帯電話100の構成がブロック図にて示されている。この図1に示すように、携帯電話100は、入力部52と、表示ディスプレイ54と、スピーカ56と、処理部50と、を備える。   Hereinafter, an embodiment will be described in detail with reference to FIGS. FIG. 1 is a block diagram showing a configuration of a mobile phone 100 according to an embodiment. As shown in FIG. 1, the mobile phone 100 includes an input unit 52, a display display 54, a speaker 56, and a processing unit 50.

入力部52は、キーボードやタッチパネルなどを含み、ユーザが処理部50に対する指示を入力するためのインタフェースである。また、入力部52には通話等において用いるマイクや、メールやWebサイトのデータなど無線通信で送られてくるテキストを受け取る通信デバイスも含まれている。表示ディスプレイ54は、液晶ディスプレイや有機ELディスプレイなどを含み、処理部50による処理結果を表示する。スピーカ56は、通話相手の声などを出力するほか、処理部50の読み上げ機能による、メールやブラウザ内の文書の読み上げ音声を出力する。   The input unit 52 includes a keyboard and a touch panel, and is an interface for a user to input an instruction to the processing unit 50. In addition, the input unit 52 includes a microphone used for a call and the like, and a communication device that receives text transmitted by wireless communication such as mail and website data. The display 54 includes a liquid crystal display, an organic EL display, and the like, and displays a processing result by the processing unit 50. In addition to outputting the voice of the other party, the speaker 56 outputs a reading voice of a mail or a document in the browser by the reading function of the processing unit 50.

処理部50は、一般的な携帯電話における各種処理(通話、メール、インターネット、カメラ撮影など)を行うとともに、文書の読み上げ処理を実行する。図2には、処理部50のハードウェア構成が示されている。この図2に示すように、処理部50は、CPU90、ROM92、RAM94、記憶部(ここでは一例としてHDD(Hard Disk Drive))96、入出力部97等を備えている。これら処理部50の構成各部は、バス98に接続されている。処理部50では、ROM92あるいはHDD96に格納されているプログラム(顔文字読み情報推定プログラムを含む)をCPU90が実行することにより、図3の各部の機能が実現される。また、入出力部97には、図1の入力部52、表示ディスプレイ54、及びスピーカ56等が接続されている。なお、上記においては、記憶部96としてHDDを採用しているが、これに限らず、耐衝撃性、省電力性の観点からSSD(Solid State Drive)を採用することとしても良い。   The processing unit 50 performs various processes (call, mail, Internet, camera photography, etc.) in a general mobile phone, and executes a document reading process. FIG. 2 shows a hardware configuration of the processing unit 50. As shown in FIG. 2, the processing unit 50 includes a CPU 90, a ROM 92, a RAM 94, a storage unit (in this example, an HDD (Hard Disk Drive)) 96, an input / output unit 97, and the like. Each component of the processing unit 50 is connected to the bus 98. In the processing unit 50, the CPU 90 executes a program (including an emoticon reading information estimation program) stored in the ROM 92 or the HDD 96, thereby realizing the functions of the respective units in FIG. The input / output unit 97 is connected to the input unit 52, the display 54, the speaker 56, and the like shown in FIG. In the above description, an HDD is used as the storage unit 96. However, the present invention is not limited to this, and an SSD (Solid State Drive) may be used from the viewpoint of impact resistance and power saving.

図3は、処理部50のうち、文書読み上げに関する機能を示した機能ブロック図である。この図3に示すように、処理部50は、顔文字読み情報推定装置としての言語解析部2、及び出力装置としての波形処理部3、として機能する。言語解析部2は、入力されたテキストや顔文字を解析して、その読み、アクセントなどを推定する。波形処理部3は、言語解析部2で解析された読みの情報から音声波形を生成する。   FIG. 3 is a functional block diagram showing functions related to reading a document in the processing unit 50. As shown in FIG. 3, the processing unit 50 functions as a language analysis unit 2 as an emoticon reading information estimation device and a waveform processing unit 3 as an output device. The language analysis unit 2 analyzes the input text and emoticon and estimates the reading and accent. The waveform processing unit 3 generates a speech waveform from the reading information analyzed by the language analysis unit 2.

言語解析部2は、より詳細には、図3に示すように、テキスト入力受付部21、顔文字抽出部22、言語辞書格納部23、通常テキスト解析部24、格納部としての顔文字辞書格納部25、顔文字読み推定部26、読み出力部27を含む。   More specifically, as shown in FIG. 3, the language analysis unit 2 is a text input receiving unit 21, a face character extraction unit 22, a language dictionary storage unit 23, a normal text analysis unit 24, and a face character dictionary storage as a storage unit. Unit 25, emoticon reading estimation unit 26, and reading output unit 27.

テキスト入力受付部21は、テキスト情報の入力を受け付け、顔文字抽出部22へテキスト文字列を出力する。なお、テキスト入力受付部21へのテキストの入力方法としては、キーボードからの直接入力方法や、有線又は無線ネットワークを介した通信による入力方法を採用することができる。また、テキスト入力受付部21に入力されるテキストは、CD(Compact Disc)やDVD(Digital Versatile Disc)などの記録メディアから取得してもよいし、スキャナを用いてスキャンした画像データをOCR(Optical Character Reader)処理して取得してもよい。更には、その他一般的なテキストの入力方法を、適宜採用することとしてもよい。   The text input accepting unit 21 accepts input of text information and outputs a text character string to the emoticon extracting unit 22. In addition, as a text input method to the text input reception part 21, the direct input method from a keyboard and the input method by communication via a wired or wireless network are employable. The text input to the text input receiving unit 21 may be acquired from a recording medium such as a CD (Compact Disc) or a DVD (Digital Versatile Disc), or image data scanned using a scanner is OCR (Optical Character Reader) may be processed and acquired. Furthermore, other general text input methods may be adopted as appropriate.

顔文字抽出部22は、テキスト入力受付部21から出力されたテキスト文字列を受け付け、記号が二つ以上連続している部分を顔文字として抽出する。抽出された顔文字は顔文字読み推定部26へ出力され、顔文字ではない通常テキストは、通常テキスト解析部24へ出力される。   The emoticon extraction unit 22 receives the text character string output from the text input reception unit 21, and extracts a portion where two or more symbols are continuous as an emoticon. The extracted emoticon is output to the emoticon reading estimation unit 26, and the normal text that is not the emoticon is output to the normal text analysis unit 24.

ここで、顔文字抽出部22の詳細について、顔文字抽出部22の構成図である図4に基づいて説明する。顔文字抽出部22は、入力バッファ221、文字判定部224、顔文字バッファ222、通常文字列バッファ223、及び出力部225を含んでいる。入力バッファ221にはテキスト入力受付部21から出力された入力テキストが格納される。文字判定部224は、入力テキスト中で記号が2文字以上連続している部分を顔文字と判定し、当該部分を顔文字バッファ222に格納する。また、文字判定部224は、顔文字以外の部分については通常文字列と判定し、通常文字列バッファ223に格納する。顔文字バッファ222には入力テキストから抽出された顔文字が格納され、通常文字列バッファ223には、入力テキスト中の顔文字以外の通常文字列が格納される。出力部225は、顔文字バッファ222に格納されている文字列を、顔文字読み推定部26に出力するとともに、通常文字列バッファ223に格納されている文字列を、通常テキスト解析部24に出力する。   Here, details of the emoticon extraction unit 22 will be described with reference to FIG. The emoticon extraction unit 22 includes an input buffer 221, a character determination unit 224, an emoticon buffer 222, a normal character string buffer 223, and an output unit 225. The input buffer 221 stores the input text output from the text input receiving unit 21. The character determination unit 224 determines that a portion in which two or more symbols are continuous in the input text is a face character, and stores the portion in the face character buffer 222. Further, the character determination unit 224 determines that the portion other than the emoticon is a normal character string and stores it in the normal character string buffer 223. The emoticon buffer 222 stores emoticons extracted from the input text, and the ordinary character string buffer 223 stores ordinary character strings other than the emoticons in the input text. The output unit 225 outputs the character string stored in the emoticon buffer 222 to the emoticon reading estimation unit 26, and outputs the character string stored in the normal character string buffer 223 to the normal text analysis unit 24. To do.

図3に戻り、通常テキスト解析部24は、言語辞書格納部23を参照して、テキストの読み・アクセントなどを決定し、読みとその他の韻律記号を読み出力部27に出力する。ここで、テキスト解析の処理としては、一般的に知られている形態素解析処理を用いることができる。また、出力形式としては、JEITA IT-4002に示される日本語テキスト音声合成用記号のカナレベルの表記を用いることができる。   Returning to FIG. 3, the normal text analysis unit 24 refers to the language dictionary storage unit 23 to determine the reading and accent of the text, and outputs the reading and other prosodic symbols to the reading output unit 27. Here, generally known morphological analysis processing can be used as the text analysis processing. As an output format, the Kana level notation of the Japanese text-to-speech symbol shown in JEITA IT-4002 can be used.

顔文字辞書格納部25には、図11に示すような顔文字辞書が格納されている。この図11に示すように、顔文字辞書には、「表記」と、読み情報としての「読み・アクセント」と、「主要部品」と、「従属部品」とが顔文字毎に通し番号(データNo.)が付与された状態で紐付けられて登録されている。   The emoticon dictionary storage unit 25 stores an emoticon dictionary as shown in FIG. As shown in FIG. 11, in the emoticon dictionary, “notation”, “reading / accent” as reading information, “main part”, and “subordinate part” are serial numbers (data No.) for each emoticon. .) Is associated and registered.

「表記」には、既知の顔文字全体の記号が登録されている。「読み・アクセント」には顔文字の意味を表す読みとアクセントを登録する。読みとアクセントは、例えばJEITA IT-4002に示される日本語テキスト音声合成用記号のカナレベルの表記により登録することができる。   In “notation”, symbols of all known emoticons are registered. In “Reading / Accent”, a reading and an accent representing the meaning of the emoticon are registered. Readings and accents can be registered by, for example, Kana level notation of Japanese text-to-speech synthesis symbols shown in JEITA IT-4002.

「主要部品」は、顔文字の意味を担う、すなわち、顔文字の意味内容に寄与する、として予め抽出された主要記号であり、例えば、同じ意味を表す既知の複数の顔文字間で重複している記号である。「従属部品」は、顔文字の意味との関係が薄い記号であり、主要部品以外の従属記号である。なお、連続する同一の記号は一つだけ登録するようにしてもよい。   The “main part” is a main symbol extracted in advance as being responsible for the meaning of the emoticon, i.e., contributing to the meaning content of the emoticon, for example, overlapping between a plurality of known emoticons representing the same meaning. It is a symbol. The “subordinate part” is a symbol having a thin relationship with the meaning of the emoticon and is a subordinate symbol other than the main part. Note that only one consecutive identical symbol may be registered.

例えば、「ワーイ」という意味の既知の顔文字が『\(^O^)/』『\(^^@)/』『\^o^/』の3つあったとする。これらに共通する記号は、『\』、左側の『^』、右側の『^』、『/』である。したがって、これら4つの記号が「ワーイ」の主要部品となる。そして、各顔文字から主要部品を除いたものが各顔文字の従属部品となる。すなわち、顔文字『\(^O^)/』であれば、その主要部品は『\^^/』、従属部品は『(O)』となる。また、顔文字『\(^^@)/』であれば、主要部品は『\^^/』、従属部品は『(@)』となる。更に、顔文字『\^o^/』であれば、主要部品は『\^^/』、従属部品は『o』となる。   For example, suppose that there are three known emoticons with the meaning of “Wai”: “\ (^ O ^) /” “\ (^^ @) /” “\ ^ o ^ /”. Symbols common to these are “\”, “^” on the left side, “^” on the right side, and “/”. Therefore, these four symbols are the main parts of “Wai”. Then, a part obtained by removing main parts from each emoticon becomes a subordinate part of each emoticon. That is, if the emoticon is “\ (^ O ^) /”, the main part is “\ ^^ /” and the subordinate part is “(O)”. If the emoticon is “\ (^^ @) /”, the main part is “\ ^^ /” and the subordinate part is “(@)”. Furthermore, if the emoticon is “\ ^ o ^ /”, the main part is “\ ^^ /” and the subordinate part is “o”.

なお、主要部品の抽出方法としては、同じ意味を表す既知の複数の顔文字のうちある一定数以上の顔文字間で共通する部品を主要部品としても良い。このようにすることで、より多くのバリエーションに対応できるようになる。   As a method for extracting main parts, a part common to a certain number of emoticons among a plurality of known emoticons representing the same meaning may be used as the main part. By doing so, it becomes possible to deal with more variations.

図3に戻り、顔文字読み推定部26は、入力された顔文字に対して、図11の顔文字辞書に登録されている顔文字との類似度を計算し、当該類似度に基づいて、入力された顔文字の読みを推定する。ただし、類似度が予め定められている閾値を超えない場合は、顔文字ではないと判定し、通常テキスト解析部24へ出力する。通常テキスト解析部24では、記号としての読みを解析する。   Returning to FIG. 3, the emoticon reading estimation unit 26 calculates the similarity between the input emoticon and the emoticon registered in the emoticon dictionary of FIG. 11, and based on the similarity, Estimate the reading of the input emoticon. However, if the similarity does not exceed a predetermined threshold value, it is determined that the character is not an emoticon and is output to the normal text analysis unit 24. The normal text analysis unit 24 analyzes the reading as a symbol.

ここで、顔文字読み推定部26は、図5に示すように、受付部としての顔文字入力受付部260と、取得部としての割合取得部261と、算出部としての類似度算出部262と、推定部としての読み推定部264と、を有する。顔文字入力受付部260は、顔文字抽出部22の出力部225から出力された顔文字の入力を受け付ける。割合取得部261は、主要部品対応付け部2611と、従属部品対応付け部2612とを有している。類似度算出部262は、割合取得部261から出力されたデータに基づいて、顔文字抽出部22から入力された顔文字と、顔文字辞書に登録されている各顔文字との類似度を算出する。読み推定部264は、類似度算出部262において算出された類似度に基づいて、顔文字抽出部22から入力された顔文字の読みを推定し、読み出力部27に対して出力する。ただし、類似度が予め定められている閾値を超えない場合は、顔文字ではないと判定し、顔文字入力受付部で受け付けたテキストを通常テキスト解析部24へ出力する。   Here, as shown in FIG. 5, the emoticon reading estimation unit 26 includes an emoticon input reception unit 260 as a reception unit, a ratio acquisition unit 261 as an acquisition unit, and a similarity calculation unit 262 as a calculation unit. And a reading estimation unit 264 as an estimation unit. The emoticon input accepting unit 260 accepts an input of the emoticon output from the output unit 225 of the emoticon extracting unit 22. The ratio acquisition unit 261 includes a main component associating unit 2611 and a dependent component associating unit 2612. Based on the data output from the ratio acquisition unit 261, the similarity calculation unit 262 calculates the similarity between the emoticon input from the emoticon extraction unit 22 and each emoticon registered in the emoticon dictionary. To do. The reading estimation unit 264 estimates the reading of the emoticon input from the emoticon extraction unit 22 based on the similarity calculated by the similarity calculation unit 262, and outputs it to the reading output unit 27. However, if the similarity does not exceed a predetermined threshold value, it is determined that the character is not an emoticon, and the text received by the emoticon input receiving unit is output to the normal text analyzing unit 24.

読み出力部27は、通常テキスト解析部24から出力された通常テキストの読みと、顔文字読み推定部26から出力された顔文字の読みを順番につなぎ合わせ、最終的な読みとして、波形処理部3へ出力する。   The reading output unit 27 sequentially joins the reading of the normal text output from the normal text analysis unit 24 and the reading of the emoticon output from the emoticon reading estimation unit 26 to obtain a final reading as a waveform processing unit. Output to 3.

波形処理部3は、韻律辞書格納部31と、波形辞書格納部32と、音声生成部33とを有する。韻律辞書格納部31には、イントネーションやリズムといった人間の喋り方の特徴を表すデータが登録された韻律辞書が格納されている。波形辞書格納部32には、人間の音声データそのもの又は音声データから抽出した音声特徴量が登録された波形辞書が格納されている。音声生成部33は、読み出力部27から入力されたテキストの読みと、韻律辞書及び波形辞書のデータから音声を生成する。なお、音声生成部33の音声生成の方法としては、コーパスベース音声合成方式や、フォルマント合成方式など公知の方法を採用することができる。   The waveform processing unit 3 includes a prosody dictionary storage unit 31, a waveform dictionary storage unit 32, and a voice generation unit 33. The prosodic dictionary storage unit 31 stores a prosodic dictionary in which data representing characteristics of how to speak humans such as intonation and rhythm are registered. The waveform dictionary storage unit 32 stores a waveform dictionary in which human voice data itself or a voice feature amount extracted from voice data is registered. The voice generation unit 33 generates a voice from the text reading input from the reading output unit 27 and the data of the prosodic dictionary and the waveform dictionary. Note that a known method such as a corpus-based speech synthesis method or a formant synthesis method can be employed as a method for generating the speech by the speech generation unit 33.

次に、図6〜図22に基づいて、処理部50におけるテキスト読み上げ処理について、詳細に説明する。まず、図6のステップS1では、テキスト入力受付部21が、前述した種々方法を用いて、入力テキストを取得する。次いで、ステップS2では、顔文字抽出部22が、テキスト入力受付部21から出力される入力テキストを取り込む。   Next, the text reading process in the processing unit 50 will be described in detail with reference to FIGS. First, in step S1 of FIG. 6, the text input reception part 21 acquires an input text using the various methods mentioned above. Next, in step S <b> 2, the emoticon extraction unit 22 takes in the input text output from the text input reception unit 21.

次いで、ステップS3のサブルーチンでは、顔文字抽出部22が、入力テキストから解析単位を抽出する処理を実行する。なお、解析単位とは、2文字以上の記号の文字列の連続区間、または、それ以外の文字列の連続区間を意味する。このステップS3においては、顔文字抽出部22は、図7に沿った処理を実行する。なお、図7の処理の説明では、一例として、図8(a)に示す「悲しい(´∩`。)」という入力テキストを、顔文字抽出部22が取り込んだものとする。   Next, in the subroutine of step S3, the emoticon extraction unit 22 executes a process of extracting an analysis unit from the input text. The analysis unit means a continuous section of a character string of two or more characters or a continuous section of other character strings. In this step S3, the emoticon extraction unit 22 executes the process according to FIG. In the description of the processing in FIG. 7, as an example, it is assumed that the emoticon extraction unit 22 takes in the input text “sad (′ ∩ `)” shown in FIG.

図7の処理では、まず、ステップS21において、文字判定部224が、入力バッファ221(図4参照)の先頭にポインタを設定する。具体的には、図8(a)に示すように、入力テキスト「悲しい(´∩`。)」のうち、文字「悲」の部分にポインタを設定する。   In the process of FIG. 7, first, in step S21, the character determination unit 224 sets a pointer at the head of the input buffer 221 (see FIG. 4). Specifically, as shown in FIG. 8A, a pointer is set at the character “sad” in the input text “sad ('∩ `.)”.

次いで、ステップS22では、文字判定部224が、ポインタが指す文字とその直後の文字が記号であるか否かを判断する。ここではポインタが指す文字「悲」と直後の文字「し」は、記号でないので、ステップS22の判断は否定されて、ステップS27に移行する。   Next, in step S22, the character determination unit 224 determines whether or not the character pointed to by the pointer and the character immediately following it are symbols. Here, since the character “sad” pointed to by the pointer and the character “shi” immediately after it are not symbols, the determination in step S22 is denied and the process proceeds to step S27.

ステップS27に移行すると、文字判定部224は、ポインタが指す文字を入力バッファ221から削除し、削除した文字を通常文字列バッファ223へ格納する。次いで、ステップS28では、文字判定部224が、入力バッファ221のポインタを1文字進める。そして、次のステップS29では、文字判定部224は、ポインタが入力バッファ221の最終文字を超えたか、あるいはポインタが指す文字とその直後の文字が共に記号であるか否かを判断する。ここでの判断が否定される場合には、ステップS22に戻る。なお、図8(a)の例では、図8(b)に示すように、「悲しい」の3文字が通常文字列バッファ223に格納されるまで、ステップS22、S27〜S29の処理・判断が繰り返される。そして、図8(b)に示すように、ポインタが指す文字が記号『(』であり、その直後の文字が『´』となった場合に、ステップS29の判断が肯定されて、ステップS30に移行する。   In step S27, the character determination unit 224 deletes the character indicated by the pointer from the input buffer 221, and stores the deleted character in the normal character string buffer 223. Next, in step S28, the character determination unit 224 advances the pointer of the input buffer 221 by one character. In the next step S29, the character determination unit 224 determines whether the pointer exceeds the last character of the input buffer 221, or whether the character pointed to by the pointer and the character immediately after the character are both symbols. When judgment here is denied, it returns to step S22. In the example of FIG. 8A, as shown in FIG. 8B, until the three characters “sad” are stored in the normal character string buffer 223, the processes and determinations in steps S22 and S27 to S29 are performed. Repeated. Then, as shown in FIG. 8B, when the character pointed to by the pointer is the symbol “(”, and the character immediately after it is “′”, the determination in step S29 is affirmed, and the process proceeds to step S30. Transition.

ステップS30では、出力部225が、通常文字列バッファ223の内容を図3の通常テキスト解析部24に対して出力する(図8(c)参照)。そして、次のステップS31では、文字判定部224が、図8(d)に示すように、削除された入力バッファ221の文字分だけ、入力バッファ221のデータを左詰にする。その後、図6のステップS4に移行する。   In step S30, the output unit 225 outputs the contents of the normal character string buffer 223 to the normal text analysis unit 24 of FIG. 3 (see FIG. 8C). Then, in the next step S31, the character determination unit 224 left-justifies the data in the input buffer 221 as much as the deleted characters in the input buffer 221 as shown in FIG. Thereafter, the process proceeds to step S4 in FIG.

図6のステップS4では、顔文字抽出部22が、出力した文字列が、顔文字であるか否かを判断する。ここでは、出力部225が、通常文字列バッファ223の内容「悲しい」を図3の通常テキスト解析部24に対して出力したため、ステップS4の判断は否定され、ステップS6に移行する。ステップS6では、通常テキスト解析部24が、言語辞書格納部23に格納されている言語辞書に基づいて、テキストの読みを解析し、解析した読み情報を読み出力部27へ出力する。次いで、ステップS7では、読み出力部27が、読み情報を、読み出力部27が保有するバッファに、順に蓄積する。次いで、ステップS8では、顔文字抽出部22の文字判定部224が、入力バッファ221が空か否かを判断する。ここでは、まだ、テキスト『(´∩`。)』が入力バッファ221に残っているので、判断は否定されて、ステップS3(図7のステップS21)に戻る。   In step S4 in FIG. 6, the emoticon extraction unit 22 determines whether or not the output character string is an emoticon. Here, since the output unit 225 outputs the content “sad” in the normal character string buffer 223 to the normal text analysis unit 24 in FIG. 3, the determination in step S4 is denied and the process proceeds to step S6. In step S <b> 6, the normal text analysis unit 24 analyzes the text reading based on the language dictionary stored in the language dictionary storage unit 23, and outputs the analyzed reading information to the reading output unit 27. Next, in step S <b> 7, the reading output unit 27 sequentially stores reading information in a buffer held by the reading output unit 27. Next, in step S8, the character determination unit 224 of the emoticon extraction unit 22 determines whether or not the input buffer 221 is empty. Here, since the text “(′ (.)” Still remains in the input buffer 221, the determination is denied and the process returns to step S3 (step S21 in FIG. 7).

図7のステップS21では、文字判定部224が、図9(a)に示すように、ポインタを入力バッファ221の先頭に設定する。そして、ステップS22では、文字判定部224が、ポインタが指す文字とその直後の文字が記号か否かを判断する。ここでは、ポインタが指す文字『(』とその直後の文字『´』がそれぞれ記号であるので、判断は肯定されて、ステップS23に移行する。   In step S21 of FIG. 7, the character determination unit 224 sets the pointer to the head of the input buffer 221 as shown in FIG. In step S22, the character determination unit 224 determines whether the character pointed to by the pointer and the character immediately after the character are symbols. Here, since the character “(” pointed to by the pointer and the character “′” immediately after it are symbols, the determination is affirmed and the process proceeds to step S23.

ステップS23では、文字判定部224が、ポインタが指す文字を入力バッファ221から削除し、削除した文字を顔文字バッファ222へ格納する。次いで、ステップS24では、文字判定部224が、入力バッファ221のポインタを1文字進める。そして、次のステップS25では、文字判定部224が、ポインタが入力バッファの最終文字を超えたか、或いはポインタが指す文字が記号以外であるか否かを判断する。ここでの判断が否定されると、ステップS23に戻る。その後、ステップS23〜S25を繰り返し、ポインタが入力バッファの最終文字を超えた段階(図9(b)参照)で、ステップS26に移行する。   In step S <b> 23, the character determination unit 224 deletes the character pointed to by the pointer from the input buffer 221 and stores the deleted character in the emoticon buffer 222. Next, in step S24, the character determination unit 224 advances the pointer of the input buffer 221 by one character. In the next step S25, the character determination unit 224 determines whether the pointer exceeds the last character of the input buffer or whether the character pointed to by the pointer is other than a symbol. If the determination here is negative, the process returns to step S23. Thereafter, steps S23 to S25 are repeated, and when the pointer exceeds the last character of the input buffer (see FIG. 9B), the process proceeds to step S26.

ステップS26では、出力部225が、顔文字バッファ222の内容を、顔文字読み推定部26に対して出力する(図9(c)参照)。次いで、ステップS31では、文字判定部224が、削除された入力バッファの文字分入力バッファ221のデータを左詰にする。なお、図9(d)では、入力バッファ221には、データは存在していない。その後、図6のステップS4に移行する。   In step S26, the output unit 225 outputs the contents of the emoticon buffer 222 to the emoticon reading estimation unit 26 (see FIG. 9C). Next, in step S31, the character determination unit 224 left-justifies the data in the input buffer 221 corresponding to the deleted input buffer. In FIG. 9D, no data exists in the input buffer 221. Thereafter, the process proceeds to step S4 in FIG.

図6のステップS4では、顔文字抽出部22が、出力した文字列が、顔文字であるか否かを判断する。ここでの判断が肯定されると、ステップS5に移行する。ここでは、出力部225が、通常文字列バッファ222の内容『(´∩`。)』を顔文字読み推定部26に対して出力したため、ステップS4の判断が肯定され、ステップS5に進む。ステップS5では、顔文字読み推定部26が、顔文字読み推定処理のサブルーチンを実行する。具体的には、ステップS5では、顔文字読み推定部26が、図10の処理を実行する。   In step S4 in FIG. 6, the emoticon extraction unit 22 determines whether or not the output character string is an emoticon. If the determination here is affirmed, the process proceeds to step S5. Here, since the output unit 225 outputs the contents “(′ ∩ `.)” Of the normal character string buffer 222 to the emoticon reading estimation unit 26, the determination in step S4 is affirmed and the process proceeds to step S5. In step S5, the emoticon reading estimation unit 26 executes a subroutine of emoticon reading estimation processing. Specifically, in step S5, the emoticon reading estimation unit 26 executes the process of FIG.

ここでは、前述のように、顔文字読み推定部26の顔文字入力受付部260には、顔文字として、図9等に示す顔文字『(´∩`。)』が入力されているものとする。なお、この顔文字は、「グスン」という読みであるものとする。しかるに、図11に示す顔文字辞書には、『(´∩`。)』と同一の表記は登録されていないため、入力された顔文字は「未知の顔文字」となる。   Here, as described above, the emoticon input reception unit 260 of the emoticon reading estimation unit 26 is input with the emoticon “(′ ∩ `.)” Shown in FIG. To do. It is assumed that this emoticon reads “Gusun”. However, in the emoticon dictionary shown in FIG. 11, the same notation as “(′ ∩ `.)” Is not registered, so the input emoticon is “unknown emoticon”.

図10では、まず、ステップS61において、割合取得部261が、データ番号を表す変数Nを作成し、当該変数の初期値として1を設定する。次いで、ステップS62では、割合取得部261が、顔文字辞書(図11参照)からN番目(ここでは、1番目)のデータを取得する。この場合、割合取得部261は、図11のうち、データNo.が1のデータ(表記が『(^―^)』のデータ)を取得する。   In FIG. 10, first, in step S <b> 61, the ratio acquisition unit 261 creates a variable N representing a data number and sets 1 as an initial value of the variable. Next, in step S62, the ratio acquisition unit 261 acquires the Nth (here, the first) data from the emoticon dictionary (see FIG. 11). In this case, the ratio acquisition unit 261 includes data No. 1 in FIG. Get the data with 1 (data with the notation "(^-^)").

次いで、ステップS63では、主要部品対応付け部2611が、取り出したデータNo.1の主要部品『^ ^』それぞれに対して部品番号を設定する。なお、主要部品の部品番号としては、main(主要な)の頭文字Mと通し番号の組み合わせの文字列を設定するものとする。主要部品『^ ^』であれば、主要部品対応付け部2611は、左側の『^』にM1、右側の『^』にM2を設定する。   Next, in step S63, the main part associating unit 2611 sets a part number for each main part “^^” of the extracted data No. 1. It should be noted that as the part number of the main part, a character string that is a combination of the initial M and the serial number is set. In the case of the main part “^^”, the main part associating unit 2611 sets M1 in “^” on the left side and M2 in “^” on the right side.

次いで、ステップS64では、主要部品対応付け部2611が、入力された顔文字『(´∩`。)』の中に、顔文字辞書から取り出した主要部品と一致する記号が存在するかの対応付けを行う。そして、主要部品対応付け部2611は、対応付け結果(一致する部品番号)を、顔文字辞書の主要部品数とともに、類似度算出部262に対して出力する。ここでは、M1=『^』、M2=『^』であり主要部品数は2であるが、M1、M2と一致する部品は、未知の顔文字に含まれていないので、主要部品対応付け部2611は、対応付け結果として、空文字を出力する(図12の「データNo.」1の行と「主要部品対応付け結果」の列、「辞書主要部品数」の列の交わるセルのデータ参照)。なお、一致する対応づけが存在する場合は、主要部品対応付け部2611は、対応付け結果として、一致する部品番号と部品表記を類似度算出部262に対して出力する。   Next, in step S64, the main part association unit 2611 associates whether or not there is a symbol that matches the main part extracted from the emoticon dictionary in the input emoticon “(′ ∩ `.)”. I do. Then, the main component correlation unit 2611 outputs the correlation result (matching component number) to the similarity calculation unit 262 together with the number of main components in the emoticon dictionary. Here, M1 = “^”, M2 = “^”, and the number of main parts is 2. However, since the parts that match M1 and M2 are not included in the unknown emoticons, the main parts association unit 2611 outputs a null character as the association result (refer to the data of the cell where the row of “Data No.” 1 in FIG. 12, the column of “main component association result”, and the column of “number of dictionary main components” intersect). . When there is a matching that matches, the main component correlation unit 2611 outputs the matching component number and component notation to the similarity calculation unit 262 as the correlation result.

次いで、ステップS65では、従属部品対応付け部2612が、取り出したデータNo.1の従属部品「( ― )」に対して部品番号を設定する。従属部品の部品番号としては、subsidiary(従属的な)の頭文字Sと通し番号の組み合わせの文字列を設定するものとする。ここでは、従属部品対応付け部2612は、最初の部品『(』をS1、真ん中の部品『―』をS2、最後の部品『)』をS3と設定する。   Next, in step S65, the dependent component associating unit 2612 sets a component number for the dependent component "(-)" of the extracted data No. 1. As the part number of the dependent part, a character string of a combination of a subsidiary initial S and a serial number is set. Here, the dependent component associating unit 2612 sets the first component “(” as S1, the middle component “-” as S2, and the last component “)” as S3.

次いで、ステップS66では、従属部品対応付け部2612が、入力された未知の顔文字『(´∩`。)』の中に、顔文字辞書から取り出した従属部品と一致する記号が存在するかの対応付けを行う。そして、従属部品対応付け部2612は、対応付けの結果として、一致する部品番号と部品表記を類似度算出部262に対して出力する。ここでは、S1=『()、s2=『―』、s3=『)』であり、S1、S3が入力された未知の顔文字の部品と一致するため、対応付け結果としては、S1(とS3)を出力する(図12の「データNo.」1の行と「従属部品対応付け結果」の列の交わるセルのデータ参照)。   Next, in step S66, the dependent component associating unit 2612 determines whether a symbol that matches the dependent component extracted from the emoticon dictionary exists in the input unknown emoticon “(′ ∩ `.)”. Perform the association. Then, the dependent component associating unit 2612 outputs the matching component number and component notation to the similarity calculating unit 262 as a result of the association. Here, S1 = “(), s2 =“ − ”, s3 =“) ”, and S1 and S3 match the input parts of the unknown emoticon, so the matching result is S1 (and S3) is output (refer to the data of the cell where the row of “data No.” 1 in FIG. 12 and the column of “subordinate component correspondence result” intersect).

次いで、ステップS67では、割合取得部261は、データ番号Nを1増やす(N←N+1)。そして、ステップS68では、Nが顔文字辞書のデータ数を超えたか否かを判断する。ここでの判断が否定された場合には、ステップS62に戻り、上記と同様の処理を、顔文字辞書のデータNo.=Nの顔文字に対して、実行する。その後、ステップS68の判断が肯定されると、ステップS69Aに移行する。なお、ステップS69Aに移行した段階において、類似度算出部262に出力された対応付け結果は、図12のようなデータであるものとする。   Next, in step S67, the ratio acquisition unit 261 increases the data number N by 1 (N ← N + 1). In step S68, it is determined whether N exceeds the number of data in the emoticon dictionary. If the determination here is negative, the process returns to step S62, and the same processing as described above is performed for the data No. of the emoticon dictionary. Execute for emoticons of = N. Thereafter, when the determination in step S68 is affirmed, the process proceeds to step S69A. Note that the association result output to the similarity calculation unit 262 at the stage of proceeding to step S69A is data as shown in FIG.

ステップS69Aでは、類似度算出部262が、仮の類似度を計算する。この場合、類似度算出部262は、図12の全データに対して、主要部品として対応付けられた部品の数を、顔文字辞書の主要部品数で除した値を仮の類似度として計算する。そして、ステップS69Bでは、類似度算出部262が、仮の類似度がある閾値(第1の閾値)以上であるデータ番号を抽出する。例えば、図12の対応付結果の場合、データNo.1、No.2は、主要部品として対応づけられた部品数が0なので、仮の類似度は、0%となる。一方、データNo.3は、主要部品対応付け結果が3であり、辞書主要部品数が3であるので、仮の類似度は100%(=3/3×100)となる。更に、データNo.4は、主要部品対応付け結果が3であり、辞書主要部品数が5であるので、仮の類似度は60%(=3/5×100)となる。ここで、例えば、ステップS69Bで用いられる閾値(第1の閾値)が「60%」であるとすると、当該閾値以上の仮の類似度を有するデータNo.3とデータNo.4が、類似度算出部262において抽出されることになる。   In step S69A, the similarity calculation unit 262 calculates a temporary similarity. In this case, the similarity calculation unit 262 calculates, as a temporary similarity, a value obtained by dividing the number of components associated as main components by the number of main components in the emoticon dictionary for all data in FIG. . In step S <b> 69 </ b> B, the similarity calculation unit 262 extracts a data number that is greater than or equal to a certain threshold (first threshold). For example, in the case of the association result shown in FIG. Since the number of parts 2 associated with the main part is 0, the provisional similarity is 0%. On the other hand, since data No. 3 has a main component matching result of 3 and the number of dictionary main components is 3, the provisional similarity is 100% (= 3/3 × 100). Furthermore, since data No. 4 has a main part correspondence result of 3 and a dictionary main part number of 5, the temporary similarity is 60% (= 3/5 × 100). Here, for example, if the threshold value (first threshold value) used in step S69B is “60%”, data No. 3 and data No. 4 having a provisional similarity equal to or greater than the threshold value are represented by the similarity. The calculation unit 262 extracts the data.

次いで、ステップS69Cでは、類似度算出部262が、顔文字番号を表す変数Kを作成し、当該変数の初期値として1を設定する。次いで、ステップS70では、類似度算出部262が、抽出した顔文字のうち、K番目(ここでは1番目)の顔文字(ここでは、データNo.3の顔文字)の部品番号並びを求めるサブルーチンを実行する。ステップS70では、具体的には、類似度算出部262が、図13のフローチャートに沿った処理を実行する。   Next, in step S69C, the similarity calculation unit 262 creates a variable K representing the emoticon number, and sets 1 as the initial value of the variable. Next, in step S70, the similarity calculation unit 262 obtains a K-th (here, first) emoticon (here, emoticon of data No. 3) part number sequence among the extracted emoticons. Execute. In step S70, specifically, the similarity calculation unit 262 executes processing according to the flowchart of FIG.

図13の処理では、まず、ステップS7001において、類似度算出部262が、辞書表記ポインタを辞書表記の先頭に設定する(以降、辞書の各種データを指すポインタは、直接、顔文字辞書格納部25が配置されているメモリ上の位置を指すようにしても、顔文字辞書格納部25のデータを一旦RAMやキャッシュ等に読み込んだ後のRAMやキャッシュ上の対応する位置を指すようにしても、実装に都合のよい方法を採用すればよい)。具体的には、類似度算出部262は、辞書表記ポインタを顔文字『(´_`。)』の『(』の部分に合わせる(図14の1回目の1段目参照)。次いで、ステップS7002では、類似度算出部262が、主要部品ポインタを主要部品の先頭に設定し、主要部品番号を格納する変数を作成し、1に設定する。具体的には、類似度算出部262は、主要部品ポインタを主要部品『 ´ ` 。 』のうち、『´』に合わせる(図14の1回目の1段目参照)。次いで、ステップS7003では、類似度算出部262が、従属部品ポインタを従属部品の先頭に設定し、従属部品番号を格納する変数を作成し、1に設定する。具体的には類似度算出部262は、従属部品ポインタを従属部品『 ( _ ) 』のうち、『(』に設定する(図14の1回目の1段目参照)。   In the process of FIG. 13, first, in step S7001, the similarity calculation unit 262 sets a dictionary notation pointer at the beginning of the dictionary notation (hereinafter, pointers indicating various data in the dictionary are directly connected to the emoticon dictionary storage unit 25. May be pointed to the corresponding position on the RAM or cache after the data in the emoticon dictionary storage unit 25 is once read into the RAM or cache. Use a method that is convenient for implementation). Specifically, the similarity calculation unit 262 aligns the dictionary notation pointer with the “(” part of the emoticon “(′ _ `.)” (See the first step in FIG. 14). In S7002, the similarity calculation unit 262 sets the main component pointer to the head of the main component, creates a variable for storing the main component number, and sets it to 1. Specifically, the similarity calculation unit 262 The main component pointer is set to “′” in the main component “′ `.” (See the first stage in FIG. 14) Next, in step S7003, the similarity calculation unit 262 subordinates the subordinate component pointer. Set at the beginning of the part, create a variable to store the dependent part number, and set it to 1. More specifically, the similarity calculation unit 262 sets the dependent part pointer to “(())” among the dependent parts “(_)”. ] (See the first stage of the first time in FIG. 14) .

次いで、ステップS7004では、類似度算出部262が、辞書表記ポインタと主要部品ポインタの指す記号が一致しているか否かを判断する。ここでは、図14の1回目の1段目に示すように、両者は一致していないので、判断が否定され、ステップS7007に移行する。ステップS7007では、類似度算出部262が、辞書表記ポインタと従属部品ポインタの指す記号が一致しているか否かを判断する。ここでは、図14の1回目の1段目に示すように、両者は一致しているので、判断は肯定され、ステップS7008に移行する。   Next, in step S7004, the similarity calculation unit 262 determines whether or not the symbols indicated by the dictionary notation pointer and the main component pointer match. Here, as shown in the first row of the first time in FIG. 14, the two do not match, so the determination is negative, and the flow proceeds to step S7007. In step S7007, the similarity calculation unit 262 determines whether or not the symbols indicated by the dictionary notation pointer and the subordinate component pointer match. Here, as shown in the first stage of FIG. 14, since they are the same, the determination is affirmed and the process proceeds to step S7008.

ステップS7008では、類似度算出部262が、従属部品を表す頭文字Sと従属部品番号(S1)を類似度算出部262が有する出力バッファに出力する。そして、次のステップS7009では、類似度算出部262が、従属部品ポインタを次の記号へ進め、従属部品番号に1を加算する(従属部品番号=2)。このステップS7008、S7009の結果が、図14の1回目の2段目に示されている。   In step S7008, the similarity calculation unit 262 outputs the initial S representing the dependent component and the dependent component number (S1) to the output buffer of the similarity calculation unit 262. In the next step S7009, the similarity calculation unit 262 advances the dependent component pointer to the next symbol, and adds 1 to the dependent component number (dependent component number = 2). The results of steps S7008 and S7009 are shown in the first second row in FIG.

次いで、ステップS7010では、類似度算出部262が、辞書表記ポインタを次の記号へ進める。この結果が、図14の1回目の3段目に示されている。   Next, in step S7010, the similarity calculation unit 262 advances the dictionary notation pointer to the next symbol. This result is shown in the first third row of FIG.

次いで、ステップS7011では、類似度算出部262が、辞書表記ポインタが記号を指していないか否かを判断する。ここでは、辞書表記ポインタが記号を指しているので、判断は否定され、ステップS7004に戻る。   Next, in step S7011, the similarity calculation unit 262 determines whether or not the dictionary notation pointer points to a symbol. Here, since the dictionary notation pointer points to the symbol, the determination is denied, and the process returns to step S7004.

次に、繰り返しの2回目について説明する。繰り返しの2回目では、図14の2回目の1段目に示すように、辞書表記ポインタと主要部品ポインタの指す記号『´』が一致しているので、ステップS7004の判断が肯定され、ステップS7005に移行する。ステップS7005に移行すると、類似度算出部262が、図14の2回目の2段目に示すように、主要部品を表す頭文字Mと主要部品番号(M1)を類似度算出部262が有する出力バッファに出力する。   Next, the second repetition will be described. In the second repetition, as shown in the first row of the second time in FIG. 14, the symbol “′” pointed to by the dictionary notation pointer and the main part pointer matches, so the determination in step S7004 is affirmed, and step S7005 Migrate to In step S7005, the similarity calculation unit 262 outputs the initial value M representing the main part and the main part number (M1) included in the similarity calculation unit 262, as shown in the second row in FIG. Output to buffer.

次いで、ステップS7006では、類似度算出部262が、図14の2回目の3段目に示すように、主要部品ポインタを次の記号『`』に進め、主要部品番号に1を加算する(主要部品番号=2)。次いで、ステップS7010では、類似度算出部262が、辞書表記ポインタを次の記号『_』へ進める。次いで、ステップS7011では、類似度算出部262が、辞書表記ポインタが記号を指していないか否かを判断する。ここでは、辞書表記ポインタが記号を指しているので、判断は否定され、ステップS7004に戻る。   Next, in step S7006, the similarity calculation unit 262 advances the main part pointer to the next symbol “`” and adds 1 to the main part number as shown in the third row of the second time in FIG. Part number = 2). Next, in step S7010, the similarity calculation unit 262 advances the dictionary notation pointer to the next symbol “_”. Next, in step S7011, the similarity calculation unit 262 determines whether or not the dictionary notation pointer points to a symbol. Here, since the dictionary notation pointer points to the symbol, the determination is denied, and the process returns to step S7004.

以降は、繰り返しの3回目から6回目まで行うことで、辞書表記『(´_`。)』の並びを、主要部品番号と従属部品番号の並び(S1,M1,S2,M2,M3,S3)で表すことができる(図14の最下段参照)。なお、図11の顔文字辞書の表記の代わりに、主要部品番号と従属部品番号の並びが定義されている場合には、ステップS70の処理を省略することとしてもよい。   Thereafter, by repeating the third to sixth iterations, the sequence of the dictionary notation “(′ _ `.)” Is changed to the sequence of the main part number and the subordinate part number (S1, M1, S2, M2, M3, S3). ) (See the bottom row in FIG. 14). Note that if the arrangement of the main part number and the subordinate part number is defined instead of the emoticon dictionary notation in FIG. 11, the process of step S70 may be omitted.

以上のようにして、図13の全処理が終了すると、図10のステップS71に移行する。ステップS71のサブルーチンでは、類似度算出部262が、未知の顔文字の部品番号並びを求める処理を実行する。このステップS71では、類似度算出部262が、図15のフローチャートに沿った処理を実行する。   As described above, when all the processes in FIG. 13 are completed, the process proceeds to step S71 in FIG. In the subroutine of step S71, the similarity calculation unit 262 executes a process for obtaining a part number arrangement of unknown emoticons. In step S71, the similarity calculation unit 262 executes processing according to the flowchart of FIG.

図15の処理では、ステップS7101において、類似度算出部262が、未知表記ポインタを未知の顔文字の先頭に設定する。具体的には、類似度算出部262は、未知表記ポインタを顔文字入力受付部260に入力された顔文字列『(´∩`。)』の『(』の部分に合わせる。次いで、ステップS7102では、類似度算出部262が、主要部品ポインタを主要部品対応付け結果の先頭に設定する。なお、主要部品対応付け結果は、図16に示すように、主要部品番号と部品とを対応付けた状態(M1´M2`M3。)で示される。したがって、ステップS7102では、主要部品ポインタが、「M1´」に設定される(図16の1回目の1段目参照)。   In the process of FIG. 15, in step S7101, the similarity calculation unit 262 sets an unknown notation pointer at the beginning of an unknown emoticon. Specifically, the similarity calculation unit 262 matches the unknown notation pointer with the “(” part of the emoticon string “(′ ∩ `.)” Input to the emoticon input receiving unit 260. Next, step S7102 is performed. Then, the similarity calculation unit 262 sets the main component pointer at the head of the main component association result, which is obtained by associating the main component number and the component as shown in FIG. Therefore, in step S7102, the main component pointer is set to “M1 ′” (see the first step in FIG. 16).

次いで、ステップS7103では、類似度算出部262が、従属部品ポインタを従属部品対応付け結果の先頭に設定する。なお、従属部品対応付け結果は、図16に示すように、従属部品番号と部品とを対応付けた状態(「S1(S3)」)で示される。したがって、ステップS7103では、主要部品ポインタが、「S1(」に設定される(図16の1回目の1段目参照)。   Next, in step S7103, the similarity calculation unit 262 sets the dependent component pointer at the head of the dependent component association result. In addition, the dependent part correlation result is shown in a state ("S1 (S3)") in which the dependent part number is associated with the part as shown in FIG. Accordingly, in step S7103, the main component pointer is set to “S1 (” (see the first step in FIG. 16).

次いで、ステップS7004では、類似度算出部262が、未知表記ポインタと主要部品ポインタの指す記号が一致しているか否かを判断する。ここでは、図16の1回目の1段目に示すように、一致していないので、判断が否定され、ステップS7107に移行する。ステップS7107では、類似度算出部262が、未知表記ポインタと従属部品ポインタの指す記号が一致しているか否かを判断する。ここでは、図16の1回目の1段目に示すように、一致しているので、判断は肯定され、ステップS7108に移行する。   Next, in step S7004, the similarity calculation unit 262 determines whether or not the symbols indicated by the unknown notation pointer and the main component pointer match. Here, as shown in the first level of the first time in FIG. 16, since they do not match, the determination is negative, and the process proceeds to step S <b> 7107. In step S7107, the similarity calculation unit 262 determines whether the symbols indicated by the unknown notation pointer and the subordinate component pointer match. Here, as shown in the first level of the first time in FIG. 16, since they match, the determination is affirmed and the process proceeds to step S <b> 7108.

ステップS7108では、類似度算出部262が、従属部品を表す頭文字Sと従属部品番号(S1)を類似度算出部262が有する出力バッファに出力する。そして、次のステップS7109では、類似度算出部262が、従属部品ポインタを次の記号へ進める。このステップS7108、S7109の結果が、図16の1回目の2段目に示されている。   In step S7108, the similarity calculation unit 262 outputs the initial letter S representing the dependent component and the dependent component number (S1) to an output buffer included in the similarity calculation unit 262. In the next step S7109, the similarity calculation unit 262 advances the dependent component pointer to the next symbol. The results of steps S7108 and S7109 are shown in the first second row in FIG.

次いで、ステップS7110では、類似度算出部262が、未知表記ポインタを次の記号へ進める。この結果が、図16の1回目の3段目に示されている。   Next, in step S7110, the similarity calculation unit 262 advances the unknown notation pointer to the next symbol. This result is shown in the first third row of FIG.

次いで、ステップS7111では、類似度算出部262が、未知表記ポインタが記号を指していないか否かを判断する。ここでは、未知表記ポインタが記号を指しているので、判断は否定され、ステップS7104に戻る。   Next, in step S7111, the similarity calculation unit 262 determines whether or not the unknown notation pointer points to a symbol. Here, since the unknown notation pointer points to the symbol, the determination is denied, and the process returns to step S7104.

次に、繰り返しの2回目について説明する。繰り返しの2回目では、図16の2回目の1段目に示すように、未知表記ポインタと主要部品ポインタの指す記号『´』が一致しているので、ステップS7104の判断が肯定され、ステップS7105に移行する。ステップS7105に移行すると、類似度算出部262が、図16の2回目の2段目に示すように、主要部品を表す頭文字Mと主要部品番号(M1)を類似度算出部262が有する出力バッファに出力する。   Next, the second repetition will be described. In the second repetition, as shown in the first row of the second time in FIG. 16, since the unknown notation pointer and the symbol “′” pointed to by the main part pointer match, the determination in step S7104 is affirmed, and step S7105 is performed. Migrate to In step S7105, the similarity calculation unit 262 outputs the initial value M representing the main part and the main part number (M1) included in the similarity calculation unit 262, as shown in the second row in FIG. Output to buffer.

次いで、ステップS7106では、類似度算出部262が、図16の2回目の3段目に示すように、主要部品ポインタを次の記号『M2`』に進める。次いで、ステップS7110では、類似度算出部262が、未知表記ポインタを次の記号『∩』へ進める。次いで、ステップS7111では、類似度算出部262が、未知表記ポインタが記号を指していないか否かを判断する。ここでは、未知表記ポインタが記号を指しているので、判断は否定され、ステップS7104に戻る。   Next, in step S7106, the similarity calculation unit 262 advances the main component pointer to the next symbol “M2 `” as illustrated in the third level in the second time in FIG. Next, in step S7110, the similarity calculation unit 262 advances the unknown notation pointer to the next symbol “∩”. Next, in step S7111, the similarity calculation unit 262 determines whether or not the unknown notation pointer points to a symbol. Here, since the unknown notation pointer points to the symbol, the determination is denied, and the process returns to step S7104.

以降は、繰り返しの3回目から6回目までを行うことで、入力された未知の顔文字表記『(´∩`。)』の並びを、主要部品番号と従属部品番号の並び(S1,M1,M2,M3,S3)で表すことができる。すなわち、ステップS70、S71の処理により、類似度算出部262は、図17のデータNo.3に示すように、辞書部品順序と、未知顔文字対応付け順序と、を得ることができる。   Thereafter, by repeating the third to sixth iterations, the sequence of the input unknown emoticon expression “(′ ∩ `.)” Is changed to the sequence of the main part number and the subordinate part number (S1, M1, M2, M3, S3). That is, by the processing of steps S70 and S71, the similarity calculation unit 262 performs the data No. As shown in FIG. 3, the dictionary component order and the unknown emoticon association order can be obtained.

以上のようにして、図15の全処理が終了すると、図10のステップS72に移行する。ステップS72のサブルーチンでは、類似度算出部262が、部品並びの検証についての処理を実行する。このステップS72では、類似度算出部262が、図18のフローチャートに沿った処理を実行する。なお、ここでは、処理の順番として、最初にデータNo.3の顔文字を用いて部品並びの検証を行うところではあるが、説明の便宜上、図17の2段目に記載されているデータNo.4を用いて、図18の処理について説明するものとする。   When all the processes in FIG. 15 are completed as described above, the process proceeds to step S72 in FIG. In the subroutine of step S72, the similarity calculation unit 262 executes processing for verifying the part arrangement. In step S72, the similarity calculation unit 262 executes processing according to the flowchart of FIG. Here, as the processing order, first, the data No. Although the part arrangement is verified by using the emoticon No. 3 for the sake of convenience, the data No. described in the second row of FIG. 4 will be used to describe the processing of FIG.

図18の処理では、まず、ステップS7201において、類似度算出部262が、対応結果ポインタAを未知顔文字対応付け順序の先頭に設定する。また、ステップS7202では、類似度算出部262が、辞書部品ポインタXを辞書部品順序の先頭に設定する。この段階でのポインタの状態が、図19の1段目に示されている。   In the process of FIG. 18, first, in step S7201, the similarity calculation unit 262 sets the correspondence result pointer A at the head of the unknown face character association order. In step S7202, the similarity calculation unit 262 sets the dictionary part pointer X at the head of the dictionary part order. The state of the pointer at this stage is shown in the first row of FIG.

次いで、ステップS7203では、類似度算出部262は、対応結果ポインタAと辞書部品ポインタXの指す部品が一致するか否かを判断する。ここでは、図19の1段目に示すように、一致しているので、判断が肯定されてステップS7205に移行する。なお、ステップS7203の判断が否定される場合には、ステップS7204において、類似度算出部262が、辞書部品ポインタXを次の部品に進めた後、再度ステップS7203に戻る。   Next, in step S7203, the similarity calculation unit 262 determines whether or not the correspondence result pointer A matches the part pointed to by the dictionary part pointer X. Here, as shown in the first row of FIG. 19, since they match, the determination is affirmed and the process proceeds to step S7205. If the determination in step S7203 is negative, the similarity calculation unit 262 advances the dictionary part pointer X to the next part in step S7204, and then returns to step S7203 again.

ステップS7205では、類似度算出部262が、検証用対応結果ポインタBを現在の対応結果ポインタAの次の部品に設定する。次いで、ステップS7206では、類似度算出部262が、検証用対応結果ポインタBが最終部品を超えたか否かを判断する。ここでの判断が肯定された場合は、これ以上検証すべき記号は存在しないことを示すため、図18の処理は終了する。ステップS7206の判断が否定されると、ステップS7207に移行する。今、図19の2段目に示されるように、検証用対応結果ポインタBはまだ最終部品を超えていないため、ステップS7206での判断は否定されステップS7207へ進む。ステップS7207では、検証用辞書部品ポインタYを現在の辞書部品ポインタX直後の部品に設定する。ステップS7205、S7207の結果、各ポインタは、図19の2段目のようになる。次いで、ステップS7208では、類似度算出部262が、ポインタYが辞書並びの最終部品を超えたか否かを判断する。今、図19の2段目に示されるように、検証用辞書部品ポインタYはまだ辞書並びの最終部品を超えていないため、ステップS7208での判断は否定される。ここでの判断が否定されると、ステップS7210に移行し、類似度算出部262は、ポインタBとYの指す部品が一致するか否かを判断する。ここでは、図19の2段目に示すように、両者は一致しているので、判断は肯定され、ステップS7212に移行する。ステップS7212では、類似度算出部262が、ポインタBを次の部品に設定する。このステップS7212の処理を経た状態が、図19の3段目に示されている。   In step S7205, the similarity calculation unit 262 sets the verification correspondence result pointer B to the part next to the current correspondence result pointer A. Next, in step S7206, the similarity calculation unit 262 determines whether or not the verification correspondence result pointer B exceeds the final part. If the determination here is affirmed, it indicates that there is no more symbol to be verified, and the processing in FIG. 18 ends. If the determination in step S7206 is negative, the process advances to step S7207. Now, as shown in the second row of FIG. 19, since the verification correspondence result pointer B has not yet exceeded the final part, the determination in step S7206 is denied and the process proceeds to step S7207. In step S7207, the verification dictionary component pointer Y is set to the component immediately after the current dictionary component pointer X. As a result of steps S7205 and S7207, the pointers are as shown in the second row of FIG. Next, in step S7208, the similarity calculation unit 262 determines whether the pointer Y has exceeded the final part in the dictionary list. Now, as shown in the second row of FIG. 19, the verification dictionary component pointer Y has not yet exceeded the final component in the dictionary list, so the determination in step S7208 is denied. If the determination here is negative, the process advances to step S7210, and the similarity calculation unit 262 determines whether or not the parts pointed to by the pointer B and Y match. Here, as shown in the second row of FIG. 19, since they match each other, the determination is affirmed and the process proceeds to step S7212. In step S7212, the similarity calculation unit 262 sets the pointer B to the next part. The state after the processing in step S7212 is shown in the third row of FIG.

次いで、ステップS7213では、類似度算出部262が、ポインタBが最終部品を超えたか否かを判断する。ここでは、超えていないので、判断は否定され、ステップS7207に戻る。   Next, in step S7213, the similarity calculation unit 262 determines whether or not the pointer B exceeds the final part. Here, since it has not exceeded, determination is denied and it returns to step S7207.

ステップS7207に戻ると、類似度算出部262は、ポインタYをXの次の部品に設定し(図19の4段目の状態)、ステップS7208、S7210の判断の後に、ステップS7211において、ポインタYを次の部品に設定する(図19の5段目の状態)。そして、再度、ステップS7208、S7210の判断の後に、ステップS7211においてポインタYを次の部品に設定する(図19の6段目の状態)。そして、再度、ステップS7208、S7210の判断の後には、S7210の判断が肯定されるため、ステップS7212に移行する。ステップS7212では、類似度算出部262は、ポインタBを次の部品に設定する(図19の7段目)。   Returning to step S7207, the similarity calculation unit 262 sets the pointer Y to the next component of X (the state of the fourth stage in FIG. 19), and after the determination in steps S7208 and S7210, in step S7211, the pointer Y Is set to the next part (the fifth stage state in FIG. 19). Then, after the determination in steps S7208 and S7210 again, the pointer Y is set to the next part in step S7211 (the sixth stage state in FIG. 19). Then, after the determinations of steps S7208 and S7210 are again made, the determination of S7210 is affirmed, and thus the process proceeds to step S7212. In step S7212, the similarity calculation unit 262 sets the pointer B to the next part (step 7 in FIG. 19).

このように、ステップS7207〜S7213のループを経ることで、対応付け結果のうち、ポインタAが設定されている部品の右側に存在している部品が、辞書並びのうち、ポインタXが設定されている部品の右側に存在しているか否かを確認することができる。なお、この処理は、図20、図21、図22に示すように、ポインタA、Xを適宜右方向にシフトしながら、全ての組み合わせについて確認することになる。   As described above, through the loop of steps S7207 to S7213, the part that exists on the right side of the part for which the pointer A is set in the association result is that the pointer X is set in the dictionary list. It can be confirmed whether or not it exists on the right side of the part. In this process, as shown in FIGS. 20, 21, and 22, all the combinations are confirmed while the pointers A and X are appropriately shifted in the right direction.

ここで、図22の8段目に示すように、ポインタA,XがM3に設定されているときに、ポインタAの右側に存在しているS3は、辞書並びのポインタXの右側には存在していない。このため、ポインタYが辞書並びの最終部品を越えた時点で、ステップS7209に移行することになる。   Here, as shown in the eighth row of FIG. 22, when the pointers A and X are set to M3, S3 existing on the right side of the pointer A exists on the right side of the pointer X in the dictionary list. Not done. For this reason, when the pointer Y exceeds the final part of the dictionary, the process proceeds to step S7209.

ステップS7209に移行した場合、類似度算出部262が、ペナルティ回数をカウントする。なお、ペナルティ回数は、辞書部品順序と未知顔文字対応付け順序との矛盾箇所の数を表している。そして、上記のようにステップS7209が行われた後も、ステップS7214においてポインタAを次の部品に設定しつつ、上記と同様の処理を繰り返し、ポインタAが最終部品を越えた時点(ステップS7215が肯定された時点)で、図18の全処理を終了して、図10のステップS73に移行する。なお、図17の1段目に記載されているデータNo.3の顔文字の場合には、ステップS7208の判断が1度も肯定されることなく、すなわち、1度もステップS7209を経ることなく、図18の全処理を終了する。   When the process proceeds to step S7209, the similarity calculation unit 262 counts the number of penalties. The penalty count represents the number of contradictory portions between the dictionary component order and the unknown emoticon association order. After step S7209 is performed as described above, the same processing as described above is repeated while setting the pointer A to the next part in step S7214, and when the pointer A exceeds the final part (step S7215 When the result is affirmed), the entire process of FIG. 18 is terminated, and the process proceeds to step S73 of FIG. In addition, data No. described in the first row of FIG. In the case of the smiley face 3, the determination in step S7208 is never affirmed, that is, the process of FIG. 18 is terminated without passing through step S7209.

図10のステップS73に移行すると、類似度算出部262は、ペナルティ計算を行う。具体的には、類似度算出部262は、ペナルティ回数(すなわちステップS7209の処理が行われた回数=矛盾箇所の個数)に応じたペナルティ値を算出する。すなわち、類似度算出部262は、例えば、ペナルティ値の基準値として1/2が予め設定されている場合において、ペナルティ回数がmであれば、ペナルティ値を、
ペナルティ値=(1/2) …(1)
の式から算出する。例えば、図17のデータNo.3の顔文字の場合には、ペナルティ回数が0であるので、ペナルティ値は、(1/2)0=1となる。また、図17のデータNo.4の顔文字の場合には、ペナルティ回数が1であるので、ペナルティ値は、(1/2)1=1/2となる。更に、ペナルティ回数が2であれば、ペナルティ値は、(1/2)2=1/4となる。
When the process proceeds to step S73 in FIG. 10, the similarity calculation unit 262 performs a penalty calculation. Specifically, the similarity calculation unit 262 calculates a penalty value according to the number of penalties (that is, the number of times the process in step S7209 has been performed = the number of contradictory portions). That is, for example, when ½ is preset as the penalty value reference value and the penalty count is m, the similarity calculation unit 262 calculates the penalty value,
Penalty value = (1/2) m (1)
It is calculated from the formula of For example, data No. 1 in FIG. In the case of an emoticon of 3, the penalty count is 0, so the penalty value is (1/2) 0 = 1. In addition, data No. 1 in FIG. In the case of 4 emoticons, the penalty count is 1, so the penalty value is (1/2) 1 = 1/2. Further, if the penalty count is 2, the penalty value is (1/2) 2 = ¼.

次いで、ステップS74では、Kを1増加する。そして、ステップS75において、Kが、ステップS69Bで抽出された顔文字の数を超えるまで、すなわち、抽出された顔文字の全てについてのペナルティ計算が終了するまで、ステップS70〜S75の処理・判断を繰り返す。   Next, in step S74, K is incremented by one. In step S75, the processes and determinations in steps S70 to S75 are performed until K exceeds the number of emoticons extracted in step S69B, that is, until the penalty calculation for all of the extracted emoticons is completed. repeat.

ステップS75の判断が肯定されると、類似度算出部262は、ステップS76Aにおいて類似度を計算する。具体的には、類似度算出部262は、ステップS69Aで算出された仮の類似度と、ステップS73で算出されたペナルティ値の積から類似度を算出する。ここでは、図17に示すデータNo.3の顔文字の類似度が、仮の類似度(100%)×ペナルティ値(1)=100%となる。また、図17に示すデータNo.4の顔文字の類似度が、仮の類似度(60%)×ペナルティ値(1/2)=30%となる。   If the determination in step S75 is affirmative, the similarity calculation unit 262 calculates the similarity in step S76A. Specifically, the similarity calculation unit 262 calculates the similarity from the product of the temporary similarity calculated in step S69A and the penalty value calculated in step S73. Here, the data No. shown in FIG. The similarity of the emoticon 3 is tentative similarity (100%) × penalty value (1) = 100%. In addition, data No. 1 shown in FIG. The similarity of the emoticon 4 is tentative similarity (60%) × penalty value (1/2) = 30%.

そして、ステップS76Bでは、読み推定部264が、ある閾値(第2の閾値)よりも大きい類似度があるか否かを判断する。ここでの判断が否定された場合には、顔文字ではないと判断して、通常テキスト解析部24へ文字列を出力する、すなわち、図6のステップS6に移行する。一方、ここでの判断が肯定された場合には、ステップS77に移行し、読み推定部264が、類似度が閾値よりも大きい顔文字の読み・アクセントを、図11の顔文字辞書から取得し、読み出力部27の内蔵バッファに出力する。この場合、閾値よりも類似度が大きい顔文字が複数ある場合には、それら複数の顔文字の読み・アクセントを全て取得し、連続して出力するようにする。このようにすることで、より意味の伝わる読み上げが可能となる。なお、ここでは、顔文字の読み・アクセントとして、「グス’ン」が出力されたものとする。   In step S76B, the reading estimation unit 264 determines whether there is a degree of similarity greater than a certain threshold value (second threshold value). If the determination is negative, it is determined that the character is not an emoticon, and the character string is output to the normal text analysis unit 24, that is, the process proceeds to step S6 in FIG. On the other hand, if the determination here is affirmative, the process proceeds to step S77, and the reading estimation unit 264 acquires readings / accents of emoticons whose similarity is greater than the threshold from the emoticon dictionary of FIG. The data is output to the built-in buffer of the reading output unit 27. In this case, when there are a plurality of emoticons having a degree of similarity greater than the threshold, all the readings / accents of the plurality of emoticons are acquired and continuously output. By doing so, it is possible to read out more meaningfully. Here, it is assumed that “Gusun” is output as the emoticon reading / accent.

なお、ステップS77では、読み推定部264が、類似度が最も大きい顔文字辞書中の顔文字の読み・アクセントを取得するようにしてもよい。   In step S77, the reading estimation unit 264 may acquire readings / accents of emoticons in the emoticon dictionary having the highest similarity.

以上のようにして、図10の全処理(ステップS5)が終了すると、図6のステップS7に移行する。ステップS7では、読み出力部267が、図10の処理を経て取得された顔文字の読みを、バッファに順に蓄積する。   As described above, when all the processes (step S5) in FIG. 10 are completed, the process proceeds to step S7 in FIG. In step S7, the reading output unit 267 sequentially accumulates the readings of emoticons acquired through the processing of FIG.

次いで、ステップS8では、文字判定部224が、入力バッファ221が空か否かを判断する。ここでの判断が肯定されると、ステップS9に移行し、読み出力部27が、バッファに蓄積していた読みを音声生成部33に出力する。   Next, in step S8, the character determination unit 224 determines whether or not the input buffer 221 is empty. If the determination here is affirmed, the process proceeds to step S9, and the reading output unit 27 outputs the reading accumulated in the buffer to the voice generation unit 33.

そして、ステップS10では、音声生成部33が、蓄積していた読みを繋げて、音声(「悲しいグス’ン」)を生成し、図1のスピーカ56から出力する。このように本実施形態では、顔文字辞書に登録されていない顔文字についても、その読みを推定して読み上げることが可能である。   In step S10, the voice generation unit 33 connects the accumulated readings to generate a voice ("sad slap") and outputs it from the speaker 56 of FIG. As described above, according to the present embodiment, it is possible to estimate and read out an emoticon that is not registered in the emoticon dictionary.

以上、詳細に説明したように、本実施形態によると、顔文字辞書格納部25が、複数の顔文字に関し、顔文字を表す複数の記号から当該顔文字の意味内容に寄与するとして予め抽出された少なくとも1つの主要部品と、当該顔文字の読み情報とが紐付けられて登録された顔文字辞書を格納しており、顔文字読み推定部26(割合取得部261)は、顔文字辞書に登録されている顔文字毎に、主要部品と、顔文字入力受付部260が入力を受け付けた顔文字の部品とを比較し、入力された顔文字全体における、主要部品と同一の部品の割合を取得する。そして、類似度算出部262は、当該割合に基づいて、入力された顔文字と、顔文字辞書に登録されている顔文字との類似度を算出し、読み推定部264が、当該類似度に基づいて、顔文字辞書に登録されている顔文字の読み・アクセントの中から、入力された顔文字の読み・アクセントを推定する。このように、顔文字辞書に登録されている顔文字のうち、入力された顔文字の部品と主要部品が共通する割合が高い顔文字の読み・アクセントを、入力された顔文字の読み・アクセントとして推定することで、入力された顔文字が、顔文字辞書に登録されていない場合であっても、その意味を表す読み・アクセントを精度良く推定することができる。これにより、多種多様な顔文字の読み・アクセントを精度良く推定することができる。   As described above in detail, according to the present embodiment, the emoticon dictionary storage unit 25 is extracted in advance as to contribute to the meaning content of the emoticon from a plurality of symbols representing the emoticon for a plurality of emoticons. The emoticon dictionary registered by associating at least one main component with the emoticon reading information is stored, and the emoticon reading estimation unit 26 (ratio acquisition unit 261) stores the emoticon dictionary in the emoticon dictionary. For each registered emoticon, the main part is compared with the part of the emoticon received by the emoticon input receiving unit 260, and the ratio of the same part as the main part in the entire inputted emoticon is calculated. get. Then, the similarity calculation unit 262 calculates the similarity between the input emoticon and the emoticon registered in the emoticon dictionary based on the ratio, and the reading estimation unit 264 calculates the similarity. Based on the emoticon readings / accents registered in the emoticon dictionary, the input emoticon readings / accents are estimated. In this way, among emoticons registered in the emoticon dictionary, the emoticon readings / accents that have a high proportion of parts that are common to the main parts are the same Thus, even if the inputted emoticon is not registered in the emoticon dictionary, the reading / accent representing the meaning can be estimated with high accuracy. This makes it possible to accurately estimate readings and accents of a wide variety of emoticons.

また、本実施形態では、顔文字辞書には、主要部品とともに、主要部品以外の記号である従属部品も登録されており、類似度算出部262は、顔文字辞書から上記割合(仮の類似度)が所定の閾値(第1の閾値)以上である顔文字を抽出するとともに、当該抽出された顔文字の主要部品及び従属部品の並び順と、入力された顔文字の主要部品と同一の部品及び従属記号と同一の部品の並び順との矛盾箇所の数(ペナルティ回数)を算出し、当該ペナルティ回数と、仮の類似度とに基づいて、類似度を算出する。すなわち、顔文字辞書に登録されている顔文字のうち、2つの条件(入力された顔文字の部品と主要部品が共通する割合が高く、かつ、主要部品と従属部品の並び順が入力された顔文字の部品の並び順と近い)を満たす顔文字の読み・アクセントを、入力された顔文字の読み・アクセントとして推定する。したがって、入力された顔文字が、顔文字辞書に登録されていない場合であっても、その意味を表す読み・アクセントをより精度良く推定することができる。   In the present embodiment, the emoticon dictionary also includes subcomponents, which are symbols other than the main components, in addition to the main components, and the similarity calculation unit 262 calculates the ratio (provisional similarity) from the emoticon dictionary. ) Is greater than or equal to a predetermined threshold (first threshold), and the order of the main parts and subordinate parts of the extracted emoticons and the same parts as the main parts of the input emoticons In addition, the number of inconsistent portions (the number of penalties) between the subordinate symbols and the same component arrangement order is calculated, and the similarity is calculated based on the number of penalties and the provisional similarity. That is, of the emoticons registered in the emoticon dictionary, two conditions (the ratio of the input emoticon parts and the main parts in common is high, and the order of arrangement of the main parts and the subordinate parts is input. A reading / accent of an emoticon satisfying (similar to the arrangement order of emoticon components) is estimated as a reading / accent of the input emoticon. Therefore, even when the inputted emoticon is not registered in the emoticon dictionary, the reading / accent representing the meaning can be estimated with higher accuracy.

なお、上記実施形態では、図7の顔文字辞書に、読み・アクセントが登録されている場合について説明したが、これに限られるものではない。例えば、読みのみが登録されていてもよい。また、上記実施形態では、顔文字の読みを、音声にてスピーカ56から出力する場合について説明した。しかしながら、これに限らず、顔文字の読みを文字データで出力、すなわち、例えば、顔文字を意味内容を示すテキストに置換して、表示ディスプレイ54に表示することとしても良い。   In the above embodiment, the case where readings / accents are registered in the emoticon dictionary of FIG. 7 has been described, but the present invention is not limited to this. For example, only reading may be registered. Further, in the above-described embodiment, the case where emoticon reading is output from the speaker 56 by voice has been described. However, the present invention is not limited to this, and the reading of the emoticon may be output as character data, that is, for example, the emoticon may be replaced with text indicating meaning content and displayed on the display 54.

また、上記実施形態では、携帯電話100の内部で、入力テキスト(顔文字を含む)の読みを推定し、音声を生成する場合について説明したが、これに限られるものではない。例えば、携帯電話100と接続されているサーバに対して、携帯電話100に入力されたテキストを送信し、サーバにおいて、入力テキスト(顔文字を含む)の読みを推定することとしてもよい。この場合、サーバが推定結果を携帯電話100に送信することで、携帯電話100では、上記実施形態と同様、入力テキストの音声を出力することが可能となる(ASP(Application Service Provider))。かかる場合には、携帯電話100に、顔文字の読みを推定する構成などを設ける必要がなくなるため、携帯電話100の簡素化を図ることが可能となる。   Moreover, although the said embodiment demonstrated the case where the reading of input text (an emoticon was included) was estimated and the audio | voice was produced | generated inside the mobile telephone 100, it is not restricted to this. For example, text input to the mobile phone 100 may be transmitted to a server connected to the mobile phone 100, and reading of the input text (including emoticons) may be estimated at the server. In this case, when the server transmits the estimation result to the mobile phone 100, the mobile phone 100 can output the voice of the input text (ASP (Application Service Provider)) as in the above embodiment. In such a case, it is not necessary to provide the mobile phone 100 with a configuration for estimating the reading of emoticons, and thus the mobile phone 100 can be simplified.

なお、上記の処理機能は、コンピュータによって実現することができる。その場合、処理装置が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。   The above processing functions can be realized by a computer. In that case, a program describing the processing contents of the functions that the processing apparatus should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium.

プログラムを流通させる場合には、例えば、そのプログラムが記録されたDVD(Digital Versatile Disc)、CD−ROM(Compact Disc Read Only Memory)などの可搬型記録媒体の形態で販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When the program is distributed, for example, it is sold in the form of a portable recording medium such as a DVD (Digital Versatile Disc) or a CD-ROM (Compact Disc Read Only Memory) on which the program is recorded. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

上述した実施形態は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。   The above-described embodiment is an example of a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention.

2 言語解析部(顔文字読み情報推定装置)
3 波形処理部(出力装置)
25 顔文字辞書格納部(格納部)
260 顔文字入力受付部(受付部)
261 割合取得部(取得部)
262 類似度算出部(算出部)
264 読み推定部(推定部)
2 Language analysis unit (emoticon reading information estimation device)
3 Waveform processing unit (output device)
25 Emoticon dictionary storage (storage)
260 emoticon input reception part (reception part)
261 Ratio acquisition unit (acquisition unit)
262 similarity calculation unit (calculation unit)
H.264 Reading Estimator (Estimator)

Claims (8)

複数の記号で表された顔文字の読み情報を推定する顔文字読み情報推定装置であって、
複数の顔文字に関し、顔文字を表す複数の記号から当該顔文字の意味内容に寄与するとして予め抽出された少なくとも1つの主要記号と、当該顔文字の読み情報とが紐付けられて登録された顔文字辞書を格納する格納部と、
外部からの顔文字の入力を受け付ける受付部と、
前記顔文字辞書に登録されている顔文字毎に、前記主要記号と前記受付部に入力された前記顔文字を表す複数の記号とを比較し、前記入力された顔文字を表す複数の記号全体における前記主要記号と同一の記号の割合を取得する取得部と、
前記取得部で取得された割合に基づいて、前記入力された顔文字と、前記顔文字辞書に登録されている顔文字との類似度を算出する算出部と、
前記類似度に基づいて、前記顔文字辞書に登録されている顔文字の読み情報の中から、前記入力された顔文字の読み情報を推定する推定部と、を備える顔文字読み情報推定装置。
An emoticon reading information estimation device that estimates emoticon reading information represented by a plurality of symbols,
Regarding a plurality of emoticons, at least one main symbol extracted in advance as contributing to the meaning content of the emoticon from a plurality of symbols representing the emoticon and the reading information of the emoticon are registered in association with each other A storage unit for storing the emoticon dictionary;
A reception unit that accepts input of emoticons from outside,
For each emoticon registered in the emoticon dictionary, the main symbol is compared with a plurality of symbols representing the emoticon input to the receiving unit, and a plurality of all symbols representing the inputted emoticon An acquisition unit for acquiring a proportion of the same symbol as the main symbol in
Based on the ratio acquired by the acquisition unit, a calculation unit that calculates the similarity between the input emoticon and the emoticon registered in the emoticon dictionary;
An emoticon reading information estimation device comprising: an estimation unit that estimates the input emoticon reading information from emoticon reading information registered in the emoticon dictionary based on the similarity.
前記格納部に格納されている顔文字辞書には、前記顔文字の読み情報として、当該顔文字の読みと、アクセントとが登録されており、
前記推定部は、前記類似度に基づいて、前記顔文字辞書に登録されている顔文字の読み及びアクセントの中から、前記入力された顔文字の読み及びアクセントを推定することを特徴とする請求項1に記載の顔文字読み情報推定装置。
In the emoticon dictionary stored in the storage unit, the reading of the emoticon and the accent are registered as the reading information of the emoticon,
The estimation unit estimates the reading and accent of the inputted emoticon from the emoticon reading and accent registered in the emoticon dictionary based on the similarity. The emoticon reading information estimation apparatus according to Item 1.
前記格納部に格納されている顔文字辞書には、前記少なくとも1つの主要記号とともに、前記顔文字を表す複数の記号のうち前記主要記号以外の記号である従属記号も登録されており、
前記算出部は、前記顔文字辞書から前記割合が所定の第1の閾値以上である顔文字を抽出するとともに、当該抽出された顔文字の主要記号及び従属記号の並び順と、前記入力された顔文字の前記主要記号と同一の記号及び前記従属記号と同一の記号の並び順との矛盾箇所の数を算出し、当該矛盾箇所の数と、前記割合とに基づいて、前記類似度を算出することを特徴とする請求項1又は2に記載の顔文字読み情報推定装置。
In the emoticon dictionary stored in the storage unit, along with the at least one main symbol, a subordinate symbol that is a symbol other than the main symbol among a plurality of symbols representing the emoticon is also registered,
The calculation unit extracts the emoticon whose ratio is equal to or greater than a predetermined first threshold from the emoticon dictionary, the order of arrangement of the main symbols and subordinate symbols of the extracted emoticon, and the input Calculate the number of inconsistent portions with the same symbol as the main symbol of the emoticon and the arrangement order of the same symbols as the subordinate symbols, and calculate the similarity based on the number of the inconsistent portions and the ratio The emoticon reading information estimation apparatus according to claim 1 or 2, wherein
前記推定部は、前記算出部で算出された類似度が最も大きい顔文字の読み情報を、前記入力された顔文字の読み情報として推定することを特徴とする請求項1〜3のいずれか一項に記載の顔文字読み情報推定装置。   The said estimation part estimates the reading information of the emoticon with the largest similarity calculated by the said calculation part as reading information of the said inputted emoticon, The any one of Claims 1-3 characterized by the above-mentioned. The emoticon reading information estimation apparatus according to the item. 前記推定部は、前記算出部で算出された類似度が所定の第2の閾値以上である顔文字の読み情報の全てを、前記入力された顔文字の読み情報として推定することを特徴とする請求項1〜3のいずれか一項に記載の顔文字読み情報推定装置。   The estimation unit estimates all the emoticon reading information whose similarity calculated by the calculation unit is equal to or greater than a predetermined second threshold as the input emoticon reading information. The emoticon reading information estimation apparatus as described in any one of Claims 1-3. 請求項1〜5のいずれか一項に記載の顔文字読み情報推定装置と、
前記顔文字読み情報推定装置の前記推定部で推定された、前記入力された顔文字の読み情報を、文字データ又は音声として出力する出力装置と、を備える情報端末。
The emoticon reading information estimation device according to any one of claims 1 to 5,
An information terminal comprising: an output device that outputs the input reading information of the emoticon estimated by the estimation unit of the emoticon reading information estimation device as character data or speech.
複数の記号で表された顔文字の読み情報をコンピュータを用いて推定する顔文字読み情報推定方法であって、
外部からの顔文字の入力を受け付ける受付工程と、
複数の顔文字に関し、顔文字を表す複数の記号から当該顔文字の意味内容に寄与するとして予め抽出された少なくとも1つの主要記号と、当該顔文字の読み情報とが紐付けられて登録された顔文字辞書を参照して、当該顔文字辞書に登録されている顔文字毎に、前記主要記号と前記入力された前記顔文字を表す複数の記号とを比較し、前記入力された顔文字を表す複数の記号全体における前記主要記号と同一の記号の割合を取得する取得工程と、
前記取得工程で取得された割合に基づいて、前記入力された顔文字と、前記顔文字辞書に登録されている顔文字との類似度を算出する算出工程と、
前記類似度に基づいて、前記顔文字辞書に登録されている顔文字の読み情報の中から、前記入力された顔文字の読み情報を推定する推定工程と、をコンピュータが実行することを特徴とする顔文字読み情報推定方法。
An emoticon reading information estimation method for estimating emoticon reading information represented by a plurality of symbols using a computer,
A reception process for receiving input of emoticons from the outside;
Regarding a plurality of emoticons, at least one main symbol extracted in advance as contributing to the meaning content of the emoticon from a plurality of symbols representing the emoticon and the reading information of the emoticon are registered in association with each other With reference to the emoticon dictionary, for each emoticon registered in the emoticon dictionary, the main symbol is compared with a plurality of symbols representing the inputted emoticon, and the inputted emoticon is An acquisition step of acquiring a ratio of the same symbol as the main symbol in all of a plurality of symbols to be represented;
A calculation step of calculating a similarity between the input emoticon and the emoticon registered in the emoticon dictionary based on the ratio acquired in the acquisition step;
The computer executes an estimation step of estimating the input emoticon reading information from the emoticon reading information registered in the emoticon dictionary based on the similarity. To estimate emoticon reading information.
コンピュータに、複数の記号で表された顔文字の読み情報を推定させる顔文字読み情報推定プログラムであって、
コンピュータに、
外部からの顔文字の入力を受け付ける受付工程、
複数の顔文字に関し、顔文字を表す複数の記号から当該顔文字の意味内容に寄与するとして予め抽出された少なくとも1つの主要記号と、当該顔文字の読み情報とが紐付けられて登録された顔文字辞書を参照して、当該顔文字辞書に登録されている顔文字毎に、前記主要記号と前記入力された前記顔文字を表す複数の記号とを比較し、前記入力された顔文字を表す複数の記号全体における前記主要記号と同一の記号の割合を取得する取得工程、
前記取得工程で取得された割合に基づいて、前記入力された顔文字と、前記顔文字辞書に登録されている顔文字との類似度を算出する算出工程、及び
前記類似度に基づいて、前記顔文字辞書に登録されている顔文字の読み情報の中から、前記入力された顔文字の読み情報を推定する推定工程、を実行させることを特徴とする顔文字読み情報推定プログラム。


An emoticon reading information estimation program for causing a computer to estimate reading information of emoticons represented by a plurality of symbols,
On the computer,
Acceptance process to accept external emoticon input,
Regarding a plurality of emoticons, at least one main symbol extracted in advance as contributing to the meaning content of the emoticon from a plurality of symbols representing the emoticon and the reading information of the emoticon are registered in association with each other With reference to the emoticon dictionary, for each emoticon registered in the emoticon dictionary, the main symbol is compared with a plurality of symbols representing the inputted emoticon, and the inputted emoticon is An acquisition step of acquiring a ratio of the same symbol as the main symbol in all of a plurality of symbols to be represented;
Based on the ratio acquired in the acquisition step, a calculation step of calculating a similarity between the inputted emoticon and the emoticon registered in the emoticon dictionary, and based on the similarity, An emoticon reading information estimation program for executing an estimation step of estimating the input emoticon reading information from emoticon reading information registered in an emoticon dictionary.


JP2010230985A 2010-10-13 2010-10-13 Emoticon reading information estimation device, emoticon reading information estimation method, emoticon reading information estimation program, and information terminal Expired - Fee Related JP5510263B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010230985A JP5510263B2 (en) 2010-10-13 2010-10-13 Emoticon reading information estimation device, emoticon reading information estimation method, emoticon reading information estimation program, and information terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010230985A JP5510263B2 (en) 2010-10-13 2010-10-13 Emoticon reading information estimation device, emoticon reading information estimation method, emoticon reading information estimation program, and information terminal

Publications (2)

Publication Number Publication Date
JP2012084022A JP2012084022A (en) 2012-04-26
JP5510263B2 true JP5510263B2 (en) 2014-06-04

Family

ID=46242805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010230985A Expired - Fee Related JP5510263B2 (en) 2010-10-13 2010-10-13 Emoticon reading information estimation device, emoticon reading information estimation method, emoticon reading information estimation program, and information terminal

Country Status (1)

Country Link
JP (1) JP5510263B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5916666B2 (en) 2013-07-17 2016-05-11 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Apparatus, method, and program for analyzing document including visual expression by text

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11305987A (en) * 1998-04-27 1999-11-05 Matsushita Electric Ind Co Ltd Text voice converting device
JP2002268665A (en) * 2001-03-13 2002-09-20 Oki Electric Ind Co Ltd Text voice synthesizer
JP4523312B2 (en) * 2004-03-30 2010-08-11 富士通株式会社 Apparatus, method, and program for outputting text voice
JP2010102564A (en) * 2008-10-24 2010-05-06 Nippon Telegr & Teleph Corp <Ntt> Emotion specifying device, emotion specification method, program, and recording medium

Also Published As

Publication number Publication date
JP2012084022A (en) 2012-04-26

Similar Documents

Publication Publication Date Title
CN108447486B (en) Voice translation method and device
CN103838866B (en) Text conversion method and device
CN113838452B (en) Speech synthesis method, apparatus, device and computer storage medium
JP3998668B2 (en) Morphological analyzer, method and program
US20140372119A1 (en) Compounded Text Segmentation
CN111428487B (en) Model training method, lyric generation method, device, electronic equipment and medium
CN113342968B (en) Text abstract extraction method and device
JP5913394B2 (en) Audio synchronization processing apparatus, audio synchronization processing program, audio synchronization processing method, and audio synchronization system
CN108074562A (en) Speech recognition equipment, audio recognition method and storage medium
CN118298836B (en) Tone color conversion method, device, electronic apparatus, storage medium, and program product
CN112686041A (en) Pinyin marking method and device
JP2012073519A (en) Reading-aloud support apparatus, method, and program
CN109754791A (en) Voice control method and system
KR102079453B1 (en) Method for Audio Synthesis corresponding to Video Characteristics
JP2018169434A (en) Voice synthesizer, voice synthesis method, voice synthesis system and computer program for voice synthesis
JP2010055236A (en) Document summarization method by combination of sentence extraction and sentence abbreviation, document summarization device, document summarization program, and recording medium recording the program
JP7367839B2 (en) Voice recognition device, control method, and program
JP5510263B2 (en) Emoticon reading information estimation device, emoticon reading information estimation method, emoticon reading information estimation program, and information terminal
JP2004021121A (en) Voice interaction controller unit
KR20210071713A (en) Speech Skill Feedback System
CN114863910A (en) Speech synthesis method, speech synthesis device, electronic equipment and storage medium
JP2019211689A (en) Recognition device, recognition system, terminal device, server device, method and program
CN119864010A (en) Non-autoregressive speech synthesis method, device, computer equipment and storage medium
JP5343744B2 (en) Speech translation apparatus and speech translation method
JP5949634B2 (en) Speech synthesis system and speech synthesis method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130805

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140214

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: 20140225

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140310

R150 Certificate of patent or registration of utility model

Ref document number: 5510263

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees