JP7466326B2 - Display device and program - Google Patents

Display device and program Download PDF

Info

Publication number
JP7466326B2
JP7466326B2 JP2020023705A JP2020023705A JP7466326B2 JP 7466326 B2 JP7466326 B2 JP 7466326B2 JP 2020023705 A JP2020023705 A JP 2020023705A JP 2020023705 A JP2020023705 A JP 2020023705A JP 7466326 B2 JP7466326 B2 JP 7466326B2
Authority
JP
Japan
Prior art keywords
entry
search
character string
display
string
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.)
Active
Application number
JP2020023705A
Other languages
Japanese (ja)
Other versions
JP2021128618A (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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2020023705A priority Critical patent/JP7466326B2/en
Publication of JP2021128618A publication Critical patent/JP2021128618A/en
Application granted granted Critical
Publication of JP7466326B2 publication Critical patent/JP7466326B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、表示装置、及びプログラムに関する。 The present invention relates to a display device and a program.

従来、英語、ドイツ語、フランス語等の様々な外国語の電子辞書が普及している。下記特許文献1及び2には、このような電子辞書において単語の検索を行う技術が開示されている。下記特許文献1に記載の電子辞書は、インクリメンタルサーチ(文字を入力する度に辞書検索する動作)において、ユーザーによって入力された単語が変化形である場合、ユーザーが変化形キーを押下することにより、その変化形に対応する原形の単語を表示する。また、下記特許文献2に記載の電子装置は、見出語の例文を表示し、例文中の単語がユーザーによって選択された場合、ユーザーによる事前設定又はユーザー操作に応じて、その単語に対応する原形と変化形とを検索する。 Conventionally, electronic dictionaries for various foreign languages such as English, German, and French have become widespread. Patent documents 1 and 2 below disclose technology for searching words in such electronic dictionaries. The electronic dictionary described in Patent document 1 below performs an incremental search (an action of searching the dictionary each time a character is entered) and, if a word entered by the user is an inflected form, displays the original form of the word corresponding to the inflected form when the user presses an inflected form key. In addition, the electronic device described in Patent document 2 below displays example sentences of headwords, and when a word in the example sentence is selected by the user, searches for the original form and inflected form corresponding to the word according to a preset setting or user operation by the user.

特開2002-358301号公報JP 2002-358301 A 特開2008-71017号公報JP 2008-71017 A

上記特許文献1の電子辞書及び上記特許文献2の電子装置は、ユーザーによって入力された文字列に対応する単語の変化形が存在する場合であっても、変化形を検索することを指示するユーザー操作がなければ、入力された文字列の検索結果しか表示しない。そのため、検索対象の言語に不慣れで、入力した単語の語形変化の存在を知らないユーザーの場合、語形変化の単語を表示させるための操作を行わない可能性がある。また、たとえ、検索対象の言語に慣れているユーザーであっても、入力した単語の変化形を検索するための操作が必要となる。また、入力された文字列に対応する検索結果として、入力された文字列と一致する単語以外に、その単語の語形が変化された単語が表示された際、語形を変化させた単語の検索結果であることをユーザーが認識できる方が好ましい。 The electronic dictionary of Patent Document 1 and the electronic device of Patent Document 2 only display search results for the input string, even if there is an inflected form of a word that corresponds to the string entered by the user, unless there is a user operation to instruct a search for inflected forms. Therefore, a user who is unfamiliar with the language to be searched and does not know that inflections of the input word exist may not perform an operation to display inflected words. Furthermore, even if a user is familiar with the language to be searched, an operation is required to search for inflected forms of the input word. Furthermore, when inflected words of the input word are displayed as search results corresponding to the input string, in addition to words that match the input string, it is preferable for the user to recognize that these are search results for inflected words.

本発明は、上記課題に鑑み、辞書検索において、語形が変化する単語を検索する際のユーザー操作を軽減しつつ、語形が変化した単語の検索結果であることをユーザーが認識し得る表示装置及びプログラムを提供することを目的とする。 In view of the above problems, the present invention aims to provide a display device and a program that reduce the user's operations when searching for words whose word forms change in a dictionary search, while allowing the user to recognize that the search results are for words whose word forms have changed.

本発明に係る表示装置は、複数の見出語と前記複数の見出語に対応する複数の説明情報とを含む辞書コンテンツを記憶する記憶部と、検索文字列を指定するユーザー操作を受け付ける操作受付部と、表示部と、前記辞書コンテンツから前記検索文字列に対応する見出語を抽出する制御部とを備える。前記検索文字列に対応する見出語は、前記複数の見出語のうちの前記検索文字列を含む第1見出語と、前記検索文字列の少なくとも一部を変化させた変化形文字列を含む第2見出語とを含む。前記第1見出語と前記第2見出語とを含む見出語リストを表示する見出語リスト領域を含む検索表示画面を前記表示部に表示させ、前記見出語リスト領域において、前記第1見出語と前記第2見出語とを識別可能に表示させる。 The display device according to the present invention includes a storage unit that stores dictionary content including a plurality of entry words and a plurality of explanatory information items corresponding to the plurality of entry words, an operation receiving unit that receives a user operation to specify a search string, a display unit, and a control unit that extracts an entry word corresponding to the search string from the dictionary content. The entry word corresponding to the search string includes a first entry word including the search string among the plurality of entry words, and a second entry word including an inflected string obtained by varying at least a part of the search string. A search display screen including an entry word list area that displays an entry word list including the first entry word and the second entry word is displayed on the display unit, and the first entry word and the second entry word are displayed in a distinguishable manner in the entry word list area.

本発明に係るプログラムは、表示装置のコンピュータに処理を実行させるプログラムであって、前記処理は、複数の見出語と前記複数の見出語に対応する複数の説明情報とを含む辞書コンテンツから、検索文字列に対応する見出語を抽出する抽出ステップと、前記抽出ステップで抽出された見出語を前記表示装置に表示させる表示制御ステップとを含む。前記抽出された見出語は、前記複数の見出語のうちの前記検索文字列を含む第1見出語と、前記検索文字列の少なくとも一部を変化させた変化形文字列を含む第2見出語とを含む。前記表示制御ステップは、前記第1見出語と前記第2見出語とを含む見出語リストを表示する見出語リスト領域を含む検索表示画面を前記表示装置に表示させ、前記見出語リスト領域において、前記第1見出語と前記第2見出語とを識別可能に表示させる。 The program according to the present invention is a program for causing a computer of a display device to execute a process, the process including an extraction step of extracting an entry corresponding to a search string from dictionary content including a plurality of entry words and a plurality of explanatory information corresponding to the plurality of entry words, and a display control step of displaying the entry word extracted in the extraction step on the display device. The extracted entry words include a first entry word including the search string among the plurality of entry words, and a second entry word including an altered string resulting from at least a part of the search string being altered. The display control step causes the display device to display a search display screen including an entry word list area that displays an entry word list including the first entry word and the second entry word, and causes the first entry word and the second entry word to be displayed in a distinguishable manner in the entry word list area.

本発明に係る表示装置及びプログラムによれば、辞書検索において、語形が変化する単語を検索する際のユーザー操作を軽減しつつ、語形が変化した単語の検索結果であることをユーザーが認識することができる。 The display device and program according to the present invention reduce the user's operations when searching for words whose word forms change during dictionary searches, while allowing the user to recognize that the search results are for words whose word forms have changed.

図1は、第1実施形態に係る表示装置の概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a display device according to a first embodiment. 図2は、辞書コンテンツの辞書データのデータ構造を示す図である。FIG. 2 is a diagram showing the data structure of dictionary data of dictionary contents. 図3は、変化形テーブルに記憶されるデータの一例を示す。FIG. 3 shows an example of data stored in the variation table. 図4は、入力置換テーブルに記憶されるデータの一例を示す。FIG. 4 shows an example of data stored in the input substitution table. 図5は、検索表示画面の一例を示す模式図である。FIG. 5 is a schematic diagram showing an example of a search display screen. 図6は、表示装置の辞書検索処理を示すフローチャートである。FIG. 6 is a flowchart showing the dictionary search process of the display device. 図7は、第1実施形態の応用例1に係る検索表示画面の表示例を示す模式図である。FIG. 7 is a schematic diagram showing a display example of a search display screen according to application example 1 of the first embodiment. 図8は、第1実施形態の応用例2に係る辞書検索処理を示すフローチャートである。FIG. 8 is a flowchart showing a dictionary search process according to the second application example of the first embodiment. 図9は、第2実施形態に係る辞書検索処理を示すフローチャートである。FIG. 9 is a flowchart showing the dictionary search process according to the second embodiment. 図10は、第3実施形態に係る表示装置の概略構成を示すブロック図である。FIG. 10 is a block diagram showing a schematic configuration of a display device according to the third embodiment. 図11は、第3実施形態における検索文字列設定処理を示すフローチャートである。FIG. 11 is a flowchart showing the search character string setting process in the third embodiment. 図12は、第3実施形態における検索表示画面及びブラウザ画面の表示例を示す模式図である。FIG. 12 is a schematic diagram showing a display example of a search display screen and a browser screen in the third embodiment. 図13は、変形例(1)に係る設定画面を示す模式図である。FIG. 13 is a schematic diagram showing a setting screen according to the modified example (1). 図14は、変形例(2)に係る表示装置の概略構成を示すブロック図である。FIG. 14 is a block diagram showing a schematic configuration of a display device according to the second modification. 図15は、変形例(2)に係る検索表示画面の表示例を示す模式図である。FIG. 15 is a schematic diagram showing a display example of a search display screen according to the modified example (2).

以下、図面を参照して、実施形態に係る表示装置について説明する。なお、図中、同一又は相当部分については同一の参照符号を付して説明を繰り返さない。 The display device according to the embodiment will be described below with reference to the drawings. Note that in the drawings, the same or corresponding parts are given the same reference symbols and the description will not be repeated.

[第1実施形態]
図1を参照して第1実施形態に係る表示装置について説明する。図1は、本実施形態に係る表示装置の概略構成を示すブロック図である。表示装置1は、例えば、電子辞書端末、スマートフォン、及びタブレット型端末、パーソナルコンピューター(PC)等である。表示装置は、主に英語等の外国語の単語が見出語として収録された辞書コンテンツから、ユーザーが指定した文字列に対応する見出語を検索し、その見出語に対応した意味や例文等を表示する、いわゆる電子辞書として機能する。以下、表示装置1の構成について具体的に説明する。
[First embodiment]
A display device according to a first embodiment will be described with reference to FIG. 1. FIG. 1 is a block diagram showing a schematic configuration of a display device according to this embodiment. The display device 1 is, for example, an electronic dictionary terminal, a smartphone, a tablet terminal, a personal computer (PC), or the like. The display device functions as a so-called electronic dictionary, searching for an entry word corresponding to a character string specified by a user from dictionary content in which words in foreign languages such as English are recorded as entry words, and displaying the meaning, example sentences, and the like corresponding to the entry word. The configuration of the display device 1 will be specifically described below.

(構成)
図1に示すように、表示装置1は、記憶部10、操作部20、表示部30、及び制御部40を有する。
(composition)
As shown in FIG. 1 , the display device 1 includes a storage unit 10 , an operation unit 20 , a display unit 30 , and a control unit 40 .

記憶部10は、不揮発性RAM(Random Access Memory)やフラシュメモリー等の不揮発性メモリーやHDD(Hard Disk Drive)などで構成される。記憶部10は、辞書コンテンツ100a、及び設定情報110を記憶する。 The storage unit 10 is composed of a non-volatile memory such as a non-volatile RAM (Random Access Memory) or a flash memory, a HDD (Hard Disk Drive), etc. The storage unit 10 stores dictionary content 100a and setting information 110.

辞書コンテンツ100aは、英和辞書Aの辞書検索に必要な辞書データと、各種画像データ、音声データ、動画データ(図示略)などを記憶する。辞書データの詳細については、図2~図4を参照して後述する。 Dictionary content 100a stores dictionary data necessary for dictionary searches of English-Japanese dictionary A, as well as various image data, audio data, video data (not shown), etc. Details of the dictionary data will be described later with reference to Figures 2 to 4.

設定情報110は、辞書検索に必要な各種情報を含む。例えば、設定情報110は、表示装置1において辞書検索可能な言語を示す対象言語、検索された見出語の表示順序、インクリメンタルサーチを行うか否かを示す検索方法等が規定された情報を含む。 The setting information 110 includes various information necessary for dictionary search. For example, the setting information 110 includes information that specifies the target language indicating the language for which dictionary search is possible on the display device 1, the display order of searched headwords, the search method indicating whether or not to perform an incremental search, etc.

操作部20は、ユーザーからの操作を受け付ける。操作部20は、ユーザーから受け付けた操作を示す操作情報を制御部40へ出力する。表示部30がタッチパネルを備える場合、タッチパネルが操作部20として機能するが、操作部20は、アルファベットキー、テンキー、及び方向キー等のハードキー、及びマウスなどで構成されてもよい。また、操作部20としてマイクやカメラ等が用いられてもよい。マイクを介して入力される音声、又はカメラで撮影された画像が操作情報として制御部40へ出力されてもよい。 The operation unit 20 accepts operations from the user. The operation unit 20 outputs operation information indicating the operations accepted from the user to the control unit 40. When the display unit 30 has a touch panel, the touch panel functions as the operation unit 20, but the operation unit 20 may be composed of hard keys such as alphabet keys, a numeric keypad, and directional keys, and a mouse. A microphone, a camera, etc. may also be used as the operation unit 20. Voice input via a microphone or an image captured by a camera may be output to the control unit 40 as operation information.

表示部30は、液晶ディスプレイ又は有機ELディスプレイ等で構成されてもよい。また、表示部30は、タッチパネルを備えたディスプレイであってもよい。表示部30は、制御部40の制御の下、辞書検索に必要な各種画面を表示する。 The display unit 30 may be configured with a liquid crystal display or an organic EL display. The display unit 30 may also be a display equipped with a touch panel. Under the control of the control unit 40, the display unit 30 displays various screens necessary for dictionary search.

制御部40は、CPU(Central Processing Unit)及びメモリで構成される(いずれも図示略)。メモリは、例えば、ROM(Read Only Memory)及びRAMを含む。制御部40は、抽出部410、表示制御部420、及び設定部430の各機能を有する。具体的には、CPUがメモリに記憶された所定の辞書検索プログラムを実行することにより、CPUが抽出部410、表示制御部420、及び設定部430として機能して表示装置1における各部を制御する。なお、以下では、辞書検索プログラムが英語の辞書のみに対応している場合を例に説明する。 The control unit 40 is composed of a CPU (Central Processing Unit) and a memory (both not shown). The memory includes, for example, a ROM (Read Only Memory) and a RAM. The control unit 40 has the functions of an extraction unit 410, a display control unit 420, and a setting unit 430. Specifically, the CPU executes a predetermined dictionary search program stored in the memory, so that the CPU functions as the extraction unit 410, the display control unit 420, and the setting unit 430 to control each unit in the display device 1. In the following, an example will be described in which the dictionary search program is compatible with only English dictionaries.

抽出部410は、辞書コンテンツ100aにおいて辞書検索を行うための検索文字列を指定する操作を示す操作情報を操作部20から取得する。抽出部410は、検索文字列の指定操作を示す操作情報を取得した場合、辞書コンテンツ100aの対象言語と辞書検索プログラムに予め規定された言語とを照合する。検索文字列は、複数の文字からなる文字列であってもよいし、1文字であってもよい。また、検索文字列は、例えば、「is belong to」等、複数の語が組み合わさったフレーズであってもよい。 The extraction unit 410 acquires from the operation unit 20 operation information indicating an operation of specifying a search string for performing a dictionary search in the dictionary content 100a. When the extraction unit 410 acquires operation information indicating an operation of specifying a search string, the extraction unit 410 compares the target language of the dictionary content 100a with a language predefined in the dictionary search program. The search string may be a string of multiple characters or may be a single character. The search string may also be a phrase that combines multiple words, such as "is belonging to."

また、抽出部410は、設定情報110を参照し、検索文字列に対応する見出語を辞書コンテンツ100aの英和辞書Aに収録された見出語から抽出する。より具体的には、抽出部410は、まず、辞書テーブル101の見出語に検索文字列と完全一致又は部分一致する見出語が英和辞書Aに収録されている場合、その見出語を第1見出語として抽出する。完全一致は、検索文字列と見出語の文字列が同一であることを示す。また、部分一致は、見出語の文字列中に検索文字列が含まれることを示す。インクリメンタルサーチでは、検索文字列が見出語の先頭の文字列から一致する場合(前方一致)を部分一致としてもよい。以下の説明では、完全一致と部分一致とを区別しない場合、単に、一致と記載する場合がある。 The extraction unit 410 also refers to the setting information 110 and extracts an entry corresponding to the search string from the entry recorded in the English-Japanese dictionary A of the dictionary content 100a. More specifically, if an entry recorded in the English-Japanese dictionary A has an entry in the dictionary table 101 that matches the search string completely or partially, the extraction unit 410 first extracts that entry as the first entry. An exact match indicates that the search string and the entry string are identical. A partial match indicates that the entry string contains the search string. In an incremental search, a partial match may be defined as a match when the search string matches the entry string from the beginning (forward match). In the following description, when there is no distinction between an exact match and a partial match, the term may simply be referred to as a match.

また、抽出部410は、検索文字列の語形変化を含む見出語が英和辞書Aに収録されている場合、その見出語を第2見出語として抽出する。つまり、第2見出語には、検索文字列の少なくとも一部を変化させた文字列が含まれる。抽出部410は、抽出した第1見出語及び第2見出語のそれぞれに対し、第1見出語と第2見出語のいずれかを示すフラグを対応づける。 Furthermore, when an entry containing an inflected form of the search string is recorded in English-Japanese dictionary A, the extraction unit 410 extracts the entry as a second entry. In other words, the second entry contains a character string that is at least a partial variation of the search string. The extraction unit 410 associates a flag indicating whether the entry is the first entry or the second entry with each of the extracted first and second entry.

ここで、辞書コンテンツ100aの辞書データについて説明する。図2は、辞書コンテンツ100aの辞書データのデータ構造を示す図である。 Here, we will explain the dictionary data of dictionary content 100a. Figure 2 shows the data structure of the dictionary data of dictionary content 100a.

図2に示すように、辞書コンテンツ100aは、辞書テーブル101、対象言語102、変化形テーブル103、及び入力置換テーブル104を含む。 As shown in FIG. 2, the dictionary content 100a includes a dictionary table 101, a target language 102, a conjugation table 103, and an input replacement table 104.

辞書テーブル101は、英和辞書Aに収録された見出語と、見出語の説明を示す説明情報とを対応づけて記憶する。本実施形態において、見出語は、名詞、動詞、形容詞などの各品詞に加え、派生語、熟語、及び省略語等を含む。名詞は、単数形の見出語が収録されている。また、一部の動詞は、原形だけでなく過去形や過去分詞等の変化形の各語が見出語として収録され、その他の動詞は原形のみが見出語として収録されている。見出語は、辞書検索プログラムの検索キーとして用いられる。説明情報は、見出語が示す意味や見出語を用いた例文等を含む。 Dictionary table 101 stores entry words recorded in English-Japanese dictionary A in association with explanatory information that explains the entry words. In this embodiment, the entry words include parts of speech such as nouns, verbs, and adjectives, as well as derived words, idioms, and abbreviations. For nouns, the singular entry word is recorded. For some verbs, not only the original form but also each of the inflected forms such as the past tense and past participle is recorded as the entry word, and for other verbs, only the original form is recorded as the entry word. The entry words are used as search keys for the dictionary search program. The explanatory information includes the meaning indicated by the entry word and example sentences using the entry word.

対象言語102は、英和辞書Aの対象言語を規定する。本実施形態では、対象言語102として英語が規定されている。上述したように、対象言語102は、抽出部410によって、辞書検索プログラムに規定された言語と照合される。なお、この例では、辞書検索プログラムには英語のみが規定されるが、辞書検索プログラムが複数の言語に対応する場合には複数の言語が規定される。この場合、抽出部410は、辞書コンテンツ100aの対象言語102が、辞書検索プログラムに規定された複数の言語のいずれかと一致するか否か判定する。 The target language 102 defines the target language of the English-Japanese dictionary A. In this embodiment, English is defined as the target language 102. As described above, the target language 102 is compared by the extraction unit 410 with the language defined in the dictionary search program. Note that in this example, only English is defined in the dictionary search program, but multiple languages will be defined if the dictionary search program supports multiple languages. In this case, the extraction unit 410 determines whether the target language 102 of the dictionary content 100a matches any of the multiple languages defined in the dictionary search program.

変化形テーブル103及び入力置換テーブル104は、抽出部410による第2見出語の抽出の際に参照される。 The inflection table 103 and the input substitution table 104 are referenced when the extraction unit 410 extracts the second headword.

変化形テーブル103は、不規則変化形と、不規則変化形に対応する原形とを対応づけて記憶する。図3は、変化形テーブル103に記憶されるデータの一例を示している。不規則変化形は、時制や比較級・最上級の語形変化が変化規則に従っていない語である。つまり、不規則変化語は、不規則変化動詞、不規則変化形容詞、不規則変化名詞等を含む。 The conjugation table 103 stores irregular conjugations in association with the original form that corresponds to the irregular conjugation. FIG. 3 shows an example of data stored in the conjugation table 103. Irregular conjugations are words whose tenses and comparative and superlative forms do not follow the conjugation rules. In other words, irregular conjugations include irregular verbs, irregular adjectives, irregular nouns, etc.

入力置換テーブル104は、入力パターンと、入力パターンに対応する置換パターンとを対応づけて記憶する。入力パターンは、検索文字列における文字列の並びのパターンを示す。置換パターンは、入力パターンで示される文字列を変化させるパターンを示す。図4は、入力置換テーブル104に記憶されるデータの一例を示している。図4に示すように、図4において、入力パターンと置換パターンは、文字列を所定形式で表した正規表現で表される。本実施形態では、入力パターンと置換パターンを正規表現で表しているが、所定規則に基づいて検索文字列を置換できれば、正規表現以外の方法で入力パターンと置換パターンとが定義されてもよい。 The input replacement table 104 stores an input pattern and a replacement pattern corresponding to the input pattern in association with each other. An input pattern indicates a pattern of a string arrangement in a search string. A replacement pattern indicates a pattern for changing a string indicated by an input pattern. FIG. 4 shows an example of data stored in the input replacement table 104. As shown in FIG. 4, the input pattern and the replacement pattern are expressed as regular expressions that express strings in a predetermined format. In this embodiment, the input pattern and the replacement pattern are expressed as regular expressions, but the input pattern and the replacement pattern may be defined by a method other than regular expressions as long as the search string can be replaced based on a predetermined rule.

図1に戻り、抽出部410は、第2見出語を抽出する処理として、まず、変化形テーブル103を参照する。抽出部410は、検索文字列と一致する不規則変化形が存在する場合、検索文字列と一致する不規則変化形と対応付けられた原形を第2見出語候補とする。 Returning to FIG. 1, the extraction unit 410 first refers to the inflection table 103 as a process for extracting a second entry. If there is an irregular inflection that matches the search string, the extraction unit 410 selects the original form associated with the irregular inflection that matches the search string as a second entry candidate.

また、検索文字列と一致する不規則変化形が存在しない場合、抽出部410は、入力置換テーブル104に基づいて検索文字列を置換し、置換後の文字列を第2見出語候補とする。より具体的には、抽出部410は、入力置換テーブル104において、検索文字列の文字列の並びに対応した入力パターンが存在する場合、その入力パターンと対応付けられた置換パターンに従って検索文字列を置換し、置換した文字列を第2見出語候補とする。 Furthermore, if there is no irregular inflection that matches the search string, the extraction unit 410 replaces the search string based on the input replacement table 104, and sets the replaced string as the second entry candidate. More specifically, if there is an input pattern in the input replacement table 104 that corresponds to the character string arrangement of the search string, the extraction unit 410 replaces the search string according to the replacement pattern associated with the input pattern, and sets the replaced string as the second entry candidate.

そして、抽出部410は、辞書コンテンツ100aの辞書テーブル101の見出語の中から第2見出語候補と一致する見出語を第2見出語として抽出する。つまり、第2見出語候補は、変化形テーブル103又は入力置換テーブル104に基づいて検索文字列の少なくとも一部を変化させた変化形文字列であり、第2見出語は、変化形文字列を含む見出語である。本実施形態において、第2見出語の抽出は、辞書テーブル101の見出語のうち、第2見出語候補の文字列と完全一致する見出語が存在する場合、その第2見出語候補を第2見出語とする。第2見出語候補の文字列が入力置換テーブル104を用いて生成された文字列である場合、この文字列は入力置換テーブル104で定義された規則に従って生成されているため、実際に存在しない語である可能性がある。そのため、第2見出語は、辞書テーブル101の見出語のうち、第2見出語候補の文字列と完全一致する見出語とすることが望ましい。 Then, the extraction unit 410 extracts, as the second entry, an entry that matches the second entry candidate from among the entries in the dictionary table 101 of the dictionary content 100a. In other words, the second entry candidate is an inflected character string in which at least a part of the search character string is changed based on the inflected character string table 103 or the input substitution table 104, and the second entry is an entry that includes the inflected character string. In this embodiment, when an entry that completely matches the character string of the second entry candidate exists among the entries in the dictionary table 101, the second entry candidate is set as the second entry. If the character string of the second entry candidate is a character string generated using the input substitution table 104, this character string is generated according to the rules defined in the input substitution table 104, and therefore may be a word that does not actually exist. Therefore, it is desirable to set the second entry as an entry that completely matches the character string of the second entry candidate among the entries in the dictionary table 101.

なお、入力置換テーブル104を用いて生成された第2見出語候補が複数存在する場合、各第2見出語候補について完全一致する見出語を全て第2見出語としてもよいし、複数の第2見出語候補のうち、所定条件を満たす一の第2見出語候補と完全一致する見出語を第2見出語としてもよい。所定条件は、例えば、第2見出語候補を昇順で並べた際に先頭に配置されたものであることとしてもよい。 When there are multiple second entry word candidates generated using the input substitution table 104, all entries that are an exact match for each of the second entry word candidates may be set as the second entry word, or an entry that is an exact match for one of the multiple second entry word candidates that satisfies a specified condition may be set as the second entry word. The specified condition may be, for example, that the entry is placed at the top when the second entry word candidates are sorted in ascending order.

また、第2見出語候補は、単語に限らず、複数の語で構成されたフレーズであってもよい。例えば、検索文字列が「is belong to」である場合、検索文字列中の「is」を「be」に変換した「be belong to」が第2見出語候補とされてもよい。また、例えば、検索文字列が「none of your business」である場合、検索文字列中の「your」を「one’s」に変換した「none of one’s business」が第2見出語候補とされてもよい。つまり、フレーズにおける一語を変化形テーブル103又は入力置換テーブル104を用いて変換したフレーズを第2見出語候補としてもよい。 The second entry word candidate is not limited to a single word, but may be a phrase consisting of multiple words. For example, if the search string is "is belonging to", "be belonging to" obtained by converting "is" in the search string to "be" may be set as the second entry word candidate. For example, if the search string is "none of your business", "none of one's business" obtained by converting "your" in the search string to "one's" may be set as the second entry word candidate. In other words, a phrase obtained by converting one word in a phrase using the inflection table 103 or the input substitution table 104 may be set as the second entry word candidate.

表示制御部420は、検索文字列及び抽出部410の抽出結果を表示する検索表示画面を表示部30に表示する。図5は、検索表示画面300の一例を示す模式図である。図5に示すように、検索表示画面300は、第1表示領域301、第2表示領域302、及び第3表示領域303を有する。 The display control unit 420 displays a search display screen on the display unit 30, which displays the search string and the extraction result of the extraction unit 410. FIG. 5 is a schematic diagram showing an example of the search display screen 300. As shown in FIG. 5, the search display screen 300 has a first display area 301, a second display area 302, and a third display area 303.

第1表示領域301は、検索文字列が表示される領域である。第2表示領域302は、抽出部410で抽出された見出語のリスト(以下、見出語リスト)が表示される見出リスト領域の一例である。第3表示領域303は、見出語リストにおける一の見出語に対応する説明情報が表示される説明情報領域の一例である。 The first display area 301 is an area where the search string is displayed. The second display area 302 is an example of an entry list area where a list of entry words extracted by the extraction unit 410 (hereinafter, the entry word list) is displayed. The third display area 303 is an example of an explanatory information area where explanatory information corresponding to one entry word in the entry word list is displayed.

なお、図5は、検索文字列に対応する検索結果が表示された状態を示しているが、辞書検索プログラムを起動させる操作がなされた際、表示制御部420は、表示部30に初期画面を表示させる。初期画面は、検索表示画面300において第1表示領域301、第2表示領域302、及び第3表示領域303を全て空欄にした画面である。 Note that FIG. 5 shows a state in which the search results corresponding to the search string are displayed, but when an operation is performed to start the dictionary search program, the display control unit 420 causes the display unit 30 to display an initial screen. The initial screen is a screen in which the first display area 301, the second display area 302, and the third display area 303 on the search display screen 300 are all blank.

上述したように、記憶部10に記憶された設定情報110には、抽出された見出語の表示順序が規定されている。図5に示す例では、第1見出語を第2見出語よりも上位に表示させることが予め設定されている。表示制御部420は、抽出部410で抽出された見出語に第2見出語が含まれる場合、第1見出語を第2見出語よりも上位に配置し、先頭の第2見出語の前に、第2見出語の表示であることを示す識別情報を配置した見出語リストを生成する。そして、表示制御部420は、見出語リストを第2表示領域302に表示する。以下、図5の例を用いて具体的に説明する。 As described above, the setting information 110 stored in the storage unit 10 specifies the display order of the extracted headings. In the example shown in FIG. 5, it is preset to display the first heading higher than the second heading. When the headings extracted by the extraction unit 410 include the second heading, the display control unit 420 generates a heading list in which the first heading is placed higher than the second heading and identification information indicating that the second heading is being displayed is placed before the first second heading. The display control unit 420 then displays the heading list in the second display area 302. A specific explanation will be given below using the example of FIG. 5.

図5では、検索文字列として“taps”が指定された場合の検索結果が例示されている。第2表示領域302には、“taps”を含む第1見出語321(321a、321b)が、第2見出語322よりも上位に配置された見出語リストが表示される。なお、複数の第1見出語321が抽出された場合、検索文字列との一致度が高い第1見出語321から順に並べられる。また、第2表示領域302において、先頭の第2見出語322の前に、識別情報310aとして“(tapの検索結果)”が表示される。つまり、識別情報310aは、第2見出語322が検索文字列に基づく変化形文字列の検索結果であることを示す。第3表示領域303には、見出語リストの先頭に配置された第1見出語321aに対応する説明情報330がデフォルトで表示される。なお、第3表示領域303に、見出語リストの先頭の第1見出語321aの説明情報が表示された後は、見出語リストからユーザーに選択された見出語に対応する説明情報が第3表示領域303に表示される。 In FIG. 5, a search result when "taps" is specified as the search string is illustrated. In the second display area 302, a headword list is displayed in which the first headword 321 (321a, 321b) including "taps" is arranged higher than the second headword 322. When multiple first headwords 321 are extracted, they are arranged in order from the first headword 321 with the highest degree of match with the search string. In addition, in the second display area 302, "(search result for tap)" is displayed as identification information 310a before the first second headword 322. In other words, the identification information 310a indicates that the second headword 322 is a search result of a variant string based on the search string. In the third display area 303, the explanatory information 330 corresponding to the first headword 321a arranged at the top of the headword list is displayed by default. After the explanatory information for the first heading 321a at the top of the heading list is displayed in the third display area 303, explanatory information corresponding to the heading selected by the user from the heading list is displayed in the third display area 303.

また、表示制御部420は、ユーザー操作に基づいて、設定情報110に規定された設定の変更を受け付ける設定画面を表示部30に表示する。設定画面は、例えば、インクリメンタルサーチによる検索を有効又は無効にする操作を受け付ける画面である。 The display control unit 420 also displays a setting screen on the display unit 30 that accepts changes to the settings defined in the setting information 110 based on a user operation. The setting screen is, for example, a screen that accepts an operation to enable or disable searches using incremental search.

設定部430は、設定画面においてユーザーが行った操作に基づき、設定情報110を更新する。例えば、設定画面において、インクリメンタルサーチによる検索を無効から有効にする操作がなされた場合、第1表示領域301に1文字入力されるごとに、第1表示領域301に表示された1又は複数の文字が検索文字列とみなされ、その検索文字列に対する見出語リストが第2表示領域302に表示される。 The setting unit 430 updates the setting information 110 based on an operation performed by the user on the setting screen. For example, when an operation is performed on the setting screen to change incremental search from disabled to enabled, each time one character is entered in the first display area 301, one or more characters displayed in the first display area 301 are regarded as a search string, and a headword list for the search string is displayed in the second display area 302.

(動作)
図6は、表示装置1の辞書検索処理を示すフローチャートである。以下、図1~図6を参照し、表示装置1による辞書検索処理の動作を説明する。なお、図6に示すフローチャートは、辞書検索プログラムを起動させる操作がなされたことによりスタートする。そして、初期画面として、第1表示領域301、第2表示領域302、及び第3表示領域303が空欄である検索表示画面300が表示部30に表示される。
(motion)
Fig. 6 is a flowchart showing the dictionary search process of the display device 1. The operation of the dictionary search process by the display device 1 will be described below with reference to Figs. 1 to 6. The flowchart shown in Fig. 6 starts when an operation is performed to start up the dictionary search program. Then, as an initial screen, a search display screen 300 in which the first display area 301, the second display area 302, and the third display area 303 are blank is displayed on the display unit 30.

表示装置1は、操作部20を介して検索文字列の入力がなされるまで待機する(ステップS1:NO)。操作部20を介して検索文字列が入力されると(ステップS1:YES)、表示装置1は、抽出部410により、検索文字列に対応する第1見出語を辞書コンテンツ100aから抽出する(ステップS2)。 The display device 1 waits until a search string is input via the operation unit 20 (step S1: NO). When a search string is input via the operation unit 20 (step S1: YES), the display device 1 causes the extraction unit 410 to extract a first entry word corresponding to the search string from the dictionary content 100a (step S2).

具体的には、検索文字列が入力されると、抽出部410によって記憶部10から辞書コンテンツ100aが読み出される。そして、抽出部410によって、辞書コンテンツ100aの辞書テーブル101に記憶された見出語のうち、検索文字列と一致する第1見出語が抽出され、抽出された第1見出語に対し、第1見出語を示すフラグが対応付けられる。 Specifically, when a search string is input, the extraction unit 410 reads the dictionary content 100a from the storage unit 10. The extraction unit 410 then extracts a first heading that matches the search string from among the headings stored in the dictionary table 101 of the dictionary content 100a, and associates a flag indicating the first heading with the extracted first heading.

続いて表示装置1は、抽出部410により、第2見出語が辞書テーブル101に存在するか否か判断する(ステップS3)。 Then, the display device 1 uses the extraction unit 410 to determine whether the second entry exists in the dictionary table 101 (step S3).

具体的には、抽出部410において、辞書コンテンツ100aにおける対象言語102が辞書検索プログラムに規定された言語に含まれるか否か、及び変化形テーブル103の不規則変化形の中に検索文字列が存在するか否かが判断される。対象言語102が辞書検索プログラムに規定された言語に含まれ、且つ変化形テーブル103の不規則変化形の中に検索文字列が存在する場合、その不規則変化形に対応する原形の文字列が読み出され、読み出された文字列が第2見出語候補とされる。 Specifically, the extraction unit 410 determines whether the target language 102 in the dictionary content 100a is included in the languages defined in the dictionary search program, and whether the search string exists in the irregular forms in the inflection table 103. If the target language 102 is included in the languages defined in the dictionary search program and the search string exists in the irregular forms in the inflection table 103, the original form of the string corresponding to the irregular form is read out, and the read string is set as the second entry candidate.

一方、対象言語102が辞書検索プログラムに規定された言語に含まれない場合や、変化形テーブル103の不規則変化形の中に検索文字列が存在しない場合、抽出部410によって、入力置換テーブル104が参照され、検索文字列と一致する入力パターンが存在するか否かが判断される。入力置換テーブル104の入力パターンの中に検索文字列の文字列の並びと一致する入力パターンが存在する場合、その入力パターンに対応する置換パターンに従って置換された検索文字列が第2見出語候補とされる。 On the other hand, if the target language 102 is not included in the languages defined in the dictionary search program, or if the search string does not exist in the irregular inflections in the inflectional form table 103, the extraction unit 410 refers to the input substitution table 104 to determine whether or not there is an input pattern that matches the search string. If there is an input pattern in the input substitution table 104 that matches the character string sequence of the search string, the search string that has been replaced according to the replacement pattern that corresponds to that input pattern is set as the second entry candidate.

続いて、抽出部410により、辞書テーブル101の見出語の中に第2見出語候補と一致する見出語が存在するか否か判断する。辞書テーブル101の見出語の中に第2見出語候補と一致する見出語が存在する場合、抽出部410によって、第2見出語が辞書テーブル101に存在すると判断され(ステップS3:YES)、その見出語が第2見出語として抽出され、抽出された第2見出語に第2見出語を示すフラグが対応付けられる。 Then, the extraction unit 410 determines whether or not there is an entry in the dictionary table 101 that matches the second entry candidate. If there is an entry in the dictionary table 101 that matches the second entry candidate, the extraction unit 410 determines that the second entry exists in the dictionary table 101 (step S3: YES), extracts the entry as the second entry, and associates a flag indicating the second entry with the extracted second entry.

次に、表示制御部420によって、設定情報110が参照され、抽出部410で抽出された第1見出語及び第2見出語と、識別情報とを含む見出語リストが生成される。そして、表示制御部420により、検索表示画面300における第2表示領域302に見出語リストが配置される。また、表示制御部420により、見出語リストの先頭に配置された第1見出語に対応する説明情報が辞書テーブル101から読み出され、第3表示領域303に配置される(ステップS4)。 Next, the display control unit 420 refers to the setting information 110 and generates an entry list including the first and second entry words extracted by the extraction unit 410 and the identification information. The display control unit 420 then places the entry list in the second display area 302 on the search display screen 300. The display control unit 420 also reads out from the dictionary table 101 explanatory information corresponding to the first entry word placed at the top of the entry list, and places it in the third display area 303 (step S4).

辞書テーブル101の見出語の中に第2見出語候補と一致する見出語が存在しない場合、抽出部410によって、第2見出語が辞書テーブル101に存在しないと判断される(ステップS3:NO)。そして、表示制御部420により、第1見出語を含む見出語リストと、見出語リストの先頭に配置された第1見出語に対応する説明情報とが検索表示画面300に表示される(ステップS5)。 If there is no heading in the dictionary table 101 that matches the second heading candidate, the extraction unit 410 determines that the second heading does not exist in the dictionary table 101 (step S3: NO). Then, the display control unit 420 displays on the search display screen 300 a heading list including the first heading and explanatory information corresponding to the first heading placed at the top of the heading list (step S5).

図5を用いて表示装置1の動作例を説明する。表示装置1は、検索表示画面300の第1表示領域301において検索文字列“taps”が入力されると(ステップS1:YES)、検索文字列と完全一致する“taps”を第1見出語321aとして抽出し、検索文字列と部分一致する“tap・star”を第1見出語321bとして抽出する(ステップS2)。 An example of the operation of the display device 1 will be described with reference to FIG. 5. When the search string "taps" is input in the first display area 301 of the search display screen 300 (step S1: YES), the display device 1 extracts "taps", which is a perfect match with the search string, as the first entry 321a, and extracts "tap・star", which is a partial match with the search string, as the first entry 321b (step S2).

次に、表示装置1は、入力置換テーブル104に基づいて“taps”を置換した“tap”を第2見出語候補とし、辞書テーブル101から第2見出語候補と一致する“tap1”と“tap2”を第2見出語322として抽出する(ステップS3:YES)。 Next, the display device 1 sets "tap", which is a replacement for "taps", as a second headword candidate based on the input replacement table 104, and extracts "tap 1 " and "tap 2 ", which match the second headword candidate, from the dictionary table 101 as the second headword 322 (step S3: YES).

続いて、表示装置1は、設定情報110に基づいて、見出語リストを生成して第2表示領域302に表示する。見出語リストにおいて、第1見出語321(321a,321b)は第2見出語322より上位に配置され、先頭の第2見出語322の前には識別情報310aとして“(tapの検索結果)”が配置される。さらに、表示装置1は、第1見出語321aに対応する説明情報を辞書テーブル101から読み出し、第3表示領域303に表示する(ステップS4)。 Then, the display device 1 generates a headword list based on the setting information 110 and displays it in the second display area 302. In the headword list, the first headword 321 (321a, 321b) is placed higher than the second headword 322, and "(tap search result)" is placed before the first second headword 322 as identification information 310a. Furthermore, the display device 1 reads explanatory information corresponding to the first headword 321a from the dictionary table 101 and displays it in the third display area 303 (step S4).

なお、図6を参照して、検索文字列を含む見出語が辞書テーブル101に存在する場合、すなわち、第1見出語が抽出される場合における表示装置1の動作を説明したが、第1見出語が抽出されない場合がある。例えば、検索文字列がミス入力された場合や、入力言語が対象言語と異なる場合のように、辞書コンテンツ100aに収録されていない語が検索文字列として指定された場合、第1見出語が抽出されない。この場合、抽出部410は、ステップS3の処理を行い、第2見出語の抽出を試みる。この場合、表示制御部420は、第2見出語のみを含む見出語リストを生成し、検索表示画面300の第2表示領域302に表示させる。一方、第2見出語が抽出されなかった場合、表示制御部420は、検索文字列に対応する見出語が抽出されなかったことを示す情報を第2表示領域302に表示してもよい。なお、辞書テーブル101に第1見出語が存在しない場合において、変化形テーブル103又は入力置換テーブル104に基づいて第2見出語候補が検出されないとき、抽出部410は、辞書テーブル101における見出語のうち検索文字列との一致度が最も高い見出語を第2見出語として抽出してもよい。例えば「r」と「l」、「f」と「ph」等、互いに誤入力しやすい文字又は文字列が検索文字列に含まれる場合、検索文字列中の誤入力しやすい文字又は文字列を所定の置換文字に入れ替えた文字列を第2見出語候補としてもよい。この場合、第2見出語候補と一致する見出語が存在すれば、その見出語を第2見出語として抽出してもよい。また、その見出語に対応する変化形を変化形テーブル103を用いてさらに検索し、その検索によって抽出された見出語を第2見出語として抽出してもよい。 Note that, with reference to FIG. 6, the operation of the display device 1 in the case where an entry containing the search string exists in the dictionary table 101, that is, when the first entry is extracted, has been described. However, there are cases where the first entry is not extracted. For example, when a word not included in the dictionary content 100a is specified as the search string, such as when the search string is input incorrectly or when the input language is different from the target language, the first entry is not extracted. In this case, the extraction unit 410 performs the process of step S3 and attempts to extract the second entry. In this case, the display control unit 420 generates an entry list including only the second entry and displays it in the second display area 302 of the search display screen 300. On the other hand, when the second entry is not extracted, the display control unit 420 may display information indicating that the entry corresponding to the search string was not extracted in the second display area 302. In addition, when the first entry does not exist in the dictionary table 101 and the second entry candidate is not detected based on the inflection table 103 or the input replacement table 104, the extraction unit 410 may extract the entry in the dictionary table 101 that has the highest degree of match with the search string as the second entry. For example, when the search string contains characters or character strings that are likely to be input incorrectly, such as "r" and "l" or "f" and "ph", a character string in which the characters or character strings in the search string that are likely to be input incorrectly are replaced with a predetermined replacement character may be set as the second entry candidate. In this case, if there is an entry that matches the second entry candidate, that entry may be extracted as the second entry. In addition, the inflection table 103 may be used to further search for an inflection corresponding to that entry, and the entry extracted by the search may be extracted as the second entry.

図1~図6を参照して説明した第1実施形態では、ユーザーによって入力された検索文字列が変化形の単語である場合、検索文字列に一致する第1見出語だけでなく、その単語の原形を含む第2見出語が見出語リストに表示される。そのため、ユーザーは、検索しようとする文字列を含む単語が原形であるか変化形であるかを意識することなく、検索文字列に対応する語形変化の語を確認することができる。また、図1~図6を参照して説明した第1実施形態では、見出語リストに第2見出語が表示される場合、先頭の第2見出語の前に識別情報310aが表示される。そのため、ユーザーは、見出語リストで表示された各見出語が変化形による検索結果によるものであるか否かを確認することができ、第1見出語と第2見出語とを識別することができる。 In the first embodiment described with reference to FIGS. 1 to 6, when a search string entered by a user is an inflected word, not only the first headword that matches the search string but also the second headword containing the original form of the word are displayed in the headword list. Therefore, the user can check the inflected words corresponding to the search string without being aware of whether the word containing the string to be searched is in the original form or in the inflected form. Also, in the first embodiment described with reference to FIGS. 1 to 6, when the second headword is displayed in the headword list, the identification information 310a is displayed before the first second headword. Therefore, the user can check whether each headword displayed in the headword list is the result of a search using an inflected form, and can distinguish between the first headword and the second headword.

(応用例1)
図1~図6を参照して説明した第1実施形態では、検索文字列に対応する第2見出語が抽出された場合、見出語リストにおいて第1見出語が第2見出語よりも上位に配置される例を説明したが、第1見出語及び第2見出語の表示順序はこれに限定されない。第2見出語が、第1見出語よりも上位に表示されてもよい。この場合には、見出語の表示順序設定として、第1見出語よりも第2見出語を上位に表示させることが設定情報110(図1参照)に予め規定される。
(Application Example 1)
In the first embodiment described with reference to Figures 1 to 6, when a second heading corresponding to a search character string is extracted, the first heading is arranged higher than the second heading in the heading list, but the display order of the first and second headings is not limited to this. The second heading may be displayed higher than the first heading. In this case, the display order setting of the headings is predefined in the setting information 110 (see Figure 1) to display the second heading higher than the first heading.

表示制御部420は、設定情報110に基づいて、第1見出語よりも第2見出語を上位に配置した見出語リストを生成する。また、表示制御部420は、見出語リストにおいて、先頭の第2見出語の前に、第2見出語の表示であることを示す識別情報を配置し、先頭の第1見出語の前に、第1見出語の表示であることを示す識別情報を配置する。以下、第1見出語の表示であることを示す識別情報を第1識別情報、第2見出語の表示であることを示す識別情報を第2識別情報と称する。また、表示制御部420は、見出語リストの先頭に配置された第2見出語に対応する説明情報を第3表示領域303にデフォルトで表示する。 The display control unit 420 generates an entry list in which the second entry is placed higher than the first entry, based on the setting information 110. Furthermore, the display control unit 420 places identification information indicating that the second entry is displayed before the first entry in the entry list, and places identification information indicating that the first entry is displayed before the first entry. Hereinafter, the identification information indicating that the first entry is displayed is referred to as the first identification information, and the identification information indicating that the second entry is displayed is referred to as the second identification information. Furthermore, the display control unit 420 displays explanatory information corresponding to the second entry placed at the top of the entry list in the third display area 303 by default.

図7は、第1実施形態の応用例1に係る検索表示画面の表示例を示す模式図である。図7において、第2表示領域302における表示態様は図5と異なるが、それ以外の構成及び表示態様は図5と同じである。 Figure 7 is a schematic diagram showing a display example of a search display screen according to application example 1 of the first embodiment. In Figure 7, the display mode in the second display area 302 is different from that in Figure 5, but the other configuration and display mode are the same as those in Figure 5.

図7に示すように、第2表示領域302には、第1見出語321よりも第2見出語322が上位に配置された見出語リストが表示される。また、第2表示領域302において、第2見出語322aの前に、第2識別情報310aとして“(tapの検索結果)”が表示される。そして、第1見出語321aの前に、第1識別情報310bとして“(tapsの検索結果)”が表示される。また、第3表示領域303には、第2見出語322a“(tap1)”に対応する説明情報330がデフォルトで表示される。 7, the second display area 302 displays an entry list in which the second entry 322 is placed higher than the first entry 321. In addition, in the second display area 302, "(tap search result)" is displayed as the second identification information 310a before the second entry 322a. And, "(taps search result)" is displayed as the first identification information 310b before the first entry 321a. In addition, in the third display area 303, the explanation information 330 corresponding to the second entry 322a "(tap 1 )" is displayed by default.

上記応用例1では、検索文字列の文字列と一致する第1見出語より、検索文字列の少なくとも一部を変化させた第2見出語が上位に表示される。そのため、複数形又は過去形等の変化形の単語を検索文字列としてユーザーが入力した場合、ユーザーは、検索文字列が変化形であることを即座に認識することができる。また、この場合、先頭の第2見出語に対応する説明情報が第3表示領域303に表示されるため、ユーザーは、検索文字列に対応する本来の意味等を一目で確認することができる。また、第2見出語及び第1見出語のそれぞれの識別情報が見出語リストに表示されるため、ユーザーは、見出語リストに表示された各見出語がどのような検索によって抽出されたものであるかを認識することができる。 In the above application example 1, the second entry word, which is at least a part of the search string, is displayed higher than the first entry word that matches the search string. Therefore, when the user inputs a word in an inflected form such as the plural or past tense as the search string, the user can immediately recognize that the search string is in an inflected form. In this case, explanatory information corresponding to the first second entry word is displayed in the third display area 303, so the user can confirm at a glance the original meaning, etc., corresponding to the search string. Furthermore, identification information for each of the second entry word and the first entry word is displayed in the entry word list, so the user can recognize what kind of search was used to extract each entry word displayed in the entry word list.

例えば、見出語として「taken」が英和辞書Aに収録され、「taken」が検索文字列として指定された場合、「taken」が第1見出語として抽出され、第2見出語として「take」が抽出されたとする。第1見出語を第2見出語より上位に表示する場合、検索直後の第3表示領域303には「taken」の説明情報が表示される。仮に、「taken」の説明情報として「takeの過去分詞形」としか表示されない場合、ユーザーは、原形「take」の意味をすぐに確認できない。この場合、ユーザーは、第2見出語として抽出された「take」を選択して第3表示領域303に「take」の説明を表示させる手間を要する。そのため、変化形の文字列「taken」が検索文字列として指定される場合には、第2見出語「take」を第1見出語「taken」より上位に表示することで、検索直後の第3表示領域303に「take」の説明が表示され、ユーザーは「take」の意味を即座に確認することができる。 For example, suppose that "taken" is recorded as a headword in English-Japanese dictionary A and "taken" is specified as a search string, then "taken" is extracted as the first headword and "take" is extracted as the second headword. If the first headword is displayed higher than the second headword, explanatory information for "taken" is displayed in the third display area 303 immediately after the search. If the explanatory information for "taken" is simply displayed as "past participle form of take," the user cannot immediately confirm the meaning of the original form "take." In this case, the user must take the time to select "take" extracted as the second headword and have an explanation of "take" displayed in the third display area 303. Therefore, when the inflected character string "taken" is specified as the search character string, by displaying the second entry "take" higher than the first entry "taken", an explanation of "take" is displayed in the third display area 303 immediately after the search, and the user can immediately confirm the meaning of "take".

(応用例2)
第2見出語は、検索文字列を一部又は全部を変化させた第2見出語候補と一致する見出語であるため、検索文字列と直接関係しない語である可能性がある。そのため、上記応用例1のように、第2見出語を第1見出語より上位に表示させる場合、ユーザーが意図しない検索結果が上位に表示される可能性がある。そのため、第1見出語及び第2見出語のどちらを上位に表示させるかをユーザーが設定できる方が好ましい。
(Application Example 2)
The second entry word is an entry word that matches a second entry word candidate obtained by changing a part or all of the search string, and therefore may be a word that is not directly related to the search string. Therefore, when the second entry word is displayed higher than the first entry word as in the above Application Example 1, search results that the user does not intend may be displayed higher. Therefore, it is preferable that the user can set whether the first entry word or the second entry word is displayed higher.

本応用例2では、設定情報110に規定された見出語の表示順序を、ユーザーが変更できる例について説明する。この場合、表示制御部420は、見出語の表示順序の変更操作を受け付けるための設定画面を表示部30に表示させる。設定画面には、例えば、第1見出語を第2見出語より上位に表示することを示すチェックボックスと、第2見出語を第1見出語よりも上位に表示することを示すチェックボックスとを表示させてもよい。いずれかのチェックボックスが選択されると、設定部430は、設定情報110に規定された表示順序を、選択されたチェックボックスに対応づけられた表示順序に更新する。 In this application example 2, an example will be described in which the user can change the display order of the entry words defined in the setting information 110. In this case, the display control unit 420 causes the display unit 30 to display a setting screen for accepting an operation to change the display order of the entry words. The setting screen may display, for example, a check box indicating that the first entry word is to be displayed higher than the second entry word, and a check box indicating that the second entry word is to be displayed higher than the first entry word. When either check box is selected, the setting unit 430 updates the display order defined in the setting information 110 to the display order associated with the selected check box.

本応用例では、設定情報110に規定された見出語の表示順序はユーザー操作に応じて変更可能である。そのため、表示制御部420において検索表示画面を表示させる動作が図6と異なる。図8は、第1実施形態の応用例2における辞書検索処理を示すフローチャートである。図8において、ステップS2以前の処理は図6と同様であるため、ステップS2以前の処理は図示が省略されている。 In this application example, the display order of the entries defined in the setting information 110 can be changed in response to a user operation. Therefore, the operation of displaying the search display screen in the display control unit 420 differs from that in FIG. 6. FIG. 8 is a flowchart showing the dictionary search process in application example 2 of the first embodiment. In FIG. 8, the process before step S2 is the same as in FIG. 6, and therefore the process before step S2 is not shown.

ステップS3において、抽出部410によって第2見出語が抽出され、抽出された第2見出語に対して第2見出語を示すフラグが付与されると(ステップS3:YES)、表示制御部420は、設定情報110に規定された第1見出語と第2見出語の表示順序設定を参照する(ステップS50)。表示制御部420は、設定情報110において、第2見出語を第1見出語よりも上位に表示することが規定されている場合(ステップS51:NO)、第2見出語を第1見出語よりも上位に配置した見出語リストを生成する(ステップS52)。一方、設定情報110において、第1見出語を第2見出語よりも上位に表示することが規定されている場合(ステップS51:YES)、表示制御部420は、第1見出語を第2見出語よりも上位に配置した見出語リストを生成する(ステップS53)。その後、表示制御部420は、生成した見出語リストと、見出語リストの先頭に配置された第1又は第2見出語に対応する説明情報とを検索表示画面300に表示する(ステップS4)。 In step S3, when the extraction unit 410 extracts the second heading and assigns a flag indicating the second heading to the extracted second heading (step S3: YES), the display control unit 420 refers to the display order setting of the first heading and the second heading defined in the setting information 110 (step S50). If the setting information 110 specifies that the second heading is to be displayed higher than the first heading (step S51: NO), the display control unit 420 generates an heading list in which the second heading is placed higher than the first heading (step S52). On the other hand, if the setting information 110 specifies that the first heading is to be displayed higher than the second heading (step S51: YES), the display control unit 420 generates an heading list in which the first heading is placed higher than the second heading (step S53). The display control unit 420 then displays the generated headword list and explanatory information corresponding to the first or second headword placed at the top of the headword list on the search display screen 300 (step S4).

上記応用例2では、見出語リストにおける第1見出語及び第2見出語の表示順序がユーザー操作に応じて変更されるため、ユーザーは、第1見出語と第2見出語とを所望する表示順序で表示させることができる。 In the above application example 2, the display order of the first and second entries in the entry list is changed in response to a user operation, so that the user can display the first and second entries in a desired display order.

[第2実施形態]
図1~図6を参照して説明した第1実施形態において、検索表示画面300の第2表示領域302に一度に表示できる見出語の数は制限される。そのため、本実施形態では、検索文字列に対応する第1見出語が抽出される数に応じて第2見出語の抽出を制限する。
[Second embodiment]
1 to 6, the number of entries that can be displayed at one time in the second display area 302 of the search display screen 300 is limited. Therefore, in this embodiment, the extraction of second entries is limited according to the number of first entries that correspond to the search character string.

図9は、第2実施形態に係る辞書検索処理を示すフローチャートである。なお、図9において、図6と同じ処理には図6と同じステップ番号が付されている。以下、主として図6と異なる処理について説明する。 Figure 9 is a flowchart showing the dictionary search process according to the second embodiment. Note that in Figure 9, the same processes as in Figure 6 are assigned the same step numbers as in Figure 6. Below, we will mainly explain the processes that differ from Figure 6.

表示装置1は、検索表示画面300の第1表示領域301に操作部20を介して検索文字列が入力されると(ステップS1:YES)、抽出部410によって、検索文字列に対応する第1見出語を辞書コンテンツ100aから抽出する(ステップS2)。続いて、抽出した第1見出語の数がN個以下の場合(ステップS21:YES)、抽出部410により、第2見出語が辞書テーブル101に存在するか否か判断する(ステップS3)。一方、抽出した第1見出語の数がN個以下ではない場合(ステップS21:NO)、すなわち、抽出した第1見出語の数がN個より多い場合、表示制御部420により、第1見出語のみが配置された見出語リストを生成し、検索表示画面300の第2表示領域302に配置する(ステップS5)。 When a search string is input to the first display area 301 of the search display screen 300 via the operation unit 20 (step S1: YES), the extraction unit 410 extracts the first entry corresponding to the search string from the dictionary content 100a (step S2). Next, if the number of extracted first entry words is N or less (step S21: YES), the extraction unit 410 determines whether or not the second entry word exists in the dictionary table 101 (step S3). On the other hand, if the number of extracted first entry words is not N or less (step S21: NO), that is, if the number of extracted first entry words is more than N, the display control unit 420 generates an entry word list in which only the first entry words are arranged, and arranges it in the second display area 302 of the search display screen 300 (step S5).

上記第2実施形態では、抽出された第1見出語がN個より多ければ、たとえ第2見出語が辞書テーブル101に存在しても第2見出語の抽出が行われない。つまり、検索表示画面300には第1見出語のみが表示される。例えば、検索文字列として「ta」が入力された場合、検索文字列と一致する第1見出語は数百語以上となる可能性がある。この場合、第2見出語を抽出して見出語リストに配置しても、第2表示領域302に一度に表示される第1見出語しか見ないユーザーの場合、第2見出語に気づかない可能性がある。そのため、このような場合、第2見出語の抽出処理を行わないことで処理時間を短縮することができる。また、ユーザーは、検索しようとする文字列に一致する検索結果を優先的に確認することができる。 In the second embodiment, if the number of extracted first entries is more than N, the second entry is not extracted even if the second entry exists in the dictionary table 101. In other words, only the first entry is displayed on the search display screen 300. For example, if "ta" is entered as a search string, there is a possibility that there will be several hundred or more first entries that match the search string. In this case, even if the second entry is extracted and arranged in the entry list, a user who only sees the first entry displayed at one time in the second display area 302 may not notice the second entry. Therefore, in such a case, the processing time can be shortened by not extracting the second entry. Also, the user can preferentially check search results that match the string to be searched.

なお、上記第2実施形態において、第2見出語を第1見出語よりも上位に表示させてもよい。この場合には、抽出される第2見出語の数に関係なく、第2見出語とともに第1見出語を第2表示領域302に表示させてもよい。第2見出語は、第2見出語候補と完全一致する見出語であるため、第1見出語と比べ、第2見出語が抽出される数は少ない場合が多い。そのため、第2見出語を第1見出語よりも上位に表示させる場合には、第2見出語の数に限らず、第2見出語と第1見出語とを第2表示領域302に表示させることで、ユーザーは第2見出語と第1見出語とを確認することができる。 In the second embodiment, the second heading may be displayed higher than the first heading. In this case, the first heading may be displayed in the second display area 302 together with the second heading, regardless of the number of second headings extracted. Since the second heading is an heading that completely matches the second heading candidate, the number of second headings extracted is often smaller than that of the first heading. Therefore, when the second heading is displayed higher than the first heading, the user can confirm the second heading and the first heading by displaying the second heading and the first heading in the second display area 302 regardless of the number of second headings.

なお、図9を参照して、抽出された第1見出語がN個より多い場合、第2見出語を抽出しない例を説明したが、抽出部410によって第2見出語が抽出されてもよい。ただし、この場合、表示制御部420は、第1見出語がN個より多ければ、抽出した第2見出語を除いて見出語リストを生成し、第2表示領域302に表示させるようにする。 Note that, although an example has been described with reference to FIG. 9 in which the second heading is not extracted when the number of extracted first headings is greater than N, the extraction unit 410 may extract the second heading. In this case, however, if the number of extracted first headings is greater than N, the display control unit 420 generates a heading list excluding the extracted second heading and displays it in the second display area 302.

[第3実施形態]
上述した第1及び第2実施形態では、検索表示画面300において、ユーザーが検索文字列を直接入力する例を説明したが、検索文字列を指定する方法はこれに限定されない。例えば、表示装置がインターネットに接続可能である場合、ユーザーによってウェブページ上の文字列を選択する所定操作がなされた場合に、選択された文字列を検索文字列に設定してもよい。
[Third embodiment]
In the above-described first and second embodiments, an example has been described in which the user directly inputs a search string on the search display screen 300, but the method of specifying a search string is not limited to this. For example, if the display device is connectable to the Internet, when the user performs a predetermined operation to select a string on a web page, the selected string may be set as the search string.

図10は、第3実施形態に係る表示装置1Aの概略構成を示すブロック図である。図10において、第1実施形態の図1と同じ構成には図1と同じ符号が付されている。以下、主として第1実施形態と異なる構成について説明する。 Figure 10 is a block diagram showing a schematic configuration of a display device 1A according to the third embodiment. In Figure 10, the same components as those in Figure 1 of the first embodiment are given the same reference numerals as in Figure 1. Below, the configurations that differ from the first embodiment will mainly be described.

図10に示すように、本実施形態に係る表示装置1Aは、通信部50と制御部40Aとを備える。なお、図10では図示が省略されているが、制御部40Aのメモリには、第1実施形態と同様の辞書検索プログラムの他に、ウェブブラウザプログラムが記憶されている。 As shown in FIG. 10, the display device 1A according to this embodiment includes a communication unit 50 and a control unit 40A. Although not shown in FIG. 10, the memory of the control unit 40A stores a web browser program in addition to a dictionary search program similar to that of the first embodiment.

通信部50は、表示装置1Aをインターネット90に接続させるための有線又は無線の通信インターフェースである。通信部50は、ウェブブラウザプログラムを起動させるユーザー操作(以下、ブラウザ起動操作)に応じてインターネット90に接続し、ユーザー操作で指定されたウェブページをダウンロードする。 The communication unit 50 is a wired or wireless communication interface for connecting the display device 1A to the Internet 90. The communication unit 50 connects to the Internet 90 in response to a user operation to start a web browser program (hereinafter, a browser start-up operation), and downloads a web page specified by the user operation.

制御部40Aは、抽出部410A、表示制御部420A、及び設定部430として機能する。表示制御部420Aは、操作部20を介したブラウザ起動操作に応じて、表示部30に所定のブラウザ画面(ウェブ画面)を表示させ、通信部50を介してダウンロードされたウェブページを所定のブラウザ画面に表示させる。また、表示制御部420Aは、抽出部410Aによってメモリに一時記憶された文字列を検索表示画面300の第1表示領域301に表示する。 The control unit 40A functions as an extraction unit 410A, a display control unit 420A, and a setting unit 430. The display control unit 420A causes the display unit 30 to display a predetermined browser screen (web screen) in response to a browser startup operation via the operation unit 20, and causes a web page downloaded via the communication unit 50 to be displayed on the predetermined browser screen. The display control unit 420A also displays the character string temporarily stored in memory by the extraction unit 410A in the first display area 301 of the search display screen 300.

抽出部410Aは、操作部20を介してウェブページ上の文字列をコピーするコピー操作がなされた場合、コピー操作された文字列を検索文字列としてメモリに一時記憶させ、一時記憶させた文字列に対応する見出語を辞書テーブル101から抽出する。以下、ウェブページにおいてコピー操作された文字列に対応する見出語の抽出を「コピーワード検索」と称する。 When a copy operation is performed to copy a character string on a web page via the operation unit 20, the extraction unit 410A temporarily stores the copied character string in memory as a search character string, and extracts an entry word corresponding to the temporarily stored character string from the dictionary table 101. Hereinafter, the extraction of an entry word corresponding to a character string copied on a web page is referred to as a "copy word search."

図11は、第3実施形態における検索文字列設定処理を示すフローチャートである。なお、図11に示す処理の開始前には、ユーザー操作によって検索表示画面300が表示部30に予め表示される。 Figure 11 is a flowchart showing the search string setting process in the third embodiment. Note that before the process shown in Figure 11 starts, the search display screen 300 is displayed in advance on the display unit 30 by a user operation.

表示装置1は、操作部20を介してブラウザ起動操作がなされると(ステップS71:YES)、通信部50を介してインターネット90に接続し、表示制御部420Aにより、ユーザー操作で指定されたウェブページをブラウザ画面に表示する(ステップS72)。 When a browser startup operation is performed via the operation unit 20 (step S71: YES), the display device 1 connects to the Internet 90 via the communication unit 50, and the display control unit 420A displays the web page specified by the user operation on the browser screen (step S72).

ブラウザ画面に表示されたウェブページ上の文字列に対してコピー操作がなされると(ステップS73:YES)、コピー操作された文字列は、抽出部410Aによって検索文字列としてメモリに一時記憶される。そして、メモリに一時記憶された検索文字列が、表示制御部420Aによって読み出され、検索表示画面300の第1表示領域301に表示される(ステップS74)。 When a copy operation is performed on a character string on a web page displayed on the browser screen (step S73: YES), the copied character string is temporarily stored in memory as a search character string by the extraction unit 410A. The search character string temporarily stored in memory is then read out by the display control unit 420A and displayed in the first display area 301 of the search display screen 300 (step S74).

なお、表示装置1は、ブラウザ画面に表示されたウェブページ上の文字列に対してコピー操作がなされず(ステップS73:NO)、ブラウザ画面を終了させる操作がなければ(ステップS75:NO)、ウェブページを表示した状態で待機する。また、ブラウザ画面に表示されたウェブページ上の文字列に対してコピー操作がなされず(ステップS73:NO)、ブラウザ画面を終了させる操作がなされた場合(ステップS75:YES)、表示装置1は、ステップS1の処理に移行する。また、ステップS71において、ブラウザ起動操作がなされなければ(ステップS71:NO)、表示装置1は、ステップS2の処理に移行する。 If no copy operation is performed on the character string on the web page displayed on the browser screen (step S73: NO) and no operation is performed to close the browser screen (step S75: NO), the display device 1 waits with the web page displayed. If no copy operation is performed on the character string on the web page displayed on the browser screen (step S73: NO) and no operation is performed to close the browser screen (step S75: YES), the display device 1 proceeds to the process of step S1. If no operation to start the browser is performed in step S71 (step S71: NO), the display device 1 proceeds to the process of step S2.

図12は、第3実施形態における検索表示画面及びブラウザ画面の表示例を示す模式図である。図12の例では、検索表示画面とブラウザ画面とを同時に並べて表示する例を示しており、ブラウザ画面350に表示されたウェブページ上の文字列351(“Talking”)がコピー操作された状態を示している。 Figure 12 is a schematic diagram showing an example of the display of a search display screen and a browser screen in the third embodiment. The example in Figure 12 shows an example in which the search display screen and the browser screen are displayed side-by-side at the same time, and shows a state in which character string 351 ("Talking") on a web page displayed on browser screen 350 has been copied.

ブラウザ画面350において文字列351のコピー操作がなされると(図11のステップS73:YES)、検索表示画面300の第1表示領域301に、文字列351を小文字に変換した“talking”が表示され、検索文字列として“talking”がメモリに一時記憶される(図11のステップS74)。そして、検索表示画面300の第2表示領域302には、検索文字列“talking”に対応する見出語321、322と、第2識別情報310a及び第1識別情報310bとが表示される(図6のステップS2~S4)。 When the character string 351 is copied on the browser screen 350 (step S73: YES in FIG. 11), the character string 351 converted to lowercase, "talking", is displayed in the first display area 301 of the search display screen 300, and "talking" is temporarily stored in memory as a search character string (step S74 in FIG. 11). Then, the second display area 302 of the search display screen 300 displays the entries 321 and 322 corresponding to the search character string "talking", the second identification information 310a, and the first identification information 310b (steps S2 to S4 in FIG. 6).

この例では、検索文字列“talking”に対して、第2見出語322として“talk1”及び“talk2”が抽出され、第1見出語321として、“talking”、“talking book”及び“talking-to”が抽出される。また、この例では、第2見出語322が第1見出語321より上位に表示される。 In this example, for the search character string "talking", "talk 1 " and "talk 2 " are extracted as the second entry 322, and "talking", "talking book", and "talking-to" are extracted as the first entry 321. In this example, the second entry 322 is displayed higher than the first entry 321.

なお、図12の例では、ウェブブラウザプログラムによってブラウザ画面350に表示された文字列を検索文字列の対象とする例を説明したが、検索文字列の対象はこれに限定されない。つまり、辞書検索プログラム以外の他のプログラムによって表示された文字列を検索文字列の対象としてもよい。他のプログラムは、Portable Document Format(PDF)ビューアー、Word Processor Software、メーラー、及びエディター等、文書データを表示部30に表示可能なプログラムであればよい。他のプログラムによって表示部30に表示された文書データの文字列がコピー操作によって選択された場合も図12の例と同様、コピー操作された文字列は検索文字列として抽出部410Aによってメモリに一時記憶される。そして、表示制御部420Aによってメモリから検索文字列が読み出され、検索表示画面300の第1表示領域301に表示される。文書データは、記憶部10に記憶されていてもよいし、制御部40Aによって表示装置1の外部から取得されてもよい。 12, an example was described in which the character string displayed on the browser screen 350 by the web browser program is the target of the search character string, but the target of the search character string is not limited to this. In other words, the character string displayed by another program other than the dictionary search program may be the target of the search character string. The other program may be a program capable of displaying document data on the display unit 30, such as a Portable Document Format (PDF) viewer, Word Processor Software, a mailer, and an editor. When a character string of document data displayed on the display unit 30 by another program is selected by a copy operation, the copied character string is temporarily stored in memory by the extraction unit 410A as a search character string, as in the example of FIG. 12. Then, the display control unit 420A reads out the search character string from the memory and displays it in the first display area 301 of the search display screen 300. The document data may be stored in the storage unit 10, or may be obtained from outside the display device 1 by the control unit 40A.

また、図12の例では、ステップS73において、ブラウザ画面350において文字列がコピー操作された場合、制御部40Aは、ステップS74以降の処理を行う例を説明したが、以下のようにしてもよい。つまり、制御部40Aは、ブラウザ画面350において文字列がコピー操作されたか否か判断することなく、メモリに一時記憶された文字列が存在すれば、ステップS74の処理を行うようにしてもよい。 In the example of FIG. 12, the control unit 40A performs the process of step S74 and subsequent steps when a character string is copied on the browser screen 350 in step S73. However, the control unit 40A may perform the process of step S74 as follows. In other words, the control unit 40A may perform the process of step S74 if a character string temporarily stored in memory exists, without determining whether a character string is copied on the browser screen 350.

上記第3実施形態では、ユーザーがウェブページ上の文字列をコピー操作するだけで、コピー操作された文字列が検索文字列として指定されるため、ユーザーが検索文字列を直接入力する手間を省くことができる。また、ユーザーは、コピーワード検索を行うことで、ウェブページ上の文字列を含む単語に対応する語形変化の各語とその意味を確認しながらウェブページを読むことができるため、ウェブページを効率良く読み進めるとともに、単語を効率良く習得することができる。 In the third embodiment, the user simply copies a character string on a web page, and the copied character string is designated as a search character string, eliminating the need for the user to directly input a search character string. In addition, by performing a copy word search, the user can read the web page while checking each word inflected with a corresponding word that contains the character string on the web page and its meaning, allowing the user to efficiently read through the web page and learn words.

なお、図12では、第2見出語322が第1見出語321よりも上位に表示されているが、第1見出語321が第2見出語322より上位に表示されてもよい。但し、図12の例のように、コピー操作された文字列が変化形である場合、検索文字列“talking”を含む第1見出語321よりも、“talking”の語形変化である原形“talk”が第2見出語322として上位に表示された方が“talking”の本来の意味をユーザーが確認しやすい。つまり、“talking”が“talk”よりも上位に表示される場合、ユーザーは、“talking”の本来の意味を確認するために第2見出語322“talk”を選択する操作が必要となる。そのため、コピー操作された文字列が変化形である場合、第2見出語322を第1見出語321より上位に表示させる方がユーザーの操作負担が軽減される。 12, the second entry 322 is displayed higher than the first entry 321, but the first entry 321 may be displayed higher than the second entry 322. However, as in the example of FIG. 12, if the copied character string is an inflection, it is easier for the user to confirm the original meaning of "talking" if the original form "talk", which is an inflection of "talking", is displayed higher as the second entry 322 than the first entry 321 including the search character string "talking". In other words, if "talking" is displayed higher than "talk", the user needs to select the second entry 322 "talk" to confirm the original meaning of "talking". Therefore, if the copied character string is an inflection, the user's operational burden is reduced by displaying the second entry 322 higher than the first entry 321.

以上、図面(図1~図12)を参照して本発明に係る表示装置及びプログラムの実施形態について説明した。但し、表示装置及びプログラムは、上記の実施形態に限られるものではなく、その要旨を逸脱しない範囲で種々の態様において実施することが可能である。図面は、理解しやすくするために、それぞれの構成要素を主体に模式的に示しており、図示された各構成要素の厚み、長さ、個数等は、図面作成の都合上から実際とは異なる。また、上記の実施形態で示す各構成要素の形状、寸法等は一例であって、特に限定されるものではなく、本発明の効果から実質的に逸脱しない範囲で種々の変更が可能である。以下、上記実施形態の変形例を説明する。 Above, the display device and the program according to the present invention have been described with reference to the drawings (Figs. 1 to 12). However, the display device and the program are not limited to the above-mentioned embodiment, and can be implemented in various forms without departing from the spirit of the invention. The drawings are mainly schematic illustrations of the respective components for ease of understanding, and the thickness, length, number, etc. of each component shown in the drawings differ from the actual ones due to the convenience of drawing. Furthermore, the shape, dimensions, etc. of each component shown in the above-mentioned embodiment are merely examples, and are not particularly limited, and various modifications are possible without substantially departing from the effects of the present invention. Below, modified examples of the above-mentioned embodiment are described.

[変形例]
(1)上述した第1実施形態では、インクリメンタルサーチの有効又は無効についてユーザーが選択可能であることを説明したが、第1実施形態から第3実施形態において、インクリメンタルサーチだけでなく、第2見出語の抽出やコピーワード検索の有効又は無効についてユーザーが設定画面において選択できるようにしてもよい。この場合、設定情報110は、インクリメンタルサーチ、第2見出語の抽出、及びコピーワード検索のそれぞれについて有効又は無効を示す情報を含む。
[Modification]
(1) In the first embodiment described above, it has been described that the user can select whether to enable or disable the incremental search, but in the first to third embodiments, the user may be able to select on the setting screen whether to enable or disable not only the incremental search, but also the extraction of second headwords and the copy word search. In this case, the setting information 110 includes information indicating whether the incremental search, the extraction of second headwords, and the copy word search are each enabled or disabled.

図13は、変形例(1)に係る設定画面を示す模式図である。図13に示すように、設定画面360には設定項目361~363と、設定項目361~363に対応づけられたトグルボタン361a~363aとが表示される。設定項目361及びトグルボタン361aは、コピーワード検索の設定に対応する。設定項目362及びトグルボタン362aは、第2見出語の抽出の設定に対応する。設定項目363及びトグルボタン363aは、インクリメンタルサーチの設定に対応している。 Figure 13 is a schematic diagram showing a setting screen relating to modified example (1). As shown in Figure 13, setting items 361 to 363 and toggle buttons 361a to 363a corresponding to the setting items 361 to 363 are displayed on setting screen 360. Setting item 361 and toggle button 361a correspond to the setting of copy word search. Setting item 362 and toggle button 362a correspond to the setting of second headword extraction. Setting item 363 and toggle button 363a correspond to the setting of incremental search.

表示制御部420は、ユーザー操作に応じて、設定情報110を読み出し、コピーワード検索、第2見出語の抽出、及びインクリメンタルサーチの現在の設定を設定画面360に表示させる。図13に示す例では、コピーワード検索、第2見出語の抽出、及びインクリメンタルサーチのいずれも有効である状態が示されている。 In response to a user operation, the display control unit 420 reads the setting information 110 and displays the current settings of copy word search, second headword extraction, and incremental search on the setting screen 360. The example shown in FIG. 13 shows a state in which copy word search, second headword extraction, and incremental search are all enabled.

例えば、ユーザーが第2見出語の検索を必要としない場合、操作部20を介して設定項目362に対するトグルボタン362aを無効にする操作を行う。トグルボタン362aが有効から無効にされると、設定部430は、設定情報110において、第2見出語の抽出の設定を有効から無効に更新する。この場合、表示装置1は、ユーザーによって検索文字列が指定され、検索文字列に対応する第1見出語を辞書コンテンツ100aから抽出した後、設定情報110に基づき、抽出した第1見出語のみを含む見出語リストを生成して検索表示画面300を表示する。つまり、この場合、第1見出語が抽出された後、第2見出語を抽出する処理は行われず、第1見出語のみが検索表示画面300に表示される。 For example, if the user does not need to search for the second heading, the user performs an operation to disable the toggle button 362a for the setting item 362 via the operation unit 20. When the toggle button 362a is changed from enabled to disabled, the setting unit 430 updates the setting for extracting the second heading in the setting information 110 from enabled to disabled. In this case, the display device 1 specifies a search string by the user, extracts a first heading corresponding to the search string from the dictionary content 100a, and then generates an heading list including only the extracted first heading based on the setting information 110 and displays the search display screen 300. In other words, in this case, after the first heading is extracted, no process of extracting the second heading is performed, and only the first heading is displayed on the search display screen 300.

なお、変形例(1)では、インクリメンタルサーチ、第2見出語の抽出、コピーワード検索のそれぞれについて有効又は無効をユーザーが設定できる表示装置1を説明したが、少なくとも、いずれか1つの処理についてユーザーが設定できればよい。 In the modified example (1), a display device 1 was described in which the user can set whether to enable or disable the incremental search, the extraction of the second headword, and the copy word search. However, it is sufficient if the user can set at least one of these processes.

また、設定画面360において、コピーワード検索が有効にされる場合、さらに、第2見出語を第1見出語より上位に表示するか否かを設定画面360でユーザーが指定できるようにしてもよい。 In addition, when copy word search is enabled on the settings screen 360, the user may be able to specify on the settings screen 360 whether or not to display the second entry higher than the first entry.

なお、インクリメンタルサーチの設定が無効にされている場合、表示制御部420により、検索表示画面300において、検索開始を指示する操作ボタンを表示させる。そして、制御部40は、図6のステップS1において、その操作ボタンが押下されたときに、検索文字列が指定されたものと判断してもよい。 When the incremental search setting is disabled, the display control unit 420 causes an operation button for instructing the user to start a search to be displayed on the search display screen 300. The control unit 40 may then determine in step S1 of FIG. 6 that a search string has been specified when the operation button is pressed.

(2)上述した第1実施形態から第3実施形態では、記憶部10に1つの辞書コンテンツ100aが記憶されている例を説明したが、複数の辞書コンテンツが記憶されていてもよい。図14は、変形例(2)における表示装置1Bの概略構成を示すブロック図である。図14に示すように、表示装置1Bは、記憶部10において、辞書コンテンツA100a及び辞書コンテンツB100bが記憶されている。辞書コンテンツA100aは、英和辞書Aに対応した辞書テーブル101及び対象言語102を記憶し、辞書コンテンツB100bは、英和辞書Bに対応した辞書テーブル101及び対象言語102を記憶する。 (2) In the above-described first to third embodiments, an example has been described in which one dictionary content 100a is stored in the storage unit 10, but multiple dictionary contents may be stored. FIG. 14 is a block diagram showing a schematic configuration of a display device 1B in modification (2). As shown in FIG. 14, the display device 1B has dictionary content A 100a and dictionary content B 100b stored in the storage unit 10. Dictionary content A 100a stores a dictionary table 101 and a target language 102 corresponding to English-Japanese dictionary A, and dictionary content B 100b stores a dictionary table 101 and a target language 102 corresponding to English-Japanese dictionary B.

なお、変化形テーブル103及び入力置換テーブル104は、辞書コンテンツA及びBの辞書検索において共通して用いられてもよい。この場合、変化形テーブル103及び入力置換テーブル104は、辞書コンテンツと別に記憶されてもよい。 The inflection table 103 and the input replacement table 104 may be used in common for dictionary searches of the dictionary contents A and B. In this case, the inflection table 103 and the input replacement table 104 may be stored separately from the dictionary contents.

検索文字列が指定された場合、抽出部410は、辞書コンテンツごとに、検索文字列に対応する第1見出語と第2見出語とを抽出する。表示制御部420は、辞書コンテンツごとに抽出された第1見出語と第2見出語とを含む見出語リストを生成し、辞書コンテンツごとの見出語リストを第2表示領域302に表示させる。 When a search string is specified, the extraction unit 410 extracts a first headword and a second headword that correspond to the search string for each dictionary content. The display control unit 420 generates a headword list including the first headword and the second headword extracted for each dictionary content, and displays the headword list for each dictionary content in the second display area 302.

図15は、変形例(2)に係る検索表示画面300の表示例を示す模式図である。図15に示すように、第2表示領域302には、辞書コンテンツA100aと辞書コンテンツB100bのそれぞれの辞書テーブル101から抽出された第1見出語321と第2見出語322とを含む見出語リスト400A、400Bが辞書コンテンツ別に表示される。 Fig. 15 is a schematic diagram showing a display example of a search display screen 300 relating to variant example (2). As shown in Fig. 15, in the second display area 302, headword lists 400A and 400B including first headwords 321 and second headwords 322 extracted from the dictionary tables 101 of the dictionary content A 100a and the dictionary content B 100b are displayed for each dictionary content.

(3)上述した第1実施形態から第3実施形態では、少なくとも第2見出語の表示であることを示す識別情報を見出語リストに配置したが、第1見出語と第2見出語とをユーザーが区別し得る表示態様であればこれに限定されない。例えば、第1見出語において検索文字列と一致する部分を赤色で表示させ、他の部分を黒色で表示させてもよい。また、第2見出語において変化形文字列と一致する部分を青色で表示させ、他の部分を黒色で表示させてもよい。つまり、見出語リストにおける第1見出語と第2見出語のそれぞれにおいて、検索文字列又は変化形文字列と一致する部分を互いに異なる色で示す。このように構成した場合であっても、ユーザーは、第1見出語と第2見出語とを識別することができ、また、第1見出語と第2見出語とがどのような検索を行って抽出されたものであるかを認識することができる。 (3) In the first to third embodiments described above, identification information indicating that at least the second entry is displayed is placed in the entry list, but the display mode is not limited to this as long as the user can distinguish between the first entry and the second entry. For example, the part of the first entry that matches the search string may be displayed in red, and the other parts may be displayed in black. Also, the part of the second entry that matches the inflected string may be displayed in blue, and the other parts may be displayed in black. In other words, the parts of the first entry and the second entry in the entry list that match the search string or the inflected string are shown in different colors. Even in this configuration, the user can distinguish between the first entry and the second entry, and can recognize what kind of search was performed to extract the first entry and the second entry.

なお、上記以外に、見出語リストにおける第1見出語と第2見出語のそれぞれにおいて、検索文字列又は変化形文字列と一致する部分の文字列のフォント、書体(斜体、及び太字等)、及びフォントサイズの少なくとも1つを異ならせてもよい。また、見出語リストにおいて、第1見出語と第2見出語がそれぞれ配置される領域の背景色を異ならせてもよい。 In addition to the above, at least one of the font, style (italics, bold, etc.), and font size of the part of the string that matches the search string or the inflected string may be different for the first and second entries in the entry list. Also, the background colors of the areas in which the first and second entries are placed in the entry list may be different.

(4)上述した第1実施形態から第3実施形態において、変化形テーブル103及び入力置換テーブル104は辞書コンテンツ100aに記憶される例を説明したが、これら各テーブルで定義された情報が辞書検索プログラムに記述されていてもよい。 (4) In the first to third embodiments described above, examples have been described in which the inflection table 103 and the input replacement table 104 are stored in the dictionary content 100a, but the information defined in each of these tables may also be described in the dictionary search program.

(5)上述した第1実施形態から第3実施形態の例では、辞書検索プログラムが英語の辞書に対応している例を説明したが、語形変化を伴う他の言語の辞書に対応していてもよい。 (5) In the above-described first to third embodiments, the dictionary search program corresponds to an English dictionary. However, the dictionary search program may correspond to a dictionary of another language that involves inflection.

(6)上述した第1実施形態から第3実施形態では、辞書コンテンツ100aが表示装置に記憶されている例を説明したが、表示装置は、辞書コンテンツ100aを記憶する外部装置から辞書コンテンツ100aを取得してもよい。例えば、インターネットに接続されたサーバー装置に辞書コンテンツ100aが記憶される場合、表示装置がインターネットを介してサーバー装置にアクセスし、サーバー装置から辞書コンテンツ100aをダウンロードしてもよい。 (6) In the above-described first to third embodiments, an example has been described in which the dictionary content 100a is stored in the display device. However, the display device may obtain the dictionary content 100a from an external device that stores the dictionary content 100a. For example, if the dictionary content 100a is stored in a server device connected to the Internet, the display device may access the server device via the Internet and download the dictionary content 100a from the server device.

(7)上述の第1実施形態から第3実施形態では、1つの辞書コンテンツに1つの対象言語が規定されているが、複数の対象言語が規定されていてもよい。この場合、対象言語ごとに辞書テーブル101、変化形テーブル103、及び入力置換テーブル104が記憶部10に記憶され、対象言語に応じた各テーブルを用いて辞書検索が行われるようにすればよい。 (7) In the first to third embodiments described above, one target language is defined for one dictionary content, but multiple target languages may be defined. In this case, the dictionary table 101, the inflection table 103, and the input replacement table 104 are stored in the storage unit 10 for each target language, and a dictionary search is performed using each table according to the target language.

(8)上述した第1実施形態から第3実施形態では、検索文字列に対応する変化形文字列を生成するために、辞書コンテンツ100aに対応する変化形テーブル103と入力置換テーブル104とが別個に記憶部10に記憶されている例を説明したが、いずれか一方のテーブルだけが記憶されていてもよい。つまり、この場合、変化形テーブル103及び入力置換テーブル104のいずれか一方において、検索対象となる文字列と、当該文字列の少なくとも一部を変換した文字列とを対応付けて記憶するようにする。 (8) In the above-described first to third embodiments, an example has been described in which the inflection table 103 corresponding to the dictionary content 100a and the input replacement table 104 are stored separately in the storage unit 10 in order to generate an inflection string corresponding to a search string, but only one of the tables may be stored. In other words, in this case, the string to be searched and a string obtained by converting at least a part of the string are stored in association with each other in either the inflection table 103 or the input replacement table 104.

(9)上述した第1実施形態から第3実施形態では、表示制御部420は、第1見出語と第2見出語のそれぞれに付与されたフラグと、設定情報110に規定された表示順序設定とに基づいて見出語リストを生成したが、フラグを用いずに見出語リストを生成してもよい。例えば、第2見出語を第1見出語より上位に表示させる場合、抽出部410は、第2見出語抽出処理を行った後、第1見出語抽出処理を行い、抽出した順序で第2見出語と第1見出語とをメモリに記憶する。表示制御部420は、メモリに記憶された第2見出語及び第1見出語の順序に従って見出語リストを生成してもよい。 (9) In the first to third embodiments described above, the display control unit 420 generates the heading list based on the flags assigned to the first and second headings and the display order settings defined in the setting information 110, but the heading list may be generated without using flags. For example, when the second heading is to be displayed higher than the first heading, the extraction unit 410 performs a second heading extraction process, and then a first heading extraction process, and stores the second heading and the first heading in memory in the order in which they were extracted. The display control unit 420 may generate the heading list according to the order of the second heading and the first heading stored in memory.

(10)上述した第1実施形態から第3実施形態において、第2見出語を抽出する際、第2見出語候補と完全一致する見出語の品詞が、所定条件を満たす場合に、第2見出語候補と完全一致する見出語を第2見出語としてもよい。所定条件は、検索文字列と完全一致する第1見出語の品詞と同一である場合、及び/又は、第2見出語候補が入力置換テーブル104で規定された置換パターンに従って生成された場合においてその置換パターンに予め対応付けられた品詞と同一である場合である。言い換えると、第2見出語候補と完全一致する見出語が辞書テーブル101に存在しても、検索文字列と完全一致する第1見出語の品詞、及び第2見出語候補を生成する際に用いられた置換パターンに対応する品詞の少なくとも一方の品詞と異なる品詞を持つ見出語は第2見出語としないようにしてもよい。この場合、入力置換テーブル104の各置換パターン及び辞書テーブル101における各語に対して品詞を対応づけて記憶させておく。 (10) In the above-described first to third embodiments, when extracting a second entry, if the part of speech of the entry that completely matches the second entry candidate satisfies a predetermined condition, the entry that completely matches the second entry candidate may be set as the second entry. The predetermined condition is when the part of speech is the same as the part of speech of the first entry that completely matches the search string, and/or when the second entry candidate is generated according to a replacement pattern defined in the input replacement table 104, the part of speech is the same as the part of speech previously associated with the replacement pattern. In other words, even if an entry that completely matches the second entry candidate exists in the dictionary table 101, an entry that has a part of speech different from at least one of the part of speech of the first entry that completely matches the search string and the part of speech corresponding to the replacement pattern used when generating the second entry candidate may not be set as the second entry. In this case, the parts of speech are stored in association with each replacement pattern of the input replacement table 104 and each word in the dictionary table 101.

具体的には、例えば、「end」の過去形・過去分詞形である「ended」が検索文字列であり、入力置換テーブル104により、検索文字列の末尾「d」を削除する置換パターンが適用される場合、置換された「ende」が第2見出語候補の一つとなる。仮に、辞書テーブル101に「Ende」という人名(名詞)が記憶されている場合、「Ende」が第2見出語として抽出されることは好ましくない。 Specifically, for example, if the search string is "ended," which is the past tense and past participle form of "end," and a replacement pattern is applied by the input replacement table 104 that deletes the "d" at the end of the search string, the replaced "ende" becomes one of the second entry word candidates. If the name (noun) "Ende" is stored in the dictionary table 101, it is not desirable for "Ende" to be extracted as the second entry word.

検索文字列の末尾「d」を削除する置換パターンの品詞として「動詞」が予め対応付けられている場合、第2見出語候補「Ende」の品詞(名詞)と置換パターンの品詞(動詞)とが一致しないため、「Ende」を第2見出語として抽出しないようにする。又は、検索文字列と完全一致する第1見出語「ended」が辞書テーブル101に存在する場合、第2見出語候補「Ende」の品詞(名詞)と第1見出語「ended」の品詞(動詞)とが一致しないため、「Ende」を第2見出語として抽出しないようにする。これにより、ユーザーにとってより有用な検索結果を表示させることができる。 If "verb" is previously associated as the part of speech of the replacement pattern that deletes the "d" at the end of the search string, the part of speech (noun) of the second entry word candidate "Ende" does not match the part of speech (verb) of the replacement pattern, so "Ende" is not extracted as the second entry word. Alternatively, if the first entry word "ended" that perfectly matches the search string exists in the dictionary table 101, the part of speech (noun) of the second entry word candidate "Ende" does not match the part of speech (verb) of the first entry word "ended", so "Ende" is not extracted as the second entry word. This makes it possible to display search results that are more useful to the user.

本発明は、電子辞書端末、スマートフォン、タブレット型端末、PC等において利用可能である。 The present invention can be used in electronic dictionary terminals, smartphones, tablet terminals, PCs, etc.

1、1A、1B 表示装置
10 記憶部
20 操作部
30 表示部
40、40A 制御部
50 通信部
90 インターネット
100a、100b 辞書コンテンツ
101 辞書テーブル
102 対象言語
103 変化形テーブル
104 入力置換テーブル
110 設定情報
300 検索表示画面
301 第1表示領域
302 第2表示領域(見出語リスト領域)
303 第3表示領域(説明情報領域)
330 説明情報
350 ブラウザ画面
410、410A 抽出部
420、420A 表示制御部
430 設定部
Reference Signs List 1, 1A, 1B Display device 10 Storage unit 20 Operation unit 30 Display unit 40, 40A Control unit 50 Communication unit 90 Internet 100a, 100b Dictionary content 101 Dictionary table 102 Target language 103 Inflection table 104 Input replacement table 110 Setting information 300 Search display screen 301 First display area 302 Second display area (heading list area)
303 Third display area (explanation information area)
330 Explanation information 350 Browser screen 410, 410A Extraction unit 420, 420A Display control unit 430 Setting unit

Claims (12)

複数の見出語と前記複数の見出語に対応する複数の説明情報とを含む辞書コンテンツを記憶する記憶部と、
検索文字列を指定するユーザー操作を受け付ける操作受付部と、
表示部と、
前記辞書コンテンツから前記検索文字列に対応する見出語を抽出する制御部と
を備え、
前記検索文字列に対応する見出語は、前記複数の見出語のうちの前記検索文字列を含む第1見出語と、前記検索文字列の少なくとも一部を変化させた変化形文字列を含む第2見出語とを含み、
前記第1見出語と前記第2見出語とを含む見出語リストを表示する見出語リスト領域を含む検索表示画面を前記表示部に表示させ、前記見出語リスト領域において、前記第1見出語と前記第2見出語とを識別可能に表示させ、
前記記憶部は、
辞書に収録された前記見出語と、前記見出語の説明を示す説明情報とが対応づけられた辞書テーブルと、
不規則変化形と、前記不規則変化形に対応する原形とが対応づけられた変化形テーブルと、
前記検索文字列の入力パターンと当該入力パターンに対応する置換パターンとが対応づけられた入力置換テーブルと、を記憶し、
前記制御部は、
前記検索文字列と少なくとも一部が一致する前記見出語が前記辞書テーブルに存在する場合、前記検索文字列を第1見出語として抽出し、
前記検索文字列と一致する前記不規則変化形が前記変化形テーブルに存在する場合には、前記第1見出語を抽出するか否かに関わらず、前記検索文字列と一致する前記不規則変化形と対応付けられた前記原形の文字列を前記第2見出語の候補とし、
前記検索文字列と一致する前記不規則変化形が前記変化形テーブルに存在しない場合であって、前記入力置換テーブルに前記検索文字列の文字列の並びに対応した前記入力パターンが存在する場合には、前記第1見出語を抽出するか否かに関わらず、当該入力パターンと対応づけられた前記置換パターンに従って、前記検索文字列を置換し、置換した文字列を前記第2見出語の候補とする、表示装置。
a storage unit for storing dictionary content including a plurality of entries and a plurality of explanatory information corresponding to the plurality of entries;
an operation receiving unit that receives a user operation for specifying a search string;
A display unit;
a control unit for extracting an entry corresponding to the search character string from the dictionary content,
the entry corresponding to the search character string includes a first entry including the search character string among the plurality of entry words, and a second entry including an altered character string obtained by altering at least a part of the search character string;
displaying, on the display unit, a search display screen including an entry list area displaying an entry list including the first entry and the second entry, and displaying the first entry and the second entry in a distinguishable manner in the entry list area;
The storage unit is
a dictionary table in which the headwords recorded in the dictionary are associated with explanatory information indicating explanations of the headwords;
a conjugation table in which irregular conjugations are associated with original forms corresponding to the irregular conjugations ;
storing an input substitution table in which an input pattern of the search string and a substitution pattern corresponding to the input pattern are associated with each other;
The control unit is
If the entry word that at least partially matches the search character string is present in the dictionary table, the search character string is extracted as a first entry word;
If the irregular inflection matching the search character string is present in the inflection table, the original character string associated with the irregular inflection matching the search character string is set as a candidate for the second entry , regardless of whether the first entry is extracted or not.
a display device which, when the irregular conjugation matching the search string does not exist in the conjugation table, and when the input pattern corresponding to the character string arrangement of the search string exists in the input substitution table, replaces the search string according to the substitution pattern associated with the input pattern, regardless of whether the first entry is extracted, and sets the replaced character string as a candidate for the second entry .
前記制御部は、前記第2見出語を識別するための情報を前記見出語リスト領域に表示し、前記第2見出語を識別するための情報は、前記辞書コンテンツの見出語から前記変化形文字列が抽出された結果であることを示す、請求項1に記載の表示装置。 The display device according to claim 1, wherein the control unit displays information for identifying the second entry in the entry list area, and the information for identifying the second entry indicates that the inflected character string is a result of extraction of the inflected character string from the entry in the dictionary content. 前記制御部は、前記第1見出語を識別するための情報を前記見出語リスト領域に表示し、前記第1見出語を識別するための情報は、前記辞書コンテンツの見出語から前記検索文字列が抽出された結果であることを示す、請求項1又は2に記載の表示装置。 The display device according to claim 1 or 2, wherein the control unit displays information for identifying the first entry in the entry list area, and the information for identifying the first entry indicates that the search string is a result of extraction from an entry in the dictionary content. 前記制御部は、前記見出語リスト領域において、前記第1見出語を前記第2見出語よりも上位に表示させる、請求項1から3のいずれか一項に記載の表示装置。 The display device according to any one of claims 1 to 3, wherein the control unit causes the first heading to be displayed higher than the second heading in the heading list area. 前記制御部は、前記見出語リスト領域において、前記第2見出語を前記第1見出語よりも上位に表示させる、請求項1から3のいずれか一項に記載の表示装置。 The display device according to any one of claims 1 to 3, wherein the control unit causes the second heading to be displayed higher than the first heading in the heading list area. 前記記憶部は、互いに異なる複数の前記辞書コンテンツを記憶し、
前記制御部は、前記複数の辞書コンテンツのそれぞれから前記検索文字列に対応する前記第1見出語と前記第2見出語とを抽出し、前記検索表示画面の前記見出語リスト領域において、前記辞書コンテンツごとに前記見出語リストを表示する、請求項1から5のいずれか一項に記載の表示装置。
the storage unit stores a plurality of the dictionary contents that are different from each other;
6. The display device according to claim 1, wherein the control unit extracts the first headword and the second headword corresponding to the search string from each of the plurality of dictionary contents, and displays the headword list for each of the dictionary contents in the headword list area of the search display screen.
前記操作受付部は、文書データを表示させる指示操作と、前記文書データにおける文字列を選択する所定操作とを受け付け、
前記制御部は、前記指示操作に基づいて、前記文書データを含む文書画面を前記表示部に表示させ、前記所定操作によって選択された文字列を前記検索文字列とする、請求項1から6のいずれか一項に記載の表示装置。
the operation receiving unit receives a command to display document data and a predetermined operation to select a character string in the document data;
7. The display device according to claim 1, wherein the control unit causes a document screen including the document data to be displayed on the display unit based on the instruction operation, and sets a character string selected by the predetermined operation as the search character string.
前記制御部は、前記文書画面と前記検索表示画面とを並べて前記表示部に表示させる、請求項7に記載の表示装置。 The display device according to claim 7, wherein the control unit causes the document screen and the search display screen to be displayed side by side on the display unit. 前記制御部は、抽出した前記第1見出語の数が所定数以上の場合、前記第2見出語を除いた前記見出語リストを前記見出語リスト領域に表示させる、請求項1から8のいずれか一項に記載の表示装置。 The display device according to any one of claims 1 to 8, wherein the control unit, when the number of the extracted first entries is equal to or greater than a predetermined number, causes the entry list excluding the second entries to be displayed in the entry list area. 前記記憶部は、設定情報を記憶し、
前記設定情報は、前記第2見出語を抽出するか否かを示す第1設定情報と、前記見出語リストにおける前記第1見出語及び前記第2見出語の表示順序とを示す第2設定情報の少なくとも一方の設定情報を含み、
前記制御部は、前記少なくとも一方の設定情報の変更を受け付ける設定画面を前記表示部に表示させ、
前記操作受付部は、前記設定画面に表示された前記少なくとも一方の設定情報の変更操作を受け付け、
前記制御部は、前記記憶部に記憶された前記設定情報を前記変更操作に基づいて更新し、前記設定情報に従って前記見出語リストを前記見出語リスト領域に表示させる、請求項1から9のいずれか一項に記載の表示装置。
The storage unit stores setting information,
the setting information includes at least one of first setting information indicating whether or not the second entry is to be extracted and second setting information indicating a display order of the first entry and the second entry in the entry list,
The control unit causes the display unit to display a setting screen that accepts a change to the at least one of the setting information,
the operation reception unit receives a change operation for the at least one of the setting information displayed on the setting screen,
10. The display device according to claim 1, wherein the control unit updates the setting information stored in the storage unit based on the change operation, and causes the headword list to be displayed in the headword list area in accordance with the setting information.
前記制御部は、前記検索表示画面において、前記見出語リスト領域における一の前記第1見出語に対応する前記説明情報を表示する説明情報領域を前記見出語リスト領域に並べて配置する、請求項1から10のいずれか一項に記載の表示装置。 The display device according to any one of claims 1 to 10, wherein the control unit arranges, on the search display screen, explanatory information areas that display the explanatory information corresponding to one of the first entries in the entry list area, side by side with the entry list area. 表示装置のコンピュータに処理を実行させるプログラムであって、
前記処理は、
不規則変化形と、前記不規則変化形に対応する原形とが対応づけられた変化形テーブルを記憶する記憶ステップと、
複数の見出語と前記複数の見出語に対応する複数の説明情報とを含む辞書コンテンツから、検索文字列に対応する見出語を抽出する抽出ステップと、
前記抽出ステップで抽出された見出語を前記表示装置に表示させる表示制御ステップと
を含み、
前記抽出された見出語は、前記複数の見出語のうちの前記検索文字列を含む第1見出語と、前記検索文字列の少なくとも一部を変化させた変化形文字列を含む第2見出語とを含み、
前記記憶ステップではさらに、前記コンピュータに、
辞書に収録された前記見出語と、前記見出語の説明を示す説明情報とが対応づけられた辞書テーブルと、
前記検索文字列の入力パターンと当該入力パターンに対応する置換パターンとが対応づけられた入力置換テーブルと、を記憶させ、
前記抽出ステップでは、前記コンピュータに、
前記検索文字列と少なくとも一部が一致する前記見出語が前記辞書テーブルに存在する場合、前記検索文字列を第1見出語として抽出させ、
記検索文字列と一致する前記不規則変化形が前記変化形テーブルに存在する場合には、前記第1見出語を抽出するか否かに関わらず、前記検索文字列と一致する前記不規則変化形と対応付けられた前記原形の文字列を前記第2見出語の候補とさせ
前記検索文字列と一致する前記不規則変化形が前記変化形テーブルに存在しない場合であって、前記入力置換テーブルに前記検索文字列の文字列の並びに対応した前記入力パターンが存在する場合には、前記第1見出語を抽出するか否かに関わらず、当該入力パターンと対応づけられた前記置換パターンに従って、前記検索文字列を置換し、置換した文字列を前記第2見出語の候補とさせ、
前記表示制御ステップは、前記コンピュータに、前記第1見出語と前記第2見出語とを含む見出語リストを表示する見出語リスト領域を含む検索表示画面を前記表示装置に表示させ、前記見出語リスト領域において、前記第1見出語と前記第2見出語とを識別可能に表示させる、プログラム。
A program for causing a computer of a display device to execute processing,
The process comprises:
a storage step of storing an inflection table in which irregular inflection forms and original forms corresponding to the irregular inflection forms are associated with each other;
an extraction step of extracting an entry corresponding to the search string from a dictionary content including a plurality of entry words and a plurality of explanatory information corresponding to the plurality of entry words;
a display control step of displaying the entry words extracted in the extraction step on the display device,
the extracted entry words include a first entry word including the search character string among the plurality of entry words, and a second entry word including an inflected character string obtained by inflecting at least a part of the search character string,
The storing step further includes:
a dictionary table in which the headwords recorded in the dictionary are associated with explanatory information indicating explanations of the headwords;
an input substitution table in which an input pattern of the search string and a substitution pattern corresponding to the input pattern are associated with each other;
In the extracting step, the computer
If the entry word that at least partially matches the search character string is present in the dictionary table, the search character string is extracted as a first entry word;
If the irregular inflection matching the search character string is present in the inflection table, the original character string associated with the irregular inflection matching the search character string is set as a candidate for the second entry, regardless of whether the first entry is extracted or not;
if the irregular inflection table does not contain a matching irregular inflection with the search string, and the input pattern corresponding to the sequence of characters in the search string is present in the input substitution table, the search string is replaced according to the substitution pattern associated with the input pattern, regardless of whether the first entry is extracted or not, and the replaced character string is made a candidate for the second entry;
In the display control step, the computer causes the display device to display a search display screen including an entry list area that displays an entry list including the first entry and the second entry, and causes the first entry and the second entry to be displayed in an identifiable manner in the entry list area.
JP2020023705A 2020-02-14 2020-02-14 Display device and program Active JP7466326B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020023705A JP7466326B2 (en) 2020-02-14 2020-02-14 Display device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020023705A JP7466326B2 (en) 2020-02-14 2020-02-14 Display device and program

Publications (2)

Publication Number Publication Date
JP2021128618A JP2021128618A (en) 2021-09-02
JP7466326B2 true JP7466326B2 (en) 2024-04-12

Family

ID=77488773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020023705A Active JP7466326B2 (en) 2020-02-14 2020-02-14 Display device and program

Country Status (1)

Country Link
JP (1) JP7466326B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000331023A (en) 1999-05-21 2000-11-30 Casio Comput Co Ltd Information retrieval device and storage medium with information retrieval processing program stored
JP2002304411A (en) 2001-04-06 2002-10-18 Nec Fielding Ltd Information search/distribution system and program
JP2008305149A (en) 2007-06-07 2008-12-18 Casio Comput Co Ltd Information display device and information display program
JP2010205093A (en) 2009-03-05 2010-09-16 Casio Computer Co Ltd Electronic dictionary device
JP2014099154A (en) 2012-10-15 2014-05-29 Seiko Instruments Inc Electronic dictionary

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000331023A (en) 1999-05-21 2000-11-30 Casio Comput Co Ltd Information retrieval device and storage medium with information retrieval processing program stored
JP2002304411A (en) 2001-04-06 2002-10-18 Nec Fielding Ltd Information search/distribution system and program
JP2008305149A (en) 2007-06-07 2008-12-18 Casio Comput Co Ltd Information display device and information display program
JP2010205093A (en) 2009-03-05 2010-09-16 Casio Computer Co Ltd Electronic dictionary device
JP2014099154A (en) 2012-10-15 2014-05-29 Seiko Instruments Inc Electronic dictionary

Also Published As

Publication number Publication date
JP2021128618A (en) 2021-09-02

Similar Documents

Publication Publication Date Title
JP5703711B2 (en) Electronic dictionary device and program
JP4277903B2 (en) Electronic device and program with dictionary function
US5890183A (en) Method, apparatus, electronic dictionary and recording medium for converting converted output into character code set accetpable for re-retrieval as original input
JP5810814B2 (en) Electronic device having dictionary function, compound word search method, and program
JP2022074852A (en) Dictionary editing device, dictionary editing method, and dictionary editing program
JP7466326B2 (en) Display device and program
JP5609697B2 (en) Dictionary information display device and program
JP2009175941A (en) Electronic dictionary device
JP4341514B2 (en) Dictionary information display control device and dictionary information display control program
JP4535186B2 (en) Electronic device and program with dictionary function
JP5487898B2 (en) Electronic device and program with dictionary function
JP2019215936A (en) Automatic translation device and automatic translation program
JP2008059169A (en) Chinese example sentence retrieval apparatus and program for process of retrieving chinese example sentence
JP2007048187A (en) Headword display control device and program therefor
US20240005101A1 (en) Information processing apparatus, information processing method, and non-transitory computer readable medium
JP7223450B2 (en) Automatic translation device and automatic translation program
JP2011034261A (en) Electronic equipment and program
JP3147947B2 (en) Machine translation equipment
JP2008140074A (en) Example sentence retrieving device and example sentence retrieval processing program
JP2005157412A (en) Machine translation device, program and recording medium
JPH10198664A (en) Japanese language input system and medium for recorded with japanese language input program
JP2002245470A (en) Language specifying device, translating device, and language specifying method
JP5278377B2 (en) Electronic device and program
JP2020160112A (en) Electronic apparatus, text display method, and program
JP2009211691A (en) Translation support system, and method and program for the same

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200220

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230726

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231128

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240402

R150 Certificate of patent or registration of utility model

Ref document number: 7466326

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150