JP2021051426A - Retrieval device, retrieval method and retrieval program - Google Patents
Retrieval device, retrieval method and retrieval program Download PDFInfo
- Publication number
- JP2021051426A JP2021051426A JP2019172681A JP2019172681A JP2021051426A JP 2021051426 A JP2021051426 A JP 2021051426A JP 2019172681 A JP2019172681 A JP 2019172681A JP 2019172681 A JP2019172681 A JP 2019172681A JP 2021051426 A JP2021051426 A JP 2021051426A
- Authority
- JP
- Japan
- Prior art keywords
- phrase
- search
- word
- sentence
- search term
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000011156 evaluation Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000013519 translation Methods 0.000 description 5
- 239000000470 constituent Substances 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000010606 normalization Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010845 search algorithm Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、検索装置、検索方法、検索プログラムに関する。 The present invention relates to a search device, a search method, and a search program.
ユーザが英語の文章などを読んでいる途中で調べたい単語が出てきた場合に、電子辞書を用いて単語を検索することにより、この単語に関する複数の語義と、各語義に対応する例文を表示させることができる。ユーザは、各語義に対応して表示された例文などを参考にして、読んでいる文章中における該当単語の意味がどれであるかを知ることができた。 When a word that the user wants to look up appears while reading an English sentence, etc., by searching for the word using an electronic dictionary, multiple word meanings related to this word and example sentences corresponding to each word meaning are displayed. Can be made to. The user was able to know what the meaning of the corresponding word in the sentence being read was by referring to the example sentences displayed corresponding to each word meaning.
しかしながら、検索対象とする単語が、文章中で成句(慣用句)として用いられていた場合には、単語が通常とは異なる特別な意味で用いられていることがあり、例文に対応する語義だけでは、文書中における単語(成句)の意味を正しく知ることは難しかった。 However, when the word to be searched is used as a phrase (idiom) in a sentence, the word may be used with a special meaning different from the usual one, and only the meaning corresponding to the example sentence. Then, it was difficult to know the meaning of the word (formula) in the document correctly.
本発明は、前記のような課題に考慮してなされたもので、ユーザが調べたい単語が通常の意味で用いられているか、成句として用いられているかをユーザが理解していなくても、普通に単語検索を行うだけで、単語または単語を含む成句の意味や用法を効果的に知ることができる検索装置、検索方法、検索プログラムを提供することを目的とする。 The present invention has been made in consideration of the above-mentioned problems, and even if the user does not understand whether the word that the user wants to look up is used in a normal meaning or as a phrase, it is normal. It is an object of the present invention to provide a search device, a search method, and a search program capable of effectively knowing the meaning and usage of a word or a phrase containing a word simply by performing a word search.
上記の課題を解決するために、本実施形態における検索装置は、複数の単語からなる成句と、前記成句の意味とを対応付けて記憶している成句辞書データと、検索語と、前記検索語を含む文である含有文とが指定された場合に、前記検索語および前記含有文に基づいて、前記成句辞書データに記憶されている前記検索語を含む成句の検索および表示を制御する制御部とを有する。 In order to solve the above problem, the search device in the present embodiment has a phrase dictionary data, a search term, and the search term that store a phrase composed of a plurality of words in association with the meaning of the phrase. A control unit that controls the search and display of a phrase including the search term stored in the phrase dictionary data based on the search term and the contained sentence when a contained sentence that is a sentence containing the above is specified. And have.
本発明によれば、ユーザが調べたい単語が通常の意味で用いられているか、成句として用いられているかをユーザが理解していなくても、普通に単語検索を行うだけで、単語または単語を含む成句の意味や用法を効果的に知ることができる。 According to the present invention, even if the user does not understand whether the word to be searched by the user is used in a normal meaning or as a phrase, a word or a word can be searched by simply performing a word search normally. You can effectively know the meaning and usage of the included phrases.
以下、図面により本発明の実施の形態について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施形態に係る検索装置の電子回路の構成を示す機能ブロック図である。 FIG. 1 is a functional block diagram showing a configuration of an electronic circuit of a search device according to an embodiment of the present invention.
本実施形態では、検索装置を例えば電子辞書10として構成した例について示す。なお、検索装置は、電子辞書10の他、パーソナルコンピュータ、スマートフォン、タブレットPCなどの各種の電子機器により実現することが可能である。
In this embodiment, an example in which the search device is configured as, for example, an
電子辞書10は、複数の見出し語とする単語にそれぞれ対応する少なくとも1つの語義に関する情報が辞書データとして記録されている。辞書データには、語義に対応する見出し語の単語を含む用例(例文)、見出し語を含む成句(慣用句)を含む。電子辞書10は、見出し語を指定する文字列(検索語とする単語)を入力することで、見出し語に対応する語義及び用例を含む情報を検索する単語検索、成句を構成する1つまたは複数の単語を含む文字列を入力して成句を検索する成句検索、及び検索語と共に検索語を含む文(以下、含有文と称する)を入力して単語検索と成句検索を実行する含有文付き単語検索を実行可能な検索機能を有する。
In the
電子辞書10は、含有文付き単語検索においては、検索対象として入力された検索語を含む含有文に対して構文解析を実行し、構文解析結果を利用した検索を実行する。また、電子辞書10は、含有文だけでなく、辞書データに予め登録されている複数の語義のそれぞれに対応する用例に対する構文解析を実行し、用例に対する構文解析結果と含有文に対する構文解析結果との比較(類似度)に基づいて、検索語に対応する語義及び用例を検索することができる。
In the word search with a contained sentence, the
電子辞書10は、各種の記録媒体に記録されたプログラム、又は、伝送されたプログラムを読み込んで、その読み込んだプログラムによって動作が制御されるコンピュータの構成を有し、その電子回路には、CPU(central processing unit)11が備えられる。
The
CPU11は、電子辞書10の全体を制御する制御部として機能する。CPU11は、メモリ12内に予め記憶された制御プログラム、あるいはROMカードなどの記録媒体13から記録媒体読取部14を介してメモリ12に読み込まれた制御プログラム、あるいはインターネット等を含むネットワークNを通じて、サーバ20から通信部15を介しダウンロードされてメモリ12に読み込まれた制御プログラムに応じて、回路各部の動作を制御する。
The CPU 11 functions as a control unit that controls the entire
メモリ12に記憶された制御プログラムは、キー入力部16からのユーザ操作に応じた入力信号、タッチパネル式表示部17からのユーザ操作に応じた入力信号、あるいは外部接続されるネットワークN上のサーバ20との通信信号、あるいは記録媒体読取部14を介して接続されるEEPROM(登録商標),RAM,ROMなどの記録媒体13との接続通信信号に応じて起動される。
The control program stored in the
CPU11には、メモリ12、記録媒体読取部14、通信部15、キー入力部16、タッチパネル式表示部17などが接続される。
A
メモリ12に記憶される制御プログラムとしては、電子辞書10の全体の動作を司るシステムプログラム、外部接続されるネットワークN上のサーバ20、パーソナルコンピュータなどの他の電子機器とデータ通信するための通信プログラムが記憶される。さらに、メモリ12には、入力された文字列(検索語)をもとに情報を検索して出力する検索機能を実行する辞書制御プログラム12aが記憶される。辞書制御プログラム12aは、含有文や用例などの文に対して構文解析を実行する構文解析プログラム12bが含まれる。
The control program stored in the
また、メモリ12には、辞書データ12c、検索キーデータ12d、第1類似度データ12e、成句候補リストデータ12f、第2類似度データ12g、検索語データ12h、含有文データ12kなどが記録される。
Further, the
辞書データ12cには、例えば、英和辞書、和英辞書、英英辞書、国語辞書などの複数の辞書を集録したデータベース(辞書コンテンツデータ)が含まれる。辞書データ12cには、辞書毎に、各見出し語のそれぞれに対応する意味(語義)を説明する語義情報が含まれる。1つの見出し語に対して複数の語義情報が記憶される場合ある。また、語義情報には、見出し語(単語)の語義に応じた文章内での使用例を示す用例、見出し語(単語)を含む成句の情報が含まれる。
The
辞書データ12cに対しては、単語検索及び成句検索を実行することができる。そのため、辞書データ12cには、例えば、Nグラムベース検索インデックスによるランク付け機能付きテキスト検索アルゴリズムを利用する、単語検索のための語義検索インデックス12c1と成句検索のための成句検索インデックス12c2が設けられる。語義検索インデックス12c1は、辞書コンテンツデータに対して、見出し語の説明が記載されている説明部内を語義単位で取り扱える語義部を定義して見出し語の語義単位でランク付け出来るようにしたインデックスである。成句検索インデックス12c2は、辞書コンテンツデータに対して、見出し語を用いた成句が記載されている箇所をまとめて成句部を定義したインデックスである。すなわち、本実施形態における辞書データ12cは、語義検索インデックス12c1を用いて検索が実行される単語辞書データと、成句検索インデックス12c2を用いて検索が実行される成句辞書データとして使用される。
A word search and a phrase search can be executed on the
なお、辞書データ12cは、電子辞書10の本体に内蔵せずに、ネットワークNを通じてアクセス可能な辞書データベース(例えば、サーバ20)から取得するようにしても良い。
The
検索キーデータ12dは、含有文に対する構文解析結果に基づいて生成される、検索語に対する検索キーを示すデータである。検索キーは、例えば、検索キーは、検索語の基本形、品詞、動詞タイプ(他動詞/自動詞)、文型タイプ(SVC,SVO、SVOO、SVOC、等)検索語の係り受け先の前置詞、検索語の係り受け先の固有表現情報(場所、時間、等)、構文特徴(不定詞、等)で構成されている。例えば、含有文「The boy took a toy away from his younger brother.」、検索語「took」の場合には、検索キーとして「take 動詞 他動詞 SVOM from」が生成される。なお、検索キーには、少なくとも検索語の基本形と、その他の何れかの構文解析結果のデータが含まれていれば良い。
The
第1類似度データ12eは、含有文付き単語検索による単語検索により検索される検索語に対応する語義の用例と、含有文との比較結果を示す類似度(第1の類似度)を示すデータである。語義の用例と含有文との類似度(第1の類似度)は、例えば構文解析により抽出される係り受け種類(係り受け関係タグ)の一致数に基づくものとする。すなわち、同じ係り受け種類(係り受け関係タグ)を多く有するほど類似度が高いものとする。さらに、係り受け種類(係り受け関係タグ)の一致数が同じ複数の構文解析情報(用例)がある場合には、係り受け種類(係り受け関係タグ)が一致した係り受け関係にある見出し語と他の単語との距離が小さい方を類似度が高いものと判別する。
The
成句候補リストデータ12fは、含有文付き単語検索による成句検索により検索される、検索語に対応する成句が登録される成句候補リストを示すデータである(図8参照)。 The phrase candidate list data 12f is data indicating a phrase candidate list in which phrases corresponding to the search terms are registered, which is searched by a phrase search by a word search with a contained sentence (see FIG. 8).
第2類似度データ12gは、成句候補リストに登録される成句候補と、含有文との比較結果を示す類似度(第2の類似度)を示すデータである。成句候補と含有文との類似度(第2の類似度)は、例えば成句候補を構成する単語数、含有文を構成する単語数、成句候補を構成する単語と含有文とが合致する単語数をもとに算出される評価値(スコア)が用いられる(詳細については後述する)。
The
検索語データ12hは、入力された検索語のデータである。含有文データ12kは、検索語と共に入力された含有文を示すデータである。
The
図2は、電子辞書10の外観構成を示す正面図である。
FIG. 2 is a front view showing the external configuration of the
図2における電子辞書10の場合、開閉される装置本体の下段側にCPU11、メモリ12、記録媒体読取部14、通信部15が内蔵されると共に、キー入力部16が設けられ、上段側にタッチパネル式表示部17が設けられる。
In the case of the
キー入力部16には、文字入力キー16a、各種の辞書や各種機能を選択することができる辞書選択キー16b、[訳/決定]キー16c、[戻る]キー16d、カーソルキー(上下左右キー)16e、電源ボタン、その他の各種機能キーなどが備えられる。タッチパネル式表示部17には、各種機能の実行に応じて、各種メニューやボタン17aなどが表示される。
The
電子辞書10は、ユーザによるキー入力部16に対する操作、あるいは表示部17に表示されたメニューやボタンに対するタッチ操作(ペン先、あるいは指先による)に応じて、ユーザによる指示を入力することができる。
The
このように構成された電子辞書10は、CPU11が辞書制御プログラム12aに記述された命令に従い回路各部の動作を制御し、ソフトウエアとハードウエアとが協働して動作することにより、以下の動作説明で述べる機能を実現する。
In the
次に、本実施形態における電子辞書10の動作について説明する。
Next, the operation of the
図3は、本実施形態における電子辞書10による辞書制御処理(メイン処理)を示すフローチャート、図4は、図3に示すフローチャートの表示制御処理を示すフローチャートである。
FIG. 3 is a flowchart showing the dictionary control process (main process) by the
CPU11は、電源オンされると、辞書制御プログラム12aを起動して辞書制御処理を開始する。CPU11は、タッチパネル式表示部17に初期画面であるホーム画面を表示させる。ホーム画面には、検索対象とする辞書を選択するためのメニューが含まれる。メニューでは、検索対象とする辞書を選択することができる。例えば、検索対象とする辞書として、全ての辞書を検索対象とする、特定の範囲の辞書(例えば、英語系辞書など)、あるいは特定の辞書(例えば、○○英和辞書など)を選択することができる。
When the power is turned on, the CPU 11 activates the
CPU11は、メニューにおいて検索対象とする辞書が選択されると、検索語を入力するための入力エリアが設けられた検索画面をタッチパネル式表示部17に表示させる。
When a dictionary to be searched is selected in the menu, the CPU 11 causes the touch
図5は、本実施形態における成句検索のための検索画面AR1の一例を示す図である。図5に示すように、検索画面AR1には、検索語とする文字列を入力するための入力エリアAR11が設けられている。CPU11は、入力エリアAR11に文字列(検索語)が入力されると(ステップA1)、入力された検索語の検索語データ12hをメモリ12に記憶させる。CPU11は、例えば[訳/決定]キー16cの操作により検索実行が指示されると、成句検索のための検索画面に対する入力であるため、含有文付きではない成句検索であると判断し(ステップA2、No→ステップA10、「成句検索」)、入力された検索語をもとにした成句検索を開始する。
FIG. 5 is a diagram showing an example of the search screen AR1 for phrase search in the present embodiment. As shown in FIG. 5, the search screen AR1 is provided with an input area AR11 for inputting a character string as a search term. When the character string (search term) is input to the input area AR11 (step A1), the CPU 11 stores the
CPU11は、メモリ12に記憶された成句を指定する検索語(1つ、または複数)の検索語データ12hを指定し(ステップA31)、検索語に対応する成句を、語義検索インデックス12c1を用いて成句辞書データから検索する(ステップA32)。
The CPU 11 specifies the
CPU11は、成句辞書データから検索される成句を成句候補リストに記録すると共に、成句検索の検索結果をタッチパネル式表示部17に表示させる(ステップA33)。 The CPU 11 records the phrase searched from the phrase dictionary data in the phrase candidate list, and displays the search result of the phrase search on the touch panel display unit 17 (step A33).
図6は、本実施形態における成句検索の検索結果を表示する検索結果画面AR2の一例を示す図である。図6に示すように、検索結果画面AR2には、成句検索により検索された複数の成句を表示する成句リストエリアAR21と、成句リストに表示された成句を用いた用例を表示する用例表示エリアAR22が設けられている。 FIG. 6 is a diagram showing an example of the search result screen AR2 for displaying the search results of the phrase search in the present embodiment. As shown in FIG. 6, the search result screen AR2 has a phrase list area AR21 that displays a plurality of phrases searched by the phrase search, and an example display area AR22 that displays an example using the phrase displayed in the phrase list. Is provided.
成句リストエリアAR21には、検索語を含む複数の成句がリスト表示され、用例表示エリアAR22には、成句リストエリアAR21において選択されている成句を含む用例が表示される。例えば、図6に示す例では、検索語「cake」を含む成句「take the cake」が選択されており、この成句を用いた用例「That takes the cake.」と訳文「ひどい、最低だ」が表示されている。 A plurality of phrases including a search term are displayed in a list in the phrase list area AR21, and an example including a phrase selected in the phrase list area AR21 is displayed in the example display area AR22. For example, in the example shown in FIG. 6, the phrase "take the cake" including the search term "cake" is selected, and the example "That takes the cake." And the translation "terrible, the worst" using this phrase are It is displayed.
成句リストエリアAR21にリスト表示されている成句の表示の順番は、成句辞書データに登録されている順番である。 The order of displaying the phrases listed in the phrase list area AR21 is the order registered in the phrase dictionary data.
一方、単語検索を実行する場合には、前述した成句検索と同様にして、単語検索のための検索画面に検索語とする文字列が入力されると、CPU11は、入力された検索語の検索語データ12hをメモリ12に記憶させる。CPU11は、例えば[訳/決定]キー16cの操作により検索実行が指示されると、単語検索のための検索画面に対する入力であるため、単語検索であると判断し(ステップA2、No→ステップA10、「単語検索」)、入力された検索語をもとにした単語検索を開始する。
On the other hand, when executing a word search, when a character string as a search term is input to the search screen for word search in the same manner as the phrase search described above, the CPU 11 searches for the input search term. The
CPU11は、メモリ12に記憶された検索語の検索語データ12hを指定し(ステップA11)、検索語に対応する見出し語に対応する語義及び用例を含む情報を、語義検索インデックス12c1を用いて単語辞書データから検索する(ステップA12)。見出し語に対して複数の語義が存在する場合には、複数の語義と用例の情報が検索される。
The CPU 11 specifies the
CPU11は、単語辞書データから検索される各語義及び各用例を含む情報を、タッチパネル式表示部17に表示させる(ステップA13)。
The CPU 11 causes the touch
次に、含有文付き単語検索を実行する場合について説明する。 Next, a case of executing a word search with a contained sentence will be described.
図7は、本実施形態における含有文付き単語検索のための検索画面AR3の一例を示す図である。図7に示すように、検索画面AR3には、検索語とする文字列を入力するための入力エリアAR31と含有文を入力するための入力エリアAR32が設けられている。CPU11は、入力エリアAR31に文字列(検索語)が入力され(ステップA1)、入力エリアAR32に検索語を含む文字列(含有文)が入力されると(ステップA2、Yes)、入力された検索語の検索語データ12hと含有文の含有文データ12kをメモリ12に記憶させる。CPU11は、例えば[訳/決定]キー16cの操作により検索実行が指示されると、含有文付き単語検索のための検索画面に対する入力であるため、含有文付きであると判断し、入力された検索語と含有文をもとにした含有文付き単語検索のための処理を開始する。
FIG. 7 is a diagram showing an example of the search screen AR3 for searching for words with contained sentences in the present embodiment. As shown in FIG. 7, the search screen AR3 is provided with an input area AR31 for inputting a character string as a search term and an input area AR32 for inputting a contained sentence. When the character string (search term) is input to the input area AR31 (step A1) and the character string (contained sentence) including the search term is input to the input area AR32 (step A2, Yes), the CPU 11 is input. The
なお、前述した説明では、含有文付き単語検索のための検索画面AR3を通じて検索語と含有文を入力するとしているが、他の方法により検索語と含有文を入力できるようにしても良い。例えば、文章表示エリアに表示された文章に対するタッチ操作(ペン先、あるいは指先による)に応じて、タッチ位置の単語を検索語として特定し、この単語を含む1文章のテキストデータを抽出して含有文として入力する。CPU11は、特定した単語を検索語データ12hとして記憶し、また文章から抽出テキストデータを含有文データ12kとしてメモリ12に記憶させる。これにより、表示された文章に対するタッチ操作のみにより、検索語と含有文を簡単に入力して含有文付き単語検索を実行させることができる。
In the above description, the search term and the contained sentence are input through the search screen AR3 for searching the word with the contained sentence, but the search term and the contained sentence may be input by another method. For example, according to the touch operation (with the pen tip or fingertip) for the sentence displayed in the sentence display area, the word at the touch position is specified as a search word, and the text data of one sentence including this word is extracted and contained. Enter as a statement. The CPU 11 stores the specified word as the
CPU11は、入力された含有文(含有文データ12k)に対して、構文解析プログラム12bによる構文解析処理を実行する(ステップA3)。構文解析処理では、検索キーの生成に必要なデータ、係り受け種類(係り受け関係タグ)に関するデータなどが検出される。
The CPU 11 executes a parsing process by the
CPU11は、含有文に対する構文解析結果に基づいて検索キーを作成して、検索キーデータ12dをメモリ12に記憶させる(ステップA4)。検索キーは、例えば前述したように、検索語の基本形、品詞、動詞タイプ、文型タイプ、検索語の係り受け先の前置詞、検索語の係り受け先の固有表現情報、構文特徴などを含む。
The CPU 11 creates a search key based on the result of parsing the contained sentence, and stores the search
CPU11は、含有文付き単語検索のための検索画面に対する入力、または、文章表示エリアに表示された文章中の単語が検索語として指定されたことにより含有文付き単語検索を実行する場合(ステップA10、「含有文付き単語検索」)、検索キーを用いて、検索語による単語検索を実施すると共に、検索キー内の検索語の基本形を用いて成句検索を実施する。 When the CPU 11 inputs to the search screen for searching for words with contained sentences or executes a word search with contained sentences because a word in the sentence displayed in the sentence display area is designated as a search word (step A10). , "Word search with contained sentences"), word search by search term is performed using the search key, and phrase search is performed using the basic form of the search term in the search key.
まず、CPU11は、単語検索のための検索語と、この検索対象とする検索語を含む含有文とを指定する(ステップA21,A22)。CPU11は、検索語に対応する見出し語に対応する語義及び用例を含む情報を、語義検索インデックス12c1を用いて単語辞書データから検索する(ステップA23)。 First, the CPU 11 specifies a search term for word search and a contained sentence including the search term to be searched (steps A21 and A22). The CPU 11 searches the word dictionary data for information including word meanings and examples corresponding to the headwords corresponding to the search words using the word meaning search index 12c1 (step A23).
次に、CPU11は、含有文と単語検索によって検索された各語義の用例との比較結果を示す第1の類似度を構文解析に基づいて算出する(ステップA24)。すなわち、CPU11は、各語義の用例と含有文との類似度(第1の類似度)は、例えば構文解析により抽出される係り受け種類(係り受け関係タグ)の一致数に基づいて算出し、用例毎の第1の類似度を示す第1類似度データ12eをメモリ12に記憶させる。
Next, the CPU 11 calculates the first similarity degree showing the comparison result between the contained sentence and the example of each word meaning searched by the word search based on the syntactic analysis (step A24). That is, the CPU 11 calculates the similarity (first similarity) between the example of each word meaning and the contained sentence based on the number of matches of the dependency type (dependency relationship tag) extracted by parsing, for example. The
また、CPU11は、入力された検索語に対応する成句を、語義検索インデックス12c1を用いて成句辞書データから検索し、成句候補リストに登録する(ステップA25)。 Further, the CPU 11 searches the phrase dictionary data for the phrase corresponding to the input search term using the word meaning search index 12c1 and registers it in the phrase candidate list (step A25).
次に、CPU11は、成句候補リストに登録された成句のそれぞれについて、含有文に対する各成句との比較結果を示す第2の類似度を構文解析に基づいて算出し、成句毎の第2類似度データ12gをメモリ12に記憶させる(ステップA26)。CPU11は、含有文に対する各成句との類似度(第2の類似度)を、例えば構文解析処理により得られた、成句候補を構成する単語数、含有文を構成する単語数、成句候補を構成する単語と含有文とが合致する単語数をもとに算出する。 Next, the CPU 11 calculates a second similarity degree indicating the comparison result with each phrase for the contained sentence for each of the phrases registered in the phrase candidate list based on the syntactic analysis, and the second similarity degree for each phrase. 12 g of data is stored in the memory 12 (step A26). The CPU 11 determines the degree of similarity (second similarity) with each phrase to the contained sentence, for example, the number of words constituting the phrase candidate, the number of words constituting the contained sentence, and the phrase candidate obtained by the parsing process. It is calculated based on the number of words that match the words to be written and the contained sentences.
図8は、本実施形態における第2の類似度に相当する評価値(スコア)の算出方法を説明するための図である。ここでは、含有文に含まれる複数の単語と成句に含まれる複数の単語との一致数に基づいて評価値を算出する。 FIG. 8 is a diagram for explaining a method of calculating an evaluation value (score) corresponding to the second degree of similarity in the present embodiment. Here, the evaluation value is calculated based on the number of matches between the plurality of words included in the contained sentence and the plurality of words included in the phrase.
図8には、成句候補リストに登録された複数の成句(成句候補)のそれぞれについて、成句候補を構成する単語数(単語数PhraseSize)、含有文を構成する単語数(単語数SentenceSize)、成句候補を構成する単語と含有文とが合致する単語数(単語数Count)を示している。 In FIG. 8, for each of the plurality of phrases (phrase candidates) registered in the phrase candidate list, the number of words constituting the phrase candidate (number of words PhraseSize), the number of words constituting the contained sentence (number of words SentenceSize), and the phrase The number of words (word count) in which the words constituting the candidate and the contained sentence match is shown.
CPU11は、以下の式をもとにして、評価値を算出する。なお、以下の式をもとに計算される評価値は、数値が小さいほど類似度が高いことを示す。 The CPU 11 calculates the evaluation value based on the following formula. The evaluation value calculated based on the following formula indicates that the smaller the numerical value, the higher the similarity.
単語数PhraseSize−単語数Count≠0の場合
評価値=(単語数SentenceSize)/(単語数PhraseSize) …(1)
単語数PhraseSize−単語数Count=0の場合
評価値=1/(単語数PhraseSize) …(2)
例えば、図8に示す成句候補「a piece of cake」の(単語数PhraseSize)は「4」、図7に示す入力エリアAR32に入力された含有文を構成する単語数(単語数SentenceSize)は「10」、(単語数Count)は「4」となる。この場合、(単語数PhraseSize)と(単語数Count)が等しいため、式(2)に基づいて、評価値=1/4=0.250と算出される。
Number of words PhraseSize − When the number of words Count ≠ 0 Evaluation value = (Number of words SentenceSize) / (Number of words PhraseSize)… (1)
Number of words PhraseSize − When the number of words Count = 0 Evaluation value = 1 / (Number of words PhraseSize)… (2)
For example, the phrase candidate “a piece of cake” shown in FIG. 8 has a (word number PhraseSize) of “4”, and the word number (word number SentenceSize) constituting the contained sentence input in the input area AR32 shown in FIG. 7 is “4”. 10 ”and (word count) are“ 4 ”. In this case, since (the number of words PhraseSize) and (the number of words Count) are equal, the evaluation value = 1/4 = 0.250 is calculated based on the equation (2).
また、図8に示す成句候補「take the cake」の(単語数PhraseSize)は「3」、含有文を構成する単語数(単語数SentenceSize)は「10」、(単語数Count)は「1」となる。この場合、(単語数PhraseSize)と(単語数Count)が等しくないため、式(1)に基づいて、評価値=10/3=3.333と算出される。 Further, in the phrase candidate "take the cake" shown in FIG. 8, the (word number PhraseSize) is "3", the number of words constituting the contained sentence (word number SentenceSize) is "10", and the (word number Count) is "1". It becomes. In this case, since (the number of words PhraseSize) and (the number of words Count) are not equal, the evaluation value = 10/3 = 3.333 is calculated based on the equation (1).
なお、前述した説明では、前述した式(1)(2)をもとに評価値を算出しているが、評価値が同じ成句がある場合に優先度を変えるために、成句毎あるいは成句に含まれる単語に重み付けを予め設定しておき、第2の類似度を求めるようにしても良い。 In the above-mentioned explanation, the evaluation value is calculated based on the above-mentioned equations (1) and (2), but in order to change the priority when there are phrases with the same evaluation value, each phrase or phrase is used. The weighting may be set in advance for the included words, and the second similarity may be obtained.
CPU11は、第1の類似度及び第2の類似度に基づいて、入力された検索語及び含有文をもとに検索された各語義、各用例、各成句の情報を表示するための表示制御を実行する(ステップA27)。 The CPU 11 is a display control for displaying information on each word meaning, each example, and each phrase searched based on the input search word and the contained sentence based on the first similarity degree and the second similarity degree. Is executed (step A27).
CPU11は、例えば図4に示すフローチャートによる表示制御処理を行う。図9は、本実施形態における含有文付き単語検索の検索結果を表示する検索結果画面AR4の一例を示す図である。図9に示すように、検索結果画面AR4には、成句検索により検索された複数の成句を表示する成句リストエリアAR41と、成句リストに表示された成句を用いた用例を表示する成句用例表示エリアAR42と、単語検索により検索された語義と用例を表示するための語義用例表示エリアAR43が設けられている。 The CPU 11 performs display control processing according to the flowchart shown in FIG. 4, for example. FIG. 9 is a diagram showing an example of the search result screen AR4 that displays the search results of the word search with the contained sentence in the present embodiment. As shown in FIG. 9, the search result screen AR4 has a phrase list area AR41 that displays a plurality of phrases searched by the phrase search, and a phrase example display area that displays an example using the phrase displayed in the phrase list. AR42 and a word meaning example display area AR43 for displaying word meanings and examples searched by word search are provided.
CPU11は、単語検索により検索された語義、用例を、第1の類似度が高いものを優先して、語義用例表示エリアAR43に表示させ(ステップB1)、成句検索により検索された成句と成句を用いた用例を、第2の類似度が高いものを優先して、成句リストエリアAR41と成句用例表示エリアAR42にそれぞれ表示させる(ステップB2)。 The CPU 11 displays the word meanings and examples searched by the word search in the word meaning example display area AR43 (step B1), giving priority to the first one having a high degree of similarity, and displays the phrases and phrases searched by the phrase search. The examples used are displayed in the phrase list area AR41 and the phrase example display area AR42, respectively, with priority given to the second one having a high degree of similarity (step B2).
図9に示す検索結果画面AR4では、最も優先度の高い語義「ケーキ」と例文1「I like the cake.」が語義用例表示エリアAR43の先頭に表示されている。その他の語義と例文は2番目以降に表示されるが、ここでは表示エリアを狭く設定しているために隠れており、スクロール操作に応じて表示されるようになっている。また、成句検索の結果として、成句候補リストに設定された複数の成句の順番を第2の類似度(評価値)に応じて並べ替えて成句リストエリアAR41内に一覧表示させている。図9では、成句「a piece of cake」が先頭に表示され、その他の成句は2番目以降に表示される。表示エリアに表示しきれない成句についてはスクロール操作に応じて表示することができる。また、検索直後においては、成句リストエリアAR41の先頭に表示されている成句が自動的に選択状態となっており、選択状態となっている成句を含む用例が成句用例表示エリアAR42に表示されている。成句用例表示エリアAR42に表示する成句の用例は、成句リストエリアAR41で所望の成句をタッチ操作などで指定することで切り換えることができる。
In the search result screen AR4 shown in FIG. 9, the highest priority word meaning “cake” and
つまり、優先した表示を行う場合には、表示エリア内において優先して表示される成句の表示位置が決まっていて見やすく、最初の状態でスクロール操作などを行わなくても隠れることなく表示される先頭部分に表示したり、特別な追加操作を行わなくても表示エリアに自動的に表示されるようにしたりすることができる。 In other words, when prioritizing display, the display position of the phrase that is preferentially displayed in the display area is fixed and easy to see, and the beginning that is displayed without hiding without scrolling in the initial state. It can be displayed in a part or automatically displayed in the display area without any special additional operation.
なお、前述した説明では、第1の類似度及び第2の類似度が高いものを優先させて表示する表示制御をしているが、類似度が所定以上あるいは上位から所定数だけを選択的に表示する、あるいは類似度が高いものから順番に並べ替えた一覧によって表示するといった表示制御をしても良い。 In the above description, the display control is performed to prioritize and display the first similarity and the second highest similarity, but the similarity is selectively equal to or higher than a predetermined value or only a predetermined number is selectively selected from the higher ranks. Display control may be performed such as displaying or displaying by a list sorted in order from the one having the highest degree of similarity.
こうして、検索語と含有文とが入力される含有文付き検索処理では、成句辞書データから検索された成句候補と含有文との比較(第2の類似度の算出)に基づいて成句候補を表示することができ、また検索語をもとにした単語検索の結果とする語義を表示させることができる。ユーザが調べたい単語が通常の意味で用いられているか、成句として用いられているかをユーザが理解していなくても、普通に単語検索を行うだけで、検索語を含む含有文における検索語として適切な検索結果が表示されるため、単語または単語を含む成句の意味や用法を効果的に知ることができる。 In this way, in the search process with a contained sentence in which the search term and the contained sentence are input, the phrase candidate is displayed based on the comparison between the phrase candidate searched from the phrase dictionary data and the contained sentence (calculation of the second similarity). It is also possible to display the meaning of the word as a result of the word search based on the search term. Even if the user does not understand whether the word that the user wants to search is used in the normal meaning or as a phrase, just by performing a normal word search, it can be used as a search term in a contained sentence including the search term. Appropriate search results are displayed, so you can effectively know the meaning and usage of a word or a phrase containing a word.
また、成句候補リストに設定された複数の成句候補に対しては、含有文との比較結果(第2の類似度)に基づいて優先順に並べ替えて表示されるので、検索語と含有文に応じた成句の意味や用法を効果的に知ることができる。 In addition, for a plurality of phrase candidates set in the phrase candidate list, they are sorted in order of priority based on the comparison result (second similarity) with the contained sentence, so that the search term and the contained sentence are displayed. You can effectively know the meaning and usage of the corresponding phrase.
また、検索結果画面AR4では、成句検索により検索された複数の成句と共に、単語検索により検索された語義と用例、成句リストに表示された成句を用いた用例が表示される。成句で用いられる検索語の意味は、単語検索により検索される語義とは異なる意味で使われていることがあるので、成句を用いた用例と意味を合わせて表示することで、その違いを容易に把握することができる。 Further, on the search result screen AR4, a plurality of phrases searched by the phrase search, word meanings and examples searched by the word search, and examples using the phrases displayed in the phrase list are displayed. The meaning of the search term used in the phrase may be different from the meaning searched by the word search, so it is easy to make the difference by displaying the example and the meaning using the phrase together. Can be grasped.
また、前述した説明では、成句辞書データに記憶されている複数の成句から検索語を含む成句を検索しているが、他の処理手順を用いた成句検索を実行することが可能である。例えば、成句辞書データに記憶されている複数の成句のそれぞれと含有文とを比較し、この比較結果が所定条件を満たす成句のうち、検索語を含む成句を選択して表示させたり、この比較結果に基づく優先順位で成句を表示する際に検索語を含まない成句を除外するように表示させたりする表示制御が可能である。 Further, in the above description, the phrase including the search term is searched from a plurality of phrases stored in the phrase dictionary data, but it is possible to execute the phrase search using another processing procedure. For example, each of a plurality of phrases stored in the phrase dictionary data is compared with the contained sentence, and among the phrases whose comparison result satisfies a predetermined condition, the phrase including the search term is selected and displayed, or this comparison is performed. It is possible to control the display so that the phrases that do not include the search term are excluded when the phrases are displayed in the priority order based on the result.
なお、前述した表示制御処理では、第1の類似度を用いて語義及び用例について表示制御し、第2の類似度を用いて成句について表示制御しているが、第1の類似度と第2の類似度を統合して、語義、用例、成句に関する情報の表示制御するようにしていても良い。 In the above-mentioned display control process, the first similarity is used to control the display of the word meaning and the example, and the second similarity is used to control the display of the phrase. However, the first similarity and the second are the second. The similarity of the above may be integrated to control the display of information on word meanings, examples, and phrases.
この場合、CPU11は、例えば図10に示すフローチャートによる表示制御処理を行う。 In this case, the CPU 11 performs display control processing according to the flowchart shown in FIG. 10, for example.
この場合、CPU11は、第1の類似度と第2の類似度とを正規化する(ステップC1)。正規化の方法としては、例えば第1の類似度が取り得る最大値と最小値と、第2の類似度が取り得る最大値と最小値とをそれぞれ対応づけて、第1の類似度と第2の類似度との対応関係を定義しておく。CPU11は、検索処理により求められた第1の類似度と第2の類似度を、それぞれ前述した対応関係をもとに変換して第3の類似度を求める。 In this case, the CPU 11 normalizes the first similarity and the second similarity (step C1). As a normalization method, for example, the maximum value and the minimum value that the first similarity can take and the maximum value and the minimum value that the second similarity can take are associated with each other, and the first similarity and the first are the same. The correspondence with the similarity of 2 is defined. The CPU 11 converts the first similarity degree and the second similarity degree obtained by the search process based on the above-mentioned correspondence relationship to obtain the third similarity degree.
なお、類似の正規化の方法は、前述した方法に限るものではなく、異なる方法で求められた類似度を統合できれば他の方法を用いても良い。また、第1の類似度と第2の類似度の何れかに重み付けして、何れかの優先度の方が表示制御に大きく影響するように優先度を正規化するようにしても良い。 The method of similar normalization is not limited to the above-mentioned method, and other methods may be used as long as the similarities obtained by different methods can be integrated. Further, either the first similarity degree or the second similarity degree may be weighted, and the priority may be normalized so that either priority has a greater influence on the display control.
CPU11は、こうして正規化した第3の類似度をもとにして、類似度が高い語義、用例、成句を優先して表示する表示制御を実行する(ステップC2)。 Based on the third degree of similarity normalized in this way, the CPU 11 executes display control for preferentially displaying word meanings, examples, and phrases having a high degree of similarity (step C2).
こうして、第1の類似度と第2の類似度とを正規化し、正規化した類似度に基づいて、語義、用例、成句の表示制御をすることで、入力された検索語と含有文に応じた語義、用例、成句を統合して優先順を変更してユーザに提示することができる。 In this way, the first similarity and the second similarity are normalized, and the display control of word meanings, examples, and phrases is performed based on the normalized similarity, so that the input search term and the contained sentence can be adjusted. It is possible to integrate the meanings, examples, and phrases, change the priority order, and present it to the user.
次に、本実施形態における電子辞書10による辞書制御処理(メイン処理)の変形例について説明する。図11は、本実施形態における電子辞書10による辞書制御処理(メイン処理)の変形例を示すフローチャートである。
Next, a modified example of the dictionary control process (main process) by the
図3に示す辞書制御処理では、単語検索、成句検索、含有文付き単語検索を、それぞれ個別に実行しているが、図11に示す辞書制御処理の変形例では、入力された検索語と含有文をもとに、単語検索と成句検索を実行して、検索処理において算出された類似度(第1の類似度、第2の類似度)に基づいて、検索結果(語義、用例、成句)についての表示の有無を制御する。 In the dictionary control process shown in FIG. 3, a word search, a phrase search, and a word search with a contained sentence are executed individually, but in a modified example of the dictionary control process shown in FIG. 11, the input search word and the contained sentence are executed. Based on the sentence, word search and phrase search are executed, and the search result (word meaning, example, phrase) is based on the similarity calculated in the search process (first similarity, second similarity). Controls whether or not is displayed.
CPU11は、前述した含有文付き単語検索と同様にして検索語と含有文を入力し、図3に示すステップA23,A24と同様にして、検索語に対応する見出し語に対応する語義及び用例を含む情報を、語義検索インデックス12c1を用いて単語辞書データから検索し、含有文と単語検索によって検索された各語義の用例との比較結果を示す第1の類似度を構文解析に基づいて算出する(ステップD1,D2)
ここで、CPU11は、第1の類似度が所定以上の語義、用例がある場合には(ステップD3、Yes)、該当する語義、用例をタッチパネル式表示部17において表示させる(ステップD4)。
The CPU 11 inputs the search term and the contained sentence in the same manner as in the word search with the contained sentence described above, and in the same manner as in steps A23 and A24 shown in FIG. 3, the word meaning and the example corresponding to the headword corresponding to the search term. The information to be included is searched from the word dictionary data using the word meaning search index 12c1, and the first similarity indicating the comparison result between the contained sentence and the example of each word meaning searched by the word search is calculated based on the parsing. (Steps D1 and D2)
Here, the CPU 11 causes the touch panel
一方、第1の類似度が所定以上の語義、用例がない場合には(ステップD3、No)、CPU11は、図3に示すステップA25と同様にして、入力された検索語に対応する成句を、語義検索インデックス12c1を用いて成句辞書データから検索し、含有文に対する各成句との比較結果を示す第2の類似度を構文解析に基づいて算出する(ステップD6)。 On the other hand, when there is no meaning or example in which the first degree of similarity is equal to or higher than a predetermined value (step D3, No), the CPU 11 performs a phrase corresponding to the input search term in the same manner as in step A25 shown in FIG. , The word meaning search index 12c1 is used to search from the phrase dictionary data, and the second similarity indicating the comparison result with each phrase for the contained sentence is calculated based on the parsing (step D6).
ここで、CPU11は、第2の類似度が所定以上の成句がある場合には(ステップD7、Yes)、該当する成句をタッチパネル式表示部17において表示させる(ステップD8)。 Here, when there is a phrase whose second similarity is equal to or higher than a predetermined value (step D7, Yes), the CPU 11 displays the corresponding phrase on the touch panel display unit 17 (step D8).
CPU11は、第2の類似度が所定以上の成句がない場合には(ステップD7、No)、単語検索、成句検索によって検索された全ての語義、用例、成句をタッチパネル式表示部17において表示させる(ステップD9)。
When there is no phrase whose second similarity is equal to or higher than a predetermined value (step D7, No), the CPU 11 causes the touch
こうして、辞書制御処理の変形例では、含有文付き単語検索において、検索処理において算出された類似度(第1の類似度、第2の類似度)に基づいて、検索結果(語義、用例、成句)についての表示の有無を制御することができる。 In this way, in the modified example of the dictionary control process, in the word search with the contained sentence, the search result (word meaning, example, phrase) is based on the similarity calculated in the search process (first similarity, second similarity). ) Can be controlled.
このようにして、本実施形態における電子辞書10では、ユーザが調べたい単語が通常の意味で用いられているか、成句として用いられているかをユーザが理解していなくても、普通に単語検索を行うだけで、単語または単語を含む成句の意味や用法を効果的に知ることができる。
In this way, in the
なお、前述した説明では、ユーザにより入力された検索語、成句、含有文などをもとに電子辞書10において検索処理を実行しているが、前述した電子辞書10により実行する処理を、ネットワークNを介して接続されたサーバ20(クラウド)において実行させるようにしても良い。電子辞書10(あるいはパーソナルコンピュータなど)から入力された検索語、成句、含有文などをサーバ20に送信し、サーバ20による検索処理結果を受信して、電子辞書10(あるいはパーソナルコンピュータの画面に表示させる。
In the above description, the search process is executed in the
また、前述した実施形態では、英語系の辞書を例にして説明しているが、他の言語系の辞書を対象として実施することが可能である。 Further, in the above-described embodiment, the English dictionary is used as an example, but it is possible to implement it for a dictionary of another language.
また、実施形態において記載した手法、すなわちフローチャートに示す処理等の各手法は、コンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フレキシブルディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記録媒体に格納して配布することができる。そして、コンピュータは、記録媒体に記録されたプログラムを読み込み、このプログラムによって動作が制御されることにより、実施形態において説明した機能と同様の処理を実現することができる。 Further, the method described in the embodiment, that is, each method such as the processing shown in the flowchart, is a memory card (ROM card, RAM card, etc.), magnetic disk (flexible disk, hard disk, etc.) as a program that can be executed by a computer. , Optical disks (CD-ROM, DVD, etc.), semiconductor memory, and other recording media can be stored and distributed. Then, the computer reads the program recorded on the recording medium, and the operation is controlled by this program, so that the same processing as the function described in the embodiment can be realized.
また、各手法を実現するためのプログラムのデータは、プログラムコードの形態としてネットワーク(インターネット)上を伝送させることができ、このネットワーク(インターネット)に接続されたコンピュータ(サーバ装置等)からプログラムデータを取り込み、前述した実施形態と同様の機能を実現することもできる。 In addition, the program data for realizing each method can be transmitted on the network (Internet) in the form of a program code, and the program data can be transmitted from a computer (server device, etc.) connected to this network (Internet). It is also possible to take in and realize the same function as the above-described embodiment.
なお、本願発明は、実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。 The invention of the present application is not limited to the embodiment, and can be variously modified at the implementation stage without departing from the gist thereof. Further, the embodiments include inventions at various stages, and various inventions can be extracted by an appropriate combination of a plurality of disclosed constitutional requirements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment or some constituent requirements are combined, the problem described in the column of the problem to be solved by the invention can be solved, and the invention can be solved. If the effect described in the column of effect of is obtained, the configuration in which this constituent requirement is deleted or combined can be extracted as an invention.
以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。 The inventions described in the claims of the original application of the present application are described below.
[1]複数の単語からなる成句と、前記成句の意味とを対応付けて記憶している成句辞書データと、
検索語と、前記検索語を含む文である含有文とが指定された場合に、前記検索語および前記含有文に基づいて、前記成句辞書データに記憶されている前記検索語を含む成句の検索および表示を制御する制御部と
を有する検索装置。
[1] Formula dictionary data in which a phrase composed of a plurality of words and the meaning of the phrase are stored in association with each other.
When a search term and a contained sentence that is a sentence containing the search term are specified, a search for a phrase containing the search term stored in the phrase dictionary data based on the search term and the contained sentence. A search device having a control unit for controlling display and display.
[2]前記制御部は、
検索語と、前記検索語を含む文である含有文とが指定された場合に、前記検索語を含む成句を前記成句辞書データから検索し、
検索された成句と前記含有文との比較結果に基づいて、前記検索語を含む成句の表示を制御する請求項1記載の検索装置。
[2] The control unit
When a search term and a contained sentence that is a sentence containing the search term are specified, a phrase containing the search term is searched from the phrase dictionary data.
The search device according to
[3]単語と、前記単語の語義とを対応付けて記憶している単語辞書データを有し、
前記制御部は、
検索語と、前記検索語を含む文である含有文とが指定された場合に、前記検索語に対応する語義を前記単語辞書データから検索するとともに、前記検索語を含む成句を前記成句辞書データから検索し、
前記検索された語義を表示するとともに、前記比較結果に基づいて前記検索語を含む成句の表示を制御する[2]記載の検索装置。
[3] It has word dictionary data that stores a word and the meaning of the word in association with each other.
The control unit
When a search term and a contained sentence that is a sentence containing the search term are specified, the word meaning corresponding to the search term is searched from the word dictionary data, and a phrase including the search term is searched for in the phrase dictionary data. Search from
The search device according to [2], which displays the searched word meaning and controls the display of a phrase including the search word based on the comparison result.
[4]前記制御部は、
前記成句辞書データから複数の成句が検索された場合に、検索された各成句と前記含有文とを比較し、
前記比較結果に基づいて、前記検索語を含む複数の成句の表示を制御する[2]または[3]記載の検索装置。
[4] The control unit is
When a plurality of phrases are searched from the phrase dictionary data, each searched phrase is compared with the contained sentence.
The search device according to [2] or [3], which controls the display of a plurality of phrases including the search term based on the comparison result.
[5]前記制御部は、
前記比較結果に基づいて、前記検索語を含む複数の成句の表示の優先順位を制御する[4]記載の検索装置。
[5] The control unit
The search device according to [4], which controls the display priority of a plurality of phrases including the search term based on the comparison result.
[6]前記制御部は、
前記比較結果に基づいて、前記検索語を含む成句の表示の有無を制御する[4]記載の検索装置。
[6] The control unit
The search device according to [4], which controls the presence / absence of display of a phrase including the search term based on the comparison result.
[7]前記成句辞書データは、前記成句を構成する第1単語の意味が、前記単語辞書データに記憶されている前記第1単語の語義とは異なる意味で使われている成句および前記成句の意味を記憶し、
前記制御部は、
前記単語辞書データから検索された単語の語義と、前記成句辞書データから検索された成句の意味とを表示する[3]記載の検索装置。
[7] In the phrase dictionary data, the meaning of the first word constituting the phrase is different from the meaning of the first word stored in the word dictionary data. Remember the meaning,
The control unit
The search device according to [3], which displays the meaning of a word searched from the word dictionary data and the meaning of a phrase searched from the phrase dictionary data.
[8]前記単語辞書データは、単語と、前記単語に対応する複数の語義と、前記複数の語義それぞれに対応する用例とを対応付けて記憶し、
前記制御部は、
前記含有文と、前記用例および前記成句とを比較し、
前記比較結果に基づいて、前記検索語に対応する語義および成句の意味の表示を制御する[3]記載の検索装置。
[8] The word dictionary data stores a word, a plurality of word meanings corresponding to the word, and an example corresponding to each of the plurality of word meanings in association with each other.
The control unit
Comparing the contained sentence with the example and the phrase,
The search device according to [3], which controls the display of the meanings of words and phrases corresponding to the search terms based on the comparison results.
[9]前記制御部は、
前記含有文と前記複数の用例それぞれとの比較結果と、前記含有文と前記複数の成句それぞれとの比較結果とに基づき、前記複数の語義および前記複数の成句の意味について、表示の有無または表示の優先順位を制御する請求項8記載の検索装置。
[9] The control unit is
Based on the comparison result between the contained sentence and each of the plurality of examples and the comparison result between the contained sentence and each of the plurality of phrases, the presence / absence or display of the plurality of word meanings and the meanings of the plurality of phrases is displayed. 8. The search device according to claim 8, which controls the priority of the above.
[10]前記制御部は、
前記含有文に含まれる複数の単語と、前記成句に含まれる複数の単語とを比較して、一致する単語の数を特定し、
検索された複数の成句のうち、前記含有文に対して一致する単語の数が多い成句を優先して表示させる[4]記載の検索装置。
[10] The control unit
The number of matching words is specified by comparing the plurality of words contained in the contained sentence with the plurality of words contained in the phrase.
The search device according to [4], which preferentially displays a phrase having a large number of matching words with respect to the contained sentence among a plurality of searched phrases.
[11]前記制御部は、
前記含有文と前記用例とを比較する第1の比較方法と、前記含有文と前記成句とを比較する前記第1の比較方法とは異なる第2の比較方法を用いる[8]記載の検索装置。
[11] The control unit
The search apparatus according to [8], wherein a first comparison method for comparing the contained sentence and the example and a second comparing method different from the first comparing method for comparing the contained sentence and the phrase are used. ..
[12]含有文の構文解析結果に基づいて、検索語の基本形、品詞、動詞タイプ、文型タイプ、検索語の係り受け先の前置詞、検索語の係り受け先の固有表現情報、構文特徴の何れかを含む、前記検索語に対する検索キーを生成し、
前記生成した検索キーを用いて、前記語義の検索および前記成句の検索を行う[8]記載の検索装置。
[12] Based on the parsing result of the contained sentence, any of the basic form of the search word, the part of speech, the verb type, the sentence pattern type, the preposition of the dependency of the search term, the unique expression information of the dependency of the search term, and the syntactic feature. Generates a search key for the search term, including
The search device according to [8], wherein the generated search key is used to search for the meaning of the word and the phrase.
[13]検索語と、前記検索語を含む文である含有文とが指定された場合に、前記検索語を含む成句を、複数の単語からなる成句と前記成句の意味とを対応付けて記憶している成句辞書データから検索し、
検索された成句と前記含有文との比較結果に基づいて、前記検索語を含む成句の表示を制御する検索方法。
[13] When a search term and a contained sentence that is a sentence containing the search term are specified, a phrase including the search term is stored in association with a phrase composed of a plurality of words and the meaning of the phrase. Search from the phrase dictionary data that you are doing,
A search method for controlling the display of a phrase including the search term based on a comparison result between the searched phrase and the contained sentence.
[14]コンピュータに、
検索語と、前記検索語を含む文である含有文とが指定された場合に、前記検索語を含む成句を、複数の単語からなる成句と前記成句の意味とを対応付けて記憶している成句辞書データから検索し、
検索された成句と前記含有文との比較結果に基づいて、前記検索語を含む成句の表示を制御するように機能させるための検索プログラム。
[14] On the computer
When a search term and a contained sentence that is a sentence containing the search term are specified, a phrase including the search term is stored in association with a phrase composed of a plurality of words and the meaning of the phrase. Search from the phrase dictionary data,
A search program for making a function to control the display of a phrase including the search term based on the comparison result between the searched phrase and the contained sentence.
10 …電子辞書
11 …CPU
12 …メモリ
12a…辞書制御処理プログラム
12b…構文解析プログラム
12c…辞書データ
12c1…語義検索インデックス
12c2…成句検索インデックス
12d…検索キーデータ
12e…第1類似度データ
12f…成句候補リストデータ
12g…第2類似度データ
12h…検索語データ
12k…含有文データ
13 …記録媒体
14 …記録媒体読取部
15 …通信部
16 …キー入力部
17 …タッチパネル式表示部
20 …サーバ
10 ... Electronic dictionary 11 ... CPU
12 ...
Claims (14)
検索語と、前記検索語を含む文である含有文とが指定された場合に、前記検索語および前記含有文に基づいて、前記成句辞書データに記憶されている前記検索語を含む成句の検索および表示を制御する制御部と
を有する検索装置。 Formula dictionary data that stores a phrase composed of a plurality of words in association with the meaning of the phrase, and
When a search term and a contained sentence that is a sentence containing the search term are specified, a search for a phrase containing the search term stored in the phrase dictionary data based on the search term and the contained sentence. A search device having a control unit for controlling display and display.
検索語と、前記検索語を含む文である含有文とが指定された場合に、前記検索語を含む成句を前記成句辞書データから検索し、
検索された成句と前記含有文との比較結果に基づいて、前記検索語を含む成句の表示を制御する
請求項1記載の検索装置。 The control unit
When a search term and a contained sentence that is a sentence containing the search term are specified, a phrase containing the search term is searched from the phrase dictionary data.
The search device according to claim 1, wherein the display of the phrase including the search term is controlled based on the comparison result between the searched phrase and the contained sentence.
前記制御部は、
検索語と、前記検索語を含む文である含有文とが指定された場合に、前記検索語に対応する語義を前記単語辞書データから検索するとともに、前記検索語を含む成句を前記成句辞書データから検索し、
前記検索された語義を表示するとともに、前記比較結果に基づいて前記検索語を含む成句の表示を制御する請求項2記載の検索装置。 It has word dictionary data that stores a word and the meaning of the word in association with each other.
The control unit
When a search term and a contained sentence that is a sentence containing the search term are specified, the word meaning corresponding to the search term is searched from the word dictionary data, and a phrase including the search term is searched for in the phrase dictionary data. Search from
The search device according to claim 2, wherein the searched word meaning is displayed and the display of a phrase including the search word is controlled based on the comparison result.
前記成句辞書データから複数の成句が検索された場合に、検索された各成句と前記含有文とを比較し、
前記比較結果に基づいて、前記検索語を含む複数の成句の表示を制御する請求項2または請求項3記載の検索装置。 The control unit
When a plurality of phrases are searched from the phrase dictionary data, each searched phrase is compared with the contained sentence.
The search device according to claim 2 or 3, wherein the display of a plurality of phrases including the search term is controlled based on the comparison result.
前記比較結果に基づいて、前記検索語を含む複数の成句の表示の優先順位を制御する請求項4記載の検索装置。 The control unit
The search device according to claim 4, wherein the priority of displaying a plurality of phrases including the search term is controlled based on the comparison result.
前記比較結果に基づいて、前記検索語を含む成句の表示の有無を制御する請求項4記載の検索装置。 The control unit
The search device according to claim 4, wherein the presence or absence of display of a phrase including the search term is controlled based on the comparison result.
前記制御部は、
前記単語辞書データから検索された単語の語義と、前記成句辞書データから検索された成句の意味とを表示する請求項3記載の検索装置。 The phrase dictionary data stores a phrase in which the meaning of the first word constituting the phrase is different from the meaning of the first word stored in the word dictionary data, and the meaning of the phrase. And
The control unit
The search device according to claim 3, wherein the meaning of the word searched from the word dictionary data and the meaning of the phrase searched from the phrase dictionary data are displayed.
前記制御部は、
前記含有文と、前記用例および前記成句とを比較し、
前記比較結果に基づいて、前記検索語に対応する語義および成句の意味の表示を制御する請求項3記載の検索装置。 The word dictionary data stores a word, a plurality of word meanings corresponding to the word, and an example corresponding to each of the plurality of word meanings in association with each other.
The control unit
Comparing the contained sentence with the example and the phrase,
The search device according to claim 3, wherein the display of the meanings of words and phrases corresponding to the search terms is controlled based on the comparison result.
前記含有文と前記複数の用例それぞれとの比較結果と、前記含有文と前記複数の成句それぞれとの比較結果とに基づき、前記複数の語義および前記複数の成句の意味について、表示の有無または表示の優先順位を制御する請求項8記載の検索装置。 The control unit
Based on the comparison result between the contained sentence and each of the plurality of examples and the comparison result between the contained sentence and each of the plurality of phrases, the presence / absence or display of the plurality of word meanings and the meanings of the plurality of phrases is displayed. 8. The search device according to claim 8, which controls the priority of the above.
前記含有文に含まれる複数の単語と、前記成句に含まれる複数の単語とを比較して、一致する単語の数を特定し、
検索された複数の成句のうち、前記含有文に対して一致する単語の数が多い成句を優先して表示させる請求項4記載の検索装置。 The control unit
The number of matching words is specified by comparing the plurality of words contained in the contained sentence with the plurality of words contained in the phrase.
The search device according to claim 4, wherein the phrase having a large number of matching words with respect to the contained sentence is preferentially displayed among the plurality of searched phrases.
前記含有文と前記用例とを比較する第1の比較方法と、前記含有文と前記成句とを比較する前記第1の比較方法とは異なる第2の比較方法を用いる請求項8記載の検索装置。 The control unit
The search apparatus according to claim 8, wherein a first comparison method for comparing the contained sentence and the example and a second comparing method different from the first comparing method for comparing the contained sentence and the phrase are used. ..
前記生成した検索キーを用いて、前記語義の検索および前記成句の検索を行う請求項8記載の検索装置。 Based on the parsing result of the contained sentence, it includes any of the basic form of the search word, part of speech, verb type, sentence pattern type, preposition of the dependency of the search term, unique expression information of the dependency of the search term, and syntactic feature. , Generate a search key for the search term,
The search device according to claim 8, wherein the generated search key is used to search for the meaning of the word and search for the phrase.
検索された成句と前記含有文との比較結果に基づいて、前記検索語を含む成句の表示を制御する検索方法。 When a search term and a contained sentence that is a sentence containing the search term are specified, a phrase including the search term is stored in association with a phrase composed of a plurality of words and the meaning of the phrase. Search from the phrase dictionary data,
A search method for controlling the display of a phrase including the search term based on a comparison result between the searched phrase and the contained sentence.
検索語と、前記検索語を含む文である含有文とが指定された場合に、前記検索語を含む成句を、複数の単語からなる成句と前記成句の意味とを対応付けて記憶している成句辞書データから検索し、
検索された成句と前記含有文との比較結果に基づいて、前記検索語を含む成句の表示を制御するように機能させるための検索プログラム。 On the computer
When a search term and a contained sentence that is a sentence containing the search term are specified, a phrase including the search term is stored in association with a phrase composed of a plurality of words and the meaning of the phrase. Search from the phrase dictionary data,
A search program for making a function to control the display of a phrase including the search term based on the comparison result between the searched phrase and the contained sentence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019172681A JP7439429B2 (en) | 2019-09-24 | 2019-09-24 | Search device, search method, search program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019172681A JP7439429B2 (en) | 2019-09-24 | 2019-09-24 | Search device, search method, search program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021051426A true JP2021051426A (en) | 2021-04-01 |
JP7439429B2 JP7439429B2 (en) | 2024-02-28 |
Family
ID=75157947
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019172681A Active JP7439429B2 (en) | 2019-09-24 | 2019-09-24 | Search device, search method, search program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7439429B2 (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08194709A (en) * | 1995-01-19 | 1996-07-30 | Matsushita Electric Ind Co Ltd | Collocation retrieval device |
JP2005202924A (en) * | 2003-12-15 | 2005-07-28 | Gengo Gijutsu Kenkyusho:Kk | Translation determination system, method, and program |
JP2006107261A (en) * | 2004-10-07 | 2006-04-20 | Zephyr Kk | Translation support system |
JP2006120000A (en) * | 2004-10-22 | 2006-05-11 | Sony Corp | Information processor, method and program |
JP2007094547A (en) * | 2005-09-27 | 2007-04-12 | Casio Comput Co Ltd | Information display control device and program |
JP2009205490A (en) * | 2008-02-28 | 2009-09-10 | Seiko Instruments Inc | Dictionary search device, dictionary search method, and dictionary search program |
JP2015014980A (en) * | 2013-07-08 | 2015-01-22 | 国立大学法人九州大学 | Search system |
JP2017054352A (en) * | 2015-09-10 | 2017-03-16 | カシオ計算機株式会社 | Information display controller and program |
JP2018049515A (en) * | 2016-09-23 | 2018-03-29 | カシオ計算機株式会社 | Information retrieval device, information retrieval system, information retrieval method, and program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4983943B2 (en) | 2010-03-05 | 2012-07-25 | カシオ計算機株式会社 | Text display device and program |
-
2019
- 2019-09-24 JP JP2019172681A patent/JP7439429B2/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08194709A (en) * | 1995-01-19 | 1996-07-30 | Matsushita Electric Ind Co Ltd | Collocation retrieval device |
JP2005202924A (en) * | 2003-12-15 | 2005-07-28 | Gengo Gijutsu Kenkyusho:Kk | Translation determination system, method, and program |
JP2006107261A (en) * | 2004-10-07 | 2006-04-20 | Zephyr Kk | Translation support system |
JP2006120000A (en) * | 2004-10-22 | 2006-05-11 | Sony Corp | Information processor, method and program |
JP2007094547A (en) * | 2005-09-27 | 2007-04-12 | Casio Comput Co Ltd | Information display control device and program |
JP2009205490A (en) * | 2008-02-28 | 2009-09-10 | Seiko Instruments Inc | Dictionary search device, dictionary search method, and dictionary search program |
JP2015014980A (en) * | 2013-07-08 | 2015-01-22 | 国立大学法人九州大学 | Search system |
JP2017054352A (en) * | 2015-09-10 | 2017-03-16 | カシオ計算機株式会社 | Information display controller and program |
JP2018049515A (en) * | 2016-09-23 | 2018-03-29 | カシオ計算機株式会社 | Information retrieval device, information retrieval system, information retrieval method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP7439429B2 (en) | 2024-02-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2003248676A (en) | Solution data compiling device and method, and automatic summarizing device and method | |
JP2003223437A (en) | Method of displaying candidate for correct word, method of checking spelling, computer device, and program | |
JP2022069790A (en) | Information processor, information processing method, and program | |
JP5204203B2 (en) | Example translation system, example translation method, and example translation program | |
JP2012230544A (en) | Image retrieval device and program | |
JP2008262506A (en) | Information extraction system, information extraction method, and information extraction program | |
JP4106470B2 (en) | Solution data editing processing apparatus and processing method | |
JP7439429B2 (en) | Search device, search method, search program | |
JP3793878B2 (en) | Information display control device and program | |
JP2018156552A (en) | Computer system and method for searching text data | |
JP7047825B2 (en) | Search device, search method, search program | |
JP2008059169A (en) | Chinese example sentence retrieval apparatus and program for process of retrieving chinese example sentence | |
JP7443667B2 (en) | Search device, dictionary search program, dictionary search method | |
JP2012014439A (en) | Electronic apparatus with dictionary function and program | |
JP2010282507A (en) | Electronic apparatus including dictionary function, and program | |
JP7293782B2 (en) | ELECTRONIC DEVICE, TEXT DISPLAY METHOD AND PROGRAM | |
JP7379839B2 (en) | Sentence search device, sentence search program | |
JP2014130431A (en) | Dictionary search device, dictionary search method, dictionary search program, dictionary search system, and server device and terminal device thereof | |
JP2002259426A (en) | Similar document retrieval device, similar document retrieval method, recording medium with similar document retrieval program recorded thereon and similar document retrieval program | |
JP2012203728A (en) | Information search device and program | |
JP5446398B2 (en) | Electronic device and program with dictionary function | |
JP2015166905A (en) | Electronic apparatus with dictionary display function, and program | |
CN112528635A (en) | Search device, search method, and recording medium | |
JPH01214963A (en) | Device for consulting dictionary | |
JP3498635B2 (en) | Information retrieval method and apparatus, and computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220914 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20230104 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230719 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230829 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231026 |
|
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: 20240116 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240129 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7439429 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |