JP2005018169A - Selection device for retrieval character string, electronic dictionary therewith, selection method for retrieval character string, selection program for retrieval character string, and recording medium recording it - Google Patents

Selection device for retrieval character string, electronic dictionary therewith, selection method for retrieval character string, selection program for retrieval character string, and recording medium recording it Download PDF

Info

Publication number
JP2005018169A
JP2005018169A JP2003178661A JP2003178661A JP2005018169A JP 2005018169 A JP2005018169 A JP 2005018169A JP 2003178661 A JP2003178661 A JP 2003178661A JP 2003178661 A JP2003178661 A JP 2003178661A JP 2005018169 A JP2005018169 A JP 2005018169A
Authority
JP
Japan
Prior art keywords
character string
search
character
dictionary
selection device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003178661A
Other languages
Japanese (ja)
Other versions
JP2005018169A5 (en
JP4467915B2 (en
Inventor
Yoshiro Kondo
義朗 近藤
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 JP2003178661A priority Critical patent/JP4467915B2/en
Publication of JP2005018169A publication Critical patent/JP2005018169A/en
Publication of JP2005018169A5 publication Critical patent/JP2005018169A5/ja
Application granted granted Critical
Publication of JP4467915B2 publication Critical patent/JP4467915B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a selection device for a retrieval character string, allowing the selection of the retrieval character string by only moving a cursor and designating one character at the head of the character string. <P>SOLUTION: A control part 11 cuts a character string of the number N of characters, with a character pointed by the cursor as the head character, out of text data displayed on a display 12, and stores it into a RAM 16. A character string decision part 4 performs retrieval whether or not an entry comprising the same character string as the character string cut out of the text data stored in the RAM 16 is present in an index stored in a ROM 15, and decides whether or not the entry coinciding with the character string cut out of the text data is present inside dictionary data 32. When the character string decision part 4 decides that the coinciding entry is present, a retrieval character string selection part 5 selects the character string as the retrieval character. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、文章データ中から選択した文字列に基づいて、辞書検索を行う前の検索文字列の選択に関し、ユーザが簡単に検索文字列の選択可能な検索文字列の選択装置およびこれを備えた電子辞書、検索文字列の選択方法、検索文字列の選択プログラムおよびこれを記録した記録媒体に関するものである。
【0002】
【従来の技術】
単語、用語の意味等を簡単な入力だけで調べることができる電子辞書では、ユーザが調べたい文字列を入力し、その文字列を検索すると、電子辞書に内蔵されている辞書データの中から、該当する1以上の見出し語が表示装置の画面上に表示される。そして、ユーザがその見出し語の中から意味を調べたいものを選択することによって、その見出し語に対応する説明文等を表示装置の画面上に表示することができる。
【0003】
このような電子辞書において、より簡易に用語の意味等の検索を行う方法としては、画面に表示された文章の中から検索したい文字列を指定して検索を行う、電子辞書特有のジャンプ機能を用いた検索方法がある。
【0004】
このジャンプ機能は、検索を行う文字列を直接入力するための画面に戻ることなく、直接画面に表示されている文章の中から、カーソル等のポインティング手段を利用して、意味を調べたい文字列を選択し、検索を行う機能である。
【0005】
このジャンプ機能を用いた方法としては、例えば、手動でカーソルを動かして文章中から検索を行う文字列の範囲を指定する方法や、画面上に表示された文章中で選択された一文字から始まる文字列を1文字の文字列、2文字の文字列、…、n文字の文字列と順番に抽出し、辞書内に見出し語として存在する文字列を全て表示した上で、その中からユーザが検索を行う文字列を選択する方法等がある(特許文献1,2参照)。
【0006】
【特許文献1】
特開平11−184854号公報(公開日1999年7月9日)
【0007】
【特許文献2】
特開平05−197717号公報(公開日1993年8月6日)
【0008】
【発明が解決しようとする課題】
しかしながら、上記公報に開示された方法は、使用性の観点から以下に示すような問題点を有している。
【0009】
すなわち、上述した手動で検索する文字列の範囲を指定して検索を行う方法には、以下に示すような問題がある。
【0010】
例えば、『…摩擦電気や放電・電流など、…』という文章において、「摩擦電気」という文字列を検索する場合には、まず、先頭文字位置を決めるためにカーソルを「摩」に移動させる。そして、カーソルを「気」まで移動させて、最後尾の文字位置を決める必要があるため、文字列の範囲を指定する操作が非常に面倒である。
【0011】
さらに、せっかく文字列を指定しても、その文字列が必ずしも格納されている辞書データの見出しとして含まれているとは限らないため、検索できない場合も生じる。そして、ユーザが、検索を実行する前に、その文字列を検索することができるか否か、つまり、辞書データの中に見出し語として存在するか否かについて判断することは不可能である。
【0012】
また、上記公報に開示された方法では、ジャンプしたい文字列の範囲を指定する必要があることから、特に長い文字列を指定する場合においては、操作が非常に面倒である。
【0013】
一方、指定した一文字から始まる文字列について、辞書データ内に見出し語として存在するすべての文字列をリスト表示する方法では、以下に示すような問題がある。
【0014】
すなわち、まず、検索を行う文字列の先頭文字となる「摩」にカーソルを移動させる。ここで、検索を実行すると「摩」から始まる文字列で見出し語として存在する文字列が候補として、例えば、「摩擦電気」、「摩擦」、「摩」等の多数の文字列が選択候補としてリスト表示される。
【0015】
ここで、このようなジャンプ機能は、ユーザが文章中の読み仮名が分からない場合や、意味を調べたい長い複合語がある場合等に、その読み仮名や意味を調べるために利用されることが多い。
【0016】
このため、こういった事情を考慮すれば、上記文章においてリスト表示された「摩」や「摩擦」等の単語もしくは熟語を検索するユーザは少ないと考えられる。よって、このようなリスト表示された中から検索を行う文字列を選択する方法では、選択される可能性が低い文字列まですべて表示された中から、ユーザが検索する文字列を選択する必要があり、効率を悪くしている。
【0017】
本発明は、上記の問題点に鑑みてなされたものであり、その目的は、カーソルを移動させて文字列の先頭文字を指定するだけで、検索する文字列の指定を可能とし、ユーザの操作性を大幅に向上させることができる検索文字列の選択装置およびこれを備えた電子辞書、検索文字列の選択方法、検索文字列の選択プログラムおよびこれを記録した記録媒体を提供することにある。
【0018】
【課題を解決するための手段】
本発明の検索文字列の選択装置は、上記の課題を解決するために、文章データの中から検索を行う文字列を選択する検索文字列の選択装置において、上記文章データ中から選択された任意の文字が入力される先頭文字入力手段と、上記先頭文字入力手段に入力された任意の文字を先頭文字とする上記文章データに含まれる文字列と、外部の記憶部に検索情報の見出し語として格納された文字列と一致するか否かを判定する文字列判定手段と、上記文字列判定手段が一致すると判定した場合に、一致した文字列を検索文字列として選択する検索文字列選択手段と、を備えていることを特徴としている。
【0019】
上記の構成によれば、用語検索等を行う場合において、ユーザは、文章データ中の検索しようとする文字列の先頭文字にカーソルを合わせるだけで、辞書データとしてROM等の記憶手段に格納されている情報の見出し語として存在する文字列と一致する文字列を自動的に選択することができる。このため、ユーザは、検索可能な文字列を予め選択して検索することが可能になるとともに、検索する文字列の範囲を指定する手間を省いて、用語検索を行う際の操作性を向上させることができる。
【0020】
すなわち、本発明の検索文字列の選択装置において、例えば、用語の意味等の検索を行う場合には、ユーザが、選択文字列入力手段を介して、カーソル等を移動させて用語検索を行う文字列の先頭文字を指定する。
【0021】
すると、文字列判定手段が、ユーザが画面上でカーソルにより指定した文字から始まる文字列のうち、ROM等の記憶部に予め格納されている検索情報としての辞書データに見出し語として含まれる文字列と一致するものがあるか否かを判定する。
【0022】
ここで、文字列判定手段が、ユーザが指定した先頭文字から始まる文章データ中の文字列と一致する文字列が辞書データ内に見出し語として存在すると判定した場合には、検索文字列選択部が、その一致した文字列を検索文字列として選択する。
【0023】
これにより、ユーザは、検索したい文字列の先頭文字にカーソルを合わせるだけで、自動的に検索可能な文字列を検索文字列として選択することができるため、検索文字列の範囲を手動で選択する従来の方法と比較して、ユーザの操作性を向上させることができる。
【0024】
また、本発明の検索文字列の選択装置では、予め辞書データとして格納されている検索情報に対応する見出し語と一致する検索可能な文字列のみを検索文字列として選択するため、検索文字列を指定して検索を行ったが、該当する情報が格納されておらず、検索できないといった不具合の発生を防止できる。よって、無駄な検索実行を防止し、効率よく検索処理を行うことができる。
【0025】
さらに、カーソルの移動させるだけで瞬時に検索文字列を選択し、選択された文字列を反転表示するなどの方法を用いて画面上に表示するため、選択された検索文字列を視覚的に容易に確認することが可能になる。
【0026】
上記先頭文字入力手段は、上記文書データから選択された任意の一文字が入力されることがより好ましい。
【0027】
これにより、ユーザは、検索文字列の範囲を指定する必要がなく、単にカーソルを移動させるだけで容易に検索文字列を選択できる。
【0028】
上記検索を行う文字列の最大文字数を設定する最大文字数入力手段を備えていることがより好ましい。
【0029】
これにより、検索を行う前に、予め検索を行う文字列の最大文字数を設定することで、ユーザが指定した先頭文字から始まるこの設定された最大文字数の文字列を切り出して、辞書データ内に見出し語として格納されている文字列と一致する文字列がないか判定を行い、検索文字列を選択することができる。
【0030】
上記文字列判定手段が、上記先頭文字から始まる最大文字数の文字列と一致する上記見出し語がないと判定した場合には、上記文字列判定手段は、上記選択された検索文字列から一文字減らした文字列について、上記と同様の判定を行うことがより好ましい。
【0031】
これにより、予め入力した最大文字数の文字列から判定を開始し、一致する見出し語が見つかるまで1文字ずつ文字数を減らして同様の判定を行うことができる。
【0032】
よって、予め設定した最大文字数以下の文字列の中で最長の文字列から優先的に選択されるため、文字数が多い複合語等の文字列を検索文字として選択する場合でも、手動で長い文字列の範囲を指定する必要が無く、特に有効である。
【0033】
上記検索文字列が選択された状態において、該文字列の文字数を減らす指示が入力された場合には、上記文字列判定手段は、上記選択された文字列の文字数を一文字減らした文字列と上記見出し語とを比較することがより好ましい。
【0034】
これにより、現在、選択されている文字列よりも短い文字列を検索文字列として選択したい場合には、カーソルを移動させるだけで容易に選択範囲を縮小し、新たな文字列を検索文字列として選択することができる。
【0035】
上記外部の記憶部に格納された検索情報のグループ毎に付された属性を判定する検索情報グループ別属性判定手段を備えていることがより好ましい。
【0036】
これにより、ROM等の外部の記憶部に、例えば、複数の辞書に基づく辞書データが格納されている場合でも、検索情報グループ別属性判定手段が判定した結果に基づいて、検索文字列として選択された文字列の表示を変化させることができる。
【0037】
よって、ユーザは、検索文字列として選択された文字列が、記憶部に格納されているどの辞書に基づく辞書データであるかを容易に把握できる。
【0038】
また、検索文字列を決定して見出し語に対応する説明文を表示する場合には、現在、選択されている検索文字列に付された属性に応じて、辞書が自動的に決定される。よって、ユーザは、検索先の辞書を選択する画面を介することなく、直接検索を実行できるため、無駄な操作を省くことができる。
【0039】
なお、上記属性は、検索先となる辞書毎に、例えば、検索文字列を特定の色・書体で表示する等の方法で付されるものである。
【0040】
本発明の電子辞書は、上記の課題を解決するために、上記検索文字列の選択装置と、上記検索文字列の選択装置に対するキー入力を行うキー入力部と、上記辞書データを格納した記憶部とを備えていることを特徴としている。
【0041】
これにより、ユーザが検索を行う文字列の先頭文字にカーソルを合わせるだけで容易に検索文字列の選択が可能な上記検索文字列の選択装置を備えた電子辞書を実現することができる。
【0042】
本発明の検索文字列の選択方法は、上記の課題を解決するために、文章データの中から検索を行う文字列を選択する検索文字列の選択方法において、先頭文字入力手段が、上記文章データ中から選択された任意の文字を入力される第1のステップと、文字列判定手段が、上記先頭文字入力手段に入力された任意の文字を先頭文字とする文章データ中の文字列と、外部の記憶部に検索情報の見出し語として格納された文字列と一致するか否かを判定する第2のステップと、検索文字列選択手段が、上記文字列判定手段が一致すると判定した場合に、一致した文字列を検索文字列として選択する第3のステップと、を含んでいることを特徴としている。
【0043】
上記の方法によれば、例えば、用語検索等を行う場合において、ユーザは、文章データ中の検索しようとする文字列の先頭文字にカーソルを合わせるだけで、辞書データとしてROM等の記憶手段に格納されている情報の見出し語として存在する文字列と一致する文字列を自動的に選択することができる。このため、ユーザは、検索可能な文字列を予め選択して検索することが可能になるとともに、検索する文字列の範囲を指定する手間を省いて、用語検索を行う際の操作性を向上させることができる。
【0044】
すなわち、本発明の検索文字列の選択方法によれば、例えば、用語の意味等の検索を行う場合には、ユーザが、選択文字列入力手段を介して、カーソル等を移動させて用語検索を行う文字列の先頭文字を指定する。
【0045】
すると、文字列判定手段が、ユーザが画面上でカーソルにより指定した文字から始まる文字列のうち、ROM等の記憶部に予め格納されている検索情報としての辞書データに見出し語として含まれる文字列と一致するものがあるか否かを判定する。
【0046】
ここで、文字列判定手段が、ユーザが指定した先頭文字から始まる文章データ中の文字列と一致する文字列が辞書データ内に存在すると判定した場合には、検索文字列選択部が、その一致した文字列を検索文字列として選択する。
【0047】
これにより、ユーザは、検索したい文字列の先頭文字にカーソルを合わせるだけで、自動的に検索可能な文字列を検索文字列として選択することができるため、検索文字列の範囲を手動で選択する従来の方法と比較して、ユーザの操作性を向上させることができる。
【0048】
また、本発明の検索文字列の選択方法では、予め辞書データとして格納されている検索情報に対応する見出し語と一致する検索可能な文字列のみを検索文字列として選択するため、検索文字列を指定して検索を行ったが、該当する情報が格納されておらず、検索できないといった不具合の発生を防止できる。よって、無駄な検索実行を防止し、効率よく検索処理を行うことができる。
【0049】
さらに、カーソルの移動させるだけで瞬時に検索文字列を選択し、選択された文字列を反転表示するなどの方法を用いて画面上に表示するため、選択された検索文字列を視覚的に容易に確認することが可能になる。
【0050】
本発明の検索文字列の選択プログラムは、上記の課題を解決するために、上記検索文字列の選択装置をコンピュータに実行させることを特徴としている。
【0051】
上記の構成によれば、上記プログラムによって、上記検索文字列の選択装置を実現することができる。
【0052】
本発明の記録媒体は、上記の課題を解決するために、上記検索文字列の選択装置をコンピュータに実行させる検索文字列の選択プログラムを記録したことを特徴としている。
【0053】
上記の構成によれば、上記記録媒体から読み出された検索文字列の選択プログラムによって、上記検索文字列の選択装置を実現することができる。
【0054】
【発明の実施の形態】
本発明の検索文字列の選択方法、検索文字列の選択装置およびこれを備えた電子辞書、検索文字列の選択システム、検索文字列の選択プログラムおよびこれを記録した記録媒体に関する一実施形態について、図1〜図11に基づいて説明すれば、以下のとおりである。
【0055】
なお、以下で説明する電子辞書10は、単に、本発明の実施の一形態を表すものであって、本発明の構成がここで説明する構成に限定されるものではない。
【0056】
本実施形態の電子辞書10は、図1に示すように、制御部11、表示器12、表示コントローラ13、キー入力部14、ROM15、RAM16および電池17を備えている。
【0057】
制御部11は、入力、表示、データ処理、記憶等、電子辞書10の全般的な制御を行うものである。なお、制御部11による動作については、後段にて詳述する。
【0058】
表示器12は、制御部11から送信される表示データに基づいて、画面上に表示する。例えば、キー入力部14を介して入力された文章データに基づいて表示を行う。
【0059】
表示コントローラ13は、表示器12に表示させる表示データを制御部11から受信して、表示器12を制御する。
【0060】
キー入力部14は、ONキー25、OFFキー26、ファンクションキー27、英数字キー28および先頭文字指定カーソル呼び出しキー29等を備えている。
【0061】
ONキー25、OFFキー26は、電子辞書10の電源をON/OFFする際に用いられる。なお、ONキー25およびOFFキー26は、キーの長押し等、ソフト的な処理によって電源のON/OFFが可能な1つのON/OFFキーとして設けられていてもよい。
【0062】
ファンクションキー27は、見出し語を検索する辞書コンテンツの切り替えや、各種設定を行うメニューキーを含んでいる。
【0063】
英数字キー28は、AからZまでのアルファベットと数字、および一部の記号の入力を行う。
【0064】
先頭文字指定カーソル呼び出しキー29は、ユーザが表示器12の画面上に表示された文章の中から検索を行う文字列を指定するためのカーソルを、画面上に出現させる。
【0065】
ROM15は、制御部11を動作させるためのプログラム31、および用語の説明、単語の意味等からなる検索情報と、その検索情報に対応する文字列(以下、見出し語と示す)とを含む辞書データ32を格納している。
【0066】
なお、ROM15には、辞書データ32として、見出し語および用語説明等の検索情報(文字列に関する情報)が格納されているとともに、図4に示すような、各検索情報の見出し語を集めたインデックスが別に格納されている。
【0067】
また、「検索情報」とは、例えば、格納されている辞書データが用語辞典であれば用語の意味に関する情報であり、格納されている辞書データが英和辞典であれば、英単語の意味に関する情報である。
【0068】
一方、インデックスは、通常の辞書データ32とは別に、ジャンプする際の文字列選択時にのみ使用する為に、図4に示すように、上記辞書データ32を見出し語の先頭文字ごとに、掲載辞書、見出し語、そしてその見出し語の意味情報が格納されている場所を示すアドレスを再編集したリストとして、ROM15に格納されている。
【0069】
RAM16は、ユーザが検索した見出し語等のデータ、ユーザによって入力された最大抽出文字数、文章中で指定された先頭文字から始まる文字列等を記憶するメモリとして、あるいは制御部11のワークメモリとして用いられる。
【0070】
電池17は、電子辞書10に対して電力を供給する。
【0071】
ここで、本実施形態の電子辞書10では、制御部11が、ROM15、RAM16等のメモリを用いて、各種のアプリケーションプログラムを実行し、表示器12等のハードウェアを制御することにより、各種の機能を実現している。
【0072】
すなわち、制御部11には、図1に示すように、先頭文字入力部(先頭文字入力手段)2、最大文字数設定部(最大文字数設定手段)3、文字列判定部(文字列判定手段)4、検索文字列選択部(検索文字列選択手段)5および辞書別属性判定部(検索情報グループ別属性判定手段)6が機能ブロックとして形成される。
【0073】
先頭文字入力部2は、ユーザが、キー入力部14を介して指定した、検索を行う文字列の先頭文字が入力される。
【0074】
最大文字数設定部3は、ユーザが、キー入力部14を介して入力した検索を行う文字列を抽出する最大文字数を設定する。
【0075】
なお、ユーザによる最大文字数の設定は、図2に示すような入力画面において行われ、辞書データ32として検索情報を掲載している辞書毎に、文字数を設定し、図3に示すようなテーブルとしてRAM16に記憶される。
【0076】
文字列判定部4は、先頭文字入力部21に入力された先頭文字から始まる文字列と、ROM15に格納された辞書データ32内の見出し語とを比較して、一致するものがないか判定を行う。
【0077】
検索文字列選択部5は、文字列判定部22で一致すると判定された複数の文字列の中から、ユーザが予め設定した最大文字数以下の文字列を抽出し、その中でも最長の文字列を検索文字列として表示する。
【0078】
辞書別属性判定部6は、ROM15に格納された辞書データ32の中で、図10に示すように、広辞苑(登録商標)、英和辞典等の検索先の辞書別に付された属性を判定する。なお、この辞書別属性判定部6を用いた処理については、後段にて説明する。
【0079】
ここで、以上のような構成の電子辞書10による検索文字列の選択方法について、図5に示すフローチャートを用いて説明すれば、以下のとおりである。
【0080】
すなわち、本実施形態の電子辞書10において、表示器12の画面上に表示されている文章の中から検索したい文字列を選択する場合には、以下のような手順で処理が行われる。
【0081】
ユーザは、先ず、S1において、キー入力部14の先頭文字指定カーソル呼び出しキー29を押下する。すると、制御部11は、カーソルを表示器12の表示画面上に出現させる。
【0082】
次に、ユーザは、キー入力部14を用いて、そのカーソルを画面に表示された文章中の検索を行う文字列の先頭文字に合わせ、先頭文字入力部21に対して選択文字を入力する。すると、制御部11は、S2において、カーソルが現在の位置から移動したか否かについて判定を行う。
【0083】
ここで、カーソルが移動していない場合には、先頭文字が指定されていないため、制御部11が、カーソルの移動が検出されるまでS2を繰り返す。
【0084】
一方、カーソルがユーザによって移動されている場合には、制御部11は、S3において、ユーザが予め設定した検索文字列の最大文字数N、すなわち、抽出すべき文字列の文字数が1であるか否かについて判定を行う。
【0085】
S3において、制御部11が文字列の文字数Nが1であると判定した場合には、S4において、検索文字列選択部5が、表示コントローラ13を介して、表示器12の表示画面上でその一文字を検索文字列として選択して反転表示させ、処理を終了する。
【0086】
一方、制御部11が文字列の文字数Nが1ではないと判定した場合には、S5において、制御部11が、表示器12に表示された文章中からカーソルが位置している文字を先頭文字とする文字数Nの文字列を切り出して、RAM16に保存する。
【0087】
次に、S6において、文字列判定部4は、ROM15に格納されたインデックスの中に、RAM16に保存された文章中から切り出した文字列と同じ文字列からなる見出し語がないか検索を行い、S7において、インデックス内に、文章中から切り出した文字列と一致する見出し語が辞書データ32内に存在するか否かの判定を行う。
【0088】
S7において、文字列判定部4が、上記一致する見出し語が存在すると判定した場合には、S8において、検索文字列選択部5が、その文字列を検索文字として選択する。
【0089】
そして、制御部11が、表示コントローラ13を介して、表示器12の表示画面に表示された文章中において、選択された文字列を反転表示して、処理を終了する。
【0090】
一方、S7において、文字列判定部4が、インデックス内に一致する見出し語が存在しないと判定した場合には、制御部11は、S9において、予め設定した最大文字数Nを1減らしてS3へ戻り、同様の処理を繰り返す。
【0091】
つまり、予め設定された最大文字数が2以上である場合には、検索を行う文字列の文字数を1文字ずつ減らしながら、インデックス内に一致する文字列が見つかるまで、S3〜S7を繰り返し行う。
【0092】
例えば、図6(a)に示すような、「インターネット」を見出し語とする文章中において、ユーザが予め最大文字数Nを5に設定しており、「電」にカーソルを合わせて検索指示を出した場合には、自動的に、「電」を先頭文字とする5文字の「電子メール」が、検索文字列選択部23によって検索文字として選択され、表示コントローラ13を介して表示器12の表示画面上に反転表示される。
【0093】
よって、ユーザが検索しようとする文字列が「電子メール」であった場合には、このまま検索処理を実行すればよい。
【0094】
また、最大文字数が6以上に設定されており、ユーザが「電子メール」について検索を希望している場合であっても、ユーザが指定した「電」を先頭文字とする「電子メールなどが…」という文字列のうち、辞書データ32に格納されている文字列は、「電子メール」だけである可能性が高い。このため、最大文字数が6以上に設定されている場合でも、上記フローチャートのS9において、一文字ずつ文字数を減らしていき、辞書データ32に格納されている文字列、つまり、「電子メール」を見つけるまで、自動的に図5におけるS3〜S7が繰り返される。よって、結果的には、図6(a)に示すように、文字列「電子メール」が検索文字として同様に選択され、表示器12の表示画面上に反転表示されるため、このまま検索を開始できる。
【0095】
以上のように、本実施形態の電子辞書10では、ユーザは検索を行う文字列の先頭文字にカーソルを合わせるだけで、自動的に所望の文字列「電子メール」を検索文字として選択できるため、検索を実行する際の操作性を向上することができる。
【0096】
また、本実施形態の電子辞書10では、ユーザが先頭文字を指定した文字列のうち、辞書データ32としてROM15に含まれている文字列を一致する文字列のみを検索文字として選択している。このため、せっかく文字列を指定して検索を行った結果、その文字列が見出し語として辞書データ32に格納されておらず、検索できないといった問題が生じることはない。よって、検索不可による時間のロスをなくし、検索効率を向上させることができる。
【0097】
さらに、本実施形態の電子辞書10は、上述した処理に加えて、選択された文字列の文字数を変えることで、容易に所望の検索文字列を選択できる機能を有している。
【0098】
すなわち、上述した処理よって、任意の文字列「電子メール」が選択された場合において、左矢印キー等の選択の範囲を縮小するキーの押下により、それより短い文字列「電子」、「電」を容易に選択することができる機能を有している。
【0099】
すなわち、例えば、ユーザが「電子」について検索を行うことを希望している場合において、最大文字数Nを5以上で設定している場合には、上述のように、文字列「電子メール」が最初に検索文字列として表示器12の表示画面上に反転表示される。
【0100】
しかし、ユーザが検索したいのは「電子」であるため、このまま検索を行うことはできない。
【0101】
そこで、本実施形態の電子辞書10では、図6(a)に示すように、文字列「電子メール」が表示器12の表示画面上に反転表示されている場合においては、キー入力部14の文字列を伸縮する方向、つまり、この場合には左方向キーを押下するだけで、図6(b)および図6(c)に示すように、「電子」、「電」という順に検索文字列を変化することができる。
【0102】
このため、ユーザは、最初に自分が希望する文字列とは異なる文字列が検索文字列として反転表示された場合において、例えば、図6(a)に示すように、文字列「電子メール」が検索文字として表示画面上に反転表示された状態から、2回右方向キーを押すだけで、図6(c)に示すように、検索を希望する文字列「メール」を検索文字列として選択し、表示画面上に反転表示するとともに、検索を実行することができる。
【0103】
本実施形態の電子辞書10による、図6(a)〜図6(c)に示す処理について、図7に示すフローチャートを用いて説明すれば以下のとおりである。
【0104】
まず、制御部11は、S10において、ユーザによって、選択中の文字列「電子メール」の範囲を縮小する側に方向キーが押下されたか否かについてのチェックを行う。
【0105】
ここでは、選択範囲を縮小する側にキーが押下されるまで、繰り返しチェックが行われる。
【0106】
S10において、制御部11は、選択範囲を縮小する側にキーが押されたことを検出すると、S11において、表示器12の表示画面上に反転表示された文字列「電子メール」の文字数Lを数え、S12において、Lから1文字減らした値を再度Lとする。
【0107】
すなわち、文字列「電子メール」の文字数を1減らして、選択範囲を文字列「電子メー」とする。
【0108】
そして、制御部11は、S13において、文字数Lが0であるか否かのチェックを行う。
【0109】
ここで、Lが0の場合には、もともとの選択文字列が一文字であったことを意味するため、これ以上文字数を減らすことはできない。よって、制御部11は、S14において、カーソルを左へ移動させて処理を終了する。
【0110】
一方、Lが0でない場合には、制御部11は、S15において、カーソルの位置する文字から1文字減った文字数Lの文字列「電子メー」を切り出して、RAM16に保存する。
【0111】
次に、文字列判定部4は、S16において、ROM15に格納されているカーソルが位置する文字を先頭文字とする見出し語で構成されているインデックスの中から、上記RAM16に保存した文字列「電子メー」を検索する。そして、S17において、インデックス内に一致する文字列が存在するか否かを判定する。
【0112】
ここで、一致する文字列が存在する場合には、制御部11は、S18において、選択された検索文字列の範囲を縮小し、検索文字列選択部5が、これを新たな検索文字列として選択し、表示器12の表示画面上に反転表示して処理を終了する。
【0113】
一方、文字列判定部4が、一致する文字列がインデックス内に見出し語として存在しないと判定した場合には、制御部11は、S19において、Lを1減らし、S13へ戻って、同様の処理を繰り返す。
【0114】
上記の例では、文字列「電子メー」と一致する見出し語は、辞書データ32には存在しない。よって、制御部11は、S19において、さらに一文字減らして文字列「電子メ」で同様の処理を行うが、文字列「電子メ」でも一致する見出し語は、辞書データ32には存在しない。
【0115】
そこで、制御部11は、さらに、S19において一文字減らしてからS13へ戻り、同様の処理を繰り返し、文字列判定部4が、文字列「電子」と一致する見出し語がないか判定を行う。そして、辞書データ32には、文字列「電子」を見出し語とするデータが存在するため、検索文字列選択部5は、この文字列「電子」を新たな検索文字列として選択して、制御部11は、この選択された文字列を表示器12の表示画面上に反転表示することができる。
【0116】
なお、上述した処理は、制御部11がプログラムを読み込むことによって実行される。よって、実際には、ユーザが先頭文字を指定すると、選択された検索文字列が表示12の表示画面上に反転表示されるまで、ほとんど時間を要することなく、すぐに上記の処理によって選択された検索文字列を表示画面上に見ることができる。
【0117】
また、文字列「電子メール」から文字列「電子」へ検索文字列を変更する場合も同様に、ユーザは左方向キーを押下するだけで、すぐに新たな検索文字列として「電子」を反転表示することができる。
【0118】
よって、ユーザは、1回目で所望の検索文字列が選択されなかった場合でも、方向キーを1回あるいは数回押下するだけで、容易に次の検索文字列を選択することができ、結果として、検索効率を向上することができる。
【0119】
さらに、検索を行う文字列が「電子メール」ではなく、「メール」である場合についても、反対に、右方向キーを押下することで、最初にユーザが設定した先頭文字が変化する。
【0120】
これにより、新たな先頭文字について、図5に示す処理と同様の処理を施すことで、図8(a)に示す文字列「電子メール」から、図8(b)に示す文字列「子」、図8(c)に示す文字列「メール」と、順に選択される検索文字列を変化させることができる。
【0121】
ここでさらに、本実施形態の電子辞書10による、他の検索機能について、説明すれば以下のとおりである。
【0122】
本実施形態の電子辞書10は、ROM15に格納されている辞書データ32として、複数の異なる辞書に基づくデータを搭載している。このため、1つの文字列を選択して検索を実行した場合に、ROM15内に同じ見出し語を有する辞書が複数存在することも考えられる。
【0123】
そこで、本実施形態の電子辞書10では、辞書データとして格納されている辞書毎に予め属性を設定し、図1に示す制御部11内に、辞書別属性判定部6を備え、どの辞書に基づく情報であるかを判定し、ユーザに対して表示する機能を有している。
【0124】
さらに、辞書別属性判定部6は、選択されている文字列の検索を実行する際に、その時表示されている属性に応じて、検索先となる辞書が自動的に決定される機能を実現している。
【0125】
例えば、「電子メール」という文字列の検索先として広辞苑、百科事典および英和辞典がROM15に格納されている場合には、図9(a)に示すように広辞苑は黒、図9(b)に示すように百科事典は赤、図9(c)に示すように和英辞典は青で、表示器12の表示画面上にそれぞれ反転表示される。
【0126】
これにより、ユーザは、辞書選択画面を開いて検索を行う辞書を選択する必要が無くなり、さらに効率よく検索文字列の選択を行うことができる。
【0127】
なお、上記それぞれの辞書毎に設定された属性については、図10に示すように、辞書名と各辞書に割り当てられた色とを設定テーブルとして、RAM16に保存すればよい。
【0128】
また、本実施形態の電子辞書10では、各辞書に付される属性として色を用いているが、本発明はこれに限定されるものではない。
【0129】
次に、上記のように、辞書データ32の辞書毎に属性を持たせた場合の検索文字列の選択方法について、図11に示すフローチャートを用いて説明すれば以下のとおりである。
【0130】
なお、ここでは、電子辞書10内に辞書A、辞書Bおよび辞書Cの3冊の辞書が搭載されている例を挙げて説明するが、それ以上の冊数の辞書が搭載されている場合でも同様の処理を行うものとする。
【0131】
制御部11は、先ず、S20において、現在、検索文字として選択されている文字列を見出し語として有する辞書名をRAM16に保存する。
【0132】
次に、S21において、辞書別属性判定部6が、RAM16に保存された辞書名の中に、辞書Aが存在するか否かを判定する。
【0133】
ここで、辞書Aが存在する場合には、S22において、制御部11は、文字列を辞書Aに対応する属性で一定時間表示し、S23において、その間に説明文を表示するように指示する決定キー等が押下されたかをチェックする。
【0134】
そして、決定キーが押下された場合、S24において、その文字列に対応する辞書Aから、検索文字列に対応する検索情報として説明文を表示して、処理を終了する。
【0135】
一方、S21において、辞書別属性判定部6が辞書Aが存在しないと判定した場合や、ユーザが辞書Aでの検索を希望せずに、S23において決定キーが押下されなかった場合には、辞書B、辞書Cについて、S26〜S28およびS30〜S32において、S22〜S24と同様の処理を行う。
【0136】
辞書A〜Cの全ての辞書に対する検索をユーザが希望しない場合には、S21へ戻り、同様の処理を繰り返すか、検索文字列を変更して、再度S21からの処理を繰り返す。
【0137】
以上のように、本実施形態の電子辞書10によれば、ユーザは自分が検索情報を得たい辞書を指定して文字列の検索を行うことが可能になり、よりユーザの希望に近い情報を容易に検索して提供することができる。
【0138】
また、本発明の目的は、上述した機能を実現するソフトウェアである検索文字列の選択プログラムとしても達成可能である。
【0139】
また、本発明の目的は、上述した機能を実現するソフトウェアであるプログラムのプログラムコードをコンピュータで読み取り可能に記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPU,MPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても達成可能である。この場合、記録媒体から読み出されたプログラムコード自体が上述した機能を実現することになり、そのプログラムコードを記録した記録媒体は本発明を構成する。
【0140】
なお、上記記録媒体は、磁気テープやカセットテープ、フロッピー(登録商標)ディスク、ハードディスク等の磁気ディスクや、CD−ROM/MO/MD/DVD/CD−R等の光ディスク、ICカード(メモリカードを含む)、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ等を用いることができる。
【0141】
なお、本実施形態では、本発明を電子辞書に適用した例を挙げて説明したが、本発明の適用範囲はこれに限定されるものではない。例えば、PC等において、検索情報としての辞書データをハードディスク等に保存し、コンピュータが検索文字列の選択プログラムを実行することで、検索文字列の選択装置を実現することも可能である。
【0142】
また、本実施形態では、上記検索文字列として選択された文字列が表示器12の表示画面上で反転表示される例を挙げて説明したが、本発明はこれに限定されるものではない。例えば、選択された検索文字列に下線を付す、太字化する、文字の色を変える等の方法で、ユーザに対して選択された文字列を表示してもよい。
【0143】
また、本発明は、画面上に表示された文章の中から任意の文字を選択し、選択された文字から予め設定された文字数までの文字列と選択された文字を先頭文字とする見出し語からなるインデックスとを比較し、存在する最長の文字列の範囲を表示することを特徴とする電子辞書であってもよい。
【0144】
また、本発明は、上記範囲を表示された文字列より短い文字列の中から、上記選択された文字を先頭文字とする見出し語からなるインデックスとを比較し、存在する最長の文字列の範囲を表示することを特徴とする電子辞書であってもよい。
【0145】
また、本発明は、範囲が選択されている文字列の検索先として複数の辞書が存在する場合、その文字列が一定間隔毎に各辞書に対応した属性を用いて表示されることを特徴とする電子辞書であってもよい。
【0146】
また、本発明は、見出し語に対応する説明文を表示する場合、その時表示していた文字列の属性に応じて、辞書が自動的に決定されることを特徴とする電子辞書であってもよい。
【0147】
また、本発明は、画面上に表示された文章の中から任意の文字を選択し、選択された文字から予め設定された文字数までの文字列と選択された文字を先頭文字とする見出し語からなるインデックスとを比較し、存在する最長の文字列の範囲を表示することを特徴とする電子辞書をコンピュータで制御することを特徴とするプログラムであってもよい。
【0148】
また、本発明は、画面上に表示された文章の中から任意の文字を選択し、選択された文字から予め設定された文字数までの文字列と選択された文字を先頭文字とする見出し語からなるインデックスとを比較し、存在する最長の文字列の範囲を表示することを特徴とする電子辞書をコンピュータで制御するプログラムを記録した記録媒体であってもよい。
【0149】
また、本発明の検索文字列の選択方法は、文章データの中から検索を行う文字列を選択する、先頭文字入力手段、文字列判定手段、検索文字列選択手段を備えた検索文字列の選択装置による検索文字列の選択方法において、先頭文字入力手段が、上記文章データ中から選択された任意の文字を入力される第1のステップと、文字列判定手段が、上記先頭文字入力手段に入力された任意の文字を先頭文字とする文章データ中の文字列と、外部の記憶部に対応する情報が格納されている文字列とが一致するか否かを判定する第2のステップと、検索文字列選択手段が、上記文字列判定手段が一致すると判定した場合に、一致した文字列を検索文字列として選択する第3のステップと、を含んでいることを特徴とする検索文字列の選択方法であってもよい。
【0150】
【発明の効果】
本発明の検索文字列の選択装置は、以上のように、文章データ中から選択された任意の文字が入力される先頭文字入力手段と、上記先頭文字入力手段に入力された任意の文字を先頭文字とする上記文章データ中の文字列と、外部の記憶部に検索情報の見出し語として格納された文字列と一致するか否かを判定する文字列判定手段と、上記文字列判定手段が一致すると判定した場合に、一致した文字列を検索文字列として選択する検索文字列選択手段と、を備えている構成である。
【0151】
それゆえ、用語検索等を行う場合において、ユーザは、文章データ中の検索しようとする文字列の先頭文字にカーソルを合わせるだけで、辞書データとしてROM等の記憶手段に格納されている情報の見出し語として存在する文字列と一致する文字列を自動的に選択することができる。このため、ユーザは、検索可能な文字列を予め選択して検索することが可能になるとともに、検索する文字列の範囲を指定する手間を省いて、用語検索を行う際の操作性を向上させることができるという効果を奏する。
【0152】
また、本発明の検索文字列の選択装置では、予め辞書データとして格納されている検索情報に対応する見出し語と一致する検索可能な文字列のみを検索文字列として選択するため、検索文字列を指定して検索を行ったが、該当する情報が格納されておらず、検索できないといった不具合の発生を防止できる。よって、無駄な検索実行を防止し、効率よく検索処理を行うことができる。
【0153】
さらに、カーソルの移動させるだけで瞬時に検索文字列を選択し、選択された文字列を反転表示するなどの方法を用いて画面上に表示するため、選択された検索文字列を視覚的に容易に確認することが可能になる。
【0154】
上記先頭文字入力手段は、上記文書データから選択された任意の一文字が入力されることがより好ましい。
【0155】
それゆえ、ユーザは、検索文字列の範囲を指定する必要がなく、単にカーソルを移動させるだけで容易に検索文字列を選択できるという効果を奏する。
【0156】
上記検索を行う文字列の最大文字数を設定する最大文字数入力手段を備えていることがより好ましい。
【0157】
それゆえ、検索を行う前に、予め検索を行う文字列の最大文字数を設定することで、ユーザが指定した先頭文字から始まるこの設定された最大文字数の文字列を切り出して、辞書データ内に見出し語として格納されている文字列と一致する文字列がないか判定を行い、検索文字列を選択することができるという効果を奏する。
【0158】
上記文字列判定手段が、上記先頭文字から始まる最大文字数の文字列と一致する上記見出し語がないと判定した場合には、上記文字列判定手段は、上記選択された検索文字列から一文字減らした文字列について、上記と同様の判定を行うことがより好ましい。
【0159】
それゆえ、予め入力した最大文字数の文字列から判定を開始し、一致する見出し語が見つかるまで1文字ずつ文字数を減らして同様の判定を行うことができるという効果を奏する。
【0160】
上記検索文字列が選択された状態において、該文字列の文字数を減らす指示が入力された場合には、上記文字列判定手段は、上記選択された文字列の文字数を一文字減らした文字列と上記見出し語とを比較することがより好ましい。
【0161】
それゆえ、現在、選択されている文字列よりも短い文字列を検索文字列として選択したい場合には、カーソルを移動させるだけで容易に選択範囲を縮小し、新たな文字列を検索文字列として選択することができるという効果を奏する。
【0162】
上記外部の記憶部に格納された検索情報のグループ毎に付された属性を判定する検索情報グループ別属性判定手段を備えていることがより好ましい。
【0163】
それゆえ、ROM等の外部の記憶部に、例えば、複数の辞書に基づく辞書データが格納されている場合でも、検索情報グループ別属性判定手段が判定した結果に基づいて、検索文字列として選択された文字列の表示を変化させることができるという効果を奏する。
【0164】
よって、ユーザは、検索文字列として選択された文字列が、記憶部に格納されているどの辞書に基づく辞書データであるかを容易に把握できる。
【0165】
また、検索文字列を決定して見出し語に対応する説明文を表示する場合には、現在、選択されている検索文字列に付された属性に応じて、辞書が自動的に決定される。よって、ユーザは、検索先の辞書を選択する画面を介することなく、直接検索を実行できるため、無駄な操作を省くことができる。
【0166】
本発明の電子辞書は、以上のように、上記検索文字列の選択装置と、上記検索文字列の選択装置に対するキー入力を行うキー入力部と、上記辞書データを格納した記憶部とを備えている構成である。
【0167】
それゆえ、ユーザが検索を行う文字列の先頭文字にカーソルを合わせるだけで容易に検索文字列の選択が可能な上記検索文字列の選択装置を備えた電子辞書を実現することができるという効果を奏する。
【0168】
本発明の検索文字列の選択方法は、以上のように、先頭文字入力手段が、上記文章データ中から選択された任意の文字を入力される第1のステップと、文字列判定手段が、上記先頭文字入力手段に入力された任意の文字を先頭文字とする文章データ中の文字列と、外部の記憶部に検索情報の見出し語として格納された文字列と一致するか否かを判定する第2のステップと、検索文字列選択手段が、上記文字列判定手段が一致すると判定した場合に、一致した文字列を検索文字列として選択する第3のステップと、を含んでいる。
【0169】
それゆえ、用語検索等を行う場合において、ユーザは、文章データ中の検索しようとする文字列の先頭文字にカーソルを合わせるだけで、辞書データとしてROM等の記憶手段に格納されている情報の見出し語として存在する文字列と一致する文字列を自動的に選択することができる。このため、ユーザは、検索可能な文字列を予め選択して検索することが可能になるとともに、検索する文字列の範囲を指定する手間を省いて、用語検索を行う際の操作性を向上させることができるという効果を奏する。
【0170】
また、本発明の検索文字列の選択方法では、予め辞書データとして格納されている検索情報に対応する見出し語と一致する検索可能な文字列のみを検索文字列として選択するため、検索文字列を指定して検索を行ったが、該当する情報が格納されておらず、検索できないといった不具合の発生を防止できる。よって、無駄な検索実行を防止し、効率よく検索処理を行うことができる。
【0171】
さらに、カーソルの移動させるだけで瞬時に検索文字列を選択し、選択された文字列を反転表示するなどの方法を用いて画面上に表示するため、選択された検索文字列を視覚的に容易に確認することが可能になる。
【0172】
本発明の検索文字列の選択プログラムは、以上のように、上記検索文字列の選択装置をコンピュータに実行させる構成である。
【0173】
それゆえ、上記プログラムによって、上記検索文字列の選択装置を実現することができるという効果を奏する。
【0174】
本発明の記録媒体は、以上のように、上記検索文字列の選択装置をコンピュータに実行させる検索文字列の選択プログラムを記録した構成である。
【0175】
それゆえ、上記記録媒体から読み出された検索文字列の選択プログラムによって、上記検索文字列の選択装置を実現することができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施形態にかかる電子辞書の概略的な内部構成を示すブロック図である。
【図2】図1の電子辞書における最大抽出文字数を設定する画面を示す図である。
【図3】図1の電子辞書が備えているRAMに格納された最大抽出文字数の設定テーブルの一例を示す図である。
【図4】図1の電子辞書が備えているROMに格納されたインデックスの一例を示す図である。
【図5】図1の電子辞書による、検索文字列の選択を行う処理の流れを示すフローチャートである。
【図6】(a)〜(c)は、図5に示すフローチャートに対応して、電子辞書に表示される画面を示す図である。
【図7】図1の電子辞書による検索文字列の選択範囲を縮小する場合の処理を示すフローチャートである。
【図8】(a)〜(c)は、図8のフローチャートに対応して、電子辞書に表示される画面を示す図である。
【図9】図1の電子辞書において、選択された検索文字列が複数の辞書に存在する場合に表示される画面を示す図である。
【図10】図1の電子辞書が備えているRAMに格納された属性設定テーブルの一例を示す図である。
【図11】図1の電子辞書において、選択された検索文字列が複数の辞書に存在する場合の処理を示すフローチャートである。
【符号の説明】
2 先頭文字入力部(先頭文字入力手段)
3 最大文字数設定部(最大文字数設定手段)
4 文字列判定部(文字列判定手段)
5 検索文字列選択部(検索文字列選択手段)
6 辞書別属性判定部(検索情報グループ別属性判定手段)
10 電子辞書
11 制御部
12 表示器
13 表示コントローラ
14 キー入力部
15 ROM
16 RAM
17 電池
25 ONキー
26 OFFキー
27 ファンクションキー
28 英数字キー
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to selection of a search character string before performing a dictionary search based on a character string selected from text data, and a search character string selection device that allows a user to easily select a search character string, and the same The present invention relates to an electronic dictionary, a search character string selection method, a search character string selection program, and a recording medium recording the same.
[0002]
[Prior art]
In an electronic dictionary that allows you to check the meaning of words, terms, etc. with just a simple input, enter the character string that the user wants to check, search for that character string, and from the dictionary data built in the electronic dictionary, The corresponding one or more headwords are displayed on the screen of the display device. Then, when the user selects one of the headwords whose meaning is to be examined, an explanatory text corresponding to the headword can be displayed on the screen of the display device.
[0003]
In such an electronic dictionary, as a method for more easily searching for the meaning of terms, etc., a jump function unique to the electronic dictionary is provided, in which a search is performed by specifying a character string to be searched from sentences displayed on the screen. There is a search method used.
[0004]
This jump function does not return to the screen for directly entering the character string to be searched, but the character string whose meaning is to be examined by using pointing means such as a cursor from the text displayed directly on the screen. This is a function for selecting and performing a search.
[0005]
As a method using this jump function, for example, a method of manually moving a cursor to specify a range of a character string to be searched from within a sentence, or a character starting from one character selected in a sentence displayed on the screen Extract a string in order of a 1-character string, 2-character string, ..., n-character string, display all the character strings that exist as headwords in the dictionary, and then search by the user There is a method of selecting a character string to perform (see Patent Documents 1 and 2).
[0006]
[Patent Document 1]
Japanese Patent Laid-Open No. 11-184854 (publication date July 9, 1999)
[0007]
[Patent Document 2]
JP 05-197717 A (published on August 6, 1993)
[0008]
[Problems to be solved by the invention]
However, the method disclosed in the above publication has the following problems from the viewpoint of usability.
[0009]
That is, the above-described method for performing a search by specifying a range of character strings to be manually searched has the following problems.
[0010]
For example, in a sentence “… triboelectricity, discharge / current, etc.”, when searching for a character string “frictional electricity”, the cursor is first moved to “ma” to determine the first character position. Then, since it is necessary to move the cursor to “Qi” and determine the last character position, it is very troublesome to specify the character string range.
[0011]
Furthermore, even if a character string is specified, the character string is not necessarily included as a heading of the stored dictionary data, so that there may be a case where the search cannot be performed. It is impossible for the user to determine whether or not the character string can be searched before executing the search, that is, whether or not the character string exists as an entry word in the dictionary data.
[0012]
Further, in the method disclosed in the above publication, since it is necessary to designate a range of a character string to be jumped, the operation is very troublesome particularly when a long character string is designated.
[0013]
On the other hand, the method of displaying a list of all character strings existing as headwords in the dictionary data for a character string starting from a specified character has the following problems.
[0014]
That is, first, the cursor is moved to “ma” which is the first character of the character string to be searched. Here, when a search is executed, a character string starting from “ma” and a character string existing as an entry word are candidates, and for example, a large number of character strings such as “friction electricity”, “friction”, and “ma” are selection candidates. A list is displayed.
[0015]
Here, such a jump function can be used to check the reading kana and meaning when the user does not know the reading kana in the sentence or when there is a long compound word whose meaning is to be checked. Many.
[0016]
Therefore, in consideration of such circumstances, it is considered that there are few users who search for words or phrases such as “ma” and “friction” listed in the above sentence. Therefore, in the method of selecting a character string to be searched from such a list displayed, it is necessary for the user to select the character string to be searched from among all the character strings that are unlikely to be selected. Yes, it is inefficient.
[0017]
The present invention has been made in view of the above-described problems, and an object of the present invention is to enable specification of a character string to be searched by simply moving the cursor and specifying the first character of the character string. It is an object of the present invention to provide a search character string selection device and an electronic dictionary provided therewith, a search character string selection method, a search character string selection program, and a recording medium recording the same.
[0018]
[Means for Solving the Problems]
In order to solve the above-described problem, the search character string selection device of the present invention is a search character string selection device that selects a character string to be searched from text data. First character input means for inputting a character, a character string included in the sentence data having an arbitrary character input to the first character input means as a first character, and a headword of search information in an external storage unit A character string determination unit that determines whether or not the stored character string matches, and a search character string selection unit that selects the matched character string as a search character string when the character string determination unit determines that they match. It is characterized by having.
[0019]
According to the above configuration, when performing a term search or the like, the user simply stores the cursor on the first character of the character string to be searched in the text data and is stored as dictionary data in a storage means such as a ROM. It is possible to automatically select a character string that matches a character string existing as an entry word of the information. For this reason, the user can select and search for a searchable character string in advance, and save the trouble of specifying the range of the search character string, and improve the operability when performing a term search. be able to.
[0020]
That is, in the search character string selection device of the present invention, for example, when searching for the meaning of a term, the user moves the cursor or the like via the selected character string input means to perform the term search. Specifies the first character of the column.
[0021]
Then, the character string determining means includes a character string that is included as a headword in dictionary data as search information stored in advance in a storage unit such as a ROM among character strings starting from a character specified by the cursor on the screen by the user. It is determined whether or not there is a match.
[0022]
Here, if the character string determination means determines that a character string matching the character string in the sentence data starting from the first character specified by the user exists as a headword in the dictionary data, the search character string selection unit The matched character string is selected as a search character string.
[0023]
As a result, the user can automatically select a searchable character string as a search character string by simply placing the cursor on the first character of the character string to be searched, and therefore manually select the range of the search character string. Compared with the conventional method, user operability can be improved.
[0024]
In the search character string selection device of the present invention, only a searchable character string that matches a headword corresponding to search information stored in advance as dictionary data is selected as a search character string. Although the search is performed by designating, the corresponding information is not stored, and it is possible to prevent the occurrence of a problem that the search cannot be performed. Therefore, useless search execution can be prevented and search processing can be performed efficiently.
[0025]
Furthermore, since the search character string can be selected instantly by simply moving the cursor and displayed on the screen using a method such as highlighting the selected character string, the selected search character string can be visually easily displayed. It becomes possible to confirm.
[0026]
More preferably, the first character input means inputs an arbitrary character selected from the document data.
[0027]
Thus, the user does not need to specify the range of the search character string, and can easily select the search character string simply by moving the cursor.
[0028]
More preferably, a maximum number of characters input means for setting the maximum number of characters of the character string to be searched is provided.
[0029]
As a result, by setting the maximum number of characters of the character string to be searched in advance before searching, the character string of the set maximum number of characters starting from the first character specified by the user is cut out and found in the dictionary data. A search character string can be selected by determining whether there is a character string that matches a character string stored as a word.
[0030]
When the character string determination means determines that there is no entry word that matches the maximum number of characters starting from the first character, the character string determination means subtracts one character from the selected search character string. More preferably, the character string is subjected to the same determination as described above.
[0031]
Accordingly, the determination can be started from a character string having the maximum number of characters inputted in advance, and the same determination can be performed by reducing the number of characters one character at a time until a matching entry word is found.
[0032]
Therefore, since the longest character string is preferentially selected from a character string of the maximum number of characters or less that is set in advance, even when selecting a character string such as a compound word with a large number of characters as a search character, a long character string manually It is not necessary to specify the range of, and is particularly effective.
[0033]
When an instruction to reduce the number of characters in the character string is input in a state where the search character string is selected, the character string determination unit includes a character string obtained by reducing the number of characters in the selected character string by one character More preferably, the headword is compared.
[0034]
As a result, if you want to select a character string shorter than the currently selected character string as the search character string, you can easily reduce the selection range by moving the cursor, and use the new character string as the search character string. You can choose.
[0035]
It is more preferable that a search information group attribute determination unit that determines an attribute assigned to each group of search information stored in the external storage unit is provided.
[0036]
Thus, even when dictionary data based on a plurality of dictionaries is stored in an external storage unit such as a ROM, for example, it is selected as a search character string based on the result determined by the search information group attribute determination means. The display of the character string can be changed.
[0037]
Therefore, the user can easily grasp the dictionary data based on which dictionary stored in the storage unit is the character string selected as the search character string.
[0038]
Further, when the search character string is determined and the explanatory text corresponding to the headword is displayed, the dictionary is automatically determined according to the attribute attached to the currently selected search character string. Therefore, since the user can directly perform a search without going through a screen for selecting a search destination dictionary, it is possible to omit useless operations.
[0039]
The attribute is assigned to each dictionary as a search destination by, for example, a method of displaying a search character string in a specific color / typeface.
[0040]
In order to solve the above problems, an electronic dictionary of the present invention includes a search character string selection device, a key input unit that performs key input to the search character string selection device, and a storage unit that stores the dictionary data. It is characterized by having.
[0041]
Accordingly, it is possible to realize an electronic dictionary including the search character string selection device that allows the user to easily select a search character string by simply placing the cursor on the first character of the character string to be searched.
[0042]
In order to solve the above-described problem, the search character string selection method of the present invention is a search character string selection method for selecting a character string to be searched from sentence data. A first step in which an arbitrary character selected from among the first character is input; and a character string determination unit, a character string in the sentence data having the arbitrary character input to the first character input unit as a first character; The second step of determining whether or not the character string stored as the headword of the search information in the storage unit matches, and the search character string selection unit determines that the character string determination unit matches, And a third step of selecting a matched character string as a search character string.
[0043]
According to the above method, for example, when performing a term search or the like, the user simply stores the cursor on the first character of the character string to be searched in the sentence data and stores it as a dictionary data in a storage means such as a ROM. It is possible to automatically select a character string that matches a character string that exists as an entry word of the information being recorded. For this reason, the user can select and search for a searchable character string in advance, and save the trouble of specifying the range of the search character string, and improve the operability when performing a term search. be able to.
[0044]
That is, according to the search character string selection method of the present invention, for example, when searching for the meaning of a term or the like, the user moves the cursor or the like via the selected character string input means to perform the term search. Specify the first character of the string to be executed.
[0045]
Then, the character string determination means includes a character string that is included as an entry word in dictionary data as search information stored in advance in a storage unit such as a ROM, among character strings starting from a character specified by the user with a cursor on the screen. It is determined whether or not there is a match.
[0046]
Here, if the character string determination means determines that there is a character string in the dictionary data that matches the character string in the sentence data starting from the first character specified by the user, the search character string selection unit The selected character string is selected as a search character string.
[0047]
As a result, the user can automatically select a searchable character string as a search character string by simply placing the cursor on the first character of the character string to be searched, and therefore manually select the range of the search character string. Compared with the conventional method, user operability can be improved.
[0048]
In the search character string selection method of the present invention, only the searchable character string that matches the headword corresponding to the search information stored in advance as dictionary data is selected as the search character string. Although the search is performed by designating, the corresponding information is not stored, and it is possible to prevent the occurrence of a problem that the search cannot be performed. Therefore, useless search execution can be prevented and search processing can be performed efficiently.
[0049]
Furthermore, since the search character string can be selected instantly by simply moving the cursor, and the selected character string is displayed on the screen using a method such as highlighting the selected character string, the selected search character string can be visually easily displayed. It becomes possible to confirm.
[0050]
The search character string selection program according to the present invention is characterized by causing a computer to execute the search character string selection device in order to solve the above problems.
[0051]
According to said structure, the selection apparatus of the said search character string is realizable with the said program.
[0052]
In order to solve the above-described problems, the recording medium of the present invention is characterized by recording a search character string selection program that causes a computer to execute the search character string selection device.
[0053]
According to the above configuration, the search character string selection device can be realized by the search character string selection program read from the recording medium.
[0054]
DETAILED DESCRIPTION OF THE INVENTION
A search character string selection method, a search character string selection device and an electronic dictionary provided with the search character string selection system, a search character string selection system, a search character string selection program, and a recording medium recording the same according to an embodiment of the present invention It will be as follows if it demonstrates based on FIGS.
[0055]
The electronic dictionary 10 described below merely represents an embodiment of the present invention, and the configuration of the present invention is not limited to the configuration described here.
[0056]
As shown in FIG. 1, the electronic dictionary 10 of this embodiment includes a control unit 11, a display device 12, a display controller 13, a key input unit 14, a ROM 15, a RAM 16, and a battery 17.
[0057]
The control unit 11 performs general control of the electronic dictionary 10 such as input, display, data processing, and storage. The operation by the control unit 11 will be described in detail later.
[0058]
The display 12 displays on the screen based on the display data transmitted from the control unit 11. For example, the display is performed based on text data input via the key input unit 14.
[0059]
The display controller 13 receives display data to be displayed on the display device 12 from the control unit 11 and controls the display device 12.
[0060]
The key input unit 14 includes an ON key 25, an OFF key 26, a function key 27, an alphanumeric key 28, a first character designation cursor call key 29, and the like.
[0061]
The ON key 25 and the OFF key 26 are used when the electronic dictionary 10 is turned on / off. The ON key 25 and the OFF key 26 may be provided as a single ON / OFF key that can be turned ON / OFF by a software process such as a long key press.
[0062]
The function key 27 includes a menu key for switching dictionary contents for searching for a headword and various settings.
[0063]
The alphanumeric key 28 is used to input alphabets and numbers from A to Z and some symbols.
[0064]
The first character designation cursor call key 29 makes a cursor appear on the screen for designating a character string for the user to search from sentences displayed on the screen of the display device 12.
[0065]
The ROM 15 is a dictionary data including a program 31 for operating the control unit 11, search information including term descriptions, word meanings, and the like, and a character string corresponding to the search information (hereinafter referred to as a headword). 32 is stored.
[0066]
The ROM 15 stores search information (information on character strings) such as headwords and term explanations as dictionary data 32, and an index that collects headwords of each search information as shown in FIG. Are stored separately.
[0067]
The “search information” is, for example, information on the meaning of a term if the stored dictionary data is a term dictionary, and information on the meaning of an English word if the stored dictionary data is an English-Japanese dictionary It is.
[0068]
On the other hand, since the index is used only when selecting a character string when jumping, in addition to the normal dictionary data 32, as shown in FIG. Are stored in the ROM 15 as a list obtained by re-editing the addresses indicating the locations where the headwords and the semantic information of the headwords are stored.
[0069]
The RAM 16 is used as a memory for storing data such as headwords searched by the user, the maximum number of extracted characters input by the user, a character string starting from the first character specified in the sentence, or the like, or as a work memory of the control unit 11. It is done.
[0070]
The battery 17 supplies power to the electronic dictionary 10.
[0071]
Here, in the electronic dictionary 10 of the present embodiment, the control unit 11 executes various application programs using a memory such as the ROM 15 and the RAM 16 and controls the hardware such as the display unit 12, thereby The function is realized.
[0072]
That is, as shown in FIG. 1, the control unit 11 includes a first character input unit (first character input unit) 2, a maximum character number setting unit (maximum character number setting unit) 3, and a character string determination unit (character string determination unit) 4. A search character string selection unit (search character string selection unit) 5 and a dictionary attribute determination unit (search information group attribute determination unit) 6 are formed as functional blocks.
[0073]
The first character input unit 2 is input with the first character of the character string to be searched, which is designated by the user via the key input unit 14.
[0074]
The maximum character number setting unit 3 sets the maximum number of characters for extracting a character string to be searched that is input by the user via the key input unit 14.
[0075]
The setting of the maximum number of characters by the user is performed on the input screen as shown in FIG. 2, and the number of characters is set for each dictionary in which the search information is posted as the dictionary data 32, and the table as shown in FIG. Stored in the RAM 16.
[0076]
The character string determination unit 4 compares the character string starting from the first character input to the first character input unit 21 with the entry word in the dictionary data 32 stored in the ROM 15 and determines whether there is a match. Do.
[0077]
The search character string selection unit 5 extracts a character string equal to or less than the maximum number of characters preset by the user from a plurality of character strings determined to be matched by the character string determination unit 22, and searches for the longest character string among them. Display as a string.
[0078]
The dictionary attribute determination unit 6 determines, in the dictionary data 32 stored in the ROM 15, the attribute assigned to each search destination dictionary such as Kojien (registered trademark) or English-Japanese dictionary as shown in FIG. 10. The processing using the dictionary attribute determination unit 6 will be described later.
[0079]
Here, a method for selecting a search character string by the electronic dictionary 10 having the above configuration will be described as follows with reference to a flowchart shown in FIG.
[0080]
That is, in the electronic dictionary 10 of the present embodiment, when a character string to be searched for is selected from sentences displayed on the screen of the display device 12, processing is performed in the following procedure.
[0081]
First, in S1, the user presses the first character designation cursor call key 29 of the key input unit 14. Then, the control unit 11 causes the cursor to appear on the display screen of the display device 12.
[0082]
Next, the user uses the key input unit 14 to align the cursor with the first character of the character string to be searched in the text displayed on the screen, and inputs the selected character to the first character input unit 21. Then, the control unit 11 determines whether or not the cursor has moved from the current position in S2.
[0083]
Here, when the cursor has not moved, since the first character is not designated, the control unit 11 repeats S2 until movement of the cursor is detected.
[0084]
On the other hand, when the cursor has been moved by the user, the control unit 11 determines whether or not the maximum number of characters N of the search character string preset by the user, that is, the number of characters of the character string to be extracted is 1 in S3. Determine whether or not.
[0085]
In S3, when the control unit 11 determines that the number N of characters in the character string is 1, the search character string selection unit 5 displays the character string on the display screen of the display 12 via the display controller 13 in S4. One character is selected as a search character string and displayed in reverse video, and the process ends.
[0086]
On the other hand, if the control unit 11 determines that the number N of characters in the character string is not 1, the control unit 11 selects the character at which the cursor is located from the text displayed on the display unit 12 in S5. A character string of N characters is cut out and stored in the RAM 16.
[0087]
Next, in S6, the character string determination unit 4 searches the index stored in the ROM 15 for a headword consisting of the same character string as the character string cut out from the text stored in the RAM 16, In S <b> 7, it is determined whether or not a headword that matches the character string cut out from the sentence exists in the dictionary data 32.
[0088]
If the character string determination unit 4 determines in S7 that the matching headword exists, the search character string selection unit 5 selects the character string as a search character in S8.
[0089]
And the control part 11 reverse-displays the selected character string in the text displayed on the display screen of the indicator 12 via the display controller 13, and complete | finishes a process.
[0090]
On the other hand, if the character string determination unit 4 determines in S7 that there is no matching headword in the index, the control unit 11 decreases the preset maximum number of characters N by 1 in S9 and returns to S3. Repeat the same process.
[0091]
That is, if the preset maximum number of characters is 2 or more, S3 to S7 are repeated until a matching character string is found in the index while reducing the number of characters in the character string to be searched one by one.
[0092]
For example, as shown in FIG. 6A, in a sentence having “Internet” as a headword, the user has set the maximum number of characters N to 5 in advance, and puts the cursor on “Den” and issues a search instruction. In this case, the five-character “e-mail” having “Den” as the first character is automatically selected as the search character by the search character string selection unit 23 and displayed on the display 12 via the display controller 13. It is highlighted on the screen.
[0093]
Therefore, if the character string to be searched by the user is “e-mail”, the search process may be executed as it is.
[0094]
Further, even when the maximum number of characters is set to 6 or more and the user desires to search for “e-mail”, “e-mail etc. with the first character“ den ”specified by the user ... Among the character strings “”, the character string stored in the dictionary data 32 is likely to be only “e-mail”. For this reason, even when the maximum number of characters is set to 6 or more, the number of characters is decreased one by one in S9 of the flowchart until the character string stored in the dictionary data 32, that is, “e-mail” is found. S3 to S7 in FIG. 5 are automatically repeated. Therefore, as a result, as shown in FIG. 6A, the character string “e-mail” is similarly selected as a search character and is displayed in reverse video on the display screen of the display device 12. Therefore, the search is started as it is. it can.
[0095]
As described above, in the electronic dictionary 10 of the present embodiment, the user can automatically select a desired character string “e-mail” as a search character by simply placing the cursor on the first character of the character string to be searched. The operability when executing the search can be improved.
[0096]
Moreover, in the electronic dictionary 10 of this embodiment, only the character string which matches the character string contained in ROM15 as the dictionary data 32 is selected as a search character among the character strings which the user designated the first character. For this reason, as a result of searching by specifying a character string, there is no problem that the character string is not stored in the dictionary data 32 as an entry word and cannot be searched. Therefore, it is possible to eliminate time loss due to the inability to search and improve search efficiency.
[0097]
Furthermore, in addition to the processing described above, the electronic dictionary 10 according to the present embodiment has a function of easily selecting a desired search character string by changing the number of characters in the selected character string.
[0098]
That is, when an arbitrary character string “e-mail” is selected by the above-described processing, pressing a key for reducing the selection range such as the left arrow key causes shorter character strings “electronic” and “electric”. It has the function which can select easily.
[0099]
That is, for example, when the user desires to search for “electronic” and the maximum number of characters N is set to 5 or more, as described above, the character string “e-mail” Are displayed in reverse on the display screen of the display 12 as a search character string.
[0100]
However, since the user wants to search for “electronic”, the search cannot be performed as it is.
[0101]
Therefore, in the electronic dictionary 10 of the present embodiment, as shown in FIG. 6A, when the character string “e-mail” is highlighted on the display screen of the display device 12, A search character string in the order of “electronic” and “electric”, as shown in FIGS. 6B and 6C, simply by pressing the direction of expanding / contracting the character string, that is, in this case, the left direction key. Can change.
[0102]
For this reason, when a character string different from the character string desired by the user is first highlighted as a search character string, for example, as shown in FIG. As shown in FIG. 6 (c), the character string “mail” desired to be searched is selected as the search character string by pressing the right arrow key twice from the state highlighted on the display screen as the search character. In addition, it can be displayed in reverse on the display screen and search can be executed.
[0103]
The processing shown in FIGS. 6A to 6C by the electronic dictionary 10 of this embodiment will be described as follows with reference to the flowchart shown in FIG.
[0104]
First, in step S10, the control unit 11 checks whether or not the user has pressed the direction key to reduce the range of the selected character string “e-mail”.
[0105]
Here, the check is repeated until the key is pressed to the side of reducing the selection range.
[0106]
In S10, when the control unit 11 detects that the key has been pressed to reduce the selection range, in S11, the control unit 11 calculates the number of characters L of the character string “e-mail” that is highlighted on the display screen of the display unit 12. In S12, a value obtained by subtracting one character from L is set to L again.
[0107]
That is, the number of characters in the character string “e-mail” is reduced by 1, and the selection range is changed to the character string “e-mail”.
[0108]
In step S13, the control unit 11 checks whether the number of characters L is zero.
[0109]
Here, when L is 0, it means that the original selected character string is one character, and therefore the number of characters cannot be reduced any more. Therefore, the control part 11 moves a cursor to the left in S14, and complete | finishes a process.
[0110]
On the other hand, if L is not 0, the control unit 11 cuts out a character string “electronic mail” having the number of characters L, which is one character less than the character at which the cursor is located, and stores it in the RAM 16 in S15.
[0111]
Next, in S16, the character string determination unit 4 selects the character string “electronic” stored in the RAM 16 from the index composed of the headword whose first character is the character where the cursor is stored, which is stored in the ROM 15. Search for “Me”. In step S17, it is determined whether there is a matching character string in the index.
[0112]
If there is a matching character string, the control unit 11 reduces the range of the selected search character string in S18, and the search character string selection unit 5 sets this as a new search character string. This is selected and displayed in reverse video on the display screen of the display device 12, and the process is terminated.
[0113]
On the other hand, if the character string determination unit 4 determines that no matching character string exists as an entry word in the index, the control unit 11 decreases L by 1 in S19, returns to S13, and performs the same processing. repeat.
[0114]
In the above example, the headword that matches the character string “electronic mail” does not exist in the dictionary data 32. Therefore, in S19, the control unit 11 further reduces the number of characters by one and performs the same processing with the character string “electronic mail”. However, no matching word is found in the dictionary data 32 even with the character string “electronic mail”.
[0115]
Therefore, the control unit 11 further reduces one character in S19 and then returns to S13. The same processing is repeated, and the character string determination unit 4 determines whether there is a headword that matches the character string “electronic”. Since the dictionary data 32 includes data having the character string “electronic” as a headword, the search character string selection unit 5 selects the character string “electronic” as a new search character string and performs control. The unit 11 can reverse-display the selected character string on the display screen of the display device 12.
[0116]
The above-described processing is executed by the control unit 11 reading a program. Therefore, in actuality, when the user designates the first character, the selected search character string is selected immediately by the above processing with almost no time until it is displayed in reverse on the display screen of the display 12. You can see the search string on the display screen.
[0117]
Similarly, when the search character string is changed from the character string “e-mail” to the character string “electronic”, the user simply presses the left arrow key and immediately inverts “electronic” as a new search character string. Can be displayed.
[0118]
Therefore, even if the desired search character string is not selected at the first time, the user can easily select the next search character string by simply pressing the direction key once or several times. , Search efficiency can be improved.
[0119]
Further, when the character string to be searched is not “e-mail” but “mail”, on the contrary, the first character set by the user is changed by pressing the right arrow key.
[0120]
Thus, by performing the same process as the process shown in FIG. 5 for the new first character, the character string “child” shown in FIG. 8B is changed from the character string “e-mail” shown in FIG. The character string “mail” shown in FIG. 8C and the search character string selected in sequence can be changed.
[0121]
Here, another search function by the electronic dictionary 10 of the present embodiment will be described as follows.
[0122]
The electronic dictionary 10 of this embodiment is equipped with data based on a plurality of different dictionaries as the dictionary data 32 stored in the ROM 15. For this reason, when a single character string is selected and a search is executed, there may be a plurality of dictionaries having the same entry word in the ROM 15.
[0123]
Therefore, in the electronic dictionary 10 of the present embodiment, an attribute is set in advance for each dictionary stored as dictionary data, and the dictionary-specific attribute determination unit 6 is provided in the control unit 11 shown in FIG. It has a function of determining whether it is information and displaying it to the user.
[0124]
Further, the dictionary-specific attribute determination unit 6 realizes a function of automatically determining a search destination dictionary according to the attribute displayed at the time when the selected character string is searched. ing.
[0125]
For example, when a broad dictionary, an encyclopedia, and an English-Japanese dictionary are stored in the ROM 15 as a search destination for the character string “e-mail”, the wide dictionary is black, as shown in FIG. 9A. As shown in FIG. 9, the encyclopedia is red, and the Japanese-English dictionary is blue as shown in FIG.
[0126]
This eliminates the need for the user to open a dictionary selection screen and select a dictionary to be searched, and can select a search character string more efficiently.
[0127]
For the attributes set for each dictionary, the dictionary name and the color assigned to each dictionary may be stored in the RAM 16 as a setting table, as shown in FIG.
[0128]
Moreover, in the electronic dictionary 10 of this embodiment, although color is used as an attribute attached to each dictionary, the present invention is not limited to this.
[0129]
Next, as described above, a method for selecting a search character string when an attribute is given to each dictionary of the dictionary data 32 will be described with reference to the flowchart shown in FIG.
[0130]
Here, an example will be described in which three dictionaries A, B, and C are installed in the electronic dictionary 10, but the same applies to a case where more dictionaries are installed. Shall be processed.
[0131]
First, in S20, the control unit 11 stores in the RAM 16 a dictionary name having a character string currently selected as a search character as an entry word.
[0132]
Next, in S <b> 21, the dictionary attribute determination unit 6 determines whether the dictionary A exists in the dictionary name stored in the RAM 16.
[0133]
Here, when the dictionary A exists, in S22, the control unit 11 displays the character string with the attribute corresponding to the dictionary A for a certain period of time, and in S23, determines to instruct to display the explanatory text therebetween. Check whether a key or the like has been pressed.
[0134]
If the determination key is pressed, in S24, an explanatory note is displayed as search information corresponding to the search character string from the dictionary A corresponding to the character string, and the process is terminated.
[0135]
On the other hand, if the attribute-by-dictionary determination unit 6 determines in S21 that the dictionary A does not exist, or if the user does not wish to search the dictionary A and the determination key is not pressed in S23, the dictionary For B and dictionary C, the same processing as S22 to S24 is performed in S26 to S28 and S30 to S32.
[0136]
If the user does not want to search all the dictionaries A to C, the process returns to S21 and the same process is repeated or the search character string is changed and the process from S21 is repeated again.
[0137]
As described above, according to the electronic dictionary 10 of the present embodiment, the user can search for a character string by specifying a dictionary for which he / she wants to obtain search information. It can be easily searched and provided.
[0138]
The object of the present invention can also be achieved as a search character string selection program, which is software that implements the functions described above.
[0139]
Another object of the present invention is to supply a recording medium in which a program code of a program which is software for realizing the functions described above is recorded so as to be readable by a computer, to the system or apparatus, and the computer (or CPU, CPU) of the system or apparatus. This can also be achieved by the MPU) reading and executing the program code recorded on the recording medium. In this case, the program code itself read from the recording medium realizes the above-described function, and the recording medium on which the program code is recorded constitutes the present invention.
[0140]
The recording medium may be a magnetic tape, a cassette tape, a floppy (registered trademark) disk, a magnetic disk such as a hard disk, an optical disk such as a CD-ROM / MO / MD / DVD / CD-R, an IC card (memory card). Or a semiconductor memory such as a mask ROM / EPROM / EEPROM / flash ROM or the like.
[0141]
In the present embodiment, an example in which the present invention is applied to an electronic dictionary has been described. However, the scope of application of the present invention is not limited to this. For example, in a PC or the like, dictionary data as search information is stored on a hard disk or the like, and a search character string selection device can be realized by a computer executing a search character string selection program.
[0142]
In the present embodiment, an example in which the character string selected as the search character string is highlighted on the display screen of the display device 12 has been described. However, the present invention is not limited to this. For example, the selected character string may be displayed to the user by underlining the selected search character string, making it bold, or changing the color of the character.
[0143]
In addition, the present invention selects an arbitrary character from sentences displayed on the screen, and starts from a character string from the selected character to a preset number of characters and a headword having the selected character as the first character. And an electronic dictionary characterized by displaying the range of the longest existing character string.
[0144]
The present invention also compares the range of the longest existing character string by comparing an index consisting of a headword with the selected character as the first character from among character strings shorter than the displayed character string. It may be an electronic dictionary characterized by displaying.
[0145]
Further, the present invention is characterized in that, when there are a plurality of dictionaries as search destinations for the character string whose range is selected, the character string is displayed using attributes corresponding to each dictionary at regular intervals. It may be an electronic dictionary.
[0146]
Further, the present invention is an electronic dictionary characterized in that when an explanatory text corresponding to a headword is displayed, the dictionary is automatically determined according to the attribute of the character string displayed at that time. Good.
[0147]
In addition, the present invention selects an arbitrary character from sentences displayed on the screen, and starts from a character string from the selected character to a preset number of characters and a headword having the selected character as the first character. The program may be characterized in that a computer controls an electronic dictionary characterized in that the longest existing character string range is displayed by comparing with an index.
[0148]
In addition, the present invention selects an arbitrary character from sentences displayed on the screen, and starts from a character string from the selected character to a preset number of characters and a headword having the selected character as the first character. It is also possible to use a recording medium that records a program for controlling the electronic dictionary, which is characterized by displaying the range of the longest existing character string by comparing with an index.
[0149]
Further, the search character string selection method of the present invention selects a search character string comprising a first character input means, a character string determination means, and a search character string selection means for selecting a character string to be searched from sentence data. In the method for selecting a search character string by the apparatus, a first step in which the first character input means inputs an arbitrary character selected from the sentence data, and a character string determination means inputs the first character input means. A second step of determining whether or not a character string in sentence data having an arbitrary character as a first character matches a character string storing information corresponding to an external storage unit; And a third step of selecting a matching character string as a search character string when the character string selection means determines that the character string determination means matches, a search character string selection comprising: The way Good.
[0150]
【The invention's effect】
As described above, the search character string selection device of the present invention has a first character input means for inputting an arbitrary character selected from sentence data, and an arbitrary character input to the first character input means. The character string determination means for determining whether or not the character string in the text data as the character matches the character string stored as the entry word of the search information in the external storage unit is the same as the character string determination means Then, when it is determined, a search character string selection unit that selects a matched character string as a search character string is provided.
[0151]
Therefore, when performing a term search or the like, the user can simply move the cursor to the first character of the character string to be searched in the text data, and find the headline of the information stored in the storage means such as the ROM as dictionary data. A character string that matches a character string existing as a word can be automatically selected. For this reason, the user can select and search for a searchable character string in advance, and save the trouble of specifying the range of the search character string, and improve the operability when performing a term search. There is an effect that can be.
[0152]
In the search character string selection device of the present invention, only a searchable character string that matches a headword corresponding to search information stored in advance as dictionary data is selected as a search character string. Although the search is performed by designating, the corresponding information is not stored, and it is possible to prevent the occurrence of a problem that the search cannot be performed. Therefore, useless search execution can be prevented and search processing can be performed efficiently.
[0153]
Furthermore, since the search character string can be selected instantly by simply moving the cursor and displayed on the screen using a method such as highlighting the selected character string, the selected search character string can be visually easily displayed. It becomes possible to confirm.
[0154]
More preferably, the first character input means inputs an arbitrary character selected from the document data.
[0155]
Therefore, the user does not need to specify the range of the search character string, and the search character string can be easily selected simply by moving the cursor.
[0156]
More preferably, a maximum number of characters input means for setting the maximum number of characters of the character string to be searched is provided.
[0157]
Therefore, by setting the maximum number of characters of the character string to be searched in advance before searching, the character string of the set maximum number of characters starting from the first character specified by the user is cut out and found in the dictionary data. It is possible to determine whether there is a character string that matches the character string stored as a word and to select a search character string.
[0158]
When the character string determination means determines that there is no entry word that matches the maximum number of characters starting from the first character, the character string determination means subtracts one character from the selected search character string. More preferably, the character string is subjected to the same determination as described above.
[0159]
Therefore, the determination is started from the character string having the maximum number of characters input in advance, and the same determination can be performed by reducing the number of characters one character at a time until a matching entry word is found.
[0160]
When an instruction to reduce the number of characters in the character string is input in a state where the search character string is selected, the character string determination unit includes a character string obtained by reducing the number of characters in the selected character string by one character More preferably, the headword is compared.
[0161]
Therefore, if you want to select a character string that is shorter than the currently selected character string as the search character string, you can easily reduce the selection range simply by moving the cursor, and use the new character string as the search character string. There is an effect that it can be selected.
[0162]
It is more preferable that a search information group attribute determination unit that determines an attribute assigned to each group of search information stored in the external storage unit is provided.
[0163]
Therefore, even when dictionary data based on a plurality of dictionaries, for example, is stored in an external storage unit such as a ROM, it is selected as a search character string based on the result determined by the search information group attribute determination means. The display of the character string can be changed.
[0164]
Therefore, the user can easily grasp the dictionary data based on which dictionary stored in the storage unit is the character string selected as the search character string.
[0165]
Further, when the search character string is determined and the explanatory text corresponding to the headword is displayed, the dictionary is automatically determined according to the attribute attached to the currently selected search character string. Therefore, since the user can directly perform a search without going through a screen for selecting a search destination dictionary, it is possible to omit useless operations.
[0166]
As described above, the electronic dictionary of the present invention includes the search character string selection device, a key input unit that performs key input to the search character string selection device, and a storage unit that stores the dictionary data. It is the composition which is.
[0167]
Therefore, it is possible to realize an electronic dictionary including the above-described search character string selection device that allows a user to easily select a search character string simply by placing the cursor on the first character of the character string to be searched. Play.
[0168]
As described above, the search character string selection method of the present invention includes the first step in which the first character input means inputs an arbitrary character selected from the sentence data, and the character string determination means First, it is determined whether or not a character string in sentence data having an arbitrary character input to the first character input means as a first character matches a character string stored as an entry word of search information in an external storage unit. And a third step of selecting a matched character string as a search character string when the search character string selection unit determines that the character string determination unit matches.
[0169]
Therefore, when performing a term search or the like, the user can simply move the cursor to the first character of the character string to be searched in the text data, and find the headline of the information stored in the storage means such as the ROM as dictionary data. A character string that matches a character string existing as a word can be automatically selected. For this reason, the user can select and search for a searchable character string in advance, and save the trouble of specifying the range of the search character string, and improve the operability when performing a term search. There is an effect that can be.
[0170]
In the search character string selection method of the present invention, only the searchable character string that matches the headword corresponding to the search information stored in advance as dictionary data is selected as the search character string. Although the search is performed by designating, the corresponding information is not stored, and it is possible to prevent the occurrence of a problem that the search cannot be performed. Therefore, useless search execution can be prevented and search processing can be performed efficiently.
[0171]
Furthermore, since the search character string can be selected instantly by simply moving the cursor and displayed on the screen using a method such as highlighting the selected character string, the selected search character string can be visually easily displayed. It becomes possible to confirm.
[0172]
The search character string selection program of the present invention is configured to cause a computer to execute the search character string selection device as described above.
[0173]
Therefore, it is possible to realize the search character string selection device by the program.
[0174]
As described above, the recording medium of the present invention is configured to record a search character string selection program that causes a computer to execute the search character string selection device.
[0175]
Therefore, the search character string selection device can be realized by the search character string selection program read from the recording medium.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic internal configuration of an electronic dictionary according to an embodiment of the present invention.
2 is a diagram showing a screen for setting the maximum number of extracted characters in the electronic dictionary of FIG. 1. FIG.
3 is a diagram illustrating an example of a setting table for the maximum number of extracted characters stored in a RAM included in the electronic dictionary of FIG. 1. FIG.
4 is a diagram illustrating an example of an index stored in a ROM included in the electronic dictionary of FIG. 1. FIG.
FIG. 5 is a flowchart showing a flow of processing for selecting a search character string by the electronic dictionary of FIG. 1;
6A to 6C are diagrams showing screens displayed on the electronic dictionary corresponding to the flowchart shown in FIG.
FIG. 7 is a flowchart showing processing when the search character string selection range by the electronic dictionary of FIG. 1 is reduced.
FIGS. 8A to 8C are diagrams showing screens displayed on the electronic dictionary corresponding to the flowchart of FIG.
9 is a diagram showing a screen displayed when a selected search character string exists in a plurality of dictionaries in the electronic dictionary of FIG. 1. FIG.
10 is a diagram showing an example of an attribute setting table stored in a RAM included in the electronic dictionary of FIG.
11 is a flowchart showing processing when a selected search character string exists in a plurality of dictionaries in the electronic dictionary of FIG. 1; FIG.
[Explanation of symbols]
2 First character input part (first character input means)
3 Maximum character number setting part (Maximum character number setting means)
4 Character string determination unit (character string determination means)
5. Search string selection part (search string selection means)
6 Attribute determination unit by dictionary (attribute determination unit by search information group)
10 Electronic dictionary
11 Control unit
12 Display
13 Display controller
14 Key input section
15 ROM
16 RAM
17 battery
25 ON key
26 OFF key
27 Function keys
28 alphanumeric keys

Claims (10)

文章データの中から検索を行う文字列を選択する検索文字列の選択装置において、
上記文章データ中から選択された任意の文字が入力される先頭文字入力手段と、
上記先頭文字入力手段に入力された任意の文字を先頭文字とする上記文章データに含まれる文字列と、外部の記憶部に検索情報の見出し語として格納された文字列と一致するか否かを判定する文字列判定手段と、
上記文字列判定手段が一致すると判定した場合に、一致した文字列を検索文字列として選択する検索文字列選択手段と、を備えていることを特徴とする検索文字列の選択装置。
In a search character string selection device that selects a character string to be searched from sentence data,
First character input means for inputting an arbitrary character selected from the sentence data;
Whether a character string included in the sentence data having an arbitrary character input to the first character input means as a first character matches a character string stored as an entry word of search information in an external storage unit A character string determining means for determining;
A search character string selection device comprising: a search character string selection unit that selects a matched character string as a search character string when the character string determination unit determines that they match.
上記先頭文字入力手段は、上記文書データから選択された任意の一文字が入力されることを特徴とする請求項1に記載の検索文字列の選択装置。2. The search character string selection device according to claim 1, wherein the first character input means inputs an arbitrary character selected from the document data. 上記検索を行う文字列の最大文字数を設定する最大文字数入力手段を備えていることを特徴とする請求項1または2に記載の検索文字列の選択装置。The search character string selection device according to claim 1 or 2, further comprising a maximum character number input means for setting a maximum number of characters of the character string to be searched. 上記文字列判定手段が、上記先頭文字から始まる最大文字数の文字列と一致する上記見出し語がないと判定した場合には、
上記文字列判定手段は、上記選択された検索文字列から一文字減らした文字列について、上記と同様の判定を行うことを特徴とする請求項3に記載の検索文字列の選択装置。
When the character string determination means determines that there is no headword that matches the character string of the maximum number of characters starting from the first character,
4. The search character string selection device according to claim 3, wherein the character string determination means performs the same determination as described above for a character string obtained by subtracting one character from the selected search character string.
上記検索文字列が選択された状態において、該文字列の文字数を減らす指示が入力された場合には、
上記文字列判定手段は、上記選択された文字列の文字数を一文字減らした文字列と上記見出し語とを比較することを特徴とする請求項1〜4の何れか1項に記載の検索文字列の選択装置。
When an instruction to reduce the number of characters in the character string is input in the state where the search character string is selected,
The search character string according to any one of claims 1 to 4, wherein the character string determination means compares a character string obtained by reducing the number of characters of the selected character string by one character and the headword. Selection device.
上記外部の記憶部に格納された検索情報のグループ毎に付された属性を判定する検索情報グループ別属性判定手段を備えていることを特徴とする請求項1〜5の何れか1項に記載の検索文字列の選択装置。The search information group-specific attribute determination means for determining an attribute assigned to each group of search information stored in the external storage unit is provided. Search string selection device. 請求項1〜6の何れか1項に記載の検索文字列の選択装置と、
上記検索文字列の選択装置に対するキー入力を行うキー入力部と、
上記辞書データを格納した記憶部とを備えていることを特徴とする電子辞書。
The search character string selection device according to any one of claims 1 to 6,
A key input unit for performing key input to the search character string selection device;
An electronic dictionary comprising a storage unit storing the dictionary data.
文章データの中から検索を行う文字列を選択する検索文字列の選択方法において、
先頭文字入力手段が、上記文章データ中から選択された任意の文字を入力される第1のステップと、
文字列判定手段が、上記先頭文字入力手段に入力された任意の文字を先頭文字とする文章データ中の文字列と、外部の記憶部に検索情報の見出し語として格納された文字列と一致するか否かを判定する第2のステップと、
検索文字列選択手段が、上記文字列判定手段が一致すると判定した場合に、一致した文字列を検索文字列として選択する第3のステップと、を含んでいることを特徴とする検索文字列の選択方法。
In the method of selecting a search character string for selecting a character string to be searched from sentence data,
A first step in which the first character input means inputs an arbitrary character selected from the sentence data;
The character string determination means matches the character string in the sentence data having the first character as an arbitrary character input to the first character input means, and the character string stored as the search information headword in the external storage unit A second step of determining whether or not
And a third step of selecting a matched character string as a search character string when the search character string selecting means determines that the character string determining means matches, and a search character string comprising: Selection method.
請求項1〜6の何れか1項に記載の検索文字列の選択装置をコンピュータに実行させることを特徴とする検索文字列の選択プログラム。A search character string selection program that causes a computer to execute the search character string selection device according to any one of claims 1 to 6. 請求項1〜6の何れか1項に記載の検索文字列の選択装置をコンピュータに実行させる検索文字列の選択プログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。A computer-readable recording medium having recorded thereon a search character string selection program for causing a computer to execute the search character string selection device according to any one of claims 1 to 6.
JP2003178661A 2003-06-23 2003-06-23 Electronic dictionary, electronic dictionary control method, electronic dictionary control program, and recording medium recording the same Expired - Fee Related JP4467915B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003178661A JP4467915B2 (en) 2003-06-23 2003-06-23 Electronic dictionary, electronic dictionary control method, electronic dictionary control program, and recording medium recording the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003178661A JP4467915B2 (en) 2003-06-23 2003-06-23 Electronic dictionary, electronic dictionary control method, electronic dictionary control program, and recording medium recording the same

Publications (3)

Publication Number Publication Date
JP2005018169A true JP2005018169A (en) 2005-01-20
JP2005018169A5 JP2005018169A5 (en) 2007-01-25
JP4467915B2 JP4467915B2 (en) 2010-05-26

Family

ID=34180209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003178661A Expired - Fee Related JP4467915B2 (en) 2003-06-23 2003-06-23 Electronic dictionary, electronic dictionary control method, electronic dictionary control program, and recording medium recording the same

Country Status (1)

Country Link
JP (1) JP4467915B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323645A (en) * 2005-05-19 2006-11-30 Casio Comput Co Ltd Information display device and program
JP2007087146A (en) * 2005-09-22 2007-04-05 Casio Comput Co Ltd Information display controller, electronic dictionary apparatus, and program
JP2012113352A (en) * 2010-11-19 2012-06-14 Casio Comput Co Ltd Electronic dictionary device and program
WO2020013615A1 (en) * 2018-07-10 2020-01-16 삼성전자 주식회사 Electronic device, and method for controlling electronic device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323645A (en) * 2005-05-19 2006-11-30 Casio Comput Co Ltd Information display device and program
JP4544031B2 (en) * 2005-05-19 2010-09-15 カシオ計算機株式会社 Information display device and program
JP2007087146A (en) * 2005-09-22 2007-04-05 Casio Comput Co Ltd Information display controller, electronic dictionary apparatus, and program
JP2012113352A (en) * 2010-11-19 2012-06-14 Casio Comput Co Ltd Electronic dictionary device and program
US8832550B2 (en) 2010-11-19 2014-09-09 Casio Computer Co., Ltd. Electronic dictionary device with touch panel display module and search method of electronic device with touch panel display module
WO2020013615A1 (en) * 2018-07-10 2020-01-16 삼성전자 주식회사 Electronic device, and method for controlling electronic device
US11435883B2 (en) 2018-07-10 2022-09-06 Samsung Electronics Co., Ltd. Electronic device, and method for controlling electronic device

Also Published As

Publication number Publication date
JP4467915B2 (en) 2010-05-26

Similar Documents

Publication Publication Date Title
US6247010B1 (en) Related information search method, related information search system, and computer-readable medium having stored therein a program
KR20110036846A (en) Information processing device and information processing method
KR20110046491A (en) Information processing device and information processing method
JP2005190338A (en) Device and method for information extraction
WO2004001570A1 (en) Method for describing existing data by a natural language and program for that
JP4467915B2 (en) Electronic dictionary, electronic dictionary control method, electronic dictionary control program, and recording medium recording the same
JP2001134585A (en) Electronic dictionary
JP2008026967A (en) Document retrieval system and program
JP4341514B2 (en) Dictionary information display control device and dictionary information display control program
JP2004118476A (en) Electronic dictionary equipment, retrieval result display method for electronic dictionary, its program, and recording medium
JP2008059169A (en) Chinese example sentence retrieval apparatus and program for process of retrieving chinese example sentence
JP4933879B2 (en) Electronic dictionary and jump screen display method in electronic dictionary
JPH07134720A (en) Method and device for presenting relative information in sentence preparing system
JP2008117310A (en) Dictionary retrieval device and dictionary retrieval processing program
JP3710463B2 (en) Translation support dictionary device
JP2010015311A (en) Electronic equipment equipped with dictionary function, and program
JP3498635B2 (en) Information retrieval method and apparatus, and computer-readable recording medium
JP2005070856A (en) Kanji idiom retrieving function in electronic dictionary
JP2000010973A (en) Character input system/method and recording medium which computer can read
JPH08137893A (en) Method and device for document retrieval
JP2004272678A (en) Information display controller and program
JP2004272676A (en) Information display controller and program
JPH1055360A (en) Device and method for address book processing
JP3760428B2 (en) Document editing apparatus and recording medium
JP2000048018A (en) Input prediction device, its method and recording medium recording input prediction program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060621

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060621

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090630

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100122

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100224

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130305

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130305

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140305

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees