JP3823151B2 - Dictionary evaluation support device, dictionary evaluation support program - Google Patents

Dictionary evaluation support device, dictionary evaluation support program Download PDF

Info

Publication number
JP3823151B2
JP3823151B2 JP2003019546A JP2003019546A JP3823151B2 JP 3823151 B2 JP3823151 B2 JP 3823151B2 JP 2003019546 A JP2003019546 A JP 2003019546A JP 2003019546 A JP2003019546 A JP 2003019546A JP 3823151 B2 JP3823151 B2 JP 3823151B2
Authority
JP
Japan
Prior art keywords
phrase
dictionary
tree diagram
information
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2003019546A
Other languages
Japanese (ja)
Other versions
JP2004234137A (en
Inventor
淳 善本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National Institute of Information and Communications Technology
Original Assignee
National Institute of Information and Communications Technology
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 National Institute of Information and Communications Technology filed Critical National Institute of Information and Communications Technology
Priority to JP2003019546A priority Critical patent/JP3823151B2/en
Publication of JP2004234137A publication Critical patent/JP2004234137A/en
Application granted granted Critical
Publication of JP3823151B2 publication Critical patent/JP3823151B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、辞書を選ぶ際の好適な指標となる情報を提示することができる辞書評価支援装置及びそのプログラムに関するものである。
【0002】
【従来の技術】
辞書や辞典には、百科事典、分類表、シソーラス、1つの言語内で閉じた「一国語辞典」、複数の言語間を結びつける「二国語辞典」など様々な種類のものがある(非特許文献1参照)。従来より、辞書を1つ選ぶとき、注意深く類似の辞書を比較してから選ぶ事は希である。すなわち、一般的に辞書をユーザである消費者が購入する場合、価格、大きさ、見出し語量、例文量、例文の容易さ、字の大きさ、図版の多さ、書評、自らの予算範囲等の表層的に得られる情報を参考にするのが通例であると考えられる。また電子辞書が書物としての辞書に対応して提供される機会が増えてきている現在では、例えばインターネット等で電子辞書のサンプル版や評価版を試してみて、気に入った辞書を選択のうえ、該当する電子辞書又はそれに対応する辞書の購入をするような場合もあると考えられる。すなわち、書物としての辞書であれ電子辞書であれ、大凡これまでの辞書の選び方というのは、辞書そのものの内容を客観的に評価する方法が存在しないため、ユーザは、表層的な情報を手掛かりにあくまで主観に基づいて漠然と辞書を評価することを購入時の参考にしていた。このことから、ユーザが辞書を選ぶ際にさらに必要なことは、今まで用いられてきた上述の表面的な評価の他に、評価し難い辞書内の語彙の偏り、他の語句との連携性、辞書編纂者の特徴の情報に関して他の辞書と比較しながら短時間で知ることだと考えられる。なお、以下では、辞書とは、図や写真に頼らない、語を他の語で説明してある1つの言語で記述・編纂された一国語辞典を指すものとするが、図や写真を利用した百科事典等も基本的にはある語を他の語でその説明を記述したものと把握することができる。
【0003】
ところで、ある語句とその語句の意味内容を表す別の語句とを図象化して表現するという考え方の一例として、節とその節を線で結ぶグラフとして言葉の構造を表す、有名な意味ネットワークの概念が挙げられる(非特許文献2参照)。この概念によれば、語句に対応する節(ノード)は2種類存在し、対象となる語句をtype、またその語句を表す語句群tokenとして区別している。また、ソシュールによって、語句は記号(signe)と、それが指し示す概念と聴覚映像の所記(signifie)と能記(signifiant)という存在に明確に分離されて久しいが(非特許文献3参照)、ようやく近年では高速な計算機によって記号(signe)部分の語句処理、例えば形態素解析(例えば非特許文献4参照)などの処理は可能となった。しかしながら未だ記号(signe)が指し示す概念(signifie、signifiant)としての語句を処理することは困難な現状にある。
【0004】
【非特許文献1】
シドニー・I・ランダウ(Landau,Sidney.I.)著、小島義郎・増田英夫・高野嘉明 訳、「辞書学のすべて(Dictionaries: the art and craft of lexicography)」研究社出版、1988年
【非特許文献2】
キリアン(Quillian,M.R.)著、「セマンティック メモリー(Semantic Memory)」、「セマンティック インフォメーション プロセッシング誌(Semantic Information Processing)」、ミンスキー(Minsky)編、エムアイティープレス(MIT Press)、1968年、p.216−270
【非特許文献3】
フェルディナン・ド・ソシュール(Ferdinand de Saussure)著、小林英夫訳、「一般言語学講義(改訂版)」、岩波書店、1972年
【非特許文献4】
長尾真著、「自然言語処理」、岩波書店、1996年
【0005】
【発明が解決しようとする課題】
例えばユーザ自身が辞書を購入する前に、複数の辞書の違いや特徴を知ろうとして、ある語句を複数の辞書でそれぞれ調べると、複数の辞書を引くという作業と、その内容を記憶(記録)するという手間を要し、またその記憶(記録)結果から見出し語の説明文に登場する語句の傾向などを公平な視野で一瞥して把握するのは極めて困難である。ましてや購入前に書店でそれを行うには常識的に困難である。書店側も購入前に消費者に長時間店に居座られたり、または比較のために貸出して持ち帰られるのにはリスクが伴う。図書館でも一般的に辞書は禁帯出扱いであるが故に、図書館内で比較作業を完了する必要がある。
【0006】
したがって、これらの辞書購入の際に利用する情報として、肝心の辞書の内容にまで踏み込んだ評価に基づく情報を得ることが困難であるために内容にまで踏み込まない表層的な情報に従わざるを得ないこと、また辞書は一般に頁数が極めて多いことから、書店等で短時間で一瞥した限りで、或いは上述のような表層的情報を入手してその辞書が当該消費者のニーズを満たすものであるか否かを判断することは困難である。特に、電子辞書の場合には、書物のようにページを開いて中の記載を読むということができないので、客観的な情報に基づく辞書選択の困難さはさらに高いものである。つまり、消費者は、上述のような辞書の内容にまでは至らない表面的な情報を元にして電子辞書を含む辞書の購入を決定している状況にあるといえる。また、このような状況は、言語を研究対象として日常的に多様な辞書を利用する機会が多い言語研究者に対して、大変な不自由を強いるものであるともいえる。すなわち、上述のような問題は、結局のところ、辞書の内容に基づく特徴を評価する方法が現時点では発達しておらず、上述したように客観的な評価方法が全く存在しないために、放置されているのが現状であることに起因している。
【0007】
一方、現在の計算機による言語処理では、概念を利用した高度な処理(感受性豊かで且つ柔軟な文章の生成や、人間に匹敵する人工知能)は未だ発展途中であり、この部分は計算機に任せるべきではないが、処理可能な部分の多くを計算機で処理することにより短時間で評価を容易にすることは可能である。
【0008】
そこで本発明は、以上のような問題に鑑みて、電子辞書を解析し、その辞書の内容的な特徴を客観的な情報に基づいて短時間で提示できるようにすることによって、辞書選択に役立つ方法を新しく提供しようとするものである。具体的には語句を一つの節(ノード)として扱い、その語句間を線で繋ぐ意味ネットワークを作成する表現手法を利用し、現在の計算機の能力で十分に作成可能であり、また今までには存在しないタイプの「辞書とその処理、図示化」に関する技術として、意味ネットワークの概念でいうところのtypeとtokenを同一の節(ノード)として処理し、等価であるが故に関数中に同一の関数を重ねて呼び出して処理させることも可能なように実装することを目的としている。
【0009】
【課題を解決するための手段】
すなわち、本発明は、見出し語群と各見出し語に対応する説明文章とを少なくとも格納した複数の電子辞書EDを利用して、これら複数の電子辞書EDの内容を評価する指標を出力するために用いられるものであって、その基本態様は、図1に示すように、語句の入力を受け付ける語句入力受付手段1と、この受け付けた語句を各電子辞書EDに格納された見出し語群から検索する見出し語検索手段2と、この検索結果に基づいて当該語句を見出し語とする説明文章を各電子辞書EDから抽出する説明文章抽出手段3と、抽出した各説明文章に対して形態素解析を実行し当該説明文章に含まれる語句のうち少なくとも一部の語句を電子辞書ごとについて前記見出し語に関連する関連語句として出力する関連語句出力手段4と、出力した各関連語句について見出し語を基準とする関連性を示す関連情報を電子辞書ごとについて生成する関連情報生成手段5と、生成した関連情報をそれぞれ出力する関連情報出力手段6とを具備し、前記語句入力受付手段1が、初期値として評価対象である評価対象語句の入力を自動的に受け付けるとともに、関連語句出力手段4で出力される関連語句の入力を受け付けるものであり、関連情報生成手段5が、各関連語句に関して、評価対象語句の入力を基準として当該関連語句が出力されるまでに語句入力受付手段1において初期値としての評価対象語句を見出し語とした語句の入力を受け付けた回数と関連語句を見出し語とした語句の入力を受け付けた回数の合計回数に基づく階層情報を含む関連情報を生成することを特徴とする辞書評価支援装置A1である。
【0010】
ここで、本発明において用いる電子辞書EDは、テキストデータである見出し語と、その見出し語についての説明文章をテキストデータで表したものとを関連づけて格納するものであり、一般的にはコンピュータ読み取り可能なCD−ROM等の記録メディアに記録された形態や、インターネット等の通信ネットワークを介してコンピュータにダウンロード可能な形態のデータベースを指す。また、電子辞書EDには、書物である辞書をスキャナ等で読み取って見出し語と説明文章とをテキストデータとしたユーザ独自が編集した形態のものや、見出し語や説明文章の内容に対応する挿絵等の画像データが含まれているもの、自然言語を多数収録したコーパス等も含まれる。
【0011】
このような辞書評価支援装置A1を利用すれば、始めに初期値として評価対象としたい語句を入力すると、それぞれの電子辞書EDについて、その評価対象語句を見出し語とする説明文章に出現する語句、すなわち評価対象語句と関係のある関連語句が出力され、さらにその関連語句に関係のある語句、さらにその関連語句に関係のある語句、と連鎖的に関連語句が出力されるとともに、各関連語句の評価対象語句との階層的な関係を示す階層情報を関係情報が生成、出力されるので、この出力された関係情報を見ることで、利用者は、各電子辞書ED内に格納されている語句の内容的な繋がりを知ることができるようになる。すなわち、従来であれば、辞書を購入しようとするユーザは、見出し語数等の表層的な情報しか判断の基準を得ることができなかったが、本発明を利用することで、当該電子辞書EDの実質的な内容である関連情報を複数の電子辞書EDについて比較しつつ辞書購入の際の指標として活用することができるようになる。このことは、言語研究者にとっても、いかなる辞書を利用すべきかの判断基準にもなり、日々の研究開発に大いに役立つものである。したがって、本発明は、辞書評価の基準となる情報を全く新規に提供することを可能とするものである。
【0012】
なお、関連語句出力手段4において出力する関連語句は、説明文章からランダムに選択することもできるが、評価対象語句との関係の深い関連語句を適切に選択して出力する方が、辞書評価に利用する関連情報がより好適なものとなる。したがって、関連語句出力手段4においては、説明文章を一以上の説明文に分割し、その分割した各説明文に対して実行した形態素解析の結果に基づいて、各説明文に出現する語句に対して当該説明文における文頭からの出現順位を示す語句出現順位を付与し、所定の語句出現順位に係る語句を関連語句として出力するようにすることが望ましい。具体的には、ある見出し語の説明文章は、複数の説明文から構成されていることが多いので、関連語句出力手段4において、語句出現順位が1位の語句を関連語句として出力するように構成すると、各説明文に出現する代表的な語句を一通り網羅することができるとともに、装置及びプログラムの簡素化のためには好適である。
【0013】
また、本発明は、上述した辞書評価支援装置A1の基本構成に加えて、図2に示すように、関連語句の階層情報について所定階層までの関連情報の生成を指定する旨の階層指定情報の入力を受け付ける階層指定情報受付手段7を更に具備する態様の辞書評価支援装置A2とすることもできる。この場合、関連情報生成手段5が、階層指定情報受付手段7で受け付けた階層指定情報に対応する階層情報を有する関連情報を生成した場合、関連情報の生成を終了する旨の終了情報を生成し、関連情報出力手段6がこの終了情報を含む関連情報を出力し、この終了情報に基づいて語句入力受付手段1が語句の入力受付を終了する。このようなものであれば、予めデフォルトで階層を指定して入力しておくか、ユーザが好みの階層を指定して入力することで、関連語句の連鎖がその指定された階層で停止することになり、関連情報が冗長になるのを防止し適切な情報を得ることができる。
【0014】
さらに、上述した各辞書評価支援装置A1、A2において、関連語句出力手段4が、出力する関連語句に対して前記語句出現順位と共に、説明文章において当該関連語句を含む説明文が出現した順位を示す説明文出現順位を付与するものとして、関連情報生成手段5において生成する関連情報を、直前に関連語句出力手段4で出力した関連語句について、当該関連語句の語句出現順位を定数とし、且つ、当該関連語句が出現した説明文により構成される説明文章に対応する見出し語と、前記説明文出現順位とを変数とする関数によって表される情報から構成されるものとすることもできる。この場合、関連情報は上述した所定の関数データとして得られるため、関連情報の簡易化と利用の便宜を向上することができる。この場合、関連語句出力手段4を、評価対象語句についてのみ説明文出現順位が1位から所定順位までの関連語句を出力し、評価対象語句以外の関連語句については説明文出現順位が1位の関連語句のみを出力するものとして構成すれば、評価対象語句についてはある程度の広がりを持った関連語句及びそれらの関連情報が得られ、それ以上の下位階層の関連語句については説明文章の最初に出現する語句のみが関連語句として処理されるため、評価対象語句を起点としたまとまりのよい関連語句群及びそれらの関連情報を得ることが可能となる。
【0015】
さらにまた、辞書評価支援装置A1又はA2の構成に加えて、図3に示すように、評価対象語句に基づいて直接出力される関連語句の説明文出現順位を指定する説明文出現順位指定情報の入力を受け付ける説明文出現順位指定情報受付手段8を更に備えた辞書評価支援装置A3を構成する場合、語句入力受付手段1が、説明文出現順位指定情報受付手段8で受け付けた説明文出現順位指定情報に係る説明文出現順位を越える説明文出現順位を有する関連語句の入力を受け付けないようにすることでも、評価対象語句については指定された出現順位の説明文に含まれる関連語句及びそれらの関連情報が得られるので、評価対象語句を起点とした好ましい関連語句群及びそれらの関連情報を得ることが可能となる。なお、同図において、破線で示した部分は、辞書評価支援装置A3におけるオプション的な構成であり、当該部分の機能を辞書評価支援装置A3の機能として含めるか否かを適宜選択することができる。
【0016】
また、本発明は、図4に示すように、評価対象語句及び関連語句の品詞を指定する品詞指定情報を受け付ける品詞指定受付手段9を更に有する辞書評価支援装置A4とすることもできる。この場合、語句入力受付手段1は、品詞指定受付手段9で受け付けた品詞のみの入力を受け付けるものであり、関連語句出力手段4が、形態素解析に基づいて品詞指定受付手段で受け付けた品詞に対応する語句のみを関連語句として出力するようにするとよい。すなわち、名詞、動詞、形容詞等の品詞から一又は二以上の品詞を予め指定しておくことで、関連語句の特定及び出力に関する効率の向上が図られる。
【0017】
ところで、出力される関連情報は、ビジュアル的に表現した方が、評価対象語句を起点とする関連語句群の関係が把握しやすいと考えられる。したがって、以上に説明した辞書評価支援装置A1、A2、A3又はA4の構成に加えて、図5に示すような、関連情報出力手段6で出力した関連情報に基づいて、評価対象語句を起点とし各関連語句の評価対象語句に対する位置付けを表した樹系図を電子辞書EDごとに生成する樹系図生成手段10と、生成した各樹系図をディスプレイに表示可能な画像データとして出力する樹系図出力手段11とを更に備えた辞書評価支援装置A5を構成することが適当である。すなわち、ユーザは、辞書の評価に際して、関連情報に基づいて作成された評価対象語句及び関連語句の樹系図として視認することが可能となるため、電子辞書の内容を効率よく知ることが可能である。なお、同図においても、破線で示した部分は、辞書評価支援装置A5におけるオプション的な構成であり、当該部分の機能を辞書評価支援装置A5の機能として含めるか否かを適宜選択することができる。
【0018】
このような効果を有効に得ることができる具体的なものとしては、図6に示すように、前述した辞書評価支援装置A4の構成に加えて、関連情報出力手段6で出力した関連情報に含まれる前記階層情報、語句出現順位及び説明文出現順位に基づいて、評価対象語句を起点とし各関連語句の評価対象語句に対する位置付けを表した樹系図を生成する樹系図生成手段10と、生成した各樹系図をディスプレイに表示可能な画像データとして出力する樹系図出力手段11とを更に具備し、樹系図生成手段11が、複数の電子辞書EDに基づく単一の樹系図を生成するようにした辞書評価支援装置A6を挙げることができる。なお、同図においても、破線で示した部分は、辞書評価支援装置A6におけるオプション的な構成であり、当該部分の機能を辞書評価支援装置A6の機能として含めるか否かを適宜選択することができる。このような構成にすると、出力の結果ディスプレイ等に表示される樹系図には、複数の電子辞書EDに基づく評価対象語句と関連語句との繋がりを一見して把握知ることが可能であるため、辞書の評価に極めて便利である。
【0019】
関連語句を連鎖的に出力していくと、何れかの関連語句が当該電子辞書EDにおいて見出し語に挙げられていない場合などがあり、このような場合には、表示される樹系図には関連語句がそれ以上存在しないことを明確にすることで、ユーザの便宜が図られる。したがってこの場合には、見出し語検索手段2において検索対象である語句が何れかの電子辞書EDの見出し語群に存在しないと判断した場合、説明文出現順位指定情報8で受け付けた説明文出現順位に該当する説明文がその説明文章に存在しないと判断した場合、又は品詞指定受付手段9で受け付けた品詞指定情報に該当する説明文中の当該品詞に係る語彙数が所定の語句出現順位数未満と判断した場合、の何れかの場合に該当するとき、関連情報生成手段5がその電子辞書における関連情報をヌルとするとともに、関連情報出力手段6がこのヌルを返値として出力し、それに基づき樹系図生成手段10が当該ヌルに該当する部位を空欄又は終了を表す表記に変換した樹系図を生成し、樹系図出力手段11がこの生成された樹系図を出力するようにコンピュータを機能させるとよい。また、出力された関連語句が、その関連語句を含む説明文章の見出し語である場合や、既に入力を受け付けた語句と同一である場合、すなわち関連語句同士又は関連語句と評価対象語句との「ループ」が形成される場合の処理を行うことも考えられる。
【0020】
また、樹系図生成手段10が、評価対象語句及び関連語句を表示可能な所定の語句表示欄を有する節と、節同士を結ぶ線とからなる樹系図を生成するものであり、電子辞書ごとに異なる形状の前記節を生成するものであれば、電子辞書EDごとにユーザが評価対象語句と関連語句との関係をより把握しやすい樹系図を生成することが可能である。また、生成されディスプレイに表示される樹系図にも、関連情報を把握し得る情報を表示すると、関連語句同士の関係性を把握しやすいことから樹系図生成手段10において、生成すべき樹系図の線の一部又は近傍に、電子辞書の名称又は種別及び関連情報から構成される添字を付加するようにすることが好ましい。さらに、辞書ごとに異なる表示を施すと、樹系図の見やすさが向上するので、樹系図生成手段10では、生成すべき樹系図の節について、電子辞書EDごとに異なる形状の語句表示欄を設定するようにしてもよい。
【0021】
さらに、同一の電子辞書EDから得られた複数の関連語句又は異なる電子辞書EDからそれぞれ得られた複数の関連語句が同一であって重複する場合も考えられる。この場合に重複する関連語句を示す節を明確に表すには、樹系図生成手段10において、その重複する関連語句が表示される節における語句表示欄の形状を所定形状に変化させるようにすると便利である。これと同様に、樹系図生成手段10において、生成すべき樹系図における線についても、電子辞書EDごとに異なる形状の線を設定することも望ましいといえる。特に、上述したように関連語句の重複があり、その関連語句と直接又は間接的に関係のある関連語句との間にも重複がある場合には、樹系図生成手段10において、ある関連語句と、それとは別の関連情報を有する関連語句を重複して表示しない樹系図を生成するようにすると、すっきりとした見やすい樹系図を得ることができる。なお、この場合であっても、樹系図生成手段10において、生成すべき樹系図の線の一部又は近傍に添字を付加する場合には、その添字についても重複して表示しない樹系図を生成することが好ましい。ここで、各関連語句は固有の関連情報を有しているため、同一の語句が重複したとしても異なる関連語句であるとみなすものとする。
【0022】
また、樹系図生成手段10が、複数の電子辞書ED基づいて生成される単一の樹系図に加えて、それぞれの電子辞書に対応する複数の樹系図をも生成するものであり、さらに樹系図出力手段11が、前述した単一の樹系図又は複数の樹系図を選択的に出力することができるようなものであると、単一の樹系図からは全ての電子辞書EDに基づく評価対象語句と関連語句との関連性を一目見て把握することができるだけでなく、複数の電子辞書EDごとの樹系図によって電子辞書EDごと内容の評価をも簡単に行うことができるので、極めて便利である。その他、樹系図生成手段10を、複数の電子辞書EDごとの樹系図を生成するものとするとともに、樹系図出力手段11を、各樹系図をそれぞれ出力するものとしても、出力された樹系図同士の対比によって、電子辞書EDごとの内容の評価を行うことが可能である。
【0023】
ここで、樹系図出力手段11における樹系図の出力は、ディスプレイ以外の出力装置にも樹系図生成手段で生成した樹系図を画像データとして出力する態様も含むことができる。
【0024】
なお、以上に説明した辞書評価支援装置A1〜A6は、ディスプレイやスピーカ等の出力デバイス、キーボードやマウス等の入力デバイスなどの周辺機器を接続したパーソナルコンピュータにより実現することができる。また、辞書評価支援装置A1〜A6は、インターネット等の通信ネットワークに接続されたサーバコンピュータとしても実現することができ、この場合は、インターネット等に接続したユーザのクライアントコンピュータから評価対象語句等の入力を受け付けて所定の処理を行い、関連情報や樹系図の画像データ等をクライアントコンピュータに送信してそれをクライアントコンピュータのディスプレイ等に表示させるような態様で実施される。また、辞書評価支援プログラムは、CD−ROM等の記録メディアに記録した態様や、インターネット等の通信ネットワークからのダウンロード等の態様で提供され、さらに当該プログラムを読み込んだコンピュータ上で起動されることにより、コンピュータを辞書評価支援装置A1〜A6として機能させるものである。
【0025】
【発明の実施の形態】
以下、本発明の一実施形態を、図面を参照して説明する。
【0026】
この実施形態は、通常のパーソナルコンピュータPCに辞書評価支援プログラムをインストールすることによって、当該パーソナルコンピュータPCを上述した辞書評価支援装置のうち全ての処理手段を備えた辞書評価支援装置A7(図7参照)として機能させるものである。また、電子辞書EDとしては、パーソナルコンピュータPCで読み取り可能なCD−ROM版の国語辞典を用いるものとする。
【0027】
まず、パーソナルコンピュータPCの機器構成を簡単に説明すると、図8に示すように、バス線等で電気的に接続されたCPU101、メインメモリ(RAM)やビデオメモリ(VRAM)等のメモリ102、ハードディスク等のストレージデバイス103、キーボードやマウス等の入力デバイス104、ディスプレイやスピーカ等の出力デバイス105、CD−ROMドライブ106等を基本的に備えた一般的な構成を有するものである。但し、本実施形態では複数の電子辞書EDを利用するものとしているため、パーソナルコンピュータPCは、複数のCD−ROMを読み取り可能な台数のCD−ROMドライブ106を備えたものとするか、パーソナルコンピュータPCが1台のCD−ROMドライブ106のみを備えている場合にはCD−ROMを逐次CD−ROMドライブ106に挿入してそれらCD−ROMを順番に読み取るかの何れかの構成として、何れの態様にしても、読み取ったデータをストレージデバイス103に格納していることとする。
【0028】
そして、ストレージデバイス103に格納した辞書評価支援プログラムをCPU101の制御により内部メモリ102に記憶させて当該プログラムを起動し、そのプログラムに従ったCPU101からの指令に基づいて他の各部を動作させることによって、このパーソナルコンピュータPCを、図7に示すように、語句入力受付手段1、見出し語検索手段2、説明文章抽出手段3、関連語句出力手段4、関連情報生成手段5、関連情報出力手段6、階層指定情報受付手段7、説明文出現順位指定情報受付手段8、樹系図生成手段10、樹系図出力手段11、品詞指定受付手段9の各手段を備えた辞書評価支援装置A7として機能させている。なお、見出し語検索手段2において電子辞書EDに格納された見出し語を検索する場合、及び説明文章抽出手段6において電子辞書EDから説明文章を抽出する場合には、CPU101からの指令に基づきCD−ROMドライブ106に挿入されたCD−ROMにアクセスして、必要な情報を内部メモリ102に記憶させる。なお、電子辞書EDを予めストレージデバイス103に格納している場合には、CPU101の指示に基づきストレージデバイス103から必要な情報を読み出し、電子辞書EDがインターネット上のデータベースサーバ等に格納されている場合には、CPU101の指示に基づきモデム等の通信インターフェースを通じて必要な情報をアップロード又はダウンロードする。その他の各手段としての機能は、CPU101による所定の演算処理や他の各部の駆動等により実現される。
【0029】
また、電子辞書EDに記録されている情報は、例えば図9に示すように、少なくとも見出し語HWとそれに対応する説明文章EWである。見出し語HW及び説明文章EWは、いずれも同一国語である日本語のテキストデータである。また、見出し語HWには、その語句の品詞の種類を表す情報が、各品詞Cごとに固有の識別子等として付与されている。説明文章EWは、一又は二以上の説明文ESから構成される。すなわち、説明文章EWは、単一の説明文ES又は複数の説明文ESの集合から構成されているといえる。なお、同図に一例として示した電子辞書EDに記録されている情報は、「広辞苑CD−ROM版 第4版(株式会社 岩波書店)」における、「五街道」という見出し語HWとその説明文章EWである。この例では、「五街道」に対応する説明文章EWに2つの説明文ESが含まれている。さらに電子辞書EDには、当該電子辞書EDに固有の記号、漢字の読み、動詞の変化、用語の範疇、図表や挿絵、例文等の情報が記録されている場合があるが、それらは本実施形態では使用しない。
【0030】
次に、本実施形態においてプログラムに従ったパーソナルコンピュータPCが辞書評価支援装置A7として機能する場合の動作手順について、図10〜図27に示すフローチャートを参照して説明する。なお、以下に示す辞書評価支援装置A7の動作は、説明の簡易化のため、2つの電子辞書ED(以下、必要に応じて「辞書A」、「辞書B」と称する)を読み込んで行う場合についてのものとするが、3つ以上の電子辞書EDの場合にも応用できることはいうまでもない。また、2つの電子辞書EDは、その内容が何れもストレージデバイス103に格納されているものとする。
【0031】
まず、辞書評価支援装置A7の処理の大まかな流れについて、図10に示すフローチャートに基づいて説明する。ユーザが辞書評価支援プログラムを起動すると(図10、start)、サブルートAを実行して、辞書A、辞書B…を読み取り可能な状態とし、評価対象語句Waをユーザに正しく入力させて、その入力された情報をメモリ102に格納する(ステップS1)。この工程には、語句入力受付手段1における評価対象語句Waの入力受付機能に基づく処理が含まれる。次に、サブルートBを実行して、評価に必要な他の諸情報をユーザに正しく入力させて、その入力された情報をメモリ102に格納する(ステップS2)。この工程には、階層指定情報受付手段7、説明文出現順位指定情報受付手段8、品詞指定受付手段9の各機能に基づく処理が含まれる。次に、サブルートCを実行して、各辞書A,Bから関連語句を抽出し、その抽出した関連語句及び各関連語句に係る関連情報をメモリ102に格納する(ステップS3)。この工程には、語句入力受付手段1における関連語句の受付機能、見出し語検索手段2、説明文章抽出手段3、関連語句出力手段4、関連情報生成手段5の各機能に基づく処理が含まれる。最後に、サブルートDを実行して、抽出された関連語句をグラフ(樹系図)として表した画像データを生成し、出力デバイス105の一つであるディスプレイに出力して表示させて(ステップS4)、一連の処理を終了する(end)。この工程には、関連情報出力手段6、樹系図生成手段10、樹系図出力手段11の各機能に基づく処理が含まれる。以下、各ステップの処理について具体的に説明する。
【0032】
図11は、サブルートAにおける処理手順を示すフローチャートである。まず始めに、辞書評価支援装置A7は、ユーザにより行われたプログラムの起動に従って、ディスプレイ105に初期画面を出力してそれを表示させる(図11、ステップS101)。次に、初期画面に従って、読み出し可能な状態にある複数の電子辞書EDからユーザに第1の辞書を選択させ、例えば選択により指定された辞書を辞書Aとする(ステップS102)。また、同様に、辞書A以外の一又は複数の電子辞書EDからユーザに第2の辞書を選択させ、例えば選択により指定された辞書を辞書Bとする(ステップS103)。次に、初期画面に従って、ユーザに評価対象語句Waを入力させ、その入力を受け付けるとともに受け付けた評価対象語句Waをメモリ102に格納する(ステップS104)。具体的には、初期画面に評価対象語句Waの入力欄を設定しておき、その入力欄に、評価の対象としたい語句を、ユーザが仮名、漢字、アルファベット等で直接入力できるようにしておく。特に電子辞書EDが日本語の辞書である場合には、評価対象語句Waの入力に際して、パーソナルコンピュータPCに漢字仮名変換機能が搭載されてあるのが望ましい。そして、メモリ102から評価対象語句Waを取り出して、辞書Aにおける見出し語に「Wa」が存在するか否かを後述するサブルートEの処理によって検索し、このサブルートEで得られた返値Rを「AR」とする(ステップS105)。また同様に、辞書Bにおける見出し語に「Wa」が存在するか否かをサブルートEの処理によって検索し、このサブルートEで得られた返値Rを「BR」とする(ステップS106)。次に、これら返値「AR」及び「BR」がともに「FALSE」であれば(ステップS107;Yes)、評価対象語句Waが何れの辞書A,Bの見出し語にも存在しないため、エラー出力を行う(ステップS107a)。具体的には、ディスプレイ105に「辞書A,Bに、評価対象語句Waの見出しが存在しませんでした」等の文章を出力して表示させ、ユーザに再入力を要求するために、ステップS101に戻る。一方、返値「AR」及び「BR」がともに「FALSE」ではない場合(ステップS107;No)、「AR」のみが「FALSE」ならば(ステップS108;Yes)、エラー出力を行う(ステップS108a)。具体的には、ディスプレイ105に「辞書A中に、評価対象語句Waの見出しが存在しませんでした」等の文章を出力して表示させ、ユーザに再入力を要求するために、ステップS101に戻る。一方、「AR」が「FALSE」ではない、すなわち「TRUE」の場合は(ステップS108;No)、「BR」のみが「FALSE」ならば(ステップS109;Yes)、エラー出力を行う(ステップS109a)。具体的には、ディスプレイ105に「辞書B中に、評価対象語句Waの見出しが存在しませんでした」等の文章を出力して表示させ、ユーザに再入力を要求するために、ステップS101に戻る。一方、「BR」が「FALSE」ではない、すなわち「AR」及び「BR」が何れも「TRUE」であれば(ステップS109;No)、サブルートAの処理を終了する。
【0033】
ここで、サブルートEにおける辞書評価支援装置A7の処理手順を、図15に示すフローチャートに基づいて説明する。サブルートEは、FALSE又はTRUEの返値を返す関数として機能し、サブルートEを呼び出す時にはターゲット語句とターゲット辞書を指定して呼び出すことが必要である。サブルートEでの演算後には、指定された変数に返値であるFALSE又はTRUEが代入される。サブルートE内部ではターゲット語句は変数Wtとして、ターゲット辞書は変数Dtとして処理される。まず、メモリ102から検索対象となるターゲット語句Wtを取り出し、それに対応する見出し語を、検索対象となるターゲット辞書Dtから検索する(図15、ステップS501)。ここで、検索対象となるターゲット語句が評価対象語句Waである場合は、Wt=Waである。また、検索対象となる電子辞書EDが辞書A又は辞書Bである場合は、Dt=A、又はDt=Bである。次に、ターゲット語句Wtがターゲット辞書Dtの見出し語に存在する場合は(S502;No)、返値Rとして「TRUE」を設定し(ステップS503)、ターゲット語句Wtがターゲット辞書Dtの見出し語に存在しない場合は(S502;Yes)、返値Rとして「FALSE」を設定して(ステップS504)、サブルートEの処理を終了する。
【0034】
次に、サブルートAの処理に続くサブルートBにおける辞書評価支援装置A7の処理手順を、図12に示すフローチャートを参照して説明する。まずここでは、ディスプレイ105に各情報選択画面を出力してそれを表示させる(図12、ステップS201)。この各情報選択画面では、階層指定情報の入力、説明文出現順位指定情報の入力、語句出現順位指定情報の入力、及び、評価対象語句の入力が可能となっている。階層(Ln)は、評価対象語句Waからみた各関連語句の関連性の深さを示すものであり、評価対象語句を第0階層(Ln=0)とした場合、評価対象語句を見出し語HWとする説明文章EWに出現する語句の階層は第1階層(Ln=1)と定義され、第1階層の関連語句を見出し語とする説明文章に出現する語句は、第2階層(Ln=2)と定義される。以下、各階層は、Ln(nは0以上の整数)で表されるものとする。階層指定情報LnMaxは、ユーザが最大限で何階層までの関連語句を得たいかを示している。説明文出現順位(ESn)は、ある見出し語に対応する説明文章EWについて単文の説明文ESに分割する結果、先頭の説明文ESから順に付与される各説明文ESの出現順位を表すものである。ここで、nは1以上の整数である。説明文出現順位指定情報ESnMaxは、ユーザが最大限で何番目の説明文ESに出現する語句を得たいかを表す。語句出現順位(Wn)は、説明文章EWを単文に分割された結果得られる各説明文ESにおいて、その語句が先頭から数えて何番目に出現するかを表すものである。ここで、nは1以上の整数である。語句出現順位指定情報WnFixは、ユーザが、ある説明文ESにおいて何番目に出現する語句を得たいかを表す。
【0035】
辞書評価支援装置A7は、各情報選択画面に基づいてユーザに希望する階層指定情報LnMaxを選択させる(ステップS202)。また、辞書評価支援装置A7は、各情報選択画面に基づいてユーザに希望する説明文出現順位指定情報ESMaxを選択させる(ステップS203)。さらにまた、辞書評価支援装置A7は、各情報選択画面に基づいてユーザに希望する語句出現順位指定情報WnFixを選択させる(ステップS204)。なお、階層指定情報LnMax、説明文出現順位指定情報ESnMax、語句出現順位指定情報WnFixの各初期入力時に既にデフォルト値を設定しておき、ユーザが変更を望む場合に他の値に変更することができるようにすることができる。ここで、選択可能な値は何れも自然数であるとする。そして、階層指定情報LnMax、説明文出現順位指定情報ESnMax、語句出現順位指定情報WnFixの全てについて、入力された値が自然数であるか否かを検証し、自然数でなければ(ステップS205;No)、エラー出力を行う(ステップS205a)。具体的には、ディスプレイ105に「無効な数値。自然数のみ選択可」等の文章を出力して表示させ、ユーザに再入力を要求するために、ステップS201に戻る。入力された値が自然数であれば(ステップS205;Yes)、階層指定情報LnMax、説明文出現順位指定情報ESnMax、語句出現順位指定情報WnFixを受け付けてメモリ102に格納する(ステップS206)。
【0036】
次に、辞書評価支援装置A7は、ディスプレイ105に品詞指定情報選択画面を出力して表示させる(ステップS207)。ここで、品詞指定情報Cは、ターゲット辞書Dtにおいて、ターゲット語句Wtの品詞の種類を表すものであり、例えば、普通名詞、固有名詞、動詞、形容詞等を示す情報であって、それらの情報は、電子辞書EDにおいて各見出し語HWに対応して付与されている品詞に関する識別子psIDに対応している。そして、この品詞指定情報選択画面に基づいてユーザに希望する品詞指定情報Cを選択させる(ステップS208)。なお、初期入力時に、例えば名詞等の何れか一種類の品詞をデフォルト値に設定しておき、ユーザが変更を望む場合に他の品詞に変更可能としておくことができる。そして、入力された品詞指定情報Cの有効性を検証し、無効であれば(ステップS209;No)、エラー出力を行う(ステップS209a)。具体的には、ディスプレイ105に「無効な品詞」等の文章を出力して表示させ、ユーザに再入力を要求するために、ステップS207に戻る。一方、入力された品詞指定情報Cが有効な場合は(ステップS209;Yes)、その品詞指定情報Cを受け付けてメモリ102に格納し(ステップS210)、サブルートBの処理を終了する。
【0037】
このサブルートBの処理に続いて行われるサブルートCの処理について、図13に示すフローチャートに基づいて説明する。辞書評価支援装置A7はまず、メモリ102から階層指定情報LnMax及び説明文出現順位指定情報ESnMaxを取り出し、これらに基づいて最大出現節数WMaxを算出し、語句配列AW(1)〜AW(WMax)及び語句配列BW(1)〜BW(WMax)に対応するメモリ領域を確保する(ステップS301)。ここで、「節」とは、後に生成する樹系図において、評価対象語句Wa及び関連語句を文字データとして表示する部分を示すものであり、最大出現節数WMaxは、樹系図に表示される「節」の最大値を表す。なお、最大出現節数WMaxは、階層指定情報LnMax及び説明文出現順位指定情報ESnMaxから一意に決定でき、具体的には説明文出現順位指定情報ESnMaxの0乗から順次ESnMaxのLnMax乗の総和[Wmax=EsnMax^0+EsnMax^1+・・・・+EsnMax^LnMax]である。また、語句配列は、評価対象語句Waの節から最大出現節数WMaxの関連語句の節までの全ての節の配列を示すものであり、上述したAW(1)〜AW(WMax)は、辞書Aについての節の語句配列を表し、BW(1)〜BW(WMax)は、辞書Bについての節の語句配列を表す。
【0038】
次に、語句配列AW(1)〜AW(WMax)、BW(1)〜BW(WMax)をヌル「“”」として初期化し(ステップS302)、メモリ102から取り出した評価対象語句Waを、AW(1)、BW(1)に代入する。そして、汎用変数iに数値「1」を代入するとともに、終了フラグ「FALSE」を立てる(ステップS304)。さらに、汎用変数jに、説明文出現順位指定情報ESnMaxを代入する(ステップS305)。この後、まず、ターゲット辞書Aについて、ターゲット語句AW(i)、説明文出現順位j、語句出現順位WnFix、ターゲット品詞Cを引数に、次に説明するサブルートFの処理を実行し、サブルートFで返値として得られた語句(これを関連語句とする)Rを、語句配列AW((i−1)*ESnMax+1+j)に収納してメモリ102に格納する(ステップS306)。同様に、ターゲット辞書Bについて、ターゲット語句BW(i)、説明文出現順位j、語句出現順位WnFix、ターゲット品詞Cを引数に、サブルートFの処理を実行し、サブルートFで返値として得られた語句(これを関連語句とする)Rを、語句配列BW((i−1)*ESnMax+1+j)に収納してメモリ102に格納する(ステップS307)。
【0039】
ここで、図16を参照して、サブルートFの処理について説明する。サブルートFは文字列の返値を返す関数として機能し、サブルートFを呼び出す時には、ターゲット辞書、ターゲット語句、ターゲット説明文番数、ターゲット品詞、ターゲット語番数のそれぞれを指定して呼び出すことが必要である。サブルートFでの演算後には、指定された変数に文字列が代入される。サブルートF内部では、ターゲット辞書は変数Dtとして、ターゲット語句は変数Wtとして、ターゲット説明文番数は変数nとして、ターゲット品詞は変数Cとして、ターゲット語番数は変数WnFixとして処理される。辞書評価支援装置A7は、まず、ターゲット語句Wtがヌル(“”)であるか否かを判断し、ヌルであると判断した場合は(図16、ステップS601;Yes)、返値Rにヌル(“”)を代入して(ステップS611)、このサブルートFの処理を終了する。一方、ステップS601において、ターゲット語句Wtがヌルではないと判断した場合(ステップS601;No)、ターゲット辞書Dtとターゲット語句Wtを引数として前述したサブルートE(図15参照)の処理を実行して、返値Rを取得する(ステップS602)。ここで、返値Rが「FALSE」であれば(ステップS603;Yes)、返値Rにヌル(“”)を代入して(ステップS611)、このサブルートFの処理を終了する。一方、返値Rが「FALSE」ではない、すなわち「TRUE」ならば(ステップS603;No)、ターゲット辞書Dtからターゲット語句Wtを見出し語HWとする説明文章EWを抽出し(ステップS604)、さらにそのターゲット辞書Dtに特有のフィルタを用いて、抽出した説明文章EWから見出し語HWの分類記号や括弧書等を含めた読み仮名等を削除したうえで(ステップS605)、その説明文章EWを単文である1以上の説明文ESに分割し、n番目の説明文ESを取得する(ステップS606)。ここで、n番目の説明文ESとは、当該説明文章EWにおいて1番目に出現する説明文ESからメモリ102に格納された説明文出現順位指定情報ESnMaxに対応する説明文ESまでの各説明文ESを意味し、nは自然数で表される。次に、n番目の説明文ESの存在を確認し、存在しない場合(ステップS607;Yes)は、返値Rにヌル(“”)を代入して(ステップS611)、このサブルートFの処理を終了する。一方、n番目の説明文ESが存在する場合は(ステップS607;No)、そのn番目の説明文ESに対して形態素解析を実行し、メモリ102に格納されたターゲット品詞C以外の語句を無視する処理を行う(ステップS608)。さらに、ターゲット品詞Cの語句数が該当する説明文ES内に、メモリ102に格納された語句出現順位指定情報WnFixに対応する個数未満であるか否かを判断して、WnFix個以上である場合は(ステップS609;No)、返値RにWnFix番目の語句を代入してこれを関連語句としたうえでその語句についての関連情報fを生成するとともにターゲット辞書Dt(A又はB)ごとに分類してメモリ102に格納し(ステップS610)、このサブルートFの処理を終了する。一方、ステップS609において、ターゲット品詞Cの語句数がWnFix未満であると判断した場合は(ステップS609;Yes)、返値Rにヌル(“”)を代入して(ステップS611)、このサブルートFの処理を終了する。ここで、返値Rで表される関連語句に関する情報である関連情報は、ターゲット語句Wt、説明文出現順位ESn、ターゲット辞書Dt、ターゲット品詞C、語句出現順位指定情報WnFixを引数とする関数[searchword(Wt,ESn,Dt,C,WnFix)]で表すことができる。詳述すると、ある関連語句に関する関連情報は、ターゲット辞書DtにおいてWtという見出し語を説明する説明文章ESのうち説明文出現順位がESnの説明文ESに出てくるターゲット品詞Cに該当する語句であって、当該説明文ESに出現する語句出現順位WnFixの語句を示す関数として表されることになる。従って、例えば評価対象語句Waの入力があった場合、辞書Aにおいてこの評価対象語句Waを見出し語とする1階層目の説明文章のうち、出現順位第1位の説明文(ES1)における出現順位第1位の語句(WnFix=1)が関連語句となる場合、返値ARの関連情報は、何れの辞書に係る関連語句であるのかは左辺の返値「AR」より明らかであり、また品詞の種類及び語句出現順位はユーザ自身で指定したものであるのでユーザにとっては自明であることから右辺において省略するとして、AR=searchword(Wa,1)で表される。さらに、同辞書Aにおいてその関連語句を見出し語とする2階層目の説明文章のうち、出現順位第2位の説明文(ES2)における出現順位第1位の語句(WnFix=1)が関連語句となる場合、返値ARの関連情報は、AR=searchword(searchword(Wa,1)),2)で表される。
【0040】
以下、サブルートCに戻って説明を続ける。上述したように、サブルートFで得られた返値Rを、ステップS306及びステップS307においてそれぞれ関連語句として語句配列AW((i−1)*ESnMax+1+j)、BW((i−1)*ESnMax+1+j)に収納してメモリ102に格納した後、((i−1)*ESnMax+1+j)が最大出現節数WMaxと等しいか否かを判断する。((i−1)*ESnMax+1+j)と最大出現節数WMaxとが等しくない場合は(ステップS308;No)、汎用変数jの次の値として「j−1」を代入する(ステップS309)が、等しい場合は(ステップS308;Yes)、終了フラグ「TRUE」を立ててから(ステップS308a)、汎用変数jの次の値として「j−1」を代入する(ステップS309)。次に、汎用変数jの値が0であるか否かを判断し、0以外の値であれば(ステップS310;No)、ステップS305の処理に戻る。一方、汎用変数jの値が0である場合は(ステップS310;Yes)、汎用変数iの次の値として「i+1」を代入し(ステップS311)、終了フラグが「TRUE」であるか否かを判断する。終了フラグが「TRUE」ではない、すなわち「FALSE」である場合は(ステップS312;No)、ステップS306の処理に戻り、終了フラグが「TRUE」である場合は(ステップS312;Yes)、関連情報が終了情報であるとして、サブルートCの処理を終了する。以上のようにして、各辞書A,Bごとに、評価対象語句Waに基づく関連語句の取得と、各関連語句に対応する関連情報fの生成が行われ、各関連語句及び関連情報fが語句配列AW((i−1)*ESnMax+1+j)、BW((i−1)*ESnMax+1+j)に収納されることになる。
【0041】
次に、樹系図を生成し出力するサブルートDにおける辞書評価支援装置A7の処理について、図14及び図17〜図27に基づいて説明する。なお、前提として、生成される樹系図は、複数の節と、関連のある節同士を接続する線と、各線に対応させた添字とから構成される。本実施形態では「節クラス」に語句が当てはめられ、「線クラスに」終点に矢印が設定された矢印線及び添字ラベルが当てはめられるものとする。また、線クラスについては、始点に接続される節クラスと終点に接続される節クラスが存在するので、始点を「from」、終点を「to」で表すものとする。
【0042】
図14は、サブルートDにおける辞書評価支援装置A7の処理の全体を概略的に示したフローチャートである。同図に示すように、このサブルートDは、主として9つのサブルート(サブルートD1〜D9)から構成される。まず、サブルートD1を実行し、樹系図における節の設定を行い、辞書Aについての情報検索及び収納を行う(ステップS41)。それに続いてサブルートD2を実行し、樹系図における節の設定を行うが、ここでは辞書Bについての情報検索及び収納を行う(ステップS42)。さらに、サブルートD3を実行し、前記サブルートD1及びD2で設定した各節を接続する樹系図上の線の設定を行う(ステップS43)。そしてサブルートD4を実行して、樹系図上で重複する線(同一線)を排除する(ステップS44)。さらに、サブルートD5を実行して、前記サブルートD4で有効とされた線をバネとみなし、そのバネの両端に存在する各節に速度を加算する(ステップS45)。続いてサブルートD6を実行し、節間に働く仮想上の斥力を演算する(ステップS46)。そして、サブルートD7を実行し、サブルートD6で得られた節間の斥力に基づいて、全節を移動させる(ステップS47)。そして、サブルートD8を実行して、線及び節からなる樹系図の生成・描画及びディスプレイへの表示を行い(ステップS48)、最後にサブルートD9を実行して、ディスプレイに表示された樹系図をユーザに入力により表示変更して(ステップS49)、サブルートDにおける処理、並びに全行程の処理を終了する。以下、各サブルートD1〜D9における処理について、対応する図17〜図27を参照して詳述する。
【0043】
まず図17は、サブルートD1として節の設定のための処理を示すものであって、ここでは辞書Aについての情報検索及び収納を行う。サブルートCまでで得た辞書Aについてのターゲット語句AW(i)の中には、同一語句が重複して存在している場合があり、ターゲット語句AW(i)の変数iを1〜最大出現節数WMaxまで変化させるループ処理の中で、同一語句の存在をチェックする。そこで、語句の重複を避けるために、整理配列AWID(j)という配列変数を利用して整理を行う。なお、ターゲット語句AW(j)の値は語句を文字列として扱っているのに対し、整理配列AWID(j)は整数を値として持つ配列として扱っており、その数値は、ターゲット語句AW(i)の変数iを指すことになる。そして、新出の語句が出現するたびに、nodeというオブジェクトの変数に情報を収納してゆく。さらに、同図に示す工程が終了した時点で、節数npは、辞書Aにおける語句数を示す。
【0044】
具体的な処理としては、始めに、節クラスとそのメンバ変数の設定を行う。ここで、クラスやそれにより生成されたオブジェクトとそのメンバ変数の概念を利用しない場合は、例えばnodeオブジェクトのメンバ変数node[i].abcは、通常配列変数node_abc[i]等と読み替えても影響がないように記述してある。またオブジェクトのメソッドは利用せず、変数をメンバ変数として容易に整理するためにのみオブジェクトを利用している。節クラスは、文字配列変数(word)、整数変数(dic)、実数変数(dx)、実数変数(dy)、ブール変数(lock)、実数変数(x)、実数変数(y)をメンバ変数とする。節クラスからnodeオブジェクトを(Wmax*2)個生成する。次に、節数npに次の値である「np+1」を代入し、文字列変数(node[np].word)にターゲット語句AW(i)を代入し、整数変数(node[np].dic)に値1を代入する。また、実数変数(node[np].dx,node[np].dy)にはそれぞれ値0を代入し、ブール変数(node[np].lock)には「FALSE」を代入し、また、実数変数(node[np].x,node[np].y)にはそれぞれ乱数を代入する(ステップS403)。ただし、整数変数(dic)は、値1が辞書Aにおける語句を示し、値2が辞書Bにおける語句を示し、値3が辞書A及びBに共通の語句を示す。また、ブール変数(node[np].lock)が「FALSE」であることは、その節が後述するサブルートD7においてその節が移動し得ることを意味し、「TRUE」であればその節は固定されて動かないことを意味する。ここで、ユーザの入力による評価対象語句Waは必ず存在するので、Wa(=AW(1))の処理については、node[1]については評価対象語句Waの情報が与えられる。次に、辞書Aの整理配列AWID(0)に値0を代入し、AW(1)に値1を代入する(ステップS404)。
【0045】
さらに、汎用変数iの次の値として「i+1」を代入し、汎用変数jには値1を代入する(ステップS405)。ここで、ターゲット語句AW(i)がヌル値(“”)であるか否かを判断し(ステップS406)、ヌル語句(“”)であれば(ステップS406;Yes)、辞書Aの整理配列AWID(i)に値0を代入した上で(ステップS406a)、後述するステップS412の処理へ進む。一方、ステップS406において、ターゲット語句AW(i)がヌル値でなければ(ステップS406;No)、次にそのターゲット語句AW(i)が既出の語句であるか否かを判断する(ステップS407)。ターゲット語句AW(i)が既出の語句と一致する場合は(ステップS407;Yes)、後述するステップS411へ進み、一致しない場合は(ステップS407;No)、汎用変数jに次の値「j+1」を代入する(ステップS408)。そして、この汎用変数jがノードポインタ(np)以下の値であれば(ステップS409;No)、ステップS407へ戻り、汎用変数jがノードポインタ(np)よりも大きい値ならば(ステップS409;Yes)、初出の語句の処理を行う(ステップS410)。すなわち、前述したステップS403と同様に、節数npに次の値である「np+1」を代入し、文字列変数(node[np].word)にターゲット語句AW(i)を代入し、整数変数(node[np].dic)に値1を代入する。さらに、ブール変数(node[np].lock)に「FALSE」を代入し、実数変数(node[np].dx,node[np].dy)にはそれぞれ値0を代入し、実数変数(node[np].x,node[np].y)にはそれぞれ乱数を代入する。そのうえで、辞書Aの整理配列AW(i)に汎用変数jを代入し(ステップS411)、汎用変数iが最大出現節数WMaxと一致するまでステップS405に戻り繰り返し重複、新出語句チェックの処理を行う(ステップS412;No)。一致後は(ステップS412;Yes)、このサブルートD1の処理を終え、辞書Bについての節設定の処理工程(サブルートD2)へ進む。以上の演算処理によって辞書Aについて得た重複のない関連語句の数は、np個である。
【0046】
図18は、サブルートD2として節の設定のための処理を示すものであって、ここでは辞書Bについての情報検索及び収納を行う。すなわち、前工程と同様に、辞書Bについて、ターゲット語句BW(i)から整理配列BWID(j)へと語句の重複を調査しつつ整理し、新出語句の情報をオブジェクトnodeに収納する。この工程が終了した時点で、節数npは、辞書A及び辞書Bにおける総語句数を示す。また、変数nodeには、辞書Aにのみ出現する語句か、辞書Bにのみ出現する語句か、辞書A及びBの両方に出現する語句なのかを判断する数値を、node(i).dicに対して設定する。例えば処理がここまで進んでいる場合、評価対象語句Waは、辞書A、辞書Bと共に出現するのはひつぜんであるので、node[0].dicはこのサブルートD2終了後には3が代入されていることになる。
【0047】
具体的な処理としては、図17に示したステップS412に続いて(D2)、まず汎用変数iに値1を代入し(ステップS413)、前述のステップS404と同様に、辞書Bの整理配列BWID(0)に値0を代入し、BW(1)に値1を代入する(ステップS414)。そして、ステップS405と同様に、汎用変数iに次の値「i+1」を代入するとともに、汎用変数jに値1を代入する(ステップS415)。ここで、ターゲット語句BW(i)がヌル値(“”)であるか否かを判断し(ステップS416)、ヌル語句(“”)であれば(ステップS416;Yes)、辞書Bの整理配列BWID(i)に値0を代入した上で(ステップS416a)、後述するステップS422の処理へ進む。一方、ステップS416において、ターゲット語句BW(i)がヌル値でなければ(ステップS416;No)、次にそのターゲット語句BW(i)が既出の語句であるか否かを判断する(ステップS417)。ターゲット語句BW(i)が既出の語句と一致する場合は(ステップS417;Yes)、その節クラスノードの整数(node[j].dic)が値1であるか否かを判断して、値1でなければ(ステップS417a;No)辞書Aには存在しなかった語句であるので後述するステップS412へ進み、値1であれば(ステップS417a;Yes)辞書Aにも存在した語句であるので、節クラスノードの整数(node[j].dic)に値3を代入した後(ステップS417b)、後述するステップS412へ進む。一方、ターゲット語句BW(i)が既出の語句と一致しない場合は(ステップS417;No)、汎用変数jに次の値「j+1」を代入する(ステップS418)。そして、この汎用変数jがノードポインタ(np)以下の値であれば(ステップS419;No)、ステップS417へ戻り、汎用変数jがノードポインタ(np)よりも大きい値ならば(ステップS419;Yes)、初出の語句の処理を行う。すなわち、前述したステップS410と同様に、節数npに次の値である「np+1」を代入し、文字列変数(node[np].word)にターゲット語句BW(i)を代入し、整数変数(node[np].dic)に値2を代入する。また、実数変数(node[np].dx,node[np].dy)にはそれぞれ値0を代入し、実数変数(node[np].x,node[np].y)にはそれぞれ乱数を代入する。また、ブール変数(node[np].lock)には「FALSE」を代入する(ステップS420)。そのうえで、辞書Bの整理配列BW(i)に汎用変数jを代入し(ステップS421)、汎用変数iが最大出現節数WMaxと一致するか否かを判断する(ステップS422)。汎用変数iが最大出現節数WMaxと一致しない場合は(ステップS422;No)、ステップS415へ戻って辞書Bの全関連語句BW(1)〜BW(WMax)の全てにおいて重複、新出語句チェックの処理を続行し、一致する場合は(ステップS422;Yes)、辞書Bについての節設定の処理工程であるサブルートD2の処理を終了し、次の工程であるサブルートD3へ進む。
【0048】
図19は、サブルートD3として線を設定する工程を示している。サブルートD1及びサブルートD2において、辞書A及び辞書Bについての節の設定が終わると、それに続いて、節と節とを結ぶ線(edge)に関する情報を収納する処理を行う。この工程では、辞書Aに対応する線オブジェクトedge[j](但し、j=1〜WMax)と、辞書Bに対応する線オブジェクトedge[j](但し、j=WMax+1〜WMax*2)を一度に処理する。辞書Aに関する処理か、辞書Bに関する処理かは、変数jが最大出現節数WMax以下なら辞書A、それよりも大きければ辞書Bと判断する。以下の説明において、線オブジェクトedge[i]は、localfrom番目の節とi番目の節とを結ぶ線を示す。また、一例として、説明文出現順位指定情報ESnMaxが3であれば、それを整理するために設定した「locallabel」が1、2、3の値を取ることとしている。最終的に、ある線オブジェクトedgeの両側(線オブジェクトedgeのメンバ変数である整数変数from、整数変数toが指し示す節オブジェクトのメンバ変数である文字列word)がヌル以外の節である場合は、その線オブジェクトedgeは有効(該当する線オブジェクトedgeのメンバ変数であるブール変数flagがTRUE)となり、反対に、片側や両側がヌルならばその線オブジェクトedgeは無効(該当する線オブジェクトedgeのメンバ変数であるブール変数がFALSE)となる。そして、有効(該当する線オブジェクトedgeのメンバ変数であるブール変数がTRUE)な線オブジェクトedgeのみが、本工程の後の工程における処理であるバネ演算やディスプレイへの表示の対象となる。
【0049】
具体的な処理としては、始めに、線クラスとそのメンバ変数の設定を行う。線クラスは、整数変数(from)、整数変数(to)、実数変数(len)、整数変数(type)、文字列変数(label)、ブール変数(flag)をメンバ変数とする。線クラスからedgeオブジェクトを(Wmax*2)個生成する。そして、汎用変数jに値1を代入する(ステップS424)。続いて、汎用変数jが最大出現節数WMax以下であればこの値jを汎用変数iに代入し、汎用変数jが最大出現節数WMaxよりも大きい値であればこの値jから最大出現節数WMaxを引いた値を汎用変数iに代入する。また、汎用変数jが最大出現節数WMax以下であればターゲット辞書Dtに辞書Aを適用し、汎用変数jが最大出現節数WMaxよりも大きい値であればターゲット辞書Dtに辞書Bを適用する(以上、ステップS425)。さらに、汎用変数iが値1の場合は、変数localfromに値0を代入し、汎用変数iが値1以外の場合は、この値iから数2を引いた値を説明文出現順位指定情報ESnMaxで除した値の整数値に値1を加える演算によって得られる値を変数localfromに代入する。これは、i番目にあたる線オブジェクトedge[i]がlocalfrom番目の節オブジェクトnode[localfrom]とi番目の節オブジェクトのnode[i]に接続していることを意味している。また、文字列変数locallabelには、先に得られた変数localfromから数1を引いた値に説明文出現順位指定情報ESnMaxを乗じた値を変数iから引き、さらに値1を加えた値を文字列として代入する。これは、locallabelには説明文出現順位ESnが代入されるが、その説明文出現順位ESnが変数iから何ESn目かを算出することを意味している(以上、ステップS426)。そして、汎用変数jと最大出現節数WMaxとを比較し(ステップS427)、汎用変数jが、最大出現節数WMax以下であれば(ステップS427;No)辞書Aについて処理し、最大出現節数WMaxよりも大きければ(ステップS427;Yes)辞書Bについて処理する。
【0050】
辞書Aについては、edge[j].fromに整理配列AWID(localfrom)を、edge[j].toに整理配列AWID(i)を、edge[j].typeに文字列変数locallabelを整数化して代入し、edge[j].lenに適切な固定線長mを代入し、edge[j].labelに、変数iが1ならばターゲット辞書Dtを代入し、それ以外の場合はedge[locallabel].label+locallabelを代入する(ステップS428)。そして、整理配列AWID(edge[j].from)が値0であるか、又は、整理配列AWID(edge[j].to)が値0であるかを検証する(ステップS428a)。なお、適切な固定長mとは、この線オブジェクトedgeの基本長であり、その値はこの装置の表示装置などに依存する。線オブジェクトedgeが押されたり引かれたりして適切な固定長mよりも長さが長くなったり短くなったりした場合に、バネと同様に固定長mに戻ろうとする力が働くように演算する処理を後の処理で行っている。一方、辞書Bについても同様の処理を行う(ステップS429,S430)。ここで、ステップS428a及びステップS429aのいずれかにおいて、整理配列AWID(edge[j].from)又はAWID(edge[j].to)の何れか一方、整理配列BWID(edge[j].from)又はBWID(edge[j].to)の何れか一方がヌル節の場合には(ステップS428a;Yes,ステップS429a;Yes)、それぞれ当該線クラスは始点又は終点に節が存在しない無効な線オブジェクトedgeであるとして、edge[j].flagをFALSEとする(ステップS430,ステップS431)。一方、ステップS428a及びステップS429aの両方において、整理配列AWID(edge[j].from)及びAWID(edge[j].to)の両方、整理配列BWID(edge[j].from)及びBWID(edge[j].to)の両方がヌル節ではない場合には(ステップS428a;No,ステップS429a;No)、それぞれ当該線オブジェクトedgeは始点及び終点に節が存在する有効な線オブジェクトedgeであるとして、edge[j].flagをTRUEとする(ステップS432)。そして、ステップS430〜S432に続いて、汎用変数jに次の値「j+1」を代入した後(ステップS433)、この汎用変数jと最大出現節数WMaxの2倍の値とを比較する(ステップS434)。これは、辞書A及び辞書Bの2つの辞書を用いていることから、最大の線数が最大出現節数WMaxの2倍の値を取ることに基づく。そして、汎用変数jが最大出現節数WMaxの2倍の値以下の場合には(ステップS434;No)、ステップS425に戻って同様の工程を繰り返し行い、汎用変数jが最大出現節数WMaxの2倍の値を越えたところで(ステップS434;Yes)、この線の設定の工程であるサブルートD3の処理を終え、次のサブルートD4へ進む。
【0051】
このように設定された線オブジェクトedgeには、辞書A,Bについて同一の関連語句が出現した場合、同一の節から同一の節へ接続する線オブジェクトedgeが重複しているものが存在することから、この重複する線オブジェクトedge、すなわち、同一のfromと同一のtoを有する線オブジェクトedgeを排除する処理が必要となる。このように、重複する線オブジェクトedgeを排除するサブルートD4の処理工程を図20に示す。
【0052】
具体的には、まず、辞書Aについての処理として、汎用変数iに値2を代入し(ステップS435)、その変数iを汎用変数jに代入する(ステップS436)。さらに、汎用変数jに次の値「j+1」を代入して(ステップS437)、当該線が同一であるか否かを検証する(ステップS438)。すなわち、edge[i].fromとedge[j].fromとが一致し、且つedge[i].toとedge[j].toとが一致する場合には(ステップS438;Yes)、同一線であると判断してedge[j].flagをFALSEとしてそれを無効化し(ステップS438a)、それ以外の場合には(ステップS438;No)、同一線ではないと判断する。そして、汎用変数jと最大出現節数WMaxとを比較し、一致しなければ(ステップS439;No)ステップS537へ戻って同様の処理を繰り返し、一致したところで(ステップS439;Yes)、汎用変数iに次の値「i+1」を代入する(ステップS440)。さらに、この新しい汎用変数iと最大出現節数WMaxとを比較し、一致しなければ(ステップS441;No)ステップS436へ戻って同様の処理を繰り返し、一致したところで(ステップS441;Yes)、辞書Bの処理へ移行する。
【0053】
辞書Bについての処理としては、まず、汎用変数iに最大出現節数WMaxに2を加算した値を代入し(ステップS442)、その変数iを汎用変数jに代入する(ステップS443)。さらに、汎用変数jに次の値「j+1」を代入して(ステップS444)、当該線が同一であるか否かを検証する(ステップS545)。すなわち、edge[i].fromとedge[j].fromとが一致し、且つedge[i].toとedge[j].toとが一致する場合には(ステップS445;Yes)、同一線であると判断してedge[j].flagをFALSEとしてそれを無効化し(ステップS445a)、それ以外の場合には(ステップS445;No)、同一線ではないと判断する。そして、汎用変数jと最大出現節数WMaxの2倍の値とを比較し、一致しなければ(ステップS446;No)ステップS444へ戻って同様の処理を繰り返し、一致したところで(ステップS446;Yes)、汎用変数iに次の値「i+1」を代入する(ステップS447)。さらに、この新しい汎用変数iと最大出現節数WMaxの2倍の値とを比較し、一致しなければ(ステップS448;No)ステップS443へ戻って同様の処理を繰り返し、一致したところで(ステップS448;Yes)、辞書Bの処理を終えて、このサブルートD4の処理を終了し、次のサブルートD5の処理工程へ移行する。
【0054】
図21に示すサブルートD5の処理工程では、上述したサブルートD4の処理工程で有効とされた線オブジェクトedgeをバネとみなし、そのバネの両端に存在するそれぞれの節に速度を加算する処理を行う。なお、以下で述べるバネ定数aは、数0を越える適当な数であり、微小数値deltamは、例えば数0.001等の適当に小さな数とする。斥力計算において0で除算を避けるための外的動乱の種として使用する。また、斥力定数bは、0以上の値である。さらに、摩擦係数cofは、ディスプレイへの表示手段の性能や演算速度に依存するものであり、0<cof<1の値で適当な値とする。また、「localvx」は、二次元の座標中、x座標における2つの節が取る距離を表し、「localvy」は、同座標中、y座標における2つの節が取る距離を表し、「locallen」は、2つの節が取る距離を表すものとする。
【0055】
まず、辞書A表示のブーリアン及び辞書B表示のブーリアンである変数(adraw及びbdraw)をいずれも「TRUE」とし,バネ定数a,斥力定数b、微小数値deitam、摩擦係数cofをそれぞれ定義して(ステップS449)、汎用変数iに値1を代入する(ステップS450)。ここで、バネの有効性を検証し(ステップS451)、バネが有効(edge[1].flag=TRUE)であれば(ステップS451;Yes)、次に示すような各値に所定値を代入する処理を行う。すなわち、ここでは、localvxに、節オブジェクトnode[edge[i].to].xの値から節オブジェクトnode[edge[i].from].xの値を引いた値を、localvyに、節オブジェクトnode[edge[i].to].yの値から節オブジェクトnode[edge[i].from].yの値を引いた値を、locallenに、localvxの二乗値とlocalvyの二乗値との和の正の平方根をそれぞれ代入する。また、edges[i].lenからlocallenを引いた値にバネ定数aを乗じてこの値をfとする。そして、この値fにlocalvxを乗じた値、fにlocalvyを乗じた値を、それぞれx座標、y座標における速度localdx、localdyに代入する。そして、以下の各速度、節オブジェクトnode[edge[i].to].dxに、節オブジェクトnode[edge[i].to].dxの値に先に求めたlocaldxを加えた値を、節オブジェクトnode[edge[i].to].dyに、節オブジェクトnode[edge[i].to].dyの値に先に求めたlocaldyを加えた値を、節オブジェクトnode[edge[i].from].dxに、節オブジェクトnode[edge[i].to].dxの値からlocaldxを引いた値を、節オブジェクトnode[edge[i].from].dyに、節オブジェクトnode[edge[i].to].dyの値からlocaldyを引いた値を、それぞれ代入する(ステップS452)。そして、汎用変数iに次の値「i+1」を代入する(ステップS453)。ただし、ステップS451において、バネが無効(edge[i].flag=FALSE)であった場合には(ステップS451;No)、ステップS452を飛ばしてステップS453の処理を行う。そして、新たな汎用変数iと最大出現節数WMaxの2倍の値とを比較し、汎用変数iがWMaxの2倍の値以下であれば(ステップS454;No)、ステップS451に戻って同様の処理を繰り返し、汎用変数iの値が最大出現節数WNaxの2倍の値よりも大きくなったところで(ステップS454;Yes)、このサブルートD5の処理を終了して次のサブルートD6へ移行する。
【0056】
図22に示すサブルートD6の処理工程では、前工程で得られた速度に基づいて、各節間の斥力演算を行う。なお、本実施形態において、斥力の演算に関しては、分子間力の計算に利用するレナード=ジョーンズの式を用いず、より簡易に、斥力は距離の2乗に反比例するとして演算を行うものとしている。まず、汎用変数iに値1を代入する(ステップS455)。次に、前工程で得られた速度localdx、速度localdyにそれぞれ値0を代入し、さらに汎用変数jに値1を代入する(ステップS456)。そして、値iと値jの異同を検証する(ステップS457)。ここで、値iと値jとが一致しなければ(ステップS457;No)、距離localvxに、節オブジェクトnode[i].xの値と節オブジェクトnode[j].xの値との差を、距離localvyに、節オブジェクトnode[i].yの値と節オブジェクトnode[j].yの値との差を、距離locallenに、距離localvxの二乗値と距離localvyの二乗値との和を代入する(ステップS458)。そして、この距離locallenが値0であるか否か、すなわち線オブジェクトedgeに長さが存在するか否かを判断し、距離locallenに長さがあれば(locallen>0,ステップS458;No)、速度localdxには、以前の速度localdxに斥力定数bと距離locallenの2乗の逆数と距離localvxの積を加算した値を代入し、速度localdyには、以前の速度localdyに斥力定数bと距離locallenの2乗の逆数と距離localvyの積を加算した値を代入する(ステップS460)。一方、距離locallenに長さがない場合は(locallen=0,ステップS459;Yes)、速度localdx,localdyに微少な値を付与する(ステップS461)。すなわち、「randam()」を毎回異なる0以上1未満の実数を与える関数として速度localdxには、以前の速度localdxに乱数と先に定義した微小数値deltamとの積を加算した値を代入し、速度localdyには、以前の速度localdyに乱数と先に定義した微小数値deltamとの積を加算した値を代入する。これは、距離locallenの値が0であると、商を求めることができないために、距離locallenが0の場合のみ、救済策として適当な数を乱数を用いて、速度localdx,localdyに与えることとしている。また、前記ステップS457において値iと値jとが一致した場合には(ステップS456;Yes)、ステップS458〜ステップS461を飛ばす。そして次に、汎用変数jに、次の値「j+1」を代入して(ステップS462)、この値jとノードポインタ(総節数)npとを比較する(ステップS463)。ここで、値jがノードポインタnp以下であれば(ステップS463;No)、ステップS457に戻って同様の処理を繰り返し、値jがノードポインタnpよりも大きくなったところで(ステップS463;Yes)、節の速度node[i].dxに前の節の速度node[i].dxと速度localdxとの和を、節の速度node[i].dyに前の節の速度node[i].dyと速度localdxとの和を、それぞれ代入する(ステップS464)。すなわち、各節について、それ自身以外の全ての節に対する斥力を演算して、最後にそれ自身の各速度に加算する。そして汎用変数iに、次の値「i+1」を代入して(ステップS465)、この値iとノードポインタnpとを比較する(ステップS466)。ここで、値iがノードポインタnp以下であれば(ステップS466;No)、ステップS456に戻って同様の処理を繰り返し、値iがノードポインタnpよりも大きくなったところで(ステップS466;Yes)、このサブルートD6における斥力演算の工程を終了して、次のサブルートD7の処理工程へ移行する。
【0057】
図23に示すサブルートD7の処理工程では、前工程で得られた速度に基づいて、各節及び線を出力デバイス105であるディスプレイに表示可能な領域へ移動させる処理を行う。なお、以下の説明において、「WIDTH」及び「HEIGHT」とは、ディスプレイにおける表示画面の幅及び高さを示す。画面には、0〜WIDTHまで、0〜HEIGHTまでの領域が表示できるものとする。
【0058】
まず、汎用変数iに値1を代入する(ステップS467)。そして、節の移動の可否について判断し(node[np].lock=TRUE?)、節が固定されている場合は(ステップS468;Yes)、各速度(node[i].dx,node[i].dy)に値0を代入した(ステップS468a)後にステップS469へ、節が固定されていない場合は(ステップS468;No)そのまま、各節の位置に現在の各速度を加算し(node[i].xにnode[i].xとnode[i].dxの和を代入、node[i].yにnode[i].yとnode[i].dyの和を代入)、次いで、表示範囲外ならば範囲内いっぱいに修正する。具体的にはnode[i].xに、node[i].xが値0未満なら値0を、それ以外ならnode[i].xを代入する。node[i].xに、node[i].xがWIDTH以上ならその値WIDTHを、それ以外ならnode[i].xを代入する。また、node[i].yに、node[i].yが値0未満なら値0を、それ以外ならnode[i].yを代入する。node[i].yに、node[i].yがHEIGHT以上ならその値HEIGHTを、それ以外ならnode[i].xを代入する。最後に、各速度dx,dyを、摩擦係数cofとの積にすることにより減少させる(速度node[i].dxに,速度node[i].dxと摩擦係数cofとの積を代入、速度node[i].dyに,速度node[i].dyと摩擦係数cofとの積を代入)(以上、ステップS469)。そして、汎用変数iに次の値「i+1」を代入して(ステップS470)、その値iとノードポインタnpとを比較する(ステップS471)。ここで、値iがノードポインタnp以下であれば(ステップS471;No)、ステップS468へ戻って同様の処理を繰り返し、値iがノードポインタnpよりも大きくなったところで(ステップS471;Yes)、サブルートD7における節の移動の処理を終え、次のサブルートD8の処理工程へ移行する。
【0059】
図24に示すサブルートD8の処理工程では、樹系図の描画による生成を実行する。すなわち、前工程までで得られた節及び線に関する情報に基づいて、本工程では、まず線オブジェクトedgeの描画を行い、続いて節オブジェクトnodeの描画を行う。
【0060】
まず、辞書Aについての表示(adraw)の可否を判断し、辞書Aの樹系図を表示する場合は(ステップS472;Yes)、引数を開始ポインタ(1)及び終了ポインタ(最大出現節数WMax)としてサブルートGを実行した後、表示しない場合は(ステップS472;No)すぐに続けて辞書Bについての表示(bdraw)の可否を判断する。辞書Bの樹系図を表示する場合は(ステップS473;Yes)、引数を開始ポインタ(最大出現節数WMax)及び終了ポインタ(最大出現節数WMaxの二倍値)としてサブルートGを実行した後、表示しない場合は(ステップS473;No)すぐに続けて汎用変数iに値1を代入する(ステップS474)。
【0061】
ここで、図26を参照して、サブルートGにおける処理について説明する。サブルートGは特に何の返値を返さない、メインルーチンから頻繁に呼び出されるサブルーチンとして機能し、サブルートGを呼び出す時には開始ポインタ、終了ポインタのそれぞれを指定して呼び出すことが必要である。この工程では、有効な線オブジェクトedgeを矢印として描画し、線オブジェクトedgeの内容である当該線オブジェクトedgeの終点側の節オブジェクトnodeの関連情報に係る添字(ラベル)を、その線オブジェクトedgeの中点近傍に描画する。具体的には、開始ポインタ及び終了ポインタを引数として、まず、線オブジェクトedgeのフラグを検証する。すなわち、edge[i].flagが「FALSE」であれば(ステップS701;Yes)、このサブルートGの処理を終了するが、edge[i].flagが「TRUE」であれば(ステップS701;No)、汎用変数iに開始ポインタを代入する(ステップS702)。ここで、開始ポインタは、上述したように辞書Aの場合は1であり、辞書Bの場合は最大出現節数WMax+1である。次に、線オブジェクトedgeの始点と終点の座標を設定する。すなわち、線オブジェクトedgeの始点の座標(x1,y1)に、(node[edge[i].from].x,node[edge[i].from].y)を、終点の座標(x2,y2)に、(node[edge[i].to].x,node[edge[i].to].y)を、それぞれ代入する(ステップS703)。続いて、始点座標(x1,y1)から終点座標(x2,y2)まで、所定の線種(edge[i].type)で矢印を描画する(ステップS704)。ここで線種は、例えば、(edge[i].type)が1なら実線、(edge[i].type)が2なら点線等と定めておくことができる。次に、描画した矢印で表される線オブジェクトedgeの中点座標((x1+x2)/2,(y1+y2)/2)が、添字を示すラベル(edge[i].label)の文字列の中央近傍となるように、当該ラベルの文字列を描画する(ステップS705)。そして、次の線の描画のため、汎用変数iに次の値「i+1」を代入し(ステップS706)、この変数iの値が終了ポインタよりも大きいか否かを判断する(ステップS707)。ここで、終了ポインタは、辞書Aならば最大出現節数WMaxであり、辞書Bならば最大出現節数WMaxの二倍値である。変数iが終了ポインタ以下の値であれば(ステップS707;No)、ステップS703に戻って同様の処理を行い、変数iが終了ポインタ以下よりも大きくなった時点で、サブルートGの処理を終了し、サブルートD8におけるステップS473又はステップS474に進む。
【0062】
なお、添字を示すラベルの文字列は、線オブジェクトedgeの終点が指す節オブジェクトnodeに描画される文字列である関連語句に係る関連情報に由来するものであり、例えば、辞書Aについて例に挙げると、「A1」、「A12」、「A122」等と表される。始めの文字「A」は、辞書Aに関するものであることを示し、以下の数字は左側から1桁目が第1階層、2桁目が第2階層、3桁目が第三階層……のそれぞれ説明文出現順位を示す。すなわち、添字ラベル「A1」は、その線オブジェクトedgeの終点の節オブジェクトnodeに入る関連語句が、辞書Aにおいて評価対象語句Waを見出し語とする説明文章(つまり第1階層)のうち、出現順位第1位(ES1)の関連語句、換言すれば、その関連情報がAR=searchword(Wa,1)(ただし、品詞C及び語句出現順位WnFixはユーザ自身が指定済)であることを意味する。また、添字ラベル「A12」は、その線オブジェクトedgeの終点の節オブジェクトnodeに入る関連語句が、同辞書Aにおいて、関連情報がAR=searchword(Wa,1)を有する第1階層の関連語句を見出し語とする説明文章(つまり第2階層)のうち、出現順位第2位(ES2)の関連語句、換言すれば、その関連情報がAR=searchword(searchword(Wa,1),2)であることを意味する。さらに同様に、添字ラベル「A122」は、その線オブジェクトedgeの終点の節オブジェクトnodeに入る関連語句が、同辞書Aにおいて、関連情報がAR=searchword(searchword(Wa,1),2)を有する第2階層の関連語句を見出し語とする説明文章(つまり第3階層)のうち、出現順位第2位(ES2)の関連語句、換言すれば、その関連情報がAR=searchword(searchword(searchword(Wa,1),2),2)であることを意味する。ただし、各階層や辞書Bについても同様である。
【0063】
サブルートD8に説明を戻すと、次は節の描画を行う。ステップS474で汎用変数iに値1を代入した後、描画すべき辞書が辞書Aであり(node[i].dic=1)且つ辞書Aについての描画をする(adraw=TRUE)と判断した場合は(ステップS475;Yes)、描画のターゲットとなる節を指し示す汎用変数iを引数としてサブルートHを実行(ステップS475a)するが、それ以外の場合は(ステップS475;No)サブルートHの処理を行わずに次の辞書Bについての判断に進む。次に、描画すべき辞書が辞書Bであり(node[i].dic=2)且つ辞書Bについての描画をする(bdraw=TRUE)と判断した場合は(ステップS476;Yes)、描画のターゲットとなる節を指し示す汎用変数iを引数としてサブルートHを実行(ステップS476a)するが、それ以外の場合は(ステップS476;No)サブルートHの処理を行わずに次の辞書A及びBについての判断に進む。すなわち、辞書A及び辞書Bの両方を描画対象とする(node[i].dic=3)場合は(ステップS477;Yes)、描画のターゲットとなる節を指し示す汎用変数iを引数としてサブルートHを実行(ステップS477a)するが、そうではない場合は(ステップS477;No)サブルートHの処理を行わずに、次の節についての処理を行うため、汎用変数iに次の値「i+1」を代入する(ステップS478)。そして、この変数iとノードポインタnpとを比較し、変数iがノードポインタ以下であれば(ステップS479;No)、ステップS475に戻って次の節について同様の処理を行い、変数iがノードポインタnpを越えた時点で(ステップS479;Yes)、サブルートD8の処理を終え、最後のサブルートD9の処理に移行する。
【0064】
ここで、図27を参照して、サブルートHにおける処理工程について説明する。サブルートHは、特に何の返値を返さない、メインルーチンから頻繁に呼び出されるサブルーチンとして機能し、サブルートHを呼び出す時には、ターゲット節を指定して呼び出すことが必要である。まず、汎用変数iにターゲット節を代入し(ステップS801)、当該節オブジェクトnodeが表示されるべき座標(node[i].x,node[i].y)を、汎用的に使用する座標(x,y)に代入する(ステップS802)。そして、この座標(x,y)が語句の中央となるように、語句の背景となる語句表示欄たる枠を所定の形状で描画する(ステップS803)。ここで、枠形状には、楕円や矩形等が挙げられ、見やすさのために、枠の色や形は、辞書(node[i].dic)に依存して変化させることが望ましい。本実施形態では、辞書Aには矩形、辞書Bには楕円形の枠を適用するものとする。さらに、辞書A及びBに共通の語句が入る節には、矩形と楕円形を合成した形状を適用するものとする。また、node[i].lockがTRUEかFALSEかによって、微妙に枠の色や形に差をつけるのも、理解の容易さからも好ましいといえる。そして最後に、座標(x,y)が語句文字列の中央となるように、当該節に入るべき関連語句を示す語句文字列(node[i].word)を描画して(ステップS804)、サブルートHにおける処理を終了する。この段階で、ディスプレイには、生成及び描画された辞書A,Bにかかる樹系図が表示されることになる。
【0065】
図25は、最後の処理工程であるサブルートD9における処理を示すものであり、この工程では、全行程でディスプレイに表示された樹系図に関して、所定画面上でユーザが入力デバイス106を用いて所定の操作を行うのに伴って、当該樹系図の表示変更を実行する。まず、汎用タイマーtを値0としておき(ステップS480)、所定画面に対するユーザによるマウスクリック等の入力デバイス106を用いた入力により、辞書Aの描画希望を判断する。辞書Aの描画希望を示す入力があった場合(ステップS481;Yes)は、adrawを「TRUE」として辞書Aを描画すると決定して辞書Aの樹系図の表示を行い(ステップS481a)、辞書Aの描画希望を示す入力がない又は描画しないことを希望する入力あった場合(ステップS481;No)は、adrawを「FALSE」として辞書Aを描画しないと決定する(ステップS481b)。次に、辞書Aの場合と同様に、辞書Bの描画希望を判断する。辞書Bの描画希望を示す入力があった場合(ステップS482;Yes)は、bdrawを「TRUE」として辞書Bを描画すると決定して辞書Bの樹系図の表示を行い(ステップS482a)、辞書Bの描画希望を示す入力がない又は描画しないことを希望する入力あった場合(ステップS482;No)は、bdrawを「FALSE」として辞書Bを描画しないと決定する(ステップS482b)。すなわち、例えば前記所定の画面上に、辞書A及び辞書Bについて、それぞれ表示又は非表示をしめすラジオボタン等のGUIを設けておき、ユーザの入力に従って、辞書A、Bの両方の樹系図の表示、辞書Aのみの樹系図の表示、辞書Bのみの樹系図の表示等の表示形式が決定される。また、入力デバイス106の利用に基づくユーザの入力により、特定の語句i(評価対象語句Wa、又は他の任意の関連語句)の画面上の固定化の指示があれば(ステップS483;Yes)、当該語句の節を固定化し(node[i].lockに「TRUE」を代入、ステップS483a)、その指示がなければ(ステップS483;No)、当該語句の節を固定化しないと決定する(node[i].lockに「FALSE」を代入、ステップS483b)。さらに、入力デバイス106の利用に基づくユーザの入力、例えばマウスを利用した語句の節のドラッグ操作により、特定の語句i(評価対象語句Wa、又は他の任意の関連語句)の画面上の移動の指示があれば(ステップS484;Yes)、当該語句の節の座標(node[i].x,node[i].y)を指示に従って変化させた後(ステップS484a)、その指示がなければ(ステップS484;No)続いて、汎用タイマーtに次の値「t+1」を代入する(ステップS485)。そして、ユーザの入力により終了希望がなければ(ステップS486;No)、このタイマーtと設定された待ち時間とを比較し、タイマーtが待ち時間以下ならば(ステップS487;No)、ステップS481に戻って同様の処理を繰り返し、タイマーtが待ち時間を超えると(ステップS487;Yes)、サブルートD5におけるステップS450に戻ってバネ演算処理を行う(D5−x)。また、ユーザ入力により終了希望があれば(ステップS487;Yes)、サブルートD9の処理を終了して、このプログラムの処理を終える。
【0066】
ここで、本実施形態の辞書評価支援装置A7を利用した具体例について説明する。この例では、二つの日本語の国語電子辞書(辞書A、辞書B)を利用し、初期値である評価対象語句Waとして「五街道」という語句がユーザに入力されたとする。また、ユーザの入力により、階層指定情報LnMaxは第3階層(L3)、説明文出現順位指定情報ESnMaxは第2位(ES2)、語句出現順位指定情報WnFixは第1位(W1)、品詞指定情報Cは普通名詞が、それぞれ選択されたとする。
【0067】
これらの情報を元にして前記プログラムに基づく上述した通りの処理工程により得られた関連語句を辞書ごとにまとめた一覧表を図28に示す。同図に示すとおり、まず辞書Aについては、評価対象語句Wa「五街道」に対して、それを見出し語とする第1階層(L1)の説明文章EWからは、関連語句ARとして「江戸時代」(ES1)、「東海道」(ES2)の二つの語句が得られた。また、「江戸時代」を見出し語とする第2階層(L2)の説明文章EWからは、関連語句ARとして「徳川家康」(ES1)、「徳川時代」(ES2)の二つの語句が得られた。さらに、「徳川家康」を見出し語とする第3階層(L3)の説明文章EWからは、関連語句ARとして「徳川初代将軍」(ES1)、「松平広忠」(ES2)の二つの語句が得られた。また、「徳川時代」を見出し語とする第3階層(L3)の説明文章EWからは、関連語句ARとして「江戸時代」(ES1)という関連語句のみが得られ、説明文出現順位第2位(ES2)の説明文には指定された品詞に対応する語句が存在しなかったか、又は説明文出現順位第2位(ES2)の説明文自体が存在しなかったことから処理が終了(<終了>)された。一方、「東海道」を見出し語とする第2階層(L2)の説明文章EWからは、関連語句ARとして「五畿七道」(ES1)、「畿内」(ES2)の二つの語句が得られた。さらに、「五畿七道」を見出し語とする第3階層(L3)の説明文章EWからは、関連語句ARとして「律令制」(ES1)、「山城」(ES2)の二つの語句が得られた。また、「畿内」を見出し語とする第3階層(L3)の説明文章EWからは、関連語句ARとして「帝都」(ES1)、「中国」(ES2)の二つの語句が得られた。
【0068】
一方、辞書Bについては、評価対象語句Wa「五街道」に対して、それを見出し語とする第1階層(L1)の説明文章EWからは、関連語句BRとして「江戸時代」(ES1)、「東海道」(ES2)の二つの語句が得られた。また、「江戸時代」を見出し語とする第2階層(L2)の説明文章EWからは、関連語句BRとして「徳川氏」(ES1)、「1603」(ES2)の二つの語句が得られた。さらに、「徳川氏」を見出し語とする第3階層(L3)の説明文章EWからは、関連語句BRとして「姓名」(ES1)、「江戸幕府」(ES2)の二つの語句が得られた。また、「1603」を見出し語とする第3階層(L3)の説明文章EW自体が存在しないことから、関連語句BRの抽出はされずに、説明文出現順位第1位(ES1)及び第2位(ES2)ともに処理が終了(<終了>)された。一方、「東海道」を見出し語とする第2階層(L2)の説明文章EWからは、関連語句BRとして「律令制」(ES1)、「現在」(ES2)の二つの語句が得られた。さらに、「律令制」を見出し語とする第3階層(L3)の説明文章EWからは、関連語句BRとして「律令格式」(ES1)という関連語句のみが得られ、説明文出現順位第2位(ES2)の説明文には指定された品詞に対応する語句が存在しなかったか、又は説明文出現順位第2位(ES2)の説明文自体が存在しなかったことから処理が終了(<終了>)された。また、「現在」を見出し語とする第3階層(L3)の説明文章EWからは、関連語句BRとして「今」(ES1)、「時」(ES2)の二つの語句が得られた。
【0069】
また、これらの得られた関連語句それぞれについての関連情報を、辞書A,Bごとに一覧表としてまとめたものを図29に示す。なお同図では、関連情報を示す関数searchword()を便宜的にf()として表している。以下の説明でも、関数searchword()をf()と読み替えるとすると、以上の結果から、辞書A及び辞書Bから得られた関連語句AR、BRのうち,「江戸時代」{AR=f(五街道,1),AR=f(f(f(五街道,1),2)1),BR=f(五街道,1)}、「東海道」{AR=f(五街道,2),BR=f(五街道,2)}、「律令制」{AR=f(f(f(五街道,2),1)1),BR=f(f(五街道,2),1)}について、辞書間での関連語句の重複が認められた。また、関連語句「江戸時代」に関しては、辞書A内での重複{AR=f(五街道,1),AR=f(f(f(五街道,1),2)1)}が認められた。
【0070】
そして、以上得られた情報を元にして描画・生成され、ディスプレイに表示された辞書A,Bについての評価対象語句Wa及び関連語句AR,BRに関する樹系図を図30に示す。同図に示す画面上覧は樹系図表示欄G1であり、画面下欄は辞書選択欄G2である。樹系図表示欄G1においては、辞書Aに関する語句の節オブジェクトnodeを楕円形の枠で表し、辞書Bに関する語句の節オブジェクトnodeを矩形の枠で表している。特に、辞書A,B間で重複する語句(評価対象語句Waがを含む)の節オブジェクトnodeは、楕円形と矩形とを合成した形状の枠で表している。また、辞書Aに関する節オブジェクトnode間の線オブジェクトedgeは実線で、辞書Bに関する節オブジェクトnode間の線オブジェクトedgeは点線で表している。そして、各線オブジェクトedgeの中点近傍には、添字ラベルとして関連情報を表す文字列を描画している。さらに、辞書選択欄G2には、表示する辞書の選択欄がラジオボタンrb等とともに設けてあり、何れかのラジオボタンrbをユーザがマウスによるクリックなどで選択することで、表示される辞書の樹系図が変更される。図31には辞書Aに関する樹系図のみを示す画面例、図32には辞書Bに関する樹系図のみを示す画面例を示しているが、これらの他に、矢印、添字、節のそれぞれの表示と非表示をユーザの希望に合わせて変更することも可能である。なお、樹系図のディスプレイへの表示のみならず、樹系図をプリンタに出力して用紙に印刷したり、他のコンピュータに送信するように構成することも可能であるし、辞書ごとに得られた関連語句の一覧表(図28参照)や、関連情報の一覧表(図29参照)等をディスプレイやプリンタや他のコンピュータ等の出力デバイス105に出力して、画面表示や印刷を行うようにすることも可能である。
【0071】
以上に詳述したように、本実施形態によれば、2つの電子辞書A,Bを利用して、共通の評価対象語句Waに関連のある語句の抽出を行い、それらの語句を関連語句として得るとともに、各関連語句と評価対象語句Waとの関係を表す関連情報を得て、それらを元にした語句同士の関係を表す樹形図を得ることで、これらの得られた情報から、ユーザは、電子辞書A,B内に格納されている実質的な情報として辞書内における語句の繋がりを知ることができ、さらに辞書A,B同士の内容に関する比較をすることが可能である。したがって本実施形態は、従来では辞書の表層的な情報によってのみ可能であった辞書の選択作業と比較すると、辞書の内容的な情報に基づいた選択が初めて可能となる点で極めて有益なものである。
【0072】
なお、本発明は、上述した実施形態に限られるものではなく、前述した辞書評価支援装置A1〜A6の何れかの態様とすることができるものである。また、ユーザがインターネット等に接続したクライアントコンピュータを利用している場合には、本発明は、そのクライアントコンピュータから評価対象語句等の入力を受け付けて、関連情報や樹系図の画像データを生成してクライアントコンピュータへ返信するサーバコンピュータとしても実現できるものである。さらに各部の具体的構成についても上記実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲で種々変形が可能である。
【0073】
【発明の効果】
本発明は、以上に詳述したように、複数の電子辞書の内容を評価して辞書同士の比較検討を行うに当たって、従来のような見出し語数や例文数等の表層的な情報ではなく、電子辞書に格納された見出し語とその説明とに基づいて得られる各辞書内の記述の内容的な繋がりを、当初に入力された評価対象語句に関する関連語句及び関連情報として辞書ごとに得ることができ、最終的には得られた関連語句同士の繋がりを樹系図というビジュアル的な態様で得ることができるものである。したがって、各辞書の本質的な記述内容に基づいて当該辞書自体の評価をできるだけでなく、辞書同士の内容的な比較をも行うことができるようになるため、従来では得られなかった情報を、辞書を購入又は利用する前に得ることができる意味で、極めて画期的であり且つ有用なものである。
【0074】
また本発明を利用すれば、インターネット上で辞書情報を比較・展開することも可能である。例えば辞書の全てをインターネット上でそのまま公開すると、その情報の全てを購入前に持ち去られてしまい、結果として辞書が売れなくなる恐れがある。それを避けるために辞書の極一部分だけを公開したとしても、ユーザが特に利用したい語句が公開されていないと、結局その情報はユーザに不満を抱かす結果となる。本発明によれば、辞書の全ての見出し語から比較することが可能であり、それでありながら劣化させたごく一部の情報(1つの見出し語から数語句のみ)の情報しか与えないために、辞書の内容そのもの全てを購入前に持ち去られることや、実際に辞書の代わりに利用されるということはない。全ての見出し語を調べられる恐れはあるが、辞書の機能である「見出し語から説明文を直接参照する」ことが出来ないために、辞書機能を無料で解放している事にはならない。ユーザーにとっては単なる見出し語の語彙数よりも、見出し語の語彙の偏りを購入前に比較するほうが重要であると思われ、本発明はその部分を重点的に解決することができる。
【図面の簡単な説明】
【図1】本発明の請求項1、2、3に対応する辞書評価支援装置の機能構成図。
【図2】本発明の請求項4、5、6に対応する辞書評価支援装置の機能構成図。
【図3】本発明の請求項7に対応する辞書評価支援装置の機能構成図。
【図4】本発明の請求項8に対応する辞書評価支援装置の機能構成図。
【図5】本発明の請求項9に対応する辞書評価支援装置の機能構成図。
【図6】本発明の請求項10〜20に対応する辞書評価支援装置の機能構成図。
【図7】本発明の一実施形態に係る辞書評価支援装置の機能構成図。
【図8】本発明の一実施形態が適用されるコンピュータの概略的な機器構成図。
【図9】同実施形態で適用される電子辞書の内部データの一例を示す図。
【図10】同実施形態の処理工程の全体を概略的に示すフローチャート。
【図11】図10におけるサブルートAの処理工程を示すフローチャート。
【図12】図10におけるサブルートBの処理工程を示すフローチャート。
【図13】図10におけるサブルートCの処理工程を示すフローチャート。
【図14】図10におけるサブルートDの処理工程を示すフローチャート。
【図15】図11及び図16におけるサブルートEの処理工程を示すフローチャート。
【図16】図13におけるサブルートFの処理工程を示すフローチャート。
【図17】図14におけるサブルートD1の処理工程を示すフローチャート。
【図18】図14におけるサブルートD2の処理工程を示すフローチャート。
【図19】図14におけるサブルートD3の処理工程を示すフローチャート。
【図20】図14におけるサブルートD4の処理工程を示すフローチャート。
【図21】図14におけるサブルートD5の処理工程を示すフローチャート。
【図22】図14におけるサブルートD6の処理工程を示すフローチャート。
【図23】図14におけるサブルートD7の処理工程を示すフローチャート。
【図24】図14におけるサブルートD8の処理工程を示すフローチャート。
【図25】図14におけるサブルートD9の処理工程を示すフローチャート。
【図26】図24におけるサブルートGの処理工程を示すフローチャート。
【図27】図24におけるサブルートHの処理工程を示すフローチャート。
【図28】同実施形態で生成される関連語句の一具体例を示す図。
【図29】図28に対応して同実施形態で生成される関連情報の一具体例を示す図。
【図30】図28及び図29に対応して同実施形態で描画・生成されディスプレイに表示される樹系図の一具体例を示す図。
【図31】同樹系図の一例を示す図。
【図32】同樹系図の一例を示す図。
【符号の説明】
1…語句入力受付手段
2…見出し語検索手段
3…説明文章抽出手段
4…関連語句出力手段
5…関連情報生成手段
6…関連情報出力手段
7…階層指定情報受付手段
8…説明文出現順位指定情報受付手段
9…樹系図生成手段
10…樹系図出力手段
11…品詞指定受付手段
A1,A2,A3,A4,A5,A6…辞書評価支援装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a dictionary evaluation support apparatus capable of presenting information serving as a suitable index when selecting a dictionary and a program thereof.
[0002]
[Prior art]
There are various types of dictionaries and dictionaries, such as encyclopedias, classification tables, thesauruses, “single-language dictionaries” that are closed within one language, and “bi-lingual dictionaries” that connect multiple languages (non-patent literature). 1). Conventionally, when selecting one dictionary, it is rare to carefully compare similar dictionaries before selecting them. That is, when a consumer, who is a user, generally purchases a dictionary, the price, size, amount of headwords, amount of example sentences, ease of example sentences, size of letters, number of illustrations, book reviews, own budget range It is thought that it is customary to refer to information obtained on the surface layer. In addition, now that electronic dictionaries are increasingly offered in correspondence with dictionaries as books, for example, try sample versions and evaluation versions of electronic dictionaries on the Internet, etc. It may be possible to purchase an electronic dictionary or a dictionary corresponding thereto. In other words, whether it is a dictionary as a book or an electronic dictionary, there is generally no way to objectively evaluate the contents of the dictionary itself, so the user can use surface information as a clue. The reference at the time of purchase was to evaluate the dictionary vaguely based on subjectivity to the last. Therefore, in addition to the above-mentioned superficial evaluation that has been used so far, the user needs to select a dictionary, as well as the vocabulary bias in the dictionary that is difficult to evaluate, and the linkage with other phrases. It is thought that the information of the characteristics of the dictionary editor is known in a short time while comparing with other dictionaries. In the following, a dictionary refers to a monolingual dictionary that is written and compiled in one language in which words are described in other words, without relying on figures or photos. The encyclopedia etc. that you can basically grasp that one word is described by another word.
[0003]
By the way, as an example of the idea of representing a phrase and another phrase that expresses the meaning of the phrase, as a graph that connects a section and the section with a line, the structure of the word is represented. A concept (see Non-Patent Document 2). According to this concept, there are two types of clauses (nodes) corresponding to a phrase, and the target phrase is distinguished as a type, and a phrase group token representing the phrase. In addition, by Saussure, the word is clearly separated into a sign, a concept pointed to by it, a sign of an auditory image, and a sign of a sign (significant) (see Non-Patent Document 3). Finally, in recent years, word processing of a symbol part, for example, processing such as morphological analysis (for example, see Non-Patent Document 4) has become possible with a high-speed computer. However, it is still difficult to process a phrase as a concept (significant, significant) indicated by a sign.
[0004]
[Non-Patent Document 1]
Written by Sydney I. Landau, Sidney.I., Translated by Yoshiro Kojima, Hideo Masuda, Yoshiaki Takano, "Dictionaries: the art and craft of lexicography", Kenkyusha Publishing, 1988
[Non-Patent Document 2]
By Killian, MR, “Semantic Memory”, “Semantic Information Processing”, edited by Minsky, MIT Press, 1968, p. 216-270
[Non-Patent Document 3]
Ferdinand de Saussure, translated by Hideo Kobayashi, "General Linguistics Lecture (revised)", Iwanami Shoten, 1972
[Non-Patent Document 4]
Nagao Makoto, "Natural Language Processing", Iwanami Shoten, 1996
[0005]
[Problems to be solved by the invention]
For example, before a user purchases a dictionary, he / she wants to know the differences and features of multiple dictionaries and examines a word / phrase with multiple dictionaries. It is very difficult to grasp the tendency of the words and phrases appearing in the description of the headword from a fair viewpoint from the memory (record) result. Even more, it is common sense to do it at a bookstore before purchase. There is also a risk for bookstores to stay in the store for a long time before purchase, or to rent out and take home for comparison. Even in libraries, dictionaries are generally treated as forbidden, so it is necessary to complete comparison work in the library.
[0006]
Therefore, as information used when purchasing these dictionaries, it is difficult to obtain information based on evaluations that go into the contents of essential dictionaries, so it is necessary to follow superficial information that does not go into the contents. In addition, since a dictionary generally has a very large number of pages, the dictionary can satisfy a consumer's needs as long as it is glimpsed in a bookstore or the like in a short time, or by obtaining surface information as described above. It is difficult to determine whether or not there is. In particular, in the case of an electronic dictionary, it is not possible to open a page and read the description in a book like a book, so the difficulty of selecting a dictionary based on objective information is even higher. In other words, it can be said that the consumer is in a situation of deciding to purchase a dictionary including an electronic dictionary based on superficial information that does not reach the contents of the dictionary as described above. In addition, such a situation can be said to impose great inconvenience on language researchers who frequently use various dictionaries on a daily basis. In other words, the above-mentioned problem is left behind because no method for evaluating features based on the contents of the dictionary has been developed at present, and no objective evaluation method exists as described above. This is due to the current situation.
[0007]
On the other hand, in the current language processing by computers, advanced processing using concepts (sensitive and flexible sentence generation and artificial intelligence comparable to humans) is still under development, and this part should be left to the computer. However, it is possible to facilitate evaluation in a short time by processing many of the processable parts with a computer.
[0008]
Therefore, in view of the above problems, the present invention is useful for dictionary selection by analyzing an electronic dictionary and allowing the characteristic features of the dictionary to be presented in a short time based on objective information. It intends to provide a new method. Specifically, it can be created with the ability of current computers, using an expression method that creates a semantic network that connects words and phrases with a line, treating them as a single node (node). Is a technology related to a non-existent type of “dictionary and its processing, illustration”, and the type and token in the concept of the semantic network are processed as the same clause (node), and are equivalent in the function because they are equivalent. It is intended to be implemented so that functions can be called and processed repeatedly.
[0009]
[Means for Solving the Problems]
That is, the present invention uses a plurality of electronic dictionaries ED that store at least a headword group and explanatory text corresponding to each headword, and outputs an index for evaluating the contents of the plurality of electronic dictionaries ED. As shown in FIG. 1, the basic mode is a phrase input receiving unit 1 that receives a phrase input, and searches for the received phrase from a group of entry words stored in each electronic dictionary ED. Headword search means 2, explanation text extraction means 3 that extracts explanation sentences having the phrase as a headword based on the search result from each electronic dictionary ED, and morphological analysis is performed on each extracted explanation text Related word / phrase output means 4 for outputting at least a part of words / phrases included in the explanatory text as related words / phrases related to the entry word for each electronic dictionary, and each output related The related information generating means 5 for generating related information indicating the relevance of the phrase based on the headword for each electronic dictionary, and the related information output means 6 for outputting the generated related information, respectively, Means 1 inputs an evaluation target phrase that is an evaluation target as an initial value. Automatically In addition to receiving, the input of the related phrase output by the related phrase output unit 4 is received, and the related information generation unit 5 outputs the related phrase for each related phrase with reference to the input of the evaluation target phrase. Word input acceptance means 1 The total number of times that the input of a word with the evaluation target word as an initial word was accepted as the initial value and the number of times the input of the word with a related word as a head word was accepted A dictionary evaluation support apparatus A1 that generates related information including hierarchical information based on the number of times.
[0010]
Here, the electronic dictionary ED used in the present invention stores a headword as text data in association with a description of the headword expressed in text data, and is generally read by a computer. It refers to a database that is recorded on a recording medium such as a CD-ROM that can be downloaded, or that can be downloaded to a computer via a communication network such as the Internet. In addition, the electronic dictionary ED includes a dictionary that is a book that has been edited by the user using text data of the headword and explanatory text by reading a dictionary, etc., and illustrations corresponding to the contents of the headword and explanatory text , Corpus with many natural languages recorded, etc. are also included.
[0011]
If such a dictionary evaluation support apparatus A1 is used, when a word or phrase to be evaluated is initially input as an initial value, a word or phrase appearing in an explanatory sentence having the word or phrase as an evaluation word for each electronic dictionary ED, In other words, related phrases that are related to the evaluation target phrase are output, and related phrases that are related to the related phrase, and further related phrases that are related to the related phrase are output, and each related phrase Since the relationship information is generated and output as hierarchical information indicating the hierarchical relationship with the evaluation target phrase, the user can view the phrase stored in each electronic dictionary ED by looking at the output relationship information. It becomes possible to know the connection of the contents. In other words, conventionally, a user who wants to purchase a dictionary can only obtain a criterion for judging only surface information such as the number of headwords. However, by using the present invention, It becomes possible to use related information, which is substantial content, as an index for purchasing a dictionary while comparing a plurality of electronic dictionaries ED. This is also a criterion for language researchers to determine which dictionary to use, and is very useful for daily research and development. Therefore, the present invention makes it possible to provide completely new information as a criterion for dictionary evaluation.
[0012]
In addition, although the related phrase output in the related phrase output means 4 can also be selected from description text at random, it is more suitable for dictionary evaluation to select and output the related phrase closely related to the evaluation target phrase. The related information to be used is more suitable. Therefore, the related phrase output means 4 divides the explanatory sentence into one or more explanatory sentences, and for the words that appear in each explanatory sentence based on the result of the morphological analysis performed on each divided explanatory sentence. Thus, it is desirable to assign a word appearance order indicating the appearance order from the beginning of the sentence in the description, and to output a word related to the predetermined word appearance order as a related word phrase. Specifically, since the explanatory text of a certain headword is often composed of a plurality of explanatory texts, the related phrase output means 4 outputs the phrase with the first rank appearance rank as the related phrase. When configured, it is possible to cover all typical words and phrases appearing in each explanatory note, and it is suitable for simplifying the apparatus and the program.
[0013]
In addition to the basic configuration of the dictionary evaluation support apparatus A1 described above, the present invention includes, as shown in FIG. 2, hierarchy designation information for designating generation of related information up to a predetermined hierarchy for hierarchy information of related phrases. The dictionary evaluation support apparatus A2 may further include a hierarchy designation information receiving unit 7 that receives an input. In this case, when the related information generating unit 5 generates the related information having the layer information corresponding to the layer specifying information received by the layer specifying information receiving unit 7, it generates end information to end the generation of the related information. The related information output unit 6 outputs related information including the end information, and the phrase input receiving unit 1 ends the input of the phrase based on the end information. If this is the case, specify the hierarchy in advance by default, or if the user specifies and inputs the desired hierarchy, the chain of related terms will stop at the specified hierarchy. Therefore, it is possible to prevent the related information from becoming redundant and obtain appropriate information.
[0014]
Further, in each of the above-described dictionary evaluation support devices A1 and A2, the related phrase output unit 4 indicates the rank in which the explanatory sentence including the related phrase appears in the explanatory sentence together with the phrase appearance rank for the related phrase to be output. For the related words generated by the related word output unit 4 as the related information generated by the related information generation unit 5 immediately before, the word appearance rank of the related word is a constant, It can also be composed of information represented by a function having a headword corresponding to an explanatory sentence constituted by an explanatory sentence in which a related word phrase appears and the explanatory sentence appearance rank as variables. In this case, since the related information is obtained as the above-described predetermined function data, it is possible to improve the simplification and convenience of using the related information. In this case, the related word / phrase output means 4 outputs the related words / phrases from the first rank to the predetermined rank only for the evaluation target words / phrases, and the related sentence phrases other than the evaluation target words / phrases have the first rank of the description sentence appearance rank. If it is configured to output only related phrases, related phrases with a certain degree of spread and related information can be obtained for the evaluation target phrases, and related phrases at lower levels appear at the beginning of the explanatory text. Since only the phrase to be processed is processed as the related phrase, it is possible to obtain a group of related phrases and their related information starting from the evaluation target phrase.
[0015]
Furthermore, in addition to the configuration of the dictionary evaluation support apparatus A1 or A2, as shown in FIG. 3, the description sentence appearance rank designation information for designating the description sentence appearance rank of the related words directly output based on the evaluation target words When the dictionary evaluation support apparatus A3 further including the description sentence appearance rank designation information receiving means 8 that accepts the input is configured, the phrase input acceptance means 1 receives the explanation sentence appearance rank designation received by the explanation sentence appearance rank designation information acceptance means 8 It is possible not to accept the input of related phrases having an explanatory sentence appearance rank exceeding the explanatory sentence appearance rank related to the information, but for the evaluation target phrase, related phrases included in the explanatory sentence of the specified appearance order and their relations. Since information is obtained, it is possible to obtain a preferred related phrase group starting from the evaluation target phrase and related information thereof. In the figure, a portion indicated by a broken line is an optional configuration in the dictionary evaluation support apparatus A3, and whether or not the function of the part is included as a function of the dictionary evaluation support apparatus A3 can be appropriately selected. .
[0016]
Moreover, as shown in FIG. 4, this invention can also be made into dictionary evaluation assistance apparatus A4 which further has the part of speech designation | designated reception means 9 which receives the part of speech designation | designated information which designates the part of speech of an evaluation object phrase and a related phrase. In this case, the phrase input accepting unit 1 accepts only the part of speech received by the part of speech designation accepting unit 9, and the related phrase output unit 4 corresponds to the part of speech accepted by the part of speech designation accepting unit based on morphological analysis. It is good to output only the phrase to be performed as a related phrase. That is, by specifying one or more parts of speech in advance from parts of speech such as nouns, verbs, and adjectives, it is possible to improve efficiency related to identification and output of related phrases.
[0017]
By the way, it is considered that the related information to be output is visually expressed so that it is easier to grasp the relationship of the related word / phrase group starting from the evaluation target word / phrase. Therefore, in addition to the configuration of the dictionary evaluation support apparatus A1, A2, A3, or A4 described above, based on the related information output by the related information output means 6 as shown in FIG. A tree diagram generation means 10 for generating a tree diagram representing the position of each related phrase with respect to the evaluation target phrase for each electronic dictionary ED, and a tree diagram output means 11 for outputting each generated tree diagram as image data that can be displayed on a display It is appropriate to configure a dictionary evaluation support apparatus A5 further including That is, when evaluating a dictionary, the user can visually recognize the evaluation target word and the related word tree created based on the related information, and thus can efficiently know the contents of the electronic dictionary. . Also in this figure, the part indicated by a broken line is an optional configuration in the dictionary evaluation support apparatus A5, and it is possible to appropriately select whether or not to include the function of this part as a function of the dictionary evaluation support apparatus A5. it can.
[0018]
As a specific example that can effectively obtain such an effect, as shown in FIG. 6, in addition to the configuration of the dictionary evaluation support apparatus A4 described above, it is included in the related information output by the related information output means 6. A tree diagram generation means 10 for generating a tree diagram representing the position of each related phrase with respect to the evaluation target phrase based on the evaluation target phrase based on the hierarchical information, the phrase appearance rank, and the explanatory sentence appearance rank, and each generated A dictionary evaluation support unit that further includes a tree diagram output unit 11 that outputs a tree diagram as image data that can be displayed on a display, and the tree diagram generation unit 11 generates a single tree diagram based on a plurality of electronic dictionaries ED. Mention may be made of apparatus A6. Also in this figure, the part indicated by a broken line is an optional configuration in the dictionary evaluation support apparatus A6, and it is possible to appropriately select whether or not to include the function of the part as a function of the dictionary evaluation support apparatus A6. it can. With such a configuration, the tree diagram displayed on the display as a result of output can grasp and know at a glance the connection between the evaluation target phrase and the related phrase based on the plurality of electronic dictionaries ED. Very useful for dictionary evaluation.
[0019]
When related terms are output in a chain, there are cases where any related terms are not listed as headwords in the electronic dictionary ED. By clarifying that there are no more phrases, the convenience of the user is achieved. Therefore, in this case, when the headword search unit 2 determines that the word to be searched does not exist in the headword group of any electronic dictionary ED, the explanation sentence appearance rank accepted by the explanation sentence appearance rank designation information 8 Or when the number of vocabulary related to the part of speech in the description corresponding to the part-of-speech designation information received by the part-of-speech designation accepting means 9 is less than the predetermined number of phrase appearance ranks. If any of the cases is determined, the related information generation means 5 sets the related information in the electronic dictionary to null, and the related information output means 6 outputs this null as a return value, The genealogy generation unit 10 generates a tree diagram obtained by converting the part corresponding to the null into a blank or end notation, and the tree diagram output unit 11 outputs the generated tree diagram It may cause the computer to function as. In addition, when the output related phrase is a headword of an explanatory sentence including the related phrase or when it is the same as the phrase that has already been input, that is, between the related phrases or between the related phrases and the evaluation target phrase, It is also conceivable to perform processing when a “loop” is formed.
[0020]
Further, the tree diagram generation means 10 generates a tree diagram composed of a section having a predetermined phrase display field capable of displaying the evaluation target phrase and the related phrase, and a line connecting the sections, for each electronic dictionary. If the clauses having different shapes are generated, it is possible to generate a tree diagram that makes it easier for the user to grasp the relationship between the evaluation target phrase and the related phrase for each electronic dictionary ED. In addition, if information that can grasp the related information is also displayed on the tree diagram that is generated and displayed on the display, it is easy to grasp the relationship between the related terms and phrases. It is preferable to add a subscript composed of the name or type of the electronic dictionary and related information to a part of or near the line. Furthermore, if different displays are provided for each dictionary, the tree diagram is easier to see. Therefore, the tree diagram generation means 10 sets a phrase display field having a different shape for each electronic dictionary ED for the section of the tree diagram to be generated. You may make it do.
[0021]
Further, a plurality of related terms obtained from the same electronic dictionary ED or a plurality of related terms obtained from different electronic dictionaries ED may be the same and overlap. In this case, in order to clearly represent a clause indicating a duplicated related phrase, it is convenient that the tree diagram generation means 10 changes the shape of the phrase display column in the clause where the duplicated related phrase is displayed to a predetermined shape. It is. Similarly, it can be said that it is also desirable for the tree diagram generation means 10 to set a line having a different shape for each electronic dictionary ED as a line in the tree diagram to be generated. In particular, as described above, when there is an overlap of related terms and there is also an overlap between the related terms and related terms directly or indirectly, the tree diagram generating means 10 If a tree diagram that does not redundantly display related terms having related information different from that is generated, a clear and easy-to-view tree diagram can be obtained. Even in this case, when the tree diagram generation means 10 adds a subscript to a part of or near a line of the tree diagram to be generated, a tree diagram that does not display the subscript redundantly is generated. It is preferable to do. Here, since each related phrase has unique related information, even if the same phrase is duplicated, it is regarded as a different related phrase.
[0022]
In addition to the single tree diagram generated based on the plurality of electronic dictionaries ED, the tree diagram generation unit 10 also generates a plurality of tree diagrams corresponding to the respective electronic dictionaries. 11 is such that the above-described single tree diagram or a plurality of tree diagrams can be selectively output, the relationship between the evaluation target phrase based on all the electronic dictionaries ED and related phrases from the single tree chart This is very convenient because not only can the gender be understood at a glance, but also the contents of each electronic dictionary ED can be easily evaluated by the tree diagram for each of the plurality of electronic dictionaries ED. In addition, the tree diagram generation unit 10 generates a tree diagram for each of the plurality of electronic dictionaries ED, and the tree diagram output unit 11 outputs each tree diagram, Thus, the contents of each electronic dictionary ED can be evaluated.
[0023]
Here, the output of the tree diagram in the tree diagram output means 11 can include a mode in which the tree diagram generated by the tree diagram generation means is output as image data to an output device other than the display.
[0024]
The dictionary evaluation support apparatuses A1 to A6 described above can be realized by a personal computer to which peripheral devices such as an output device such as a display and a speaker and an input device such as a keyboard and a mouse are connected. The dictionary evaluation support devices A1 to A6 can also be realized as a server computer connected to a communication network such as the Internet. In this case, input of evaluation target words and the like from a user client computer connected to the Internet or the like. Is performed in such a manner that predetermined information is received and related information, tree diagram image data, and the like are transmitted to the client computer and displayed on the display of the client computer. Further, the dictionary evaluation support program is provided in a form recorded on a recording medium such as a CD-ROM or downloaded from a communication network such as the Internet, and is further activated by being started on a computer that reads the program. The computer functions as the dictionary evaluation support devices A1 to A6.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0026]
In this embodiment, by installing a dictionary evaluation support program in a normal personal computer PC, the personal computer PC includes a dictionary evaluation support apparatus A7 (see FIG. 7) including all the processing means of the dictionary evaluation support apparatus described above. ). In addition, as the electronic dictionary ED, a CD-ROM version of the Japanese dictionary that can be read by the personal computer PC is used.
[0027]
First, the device configuration of the personal computer PC will be briefly described. As shown in FIG. 8, a CPU 101 electrically connected by a bus line or the like, a memory 102 such as a main memory (RAM) or a video memory (VRAM), a hard disk, etc. A storage device 103 such as a keyboard, a mouse, an input device 104 such as a keyboard, an output device 105 such as a display and a speaker, a CD-ROM drive 106, and the like. However, since the present embodiment uses a plurality of electronic dictionaries ED, the personal computer PC is provided with a number of CD-ROM drives 106 capable of reading a plurality of CD-ROMs, or a personal computer. In the case where the PC has only one CD-ROM drive 106, any configuration in which the CD-ROM is sequentially inserted into the CD-ROM drive 106 and these CD-ROMs are read in order, In the embodiment, it is assumed that the read data is stored in the storage device 103.
[0028]
Then, the dictionary evaluation support program stored in the storage device 103 is stored in the internal memory 102 under the control of the CPU 101, the program is started, and other units are operated based on instructions from the CPU 101 according to the program. As shown in FIG. 7, the personal computer PC is connected to a phrase input receiving means 1, a headword search means 2, an explanation sentence extracting means 3, a related phrase output means 4, a related information generating means 5, a related information output means 6, It is made to function as a dictionary evaluation support apparatus A7 provided with each means of the hierarchy designation | designated information reception means 7, the description sentence appearance order designation information reception means 8, the tree diagram generation means 10, the tree diagram output means 11, and the part of speech designation reception means 9. . When the headword search means 2 searches for a headword stored in the electronic dictionary ED, and when the explanatory text extraction means 6 extracts an explanatory text from the electronic dictionary ED, the CD- The CD-ROM inserted in the ROM drive 106 is accessed and necessary information is stored in the internal memory 102. When the electronic dictionary ED is stored in the storage device 103 in advance, necessary information is read from the storage device 103 based on an instruction from the CPU 101, and the electronic dictionary ED is stored in a database server or the like on the Internet. In accordance with an instruction from the CPU 101, necessary information is uploaded or downloaded through a communication interface such as a modem. Other functions as each unit are realized by predetermined arithmetic processing by the CPU 101, driving of other units, and the like.
[0029]
Further, the information recorded in the electronic dictionary ED is at least a headword HW and an explanation sentence EW corresponding to the headword HW as shown in FIG. 9, for example. The headword HW and the explanatory text EW are both Japanese text data in the same national language. In addition, the headword HW is provided with information indicating the type of part of speech of the phrase as a unique identifier or the like for each part of speech C. The explanatory text EW is composed of one or more explanatory texts ES. That is, it can be said that the explanatory text EW is composed of a single explanatory text ES or a set of multiple explanatory texts ES. The information recorded in the electronic dictionary ED shown as an example in the figure is the headword HW “Wakaido” and its explanatory text in “Kojien CD-ROM version 4 (Iwanami Shoten Co., Ltd.)”. EW. In this example, two explanatory texts ES are included in the explanatory text EW corresponding to “Gokaido”. Furthermore, the electronic dictionary ED may contain information such as symbols, kanji readings, verb changes, term categories, charts, illustrations, and example sentences unique to the electronic dictionary ED. Not used in form.
[0030]
Next, an operation procedure when the personal computer PC according to the program functions as the dictionary evaluation support apparatus A7 in the present embodiment will be described with reference to the flowcharts shown in FIGS. Note that the operation of the dictionary evaluation support apparatus A7 shown below is performed by reading two electronic dictionaries ED (hereinafter referred to as “dictionary A” and “dictionary B” as necessary) for the sake of simplicity. Needless to say, the present invention can be applied to the case of three or more electronic dictionaries ED. The contents of the two electronic dictionaries ED are both stored in the storage device 103.
[0031]
First, a rough flow of processing of the dictionary evaluation support apparatus A7 will be described based on a flowchart shown in FIG. When the user activates the dictionary evaluation support program (FIG. 10, start), the sub-root A is executed to make the dictionary A, the dictionary B, etc. readable, and the user inputs the evaluation target phrase Wa correctly. The information thus stored is stored in the memory 102 (step S1). This process includes a process based on the input reception function of the evaluation target phrase Wa in the phrase input reception unit 1. Next, the sub-route B is executed to allow the user to correctly input other information necessary for evaluation, and the input information is stored in the memory 102 (step S2). This process includes processing based on the functions of the hierarchy designation information receiving means 7, the explanatory sentence appearance rank designation information receiving means 8, and the part of speech designation receiving means 9. Next, the sub-root C is executed to extract the related words / phrases from the dictionaries A and B, and the extracted related words / phrases and related information related to the related words / phrases are stored in the memory 102 (step S3). This step includes processing based on the functions of the related phrase receiving function in the phrase input receiving means 1, the headword search means 2, the explanatory text extracting means 3, the related phrase output means 4, and the related information generating means 5. Finally, the sub-root D is executed to generate image data representing the extracted related phrases as a graph (tree diagram), which is output and displayed on a display that is one of the output devices 105 (step S4). The series of processing ends (end). This process includes processing based on the functions of the related information output unit 6, tree diagram generation unit 10, and tree diagram output unit 11. Hereinafter, the processing of each step will be specifically described.
[0032]
FIG. 11 is a flowchart showing a processing procedure in sub-route A. First, the dictionary evaluation support apparatus A7 outputs an initial screen on the display 105 and displays it in accordance with the activation of the program performed by the user (FIG. 11, step S101). Next, according to the initial screen, the user is allowed to select a first dictionary from a plurality of electronic dictionaries ED in a readable state, and for example, the dictionary designated by the selection is set as the dictionary A (step S102). Similarly, the user is made to select a second dictionary from one or a plurality of electronic dictionaries ED other than the dictionary A, and for example, the dictionary designated by the selection is set as the dictionary B (step S103). Next, according to the initial screen, the user is allowed to input the evaluation target word / phrase Wa, accepts the input, and stores the received evaluation target word / phrase Wa in the memory 102 (step S104). Specifically, an input field for the evaluation target phrase Wa is set on the initial screen, and the user can directly input the phrase to be evaluated in kana, kanji, alphabet, etc. in the input field. . In particular, when the electronic dictionary ED is a Japanese dictionary, it is desirable that the personal computer PC is equipped with a kanji-kana conversion function when inputting the evaluation target phrase Wa. Then, the evaluation target phrase Wa is taken out from the memory 102, and whether or not “Wa” exists in the entry word in the dictionary A is searched by processing of the sub route E described later, and a return value R obtained by the sub route E is obtained. “AR” is set (step S105). Similarly, whether or not “Wa” exists in the entry word in the dictionary B is searched by the processing of the sub route E, and the return value R obtained by the sub route E is set to “BR” (step S106). Next, if the return values “AR” and “BR” are both “FALSE” (step S107; Yes), the evaluation target word / phrase Wa does not exist in any of the dictionary A and B headwords, so that an error is output. Is performed (step S107a). Specifically, in order to output and display a sentence such as “The heading of the evaluation target phrase Wa did not exist in the dictionaries A and B” on the display 105 and to request the user to input again, step S101 Return to. On the other hand, when both the return values “AR” and “BR” are not “FALSE” (step S107; No), if only “AR” is “FALSE” (step S108; Yes), an error is output (step S108a). ). Specifically, in order to output and display a sentence such as “The heading of the evaluation target phrase Wa did not exist in the dictionary A” on the display 105 and to request the user to input again, step S101 is performed. Return. On the other hand, when “AR” is not “FALSE”, that is, “TRUE” (step S108; No), if only “BR” is “FALSE” (step S109; Yes), an error is output (step S109a). ). Specifically, in order to output and display a sentence such as “The heading of the evaluation target phrase Wa did not exist in the dictionary B” on the display 105 and to request the user to input again, step S101 is performed. Return. On the other hand, if “BR” is not “FALSE”, that is, if “AR” and “BR” are both “TRUE” (step S109; No), the processing of sub-route A is terminated.
[0033]
Here, the processing procedure of the dictionary evaluation support apparatus A7 in the sub route E will be described based on the flowchart shown in FIG. The sub route E functions as a function that returns a return value of FALSE or TRUE, and when calling the sub route E, it is necessary to specify the target word and target dictionary and call it. After the calculation in the sub route E, the return value FALSE or TRUE is substituted into the designated variable. Inside the sub route E, the target word / phrase is processed as the variable Wt, and the target dictionary is processed as the variable Dt. First, the target word / phrase Wt to be searched is extracted from the memory 102, and the corresponding headword is searched from the target dictionary Dt to be searched (FIG. 15, step S501). Here, when the target phrase to be searched is the evaluation target phrase Wa, Wt = Wa. When the electronic dictionary ED to be searched is the dictionary A or the dictionary B, Dt = A or Dt = B. Next, when the target word / phrase Wt exists in the headword of the target dictionary Dt (S502; No), “TRUE” is set as the return value R (step S503), and the target word / phrase Wt becomes the headword of the target dictionary Dt. If it does not exist (S502; Yes), “FALSE” is set as the return value R (step S504), and the processing of the sub route E is terminated.
[0034]
Next, the processing procedure of the dictionary evaluation support apparatus A7 in the subroute B following the processing of the subroute A will be described with reference to the flowchart shown in FIG. First, here, each information selection screen is output and displayed on the display 105 (FIG. 12, step S201). On each information selection screen, it is possible to input hierarchy designation information, input description sentence appearance rank designation information, input phrase appearance rank designation information, and input evaluation target words. The hierarchy (Ln) indicates the depth of relevance of each related phrase as viewed from the evaluation target phrase Wa. When the evaluation target phrase is the 0th hierarchy (Ln = 0), the evaluation target phrase is the headword HW. Is defined as a first hierarchy (Ln = 1), and a phrase appearing in an explanatory sentence having a related word in the first hierarchy as an entry word is defined in the second hierarchy (Ln = 2). ). Hereinafter, each layer is represented by Ln (n is an integer of 0 or more). The hierarchy designation information LnMax indicates the maximum number of levels of related terms that the user wants to obtain. The description sentence appearance rank (ESn) represents the appearance rank of each explanation sentence ES given in order from the first explanation sentence ES as a result of dividing the explanation sentence EW corresponding to a certain headword into single sentence explanation sentences ES. is there. Here, n is an integer of 1 or more. The explanatory sentence appearance rank designation information ESnMax represents the maximum number of explanatory sentences ES that the user wants to obtain. The phrase appearance rank (Wn) represents the number of occurrences of the phrase counted from the top in each explanatory sentence ES obtained as a result of dividing the explanatory sentence EW into a single sentence. Here, n is an integer of 1 or more. The phrase appearance rank designation information WnFix indicates how many times the user wants to obtain a phrase that appears in a certain explanatory sentence ES.
[0035]
The dictionary evaluation support apparatus A7 causes the user to select desired hierarchy designation information LnMax based on each information selection screen (step S202). Further, the dictionary evaluation support apparatus A7 causes the user to select desired explanatory sentence appearance rank designation information ESMax based on each information selection screen (step S203). Furthermore, the dictionary evaluation support device A7 causes the user to select desired phrase appearance rank designation information WnFix based on each information selection screen (step S204). It should be noted that a default value is already set at each initial input of the hierarchy designation information LnMax, the description sentence appearance rank designation information ESnMax, and the phrase appearance rank designation information WnFix, and can be changed to another value when the user desires to change it. Can be able to. Here, all selectable values are natural numbers. Then, for all of the hierarchy designation information LnMax, the description sentence appearance rank designation information ESnMax, and the phrase appearance rank designation information WnFix, it is verified whether or not the input value is a natural number (step S205; No). An error is output (step S205a). Specifically, a text such as “invalid numerical value. Only natural number can be selected” is output and displayed on the display 105, and the process returns to step S201 to request the user to input again. If the input value is a natural number (step S205; Yes), the hierarchy designation information LnMax, the explanatory sentence appearance rank designation information ESnMax, and the phrase appearance rank designation information WnFix are received and stored in the memory 102 (step S206).
[0036]
Next, the dictionary evaluation support device A7 outputs and displays a part-of-speech designation information selection screen on the display 105 (step S207). Here, the part of speech designation information C represents the type of part of speech of the target phrase Wt in the target dictionary Dt. For example, the part of speech designation information C is information indicating a common noun, proper noun, verb, adjective, and the like. This corresponds to the identifier psID relating to the part of speech assigned to each headword HW in the electronic dictionary ED. Then, based on this part-of-speech designation information selection screen, the user is made to select desired part-of-speech designation information C (step S208). In addition, at the time of initial input, for example, any one kind of part of speech such as a noun can be set as a default value, and can be changed to another part of speech when the user desires to change it. Then, the validity of the input part-of-speech designation information C is verified. If it is invalid (step S209; No), an error is output (step S209a). Specifically, a sentence such as “invalid part of speech” is output and displayed on the display 105, and the process returns to step S207 to request the user to input again. On the other hand, if the input part-of-speech designation information C is valid (step S209; Yes), the part-of-speech designation information C is received and stored in the memory 102 (step S210), and the processing of the sub route B is terminated.
[0037]
The sub-route C process that is performed subsequent to the sub-route B process will be described with reference to the flowchart shown in FIG. The dictionary evaluation support apparatus A7 first extracts the hierarchy designation information LnMax and the explanatory sentence appearance rank designation information ESnMax from the memory 102, calculates the maximum number of appearance nodes WMax based on these, and sets the phrase arrays AW (1) to AW (WMax). And the memory area corresponding to the phrase arrays BW (1) to BW (WMax) is secured (step S301). Here, the “section” indicates a portion in which the evaluation target phrase Wa and the related phrase are displayed as character data in the tree diagram generated later, and the maximum number of appearance nodes WMax is displayed in the tree diagram. Represents the maximum value of the clause. The maximum number of appearing nodes WMax can be uniquely determined from the hierarchy designation information LnMax and the description sentence appearance rank designation information ESnMax. Specifically, the sum of ESnMax raised to the LnMax power from the 0th power of the description sentence appearance rank designation information ESnMax [ Wmax = EsnMax ^ 0 + EsnMax ^ 1 +... + EsnMax ^ LnMax]. Further, the phrase array indicates an array of all the sections from the section of the evaluation target phrase Wa to the section of the related phrase of the maximum appearing number WMax, and the above-described AW (1) to AW (WMax) are dictionary BW (1) to BW (WMax) represent the phrase array of clauses for the dictionary B.
[0038]
Next, the phrase arrays AW (1) to AW (WMax) and BW (1) to BW (WMax) are initialized as null ““ ”” (step S302), and the evaluation target phrase Wa taken out from the memory 102 is changed to AW. (1) Substitute into BW (1). Then, the numerical value “1” is substituted for the general variable i, and the end flag “FALSE” is set (step S304). Further, the explanatory text appearance rank designation information ESnMax is substituted into the general variable j (step S305). Thereafter, for the target dictionary A, first, the processing of the sub route F described below is executed with the target word / phrase AW (i), the description sentence appearance rank j, the word / phrase appearance rank WnFix, and the target part of speech C as arguments. The phrase R (relevant phrase) R obtained as a return value is stored in the phrase array AW ((i−1) * ESnMax + 1 + j) and stored in the memory 102 (step S306). Similarly, with respect to the target dictionary B, the processing of the sub route F is executed using the target word / phrase BW (i), the description sentence appearance rank j, the word / phrase appearance rank WnFix, and the target part-of-speech C as arguments. The phrase (which is a related phrase) R is stored in the phrase array BW ((i−1) * ESnMax + 1 + j) and stored in the memory 102 (step S307).
[0039]
Here, the processing of the sub route F will be described with reference to FIG. The sub-root F functions as a function that returns a character string return value, and when calling the sub-root F, it is necessary to specify and call each of the target dictionary, target word / phrase, target explanation sentence number, target part of speech, and target word number. It is. After the calculation in the sub-root F, a character string is assigned to the designated variable. Inside the sub-root F, the target dictionary is processed as a variable Dt, the target word / phrase is processed as a variable Wt, the target explanation sentence number is processed as a variable n, the target part-of-speech is processed as a variable C, and the target word number is processed as a variable WnFix. The dictionary evaluation support apparatus A7 first determines whether or not the target word / phrase Wt is null (“”). If it is determined to be null (FIG. 16, step S601; Yes), the return value R is null. ("") Is substituted (step S611), and the processing of this sub-route F is completed. On the other hand, if it is determined in step S601 that the target word / phrase Wt is not null (step S601; No), the processing of the above-described sub route E (see FIG. 15) is executed using the target dictionary Dt and the target word / phrase Wt as arguments. A return value R is acquired (step S602). Here, if the return value R is “FALSE” (step S603; Yes), null (“”) is substituted for the return value R (step S611), and the processing of the sub-route F is terminated. On the other hand, if the return value R is not “FALSE”, that is, “TRUE” (step S603; No), the explanatory text EW having the target word / phrase Wt as the headword HW is extracted from the target dictionary Dt (step S604), and further. Using a filter peculiar to the target dictionary Dt, after removing the reading kana including the classification symbol of the headword HW and the parenthesis from the extracted explanatory text EW (step S605), the explanatory text EW is converted into a single sentence. Are divided into one or more explanatory sentences ES, and the nth explanatory sentence ES is acquired (step S606). Here, the n-th explanatory sentence ES is each explanatory sentence from the explanatory sentence ES that appears first in the explanatory sentence EW to the explanatory sentence ES corresponding to the explanatory sentence appearance order designation information ESnMax stored in the memory 102. ES means n, which is represented by a natural number. Next, the existence of the nth explanatory text ES is confirmed. If it does not exist (step S607; Yes), null (“”) is substituted for the return value R (step S611), and the processing of this sub-route F is executed. finish. On the other hand, when the n-th explanatory sentence ES exists (step S607; No), morphological analysis is performed on the n-th explanatory sentence ES, and words other than the target part-of-speech C stored in the memory 102 are ignored. Is performed (step S608). Furthermore, when the number of phrases of the target part-of-speech C is less than the number corresponding to the phrase appearance rank designation information WnFix stored in the memory 102 in the corresponding explanatory sentence ES, it is greater than or equal to WnFix. (Step S609; No), assigns the WnFixth word to the return value R and makes it a related word, generates related information f about the word and classifies it for each target dictionary Dt (A or B) Then, it is stored in the memory 102 (step S610), and the processing of this sub-route F is completed. On the other hand, if it is determined in step S609 that the number of phrases of the target part-of-speech C is less than WnFix (step S609; Yes), null (“”) is substituted for the return value R (step S611), and this sub-route F Terminate the process. Here, the related information, which is information related to the related phrase represented by the return value R, is a function that uses the target phrase Wt, the description sentence appearance rank ESn, the target dictionary Dt, the target part of speech C, and the phrase appearance rank designation information WnFix as arguments. searchword (Wt, ESn, Dt, C, WnFix)]. More specifically, the related information related to a certain related phrase is a phrase corresponding to the target part-of-speech C appearing in the explanatory sentence ES whose explanatory sentence appearance rank is ESn among the explanatory sentences ES explaining the headword Wt in the target dictionary Dt. Thus, it is expressed as a function indicating the phrase of the phrase appearance rank WnFix appearing in the explanatory sentence ES. Therefore, for example, when an evaluation target word Wa is input, in the dictionary A, the first-ranked description sentence (ES in the first hierarchy with the evaluation target word Wa as an entry word (ES) 1 ) Is the related word / phrase (WnFix = 1) in the appearance order, the related information of the return value AR is clear from the return value “AR” on which dictionary the related word is related. In addition, since the type of part of speech and phrase appearance order are specified by the user himself and are obvious to the user, they are omitted on the right side and expressed as AR = searchword (Wa, 1). Furthermore, in the dictionary A, in the second-level explanatory text having the related word / phrase as an entry word, the explanatory text (ES at the second highest appearance rank) 2 ) Is the related word / phrase (WnFix = 1), the related information of the return value AR is expressed as AR = searchword (searchword (Wa, 1)), 2).
[0040]
Hereinafter, the description will be continued by returning to the sub-root C. As described above, the return value R obtained by the sub route F is converted into the phrase arrays AW ((i−1) * ESnMax + 1 + j) and BW ((i−1) * ESnMax + 1 + j) as the related phrases in step S306 and step S307, respectively. After storing and storing in the memory 102, it is determined whether ((i−1) * ESnMax + 1 + j) is equal to the maximum number of appearance nodes WMax. If ((i−1) * ESnMax + 1 + j) and the maximum number of appearance nodes WMax are not equal (step S308; No), “j−1” is substituted as the next value of the general variable j (step S309). If they are equal (step S308; Yes), an end flag “TRUE” is set (step S308a), and “j−1” is substituted as the next value of the general variable j (step S309). Next, it is determined whether or not the value of the general-purpose variable j is 0. If the value is other than 0 (step S310; No), the process returns to step S305. On the other hand, if the value of the general variable j is 0 (step S310; Yes), “i + 1” is substituted as the next value of the general variable i (step S311), and whether or not the end flag is “TRUE”. Judging. When the end flag is not “TRUE”, that is, “FALSE” (step S312; No), the processing returns to step S306, and when the end flag is “TRUE” (step S312; Yes), the related information Is the end information, the processing of the sub route C is ended. As described above, for each of the dictionaries A and B, acquisition of related words / phrases based on the evaluation target word / phrase Wa and generation of related information f corresponding to each related word / phrase are performed. They are stored in the arrays AW ((i−1) * ESnMax + 1 + j) and BW ((i−1) * ESnMax + 1 + j).
[0041]
Next, the processing of the dictionary evaluation support apparatus A7 in the sub route D that generates and outputs a tree diagram will be described based on FIG. 14 and FIGS. As a premise, the generated tree diagram is composed of a plurality of nodes, lines connecting related nodes, and subscripts corresponding to each line. In the present embodiment, it is assumed that a phrase is applied to “section class” and an arrow line and a subscript label in which an arrow is set at the end point “to line class”. As for the line class, since there are a node class connected to the start point and a node class connected to the end point, the start point is represented by “from” and the end point is represented by “to”.
[0042]
FIG. 14 is a flowchart schematically showing the entire processing of the dictionary evaluation support apparatus A7 in the sub route D. As shown in the figure, the sub-route D is mainly composed of nine sub-routes (sub-routes D1 to D9). First, the sub-root D1 is executed, the node in the tree diagram is set, and the information search and storage for the dictionary A is performed (step S41). Subsequently, the sub-root D2 is executed to set a node in the tree diagram. Here, information search and storage for the dictionary B are performed (step S42). Further, the sub-root D3 is executed to set a line on the tree diagram connecting the nodes set in the sub-roots D1 and D2 (step S43). Then, the sub-route D4 is executed to eliminate overlapping lines (same lines) on the tree diagram (step S44). Further, the sub route D5 is executed, the line validated in the sub route D4 is regarded as a spring, and the speed is added to each node existing at both ends of the spring (step S45). Subsequently, the sub route D6 is executed to calculate a virtual repulsive force acting between the nodes (step S46). Then, the sub route D7 is executed, and all the nodes are moved based on the repulsive force between the nodes obtained in the sub route D6 (step S47). Then, the sub-root D8 is executed to generate and draw a tree diagram composed of lines and nodes and display it on the display (step S48). Finally, the sub-root D9 is executed to display the tree diagram displayed on the display as a user. The display is changed by input (step S49), and the processing in the sub-route D and the processing of the entire process are finished. Hereinafter, the processing in each of the sub-routes D1 to D9 will be described in detail with reference to the corresponding FIGS.
[0043]
First, FIG. 17 shows a process for setting a clause as the sub-route D1, and here, information search and storage for the dictionary A are performed. In the target word / phrase AW (i) for the dictionary A obtained up to the sub-root C, the same word / phrase may be duplicated, and the variable i of the target word / phrase AW (i) is changed from 1 to the maximum occurrence clause. In a loop process that changes up to several WMax, the existence of the same word is checked. Therefore, in order to avoid duplication of words, arrangement is performed using an arrangement variable called arrangement arrangement AWID (j). The value of the target word / phrase AW (j) handles the word / phrase as a character string, whereas the rearrangement array AWID (j) is handled as an array having an integer value, and the numerical value is the target word / phrase AW (i ) Variable i. Each time a new word appears, information is stored in a variable of an object called node. Further, at the time when the process shown in the figure is completed, the number of clauses np indicates the number of words in the dictionary A.
[0044]
Specifically, the clause class and its member variables are set first. Here, when not using the concept of the class and the object generated thereby and its member variable, for example, the member variable node [i]. abc is described so as to have no effect even if it is read as a normal array variable node_abc [i] or the like. Also, object methods are not used, and objects are used only to easily organize variables as member variables. The clause class consists of a character array variable (word), an integer variable (dic), a real variable (dx), a real variable (dy), a Boolean variable (lock), a real variable (x), and a real variable (y) as member variables. To do. (Wmax * 2) node objects are generated from the clause class. Next, the next value “np + 1” is substituted for the number of nodes np, the target word / phrase AW (i) is substituted for the string variable (node [np] .word), and the integer variable (node [np] .dic). The value 1 is assigned to. Also, the value 0 is substituted for each of the real variables (node [np] .dx, node [np] .dy), “FALSE” is substituted for the Boolean variable (node [np] .lock), and the real number A random number is assigned to each of variables (node [np] .x, node [np] .y) (step S403). In the integer variable (dic), a value 1 indicates a word in the dictionary A, a value 2 indicates a word in the dictionary B, and a value 3 indicates a word common to the dictionaries A and B. In addition, the fact that the Boolean variable (node [np] .lock) is “FALSE” means that the clause can move in sub-route D7 described later, and if it is “TRUE”, the clause is fixed. It means being moved. Here, since the evaluation target phrase Wa by the user's input always exists, for the processing of Wa (= AW (1)), information on the evaluation target phrase Wa is given for node [1]. Next, the value 0 is substituted into the arrangement array AWID (0) of the dictionary A, and the value 1 is substituted into AW (1) (step S404).
[0045]
Further, “i + 1” is substituted as the next value of the general variable i, and the value 1 is substituted into the general variable j (step S405). Here, it is determined whether or not the target word / phrase AW (i) is a null value (“”) (step S406). If the target word / phrase AW (i) is a null word (“”) (step S406; Yes), the arrangement of the dictionary A After substituting 0 for AWID (i) (step S406a), the process proceeds to step S412 described later. On the other hand, if the target word / phrase AW (i) is not a null value in step S406 (step S406; No), it is next determined whether or not the target word / phrase AW (i) is an existing word / phrase (step S407). . When the target word / phrase AW (i) matches the already-explained word / phrase (step S407; Yes), the process proceeds to step S411 described later. When the target word / phrase AW (i) does not match (step S407; No), the general variable j has the next value “j + 1”. Is substituted (step S408). If the general variable j is a value equal to or smaller than the node pointer (np) (step S409; No), the process returns to step S407, and if the general variable j is larger than the node pointer (np) (step S409; Yes). ), The first word / phrase is processed (step S410). That is, as in step S403 described above, the next value “np + 1” is substituted for the number of nodes np, the target word / phrase AW (i) is substituted for the character string variable (node [np] .word), and the integer variable The value 1 is substituted into (node [np] .dic). Further, “FALSE” is substituted into the Boolean variable (node [np] .lock), the value 0 is substituted into each of the real variables (node [np] .dx, node [np] .dy), and the real variable (node). [Np] .x, node [np] .y) are substituted with random numbers, respectively. After that, the general variable j is substituted into the rearrangement array AW (i) of the dictionary A (step S411), and the process returns to step S405 until the general variable i matches the maximum number of appearance clauses WMax, and the process of repeated duplication and new phrase check is performed. It performs (step S412; No). After the match (step S412; Yes), the processing of the sub-route D1 is finished, and the process proceeds to the section setting processing step (sub-route D2) for the dictionary B. The number of related phrases without duplication obtained for the dictionary A by the above arithmetic processing is np.
[0046]
FIG. 18 shows a process for setting a clause as the sub-route D2. Here, information search and storage for the dictionary B are performed. That is, as in the previous step, the dictionary B is arranged while investigating duplication of words from the target word / phrase BW (i) to the arrangement array BWID (j), and new word / phrase information is stored in the object node. At the end of this step, the number of clauses np indicates the total number of words in the dictionary A and the dictionary B. The variable node is a numerical value for determining whether a phrase that appears only in the dictionary A, a phrase that appears only in the dictionary B, or a phrase that appears in both the dictionaries A and B, node (i). Set for dic. For example, when the processing has progressed so far, the evaluation target word / phrase Wa is likely to appear together with the dictionary A and the dictionary B, so node [0]. As for dic, 3 is substituted after the completion of the sub-route D2.
[0047]
Specifically, following step S412 shown in FIG. 17 (D2), first, a value 1 is substituted into the general variable i (step S413), and the arrangement array BWID of the dictionary B is similar to step S404 described above. A value 0 is substituted into (0), and a value 1 is substituted into BW (1) (step S414). Then, similarly to step S405, the next value “i + 1” is substituted for the general variable i, and the value 1 is substituted for the general variable j (step S415). Here, it is determined whether or not the target word / phrase BW (i) is a null value (“”) (step S416), and if it is a null word / phrase (“”) (step S416; Yes), the arrangement of the dictionary B is arranged. After substituting the value 0 for BWID (i) (step S416a), the process proceeds to step S422 described later. On the other hand, if the target word / phrase BW (i) is not a null value in step S416 (step S416; No), it is next determined whether or not the target word / phrase BW (i) is an existing word / phrase (step S417). . If the target word / phrase BW (i) matches the already-existing word / phrase (step S417; Yes), it is determined whether or not the integer (node [j] .dic) of the node class node is the value 1, If it is not 1 (step S417a; No), the word does not exist in the dictionary A, so the process proceeds to step S412 described later. If the value is 1 (step S417a; Yes), the word also exists in the dictionary A. After substituting the value 3 for the integer (node [j] .dic) of the node class node (step S417b), the process proceeds to step S412 described later. On the other hand, when the target word / phrase BW (i) does not match the already-explained word / phrase (step S417; No), the next value “j + 1” is substituted into the general variable j (step S418). If the general variable j is a value equal to or smaller than the node pointer (np) (step S419; No), the process returns to step S417, and if the general variable j is larger than the node pointer (np) (step S419; Yes). ), Process words that appear for the first time. That is, as in step S410 described above, the next value “np + 1” is substituted for the number of nodes np, the target word / phrase BW (i) is substituted for the character string variable (node [np] .word), and the integer variable The value 2 is substituted into (node [np] .dic). Further, a value 0 is assigned to each of the real variables (node [np] .dx, node [np] .dy), and a random number is assigned to each of the real variables (node [np] .x, node [np] .y). substitute. Also, “FALSE” is substituted into the Boolean variable (node [np] .lock) (step S420). After that, the general variable j is substituted into the arrangement array BW (i) of the dictionary B (step S421), and it is determined whether or not the general variable i matches the maximum number of appearance nodes WMax (step S422). If the general variable i does not match the maximum number of appearing clauses WMax (step S422; No), the process returns to step S415, and all related words BW (1) to BW (WMax) in the dictionary B are duplicated and checked for new words In the case where they match (step S422; Yes), the processing of the sub-route D2, which is the process for setting the clause for the dictionary B, is terminated, and the processing proceeds to the sub-route D3, which is the next step.
[0048]
FIG. 19 shows a step of setting a line as the sub route D3. In the sub-root D1 and the sub-root D2, when the setting of the clauses for the dictionary A and the dictionary B is completed, processing for storing information related to the line (edge) connecting the clauses is performed. In this step, the line object edge [j] (j = 1 to WMax) corresponding to the dictionary A and the line object edge [j] corresponding to the dictionary B (j = WMax + 1 to WMax * 2) are once stored. To process. Whether the process related to the dictionary A or the process related to the dictionary B is determined as the dictionary A if the variable j is equal to or less than the maximum number of appearing nodes WMax, and is determined as the dictionary B if the variable j is larger. In the following description, the line object edge [i] indicates a line connecting the localfrom-th node and the i-th node. Also, as an example, if the explanatory text appearance rank designation information ESnMax is 3, “locallabel” set for organizing it takes values of 1, 2, and 3. Finally, if both sides of a line object edge (an integer variable from which is a member variable of the line object edge and a character string word which is a member variable of the section object pointed to by the integer variable to) are non-null clauses, The line object edge is valid (the Boolean variable flag that is a member variable of the corresponding line object edge is TRUE). On the other hand, if one side or both sides are null, the line object edge is invalid (the member variable of the corresponding line object edge). A Boolean variable is FALSE). Only valid line objects edge (the Boolean variable that is a member variable of the corresponding line object edge is TRUE) are subjected to the spring calculation and the display on the display, which are the processes in the subsequent processes.
[0049]
As specific processing, first, a line class and its member variables are set. The line class includes an integer variable (from), an integer variable (to), a real variable (len), an integer variable (type), a character string variable (label), and a Boolean variable (flag) as member variables. Generate (Wmax * 2) edge objects from the line class. Then, the value 1 is substituted into the general variable j (step S424). Subsequently, if the general variable j is equal to or less than the maximum appearance node number WMax, the value j is substituted into the general variable i, and if the general variable j is a value greater than the maximum appearance node number WMax, the maximum appearance node is calculated from this value j. A value obtained by subtracting the number WMax is substituted for the general variable i. If the general variable j is less than or equal to the maximum number of appearing nodes WMax, the dictionary A is applied to the target dictionary Dt, and if the general variable j is greater than the maximum number of appearing nodes WMax, the dictionary B is applied to the target dictionary Dt. (The above is step S425). Further, when the general variable i is a value 1, the value 0 is substituted into the variable localfrom. When the general variable i is other than the value 1, the value obtained by subtracting the number 2 from the value i is used as the description sentence appearance order designation information ESnMax. The value obtained by the operation of adding the value 1 to the integer value of the value divided by is substituted into the variable localfrom. This means that the i-th line object edge [i] is connected to the localfrom-th node object node [localfrom] and the i-th node object node [i]. The character string variable locallabel is subtracted from the variable i by the value obtained by subtracting the number 1 from the previously obtained variable localfrom, and the value obtained by adding the value 1 to the character i. Assign as a column. This means that the explanatory sentence appearance rank ESn is assigned to the locallabel, but the number ESn of the explanatory sentence appearance rank ESn is calculated from the variable i (step S426). Then, the general variable j is compared with the maximum appearing node number WMax (step S427), and if the general variable j is equal to or less than the maximum appearing node number WMax (step S427; No), the dictionary A is processed, and the maximum appearing node number If it is larger than WMax (step S427; Yes), processing is performed for dictionary B.
[0050]
For dictionary A, edge [j]. from the rearrangement array AWID (localfrom), edge [j]. to the rearrangement array AWID (i), edge [j]. A character string variable “locallabel” is converted into an integer and assigned to “type”, and edge [j]. len is substituted with an appropriate fixed line length m, and edge [j]. If the variable i is 1, the target dictionary Dt is substituted for label, otherwise edge [locallabel]. label + locallabel is substituted (step S428). Then, it is verified whether the arrangement array AWID (edge [j] .from) has a value of 0 or whether the arrangement array AWID (edge [j] .to) has a value of 0 (step S428a). The appropriate fixed length m is the basic length of the line object edge, and its value depends on the display device of this device. When the line object edge is pushed or pulled and the length becomes longer or shorter than the appropriate fixed length m, calculation is performed so that a force for returning to the fixed length m works like the spring. Processing is performed later. On the other hand, the same processing is performed for the dictionary B (steps S429 and S430). Here, in either step S428a or step S429a, one of the rearrangement array AWID (edge [j] .from) or AWID (edge [j] .to), the rearrangement array BWID (edge [j] .from). Alternatively, if either one of BWID (edge [j] .to) is a null node (step S428a; Yes, step S429a; Yes), the corresponding line class is an invalid line object with no node at the start or end point, respectively. edge [j]. The flag is set to FALSE (steps S430 and S431). On the other hand, in both step S428a and step S429a, both the rearrangement arrays AWID (edge [j] .from) and AWID (edge [j] .to), the rearrangement arrays BWID (edge [j] .from) and BWID (edge) If both [j] .to) are not null nodes (step S428a; No, step S429a; No), it is assumed that the line object edge is a valid line object edge having nodes at the start point and the end point, respectively. , Edge [j]. The flag is set to TRUE (step S432). Subsequent to steps S430 to S432, after substituting the next value “j + 1” for the general variable j (step S433), the general variable j is compared with a value twice the maximum appearance node number WMax (step S433). S434). This is based on the fact that the maximum number of lines takes twice the maximum number of appearing nodes WMax because two dictionaries A and B are used. If the general variable j is less than or equal to twice the maximum appearance node number WMax (step S434; No), the process returns to step S425 and the same process is repeated, so that the general variable j is equal to the maximum appearance node number WMax. When the double value is exceeded (step S434; Yes), the processing of the sub-route D3 which is the process of setting this line is finished, and the process proceeds to the next sub-route D4.
[0051]
In the line object edge set in this way, when the same related word / phrase appears in the dictionaries A and B, there are those in which the line object edge connected from the same section to the same section overlaps. Therefore, it is necessary to eliminate the overlapping line object edge, that is, the line object edge having the same to and the same to. FIG. 20 shows the processing steps of the sub-route D4 for eliminating the overlapping line object edge in this way.
[0052]
Specifically, as processing for the dictionary A, first, a value 2 is substituted for the general variable i (step S435), and the variable i is substituted for the general variable j (step S436). Further, the next value “j + 1” is substituted into the general variable j (step S437), and it is verified whether or not the lines are the same (step S438). That is, edge [i]. from and edge [j]. from and the edge [i]. to and edge [j]. to match (step S438; Yes), it is determined that they are on the same line and edge [j]. The flag is set to FALSE, which is invalidated (step S438a). Otherwise (step S438; No), it is determined that the lines are not the same line. Then, the general variable j is compared with the maximum appearing node number WMax, and if they do not match (step S439; No), the process returns to step S537 and the same processing is repeated, and if they match (step S439; Yes), the general variable i Is substituted with the next value “i + 1” (step S440). Further, the new general-purpose variable i is compared with the maximum appearance node number WMax, and if they do not match (step S441; No), the process returns to step S436 and the same processing is repeated, and when they match (step S441; Yes), the dictionary The process proceeds to B.
[0053]
As processing for the dictionary B, first, a value obtained by adding 2 to the maximum appearance node number WMax is substituted for the general variable i (step S442), and the variable i is substituted for the general variable j (step S443). Further, the next value “j + 1” is substituted for the general variable j (step S444), and it is verified whether or not the lines are the same (step S545). That is, edge [i]. from and edge [j]. from and the edge [i]. to and edge [j]. to match (step S445; Yes), it is determined that they are on the same line and edge [j]. The flag is set to FALSE, which is invalidated (step S445a). Otherwise (step S445; No), it is determined that the lines are not the same line. Then, the general-purpose variable j is compared with a value twice the maximum appearance node number WMax. If they do not match (step S446; No), the process returns to step S444 and the same processing is repeated, and when they match (step S446; Yes). ), The next value “i + 1” is substituted into the general variable i (step S447). Further, the new general-purpose variable i is compared with a value twice the maximum appearance node number WMax. If they do not match (step S448; No), the process returns to step S443 and the same processing is repeated, and when they match (step S448). ; Yes), the processing of the dictionary B is finished, the processing of the sub-route D4 is finished, and the process proceeds to the processing step of the next sub-route D5.
[0054]
In the processing step of the sub route D5 shown in FIG. 21, the line object edge validated in the processing step of the sub route D4 described above is regarded as a spring, and a process of adding the speed to each node existing at both ends of the spring is performed. The spring constant a described below is an appropriate number exceeding the number 0, and the minute numerical value delta is set to an appropriately small number such as the number 0.001. Used as a seed for external disturbances to avoid division by 0 in repulsion calculation. Further, the repulsive force constant b is a value of 0 or more. Furthermore, the friction coefficient cof depends on the performance of the display means on the display and the calculation speed, and is set to an appropriate value with a value of 0 <cof <1. In addition, “localvx” represents the distance taken by two nodes in the x coordinate in the two-dimensional coordinate, “localvy” represents the distance taken by two nodes in the y coordinate in the same coordinate, and “locallen” is Let us denote the distance taken by two nodes.
[0055]
First, the variables (adraw and bdraw) which are Booleans displayed in the dictionary A and B are defined as “TRUE”, and the spring constant a, the repulsive force constant b, the minute numerical value deitam, and the friction coefficient cof are defined ( In step S449, the value 1 is substituted into the general variable i (step S450). Here, the effectiveness of the spring is verified (step S451). If the spring is effective (edge [1] .flag = TRUE) (step S451; Yes), a predetermined value is assigned to each value as shown below. Perform the process. That is, here, the clause object node [edge [i]. to]. From the value of x, the node object node [edge [i]. from]. The value obtained by subtracting the value of x is set to local in the node object node [edge [i]. to]. From the value of y, the clause object node [edge [i]. from]. The value obtained by subtracting the value of y is assigned to locallen as the positive square root of the sum of the local value of localvx and the local value of localy. Also, edges [i]. The value obtained by subtracting locallen from len is multiplied by the spring constant a, and this value is defined as f. Then, a value obtained by multiplying the value f by localvx and a value obtained by multiplying f by localv are substituted for the speeds localx and localy in the x-coordinate and y-coordinate, respectively. Then, the following speeds and node objects node [edge [i]. to]. dx, the node object node [edge [i]. to]. The value obtained by adding the previously obtained localdx to the value of dx is set to the node object node [edge [i]. to]. dy, the node object node [edge [i]. to]. The value obtained by adding the previously obtained localdy to the value of dy is the node object node [edge [i]. from]. dx, the node object node [edge [i]. to]. The value obtained by subtracting localx from the value of dx is the node object node [edge [i]. from]. dy, the node object node [edge [i]. to]. A value obtained by subtracting localy from the value of dy is substituted (step S452). Then, the next value “i + 1” is substituted into the general variable i (step S453). However, if the spring is invalid (edge [i] .flag = FALSE) in step S451 (step S451; No), step S452 is skipped and the process of step S453 is performed. Then, the new general variable i is compared with a value twice the maximum appearance node number WMax. If the general variable i is less than or equal to twice the value of WMax (step S454; No), the process returns to step S451 and the same. When the value of the general variable i becomes larger than twice the maximum appearance node number WNax (step S454; Yes), the processing of the sub-route D5 is terminated and the processing proceeds to the next sub-route D6. .
[0056]
In the processing process of the sub route D6 shown in FIG. 22, the repulsive force calculation between the nodes is performed based on the speed obtained in the previous process. In this embodiment, the repulsive force is calculated by assuming that the repulsive force is inversely proportional to the square of the distance without using the Leonard-Jones equation used for calculating the intermolecular force. . First, the value 1 is substituted for the general variable i (step S455). Next, a value 0 is assigned to each of the velocity localx and velocity localy obtained in the previous step, and further a value 1 is assigned to the general variable j (step S456). Then, the difference between the value i and the value j is verified (step S457). If the value i and the value j do not match (step S457; No), the node object node [i]. x value and clause object node [j]. The difference from the value of x is the distance local, and the node object node [i]. The value of y and the clause object node [j]. The difference between the y value and the sum of the square value of the distance localvx and the square value of the distance localy is substituted into the distance locallen (step S458). Then, it is determined whether or not the distance locallen has a value 0, that is, whether or not the length of the line object edge exists. If the distance locallen has a length (locallen> 0, step S458; No). A value obtained by adding the product of the reciprocal of the square of the repulsive force constant b and the distance locallen and the distance localvx to the previous velocity localx is substituted for the velocity localx, and the repulsive constant b and the distance locallen are substituted for the previous velocity localy. A value obtained by adding the product of the inverse of the square of 2 and the distance localy is substituted (step S460). On the other hand, when the distance locallen has no length (locallen = 0, step S459; Yes), a minute value is assigned to the speeds localx, localdy (step S461). That is, the value obtained by adding the product of the random number and the minute value deltatam previously defined to the previous speed localx is substituted for the speed localxx as a function that gives different real numbers of 0 or more and less than 1 each time “random ()”. A value obtained by adding the product of a random number and the minute value delta defined above to the previous speed localy is substituted for the speed localy. This is because the quotient cannot be obtained when the value of the distance locallen is 0. Therefore, only when the distance locallen is 0, an appropriate number is given to the velocities localx and localdy using random numbers as a remedy. Yes. If the value i matches the value j in step S457 (step S456; Yes), step S458 to step S461 are skipped. Next, the next value “j + 1” is substituted for the general variable j (step S462), and this value j is compared with the node pointer (total number of nodes) np (step S463). Here, if the value j is equal to or less than the node pointer np (step S463; No), the process returns to step S457 and the same processing is repeated, and when the value j becomes larger than the node pointer np (step S463; Yes), Node speed node [i]. dx is the velocity node [i]. The sum of dx and the velocity localx is the node velocity node [i]. dy to the speed node [i] of the previous section. The sum of dy and velocity localdx is substituted (step S464). That is, for each node, the repulsive force for all nodes other than itself is calculated and finally added to its own speed. Then, the next value “i + 1” is substituted for the general variable i (step S465), and this value i is compared with the node pointer np (step S466). If the value i is equal to or smaller than the node pointer np (step S466; No), the process returns to step S456 and the same processing is repeated. When the value i becomes larger than the node pointer np (step S466; Yes), The repulsive force calculation process in the sub-route D6 is finished, and the process proceeds to the processing process of the next sub-route D7.
[0057]
In the processing step of the sub route D7 shown in FIG. 23, processing for moving each node and line to an area that can be displayed on the display as the output device 105 is performed based on the speed obtained in the previous step. In the following description, “WIDTH” and “HEIGHT” indicate the width and height of the display screen on the display. It is assumed that the area from 0 to WIDTH and from 0 to HEIGHT can be displayed on the screen.
[0058]
First, the value 1 is substituted for the general variable i (step S467). Then, it is determined whether or not the node can move (node [np] .lock = TRUE?). If the node is fixed (step S468; Yes), each speed (node [i] .dx, node [i ] .Dy) is substituted with a value of 0 (step S468a), and to step S469, if the node is not fixed (step S468; No), the current speed is added to the position of each node as it is (node [ i] .x is assigned the sum of node [i] .x and node [i] .dx, and node [i] .y is assigned the sum of node [i] .y and node [i] .dy), then If it is out of the display range, correct it within the range. Specifically, node [i]. x, node [i]. If x is less than 0, the value 0; otherwise, node [i]. Substitute x. node [i]. x, node [i]. If x is greater than or equal to WIDTH, the value WIDTH is set; otherwise, node [i]. Substitute x. Node [i]. y, node [i]. If y is less than 0, the value 0; otherwise, node [i]. Substitute y. node [i]. y, node [i]. If y is greater than or equal to HEIGHT, the value HEIGHT is set. Otherwise, node [i]. Substitute x. Finally, each speed dx, dy is decreased by making the product of the friction coefficient cof (substitute the product of the speed node [i] .dx and the friction coefficient cof for the speed node [i] .dx, (the product of the speed node [i] .dy and the friction coefficient cof is substituted for node [i] .dy) (step S469). Then, the next value “i + 1” is substituted into the general variable i (step S470), and the value i is compared with the node pointer np (step S471). Here, if the value i is less than or equal to the node pointer np (step S471; No), the process returns to step S468 and the same processing is repeated, and when the value i becomes larger than the node pointer np (step S471; Yes), After the node movement process in the sub-route D7 is finished, the process proceeds to the next sub-route D8.
[0059]
In the processing step of the sub route D8 shown in FIG. 24, generation by drawing a tree diagram is executed. That is, based on the information about nodes and lines obtained up to the previous step, in this step, the line object edge is first drawn, and then the node object node is drawn.
[0060]
First, it is determined whether or not display of the dictionary A is possible. When displaying a tree diagram of the dictionary A (step S472; Yes), arguments are a start pointer (1) and an end pointer (maximum number of appearance nodes WMax). After the sub route G is executed, if not displayed (step S472; No), it is immediately determined whether display (bdraw) about the dictionary B is possible. When displaying the tree diagram of the dictionary B (step S473; Yes), after executing the sub-root G with the arguments as a start pointer (maximum appearance node number WMax) and an end pointer (double value of the maximum appearance node number WMax), If not displayed (step S473; No), the value 1 is immediately substituted for the general variable i (step S474).
[0061]
Here, with reference to FIG. 26, processing in the sub-route G will be described. The sub-root G functions as a subroutine that is frequently called from the main routine and does not return any return value. When the sub-root G is called, it is necessary to call it by designating each of the start pointer and the end pointer. In this process, a valid line object edge is drawn as an arrow, and the subscript (label) related to the related information of the node object node on the end point side of the line object edge, which is the content of the line object edge, is included in the line object edge. Draw near the point. Specifically, the flag of the line object edge is first verified using the start pointer and end pointer as arguments. That is, edge [i]. If the flag is “FALSE” (step S701; Yes), the processing of this sub-root G is terminated, but edge [i]. If the flag is “TRUE” (step S701; No), a start pointer is substituted for the general variable i (step S702). Here, as described above, the start pointer is 1 in the case of the dictionary A, and in the case of the dictionary B, it is the maximum number of appearance nodes WMax + 1. Next, the coordinates of the start point and end point of the line object edge are set. That is, (node [edge [i] .from] .x, node [edge [i] .from] .y) is set to the coordinates (x1, y1) of the start point of the line object edge, and the coordinates (x2, y2) of the end point are set. ), (Node [edge [i] .to] .x, node [edge [i] .to] .y) are respectively substituted (step S703). Subsequently, an arrow is drawn with a predetermined line type (edge [i] .type) from the start point coordinates (x1, y1) to the end point coordinates (x2, y2) (step S704). Here, for example, the line type can be determined as a solid line if (edge [i] .type) is 1, and as a dotted line if (edge [i] .type) is 2, for example. Next, the midpoint coordinates ((x1 + x2) / 2, (y1 + y2) / 2) of the line object edge represented by the drawn arrow are near the center of the character string of the label (edge [i] .label) indicating the subscript. Then, the character string of the label is drawn (step S705). Then, in order to draw the next line, the next value “i + 1” is substituted for the general variable i (step S706), and it is determined whether or not the value of the variable i is larger than the end pointer (step S707). Here, the end pointer is the maximum number of appearing nodes WMax for the dictionary A, and is twice the maximum number of appearing nodes WMax for the dictionary B. If the variable i is a value equal to or smaller than the end pointer (step S707; No), the process returns to step S703 and the same processing is performed, and the processing of the sub route G is terminated when the variable i becomes larger than the end pointer or less. The process proceeds to step S473 or step S474 in the sub-route D8.
[0062]
Note that the character string of the label indicating the subscript is derived from the related information related to the related word / phrase that is the character string drawn in the node object node pointed to by the end point of the line object edge. "A1", "A12", "A122", and the like. The first letter “A” indicates that it is related to the dictionary A. In the following numbers, the first digit from the left is the first hierarchy, the second digit is the second hierarchy, the third digit is the third hierarchy, and so on. Each of the explanation sentence appearance ranks. That is, the subscript label “A1” indicates that the related word / phrase that enters the node object node at the end point of the line object edge is the appearance rank in the description sentence (that is, the first hierarchy) having the evaluation target word Wa as the head word in the dictionary A. 1st place (ES 1 ), In other words, the related information is AR = searchword (Wa, 1) (however, the part of speech C and the phrase appearance rank WnFix have been specified by the user). Also, the subscript label “A12” is a related word / phrase that is included in the node object “node” at the end of the line object “edge”. In the dictionary A, the related word / phrase of the first hierarchy having related information AR = searchword (Wa, 1) is used. Out of the explanatory sentences (that is, the second hierarchy) used as headwords, the second appearance rank (ES 2 ), In other words, the related information is AR = searchword (searchword (Wa, 1), 2). Similarly, in the subscript label “A122”, the related word / phrase that is included in the node object “node” at the end of the line object “edge” has the related information AR = searchword (searchword (Wa, 1), 2) in the same dictionary A. Of the explanatory sentences (ie, the third hierarchy) having the related words and phrases in the second hierarchy as headwords, the second highest appearance rank (ES 2 ), In other words, the related information is AR = searchword (searchword (searchword (Wa, 1), 2), 2). However, the same applies to each hierarchy and dictionary B.
[0063]
Returning the description to the sub-root D8, the next section is drawn. After substituting the value 1 for the general variable i in step S474, it is determined that the dictionary to be drawn is the dictionary A (node [i] .dic = 1) and that the dictionary A is drawn (adraw = TRUE) (Step S475; Yes), the sub-root H is executed with the general variable i indicating the drawing target section as an argument (Step S475a). Otherwise (Step S475; No), the sub-route H is processed. Without proceeding to the determination about the next dictionary B. Next, when it is determined that the dictionary to be drawn is the dictionary B (node [i] .dic = 2) and drawing for the dictionary B (bdraw = TRUE) (step S476; Yes), the drawing target The sub-root H is executed with the general-purpose variable i indicating the node to be used as an argument (step S476a), but otherwise (step S476; No), the determination of the next dictionaries A and B is not performed without processing the sub-root H. Proceed to That is, when both the dictionary A and the dictionary B are drawn (node [i] .dic = 3) (step S477; Yes), the general variable i indicating the drawing target node is used as an argument for the sub route H. Execute (step S477a), but if not (step S477; No), the next value “i + 1” is assigned to the general variable i in order to perform the process for the next section without performing the process of the sub route H. (Step S478). Then, the variable i is compared with the node pointer np, and if the variable i is equal to or less than the node pointer (step S479; No), the process returns to step S475 and the same processing is performed for the next section. When np is exceeded (step S479; Yes), the processing of the sub-route D8 is finished, and the processing proceeds to the processing of the last sub-route D9.
[0064]
Here, with reference to FIG. 27, the processing steps in the sub-route H will be described. The sub-root H functions as a subroutine that is frequently called from the main routine that does not return any return value. When calling the sub-root H, it is necessary to specify the target clause and call it. First, the target clause is substituted into the general variable i (step S801), and the coordinates (node [i] .x, node [i] .y) where the relevant node object node is to be displayed are used in general-purpose coordinates ( x, y) is substituted (step S802). Then, a frame that is a phrase display column that is the background of the phrase is drawn in a predetermined shape so that the coordinates (x, y) are at the center of the phrase (step S803). Here, examples of the frame shape include an ellipse and a rectangle. For ease of viewing, it is desirable to change the color and shape of the frame depending on the dictionary (node [i] .dic). In this embodiment, a rectangular frame is applied to the dictionary A and an elliptic frame is applied to the dictionary B. Furthermore, a shape in which a rectangle and an ellipse are combined is applied to a clause in which common phrases are included in the dictionaries A and B. Node [i]. Depending on whether the lock is TRUE or FALSE, it is preferable from the viewpoint of ease of understanding to make a slight difference in the color and shape of the frame. Finally, a word / phrase character string (node [i] .word) indicating the related word / phrase to be included in the clause is drawn so that the coordinate (x, y) is at the center of the word / character string (step S804). The process in the sub route H is terminated. At this stage, the tree diagram relating to the generated and drawn dictionaries A and B is displayed on the display.
[0065]
FIG. 25 shows the processing in the sub-route D9 which is the last processing step. In this step, the user uses the input device 106 on the predetermined screen with respect to the tree diagram displayed on the display in the whole process. As the operation is performed, display change of the tree diagram is executed. First, the general-purpose timer t is set to 0 (step S480), and the user desires to draw the dictionary A based on an input using the input device 106 such as a mouse click on the predetermined screen. If there is an input indicating that the dictionary A is desired to be drawn (step S481; Yes), it is determined that the dictionary A is drawn with “adraw” set to “TRUE”, and the tree diagram of the dictionary A is displayed (step S481a). If there is no input indicating that drawing is desired or there is an input that desires not to be drawn (step S481; No), it is determined that the dictionary A is not drawn with “adraw” set to “FALSE” (step S481b). Next, as in the case of the dictionary A, it is determined whether or not the dictionary B is to be drawn. If there is an input indicating that the dictionary B is desired to be drawn (step S482; Yes), it is determined that the dictionary B is drawn with bdraw being “TRUE”, and the tree diagram of the dictionary B is displayed (step S482a). If there is no input indicating that drawing is desired or there is an input that desires not to be drawn (step S482; No), it is determined that the dictionary B is not drawn with bdraw being “FALSE” (step S482b). That is, for example, a GUI such as a radio button for displaying or hiding each of the dictionary A and the dictionary B is provided on the predetermined screen, and a tree diagram of both the dictionary A and B is displayed according to a user input. The display formats such as the display of the tree diagram of only the dictionary A and the display of the tree diagram of only the dictionary B are determined. Further, if there is an instruction to fix the specific phrase i (evaluation target phrase Wa or any other related phrase) on the screen by the user input based on the use of the input device 106 (step S483; Yes), The phrase clause is fixed ("TRUE" is substituted into node [i] .lock, step S483a). If there is no instruction (step S483; No), it is determined that the phrase clause is not fixed (node) [FALSE] is substituted for [i] .lock, step S483b). Furthermore, by the user's input based on the use of the input device 106, for example, a drag operation of a phrase section using a mouse, the movement of a specific phrase i (evaluation target phrase Wa or any other related phrase) on the screen is performed. If there is an instruction (step S484; Yes), the coordinates of the phrase clause (node [i] .x, node [i] .y) are changed according to the instruction (step S484a), and if there is no instruction (step S484a). Step S484; No) Subsequently, the next value “t + 1” is substituted into the general-purpose timer t (Step S485). If there is no end request by the user input (step S486; No), the timer t is compared with the set waiting time. If the timer t is equal to or less than the waiting time (step S487; No), the process goes to step S481. Returning, the same processing is repeated, and when the timer t exceeds the waiting time (step S487; Yes), the processing returns to step S450 in the sub-route D5 to perform the spring calculation processing (D5-x). If there is a request for termination by user input (step S487; Yes), the processing of the sub-route D9 is terminated and the processing of this program is terminated.
[0066]
Here, a specific example using the dictionary evaluation support device A7 of the present embodiment will be described. In this example, it is assumed that two Japanese language electronic dictionaries (dictionary A and dictionary B) are used, and the word “Gokaido” is input to the user as the initial evaluation target word Wa. Further, the layer designation information LnMax is input to the third layer (L Three ), The description sentence appearance order designation information ESnMax is the second place (ES 2 ), The phrase appearance rank designation information WnFix is the first (W 1 ), The part-of-speech designation information C is assumed to be selected as an ordinary noun.
[0067]
FIG. 28 shows a list in which related words and phrases obtained by the processing steps as described above based on the above program based on these information are summarized for each dictionary. As shown in the figure, first, for the dictionary A, the first hierarchy (L 1 ) From the description EW of the Edo period (ES 1 ), "Tokaido" (ES 2 ) Was obtained. In addition, the second hierarchy (L 2 ) From the explanatory sentence EW, the related phrase AR is “Ieyasu Tokugawa” (ES 1 ), "Tokukawa period" (ES 2 ) Was obtained. Furthermore, the third hierarchy (L Three ) From the explanatory sentence EW, the related phrase AR "Tokugawa first general" (ES 1 ), Hirotada Matsudaira (ES 2 ) Was obtained. In addition, the third hierarchy (L Three ) From the description EW of the Edo period (ES 1 ) Related terms and phrases, and the explanation sentence appearance rank second place (ES 2 ) Does not include a phrase corresponding to the specified part of speech, or the explanation sentence appearance rank 2 (ES 2 ) Has ended (<End>) because the description itself does not exist. On the other hand, the second hierarchy (L 2 ) From the explanatory sentence EW, as the related phrase AR, “Goki Shichimichi” (ES 1 ), "Kinai" (ES 2 ) Was obtained. Furthermore, the third hierarchy (L Three ) From the explanatory sentence EW, the related phrase AR is “Rules” (ES 1 ), "Yamashiro" (ES 2 ) Was obtained. The third level (L Three ) From the explanatory sentence EW as the related phrase AR "Emperor" (ES 1 ), "China" (ES 2 ) Was obtained.
[0068]
On the other hand, with respect to the dictionary B, the first hierarchy (L 1 ) From the explanatory text EW as the related phrase BR “Edo period” (ES 1 ), "Tokaido" (ES 2 ) Was obtained. In addition, the second hierarchy (L 2 ) From the explanatory sentence EW, “Mr. Tokugawa” (ES 1 ), "1603" (ES 2 ) Was obtained. Furthermore, the third hierarchy (L Three ) From the explanatory sentence EW as the related phrase BR "First and last name" (ES 1 ), "Edo Shogunate" (ES 2 ) Was obtained. Also, the third hierarchy (L Three ) Of the explanatory sentence EW itself does not exist, so the related phrase BR is not extracted, and the explanatory sentence appearance rank first (ES 1 ) And 2nd place (ES 2 ) Both have been completed (<End>). On the other hand, the second hierarchy (L 2 ) From the explanatory text EW as the related phrase BR “Rules” (ES 1 ), “Present” (ES 2 ) Was obtained. Furthermore, the third hierarchy (L Three ) From the explanation sentence EW, as the related phrase BR “Ritual case formula” (ES 1 ) Related terms and phrases, and the explanation sentence appearance rank second place (ES 2 ) Does not include a phrase corresponding to the specified part of speech, or the explanation sentence appearance rank 2 (ES 2 ) Has ended (<End>) because the description itself does not exist. In addition, the third hierarchy (L Three ) From the description sentence EW, "Now" (ES 1 ), "Time" (ES 2 ) Was obtained.
[0069]
FIG. 29 shows a summary table of the related information for each of the obtained related words and phrases for each of the dictionaries A and B. In the figure, the function searchword () indicating the related information is represented as f () for convenience. Also in the following description, if the function searchword () is read as f (), from the above results, among the related terms AR and BR obtained from the dictionary A and the dictionary B, “Edo period” {AR = f (5 Highway, 1), AR = f (f (f (five highway, 1), 2) 1), BR = f (five highway, 1)}, “Tokaido” {AR = f (five highway, 2), BR = F (5 highways, 2)}, “Rules” {AR = f (f (f (5 highways, 2), 1) 1), BR = f (f (5 highways, 2), 1)}, Overlapping related terms were found between dictionaries. In addition, for the related phrase “Edo period”, duplication {AR = f (5 highways, 1), AR = f (f (f (5 highways, 1), 2) 1)} in the dictionary A is recognized. It was.
[0070]
FIG. 30 shows a tree diagram related to the evaluation target words Wa and the related words AR and BR for the dictionaries A and B drawn and generated based on the obtained information and displayed on the display. The screen view shown in the figure is a tree diagram display field G1, and the screen lower field is a dictionary selection field G2. In the tree diagram display field G1, the phrase object node of the phrase related to the dictionary A is represented by an elliptical frame, and the clause object node of the phrase related to the dictionary B is represented by a rectangular frame. In particular, a clause object node of a phrase (including the evaluation target phrase Wa) that overlaps between the dictionaries A and B is represented by a frame having a shape obtained by combining an ellipse and a rectangle. Further, the line object edge between the node objects node related to the dictionary A is represented by a solid line, and the line object edge between the node objects node related to the dictionary B is represented by a dotted line. In the vicinity of the midpoint of each line object edge, a character string representing related information is drawn as a subscript label. Further, the dictionary selection field G2 is provided with a selection field for a dictionary to be displayed together with a radio button rb, etc., and the user can select one of the radio buttons rb by clicking with the mouse or the like to display a dictionary tree to be displayed. The genealogy is changed. FIG. 31 shows an example of a screen showing only a tree diagram related to the dictionary A, and FIG. 32 shows an example of a screen showing only a tree diagram related to the dictionary B. In addition to these, each display of arrows, subscripts, and clauses It is also possible to change the non-display according to the user's desire. In addition to displaying the tree diagram on the display, it is also possible to output the tree diagram to a printer and print it on paper, or send it to other computers, and it was obtained for each dictionary. A list of related words (see FIG. 28), a list of related information (see FIG. 29), and the like are output to an output device 105 such as a display, a printer, or another computer for screen display and printing. It is also possible.
[0071]
As described in detail above, according to the present embodiment, the two electronic dictionaries A and B are used to extract phrases related to the common evaluation target word Wa, and these phrases are used as related phrases. Obtaining related information representing the relationship between each related word and the evaluation target word Wa, and obtaining a tree diagram representing the relationship between the words based on the related information, the user can obtain the tree diagram from the obtained information. Can know the connection of words in the dictionary as substantial information stored in the electronic dictionaries A and B, and can further compare the contents of the dictionaries A and B. Therefore, this embodiment is extremely useful in that the selection based on the content information of the dictionary can be made for the first time as compared with the dictionary selection work that was conventionally possible only by the surface information of the dictionary. is there.
[0072]
In addition, this invention is not restricted to embodiment mentioned above, It can be set as the aspect in any one of dictionary evaluation assistance apparatus A1-A6 mentioned above. In addition, when a user uses a client computer connected to the Internet or the like, the present invention receives input of an evaluation target phrase from the client computer and generates related information and image data of a tree diagram. It can also be realized as a server computer that sends a reply to the client computer. Furthermore, the specific configuration of each part is not limited to the above embodiment, and various modifications can be made without departing from the spirit of the present invention.
[0073]
【The invention's effect】
As described in detail above, the present invention evaluates the contents of a plurality of electronic dictionaries and compares the dictionaries with each other. It is possible to obtain, for each dictionary, related words and related information related to an evaluation target word that are initially input as related information and related information, based on the headwords stored in the dictionary and their descriptions. Finally, the connection between the obtained related terms can be obtained in a visual form called a tree diagram. Therefore, not only can the dictionary itself be evaluated based on the essential description contents of each dictionary, but also the contents of the dictionaries can be compared. It is extremely innovative and useful in the sense that it can be obtained before purchasing or using a dictionary.
[0074]
If the present invention is used, dictionary information can be compared and developed on the Internet. For example, if all the dictionaries are made public on the Internet as they are, all the information is taken away before purchase, and as a result, the dictionaries may not be sold. Even if only a very small part of the dictionary is disclosed in order to avoid this, if the words that the user particularly wants to use are not disclosed, the information will eventually be dissatisfied with the user. According to the present invention, since it is possible to compare from all the headwords in the dictionary, and only a part of the information (only a few words from one headword) is degraded, The entire contents of the dictionary are never taken away before purchase or actually used in place of a dictionary. Although there is a possibility that all headwords can be examined, the dictionary function is not released for free because it is not possible to refer to the explanation directly from the headword, which is a dictionary function. It seems that it is more important for the user to compare the vocabulary bias of the headwords before purchase than the number of vocabulary words of the headwords, and the present invention can focus on that part.
[Brief description of the drawings]
FIG. 1 is a functional configuration diagram of a dictionary evaluation support apparatus corresponding to claims 1, 2, and 3 of the present invention.
FIG. 2 is a functional configuration diagram of a dictionary evaluation support apparatus corresponding to claims 4, 5, and 6 of the present invention.
FIG. 3 is a functional configuration diagram of a dictionary evaluation support apparatus corresponding to claim 7 of the present invention;
FIG. 4 is a functional configuration diagram of a dictionary evaluation support device corresponding to claim 8 of the present invention;
FIG. 5 is a functional configuration diagram of a dictionary evaluation support apparatus corresponding to claim 9 of the present invention;
FIG. 6 is a functional configuration diagram of a dictionary evaluation support apparatus corresponding to claims 10 to 20 of the present invention.
FIG. 7 is a functional configuration diagram of a dictionary evaluation support apparatus according to an embodiment of the present invention.
FIG. 8 is a schematic device configuration diagram of a computer to which an embodiment of the present invention is applied.
FIG. 9 is a diagram showing an example of internal data of an electronic dictionary applied in the embodiment.
FIG. 10 is a flowchart schematically showing the entire processing process of the embodiment;
11 is a flowchart showing processing steps of sub-route A in FIG.
12 is a flowchart showing processing steps of sub-route B in FIG.
13 is a flowchart showing processing steps of sub-route C in FIG.
FIG. 14 is a flowchart showing processing steps of sub-route D in FIG.
FIG. 15 is a flowchart showing a processing process of sub-route E in FIGS. 11 and 16;
FIG. 16 is a flowchart showing processing steps of sub-route F in FIG. 13;
FIG. 17 is a flowchart showing processing steps of sub-route D1 in FIG.
FIG. 18 is a flowchart showing processing steps of sub-route D2 in FIG.
FIG. 19 is a flowchart showing processing steps of sub-route D3 in FIG.
FIG. 20 is a flowchart showing processing steps of sub-route D4 in FIG.
FIG. 21 is a flowchart showing processing steps of sub-route D5 in FIG.
FIG. 22 is a flowchart showing processing steps of sub-route D6 in FIG.
FIG. 23 is a flowchart showing processing steps of sub-route D7 in FIG. 14;
24 is a flowchart showing processing steps of sub-route D8 in FIG.
FIG. 25 is a flowchart showing processing steps of sub-route D9 in FIG. 14;
FIG. 26 is a flowchart showing the processing steps for sub-route G in FIG. 24;
FIG. 27 is a flowchart showing the processing steps of sub-route H in FIG. 24;
FIG. 28 is a diagram showing a specific example of related terms generated in the embodiment.
FIG. 29 is a view showing a specific example of related information generated in the embodiment corresponding to FIG. 28;
FIG. 30 is a view showing a specific example of a tree diagram drawn and generated in the same embodiment and displayed on a display corresponding to FIGS. 28 and 29;
FIG. 31 is a diagram showing an example of the tree tree;
FIG. 32 is a diagram showing an example of the tree tree.
[Explanation of symbols]
1 ... Word input acceptance means
2. Headword search means
3. Explanation text extracting means
4 ... Related phrase output means
5 ... Related information generating means
6 ... Related information output means
7 ... Hierarchy designation information receiving means
8. Explanation text appearance rank designation information receiving means
9 ... Tree diagram generation means
10 ... Tree diagram output means
11 ... Part of speech designation acceptance means
A1, A2, A3, A4, A5, A6 ... Dictionary evaluation support device

Claims (40)

見出し語群と各見出し語に対応する説明文章とを少なくとも格納した複数の電子辞書を利用して、当該複数の電子辞書の内容を評価する指標を出力するために用いられるものであって、
語句の入力を受け付ける語句入力受付手段と、この受け付けた語句を各電子辞書に格納された見出し語群から検索する見出し語検索手段と、この検索結果に基づいて当該語句を見出し語とする説明文章を各電子辞書から抽出する説明文章抽出手段と、抽出した各説明文章に対して形態素解析を実行し当該説明文章に含まれる語句のうち少なくとも一部の語句を電子辞書ごとについて前記見出し語に関連する関連語句として出力する関連語句出力手段と、出力した各関連語句について見出し語を基準とする関連性を示す関連情報を電子辞書ごとについて生成する関連情報生成手段と、生成した関連情報をそれぞれ出力する関連情報出力手段とを具備し、前記語句入力受付手段が、初期値として評価対象である評価対象語句の入力を受け付けるとともに、関連語句出力手段で出力される関連語句の入力を自動的に受け付けるものであり、関連情報生成手段が、各関連語句に関して、評価対象語句の入力を基準として当該関連語句が出力されるまでに語句入力受付手段において初期値としての評価対象語句を見出し語とした語句の入力を受け付けた回数と関連語句を見出し語とした語句の入力を受け付けた回数の合計回数に基づく階層情報を含む関連情報を生成することを特徴とする辞書評価支援装置。
Using a plurality of electronic dictionaries storing at least a headword group and explanatory text corresponding to each headword, it is used to output an index for evaluating the contents of the plurality of electronic dictionaries,
Phrase input accepting means for accepting input of a phrase, headword search means for searching for the accepted phrase from a group of headwords stored in each electronic dictionary, and explanatory text using the phrase as a headword based on the search result A description sentence extracting means for extracting a word from each electronic dictionary, and a morphological analysis is performed on each extracted explanation sentence, and at least a part of words / phrases included in the explanation sentence is related to the headword for each electronic dictionary Related word / phrase output means for outputting as related words / phrases, related information generation means for generating related information for each electronic dictionary for each output related word / phrase, and output related information generated for each electronic dictionary Related word output means, and when the phrase input receiving means receives an input of an evaluation target phrase that is an evaluation target as an initial value Moni, which automatically accepts the input of the related phrases that are outputted by the related phrases output means, related information generating means, for each related phrase, the related phrases can be output as the reference input of the evaluation target phrase Hierarchical information is included based on the total number of times that the input of the phrase having the evaluation target phrase as the initial value as the headword and the input of the phrase having the related phrase as the headword are received in the phrase input receiving means A dictionary evaluation support apparatus characterized by generating related information.
関連語句出力手段が、説明文章を一以上の説明文に分割し、その分割した各説明文に対して実行した形態素解析の結果に基づいて、各説明文に出現する語句に対して当該説明文における文頭からの出現順位を示す語句出現順位を付与し、所定の語句出現順位に係る語句を関連語句として出力するものである請求項1記載の辞書評価支援装置。The related word / phrase output means divides the explanatory text into one or more explanatory texts and, based on the result of the morphological analysis performed on each of the divided explanatory texts, the relevant explanatory text for the words that appear in each explanatory text 2. The dictionary evaluation support apparatus according to claim 1, wherein a word / phrase appearance order indicating the order of appearance from a sentence head is assigned and a word / phrase related to a predetermined word / phrase appearance order is output as a related word / phrase. 関連語句出力手段が、語句出現順位が1位の語句を関連語句として出力するものである請求項2記載の辞書評価支援装置。3. The dictionary evaluation support apparatus according to claim 2, wherein the related phrase output means outputs the phrase having the highest phrase appearance rank as the related phrase. 関連語句の階層情報について所定階層までの関連情報の生成を指定する旨の階層指定情報の入力を受け付ける階層指定情報受付手段を更に具備し、関連情報生成手段が、階層指定情報受付手段で受け付けた階層指定情報に対応する階層情報を有する関連情報を生成した場合、関連情報の生成を終了する旨の終了情報を生成するものであり、関連情報出力手段がこの終了情報を含む関連情報を出力するものであって、この終了情報に基づいて語句入力受付手段が語句の入力受付を終了するものである請求項1、2又は3記載の辞書評価支援装置。It further comprises a hierarchy designation information receiving means for accepting an input of hierarchy designation information for designating generation of related information up to a predetermined hierarchy with respect to the hierarchy information of the related terms, and the related information generation means received by the hierarchy designation information acceptance means When the related information having the hierarchy information corresponding to the hierarchy designation information is generated, the end information for generating the related information is generated, and the related information output means outputs the related information including the end information. 4. The dictionary evaluation support apparatus according to claim 1, wherein the phrase input receiving means ends the input of the phrase based on the end information. 関連語句出力手段が、出力する関連語句に対して前記語句出現順位と共に、説明文章において当該関連語句を含む説明文が出現した順位を示す説明文出現順位を付与するものであり、関連情報生成手段において生成する関連情報が、直前に関連語句出力手段で出力した関連語句について、当該関連語句の語句出現順位を定数とし、且つ、当該関連語句が出現した説明文により構成される説明文章に対応する見出し語と、前記説明文出現順位とを変数とする関数によって表される情報から構成されるものである請求項2、3又は4記載の辞書評価支援装置。The related phrase output means assigns an explanatory sentence appearance rank indicating a rank in which the explanatory sentence including the related phrase appears in the explanatory sentence together with the phrase appearance rank to the related phrase to be output, and related information generating means The related information generated in the step corresponds to an explanatory sentence composed of an explanatory sentence in which the related phrase has appeared, with the phrase appearance rank of the related phrase as a constant, for the related phrase that has been output by the related phrase output unit immediately before. 5. The dictionary evaluation support apparatus according to claim 2, 3 or 4, wherein the dictionary evaluation support apparatus comprises information represented by a function having a headword and the description sentence appearance rank as variables. 関連語句出力手段が、評価対象語句についてのみ説明文出現順位が1位から所定順位までの関連語句を出力し、評価対象語句以外の関連語句については説明文出現順位が1位の関連語句のみを出力するものである請求項5記載の辞書評価支援装置。The related phrase output means outputs the related phrases whose explanation sentence appearance rank is from the first rank to the predetermined rank only for the evaluation target phrase, and for the related phrases other than the evaluation phrase, only the related phrase of the explanation sentence appearance rank is the first rank. 6. The dictionary evaluation support apparatus according to claim 5, which is to be output. 評価対象語句に基づいて直接出力される関連語句の説明文出現順位を指定する説明文出現順位指定情報の入力を受け付ける説明文出現順位指定情報受付手段を更に具備し、語句入力受付手段が、説明文出現順位指定情報受付手段で受け付けた説明文出現順位指定情報に係る説明文出現順位を越える説明文出現順位を有する関連語句の入力を受け付けないものである請求項1、2、3、4、5又は6記載の辞書評価支援装置。It further comprises explanatory sentence appearance rank designation information receiving means for receiving input of explanatory sentence appearance rank designation information for designating the explanatory sentence appearance rank of the related phrase directly output based on the evaluation target phrase, and the phrase input receiving means is explained An input of a related phrase having an explanatory sentence appearance rank exceeding the explanatory sentence appearance rank related to the explanatory sentence appearance rank designation information received by the sentence appearance rank designation information receiving means is not accepted. The dictionary evaluation support device according to 5 or 6. 評価対象語句及び関連語句の品詞を指定する品詞指定情報を受け付ける品詞指定受付手段を更に具備し、語句入力受付手段が、品詞指定受付手段で受け付けた品詞のみの入力を受け付けるものであり、関連語句出力手段が、形態素解析に基づいて品詞指定受付手段で受け付けた品詞に対応する語句のみを関連語句として出力する請求項7記載の辞書評価支援装置。It further comprises a part-of-speech designation accepting unit that accepts part-of-speech designation information for designating the part-of-speech of the evaluation target phrase and related phrase, and the phrase input accepting unit accepts only the part-of-speech received by the part-of-speech designation accepting unit. 8. The dictionary evaluation support device according to claim 7, wherein the output means outputs only words / phrases corresponding to the part of speech received by the part of speech designation receiving means based on morphological analysis. 関連情報出力手段で出力した関連情報に基づいて、評価対象語句を起点とし各関連語句の評価対象語句に対する位置付けを表した樹系図を生成する樹系図生成手段と、生成した樹系図をディスプレイに表示可能な画像データとして出力する樹系図出力手段とを更に具備し、樹系図生成手段が、複数の電子辞書に基づいて単一の樹系図を生成するものである請求項1、2、3、4、5、6、7又は8記載の辞書評価支援装置。Based on the related information output by the related information output means, a tree diagram generating means for generating a tree diagram representing the position of each related phrase relative to the evaluation target phrase from the evaluation target phrase, and the generated tree diagram are displayed on the display A tree diagram output means for outputting as possible image data is further provided, and the tree diagram generation means generates a single tree diagram based on a plurality of electronic dictionaries. , 6, 7 or 8 dictionary evaluation support device. 関連情報出力手段で出力した関連情報に含まれる前記階層情報、語句出現順位、説明文出現順位及び品詞指定情報に基づいて、評価対象語句を起点とし各関連語句の評価対象語句に対する位置付けを表した樹系図を生成する樹系図生成手段と、生成した樹系図をディスプレイに表示可能な画像データとして出力する樹系図出力手段とを更に具備し、樹系図生成手段が、複数の電子辞書に基づいて単一の樹系図を生成するものである請求項8記載の辞書評価支援装置。Based on the hierarchical information, phrase appearance rank, explanation sentence appearance rank, and part-of-speech designation information included in the related information output by the related information output means, the position of each related phrase with respect to the evaluation target phrase is expressed from the evaluation target phrase. A tree diagram generating means for generating a tree diagram; and a tree diagram output means for outputting the generated tree diagram as image data that can be displayed on a display. The tree diagram generating means is based on a plurality of electronic dictionaries. The dictionary evaluation support device according to claim 8, which generates a single tree diagram. 樹系図生成手段が、評価対象語句及び関連語句を表示可能な所定の語句表示欄を有する節と、節同士を結ぶ線とからなる前記樹系図を生成するものである請求項10記載の辞書評価支援装置。The dictionary evaluation according to claim 10, wherein the tree diagram generation means generates the tree diagram including a clause having a predetermined phrase display field capable of displaying the evaluation target phrase and the related phrase and a line connecting the clauses. Support device. 樹系図生成手段が、生成すべき樹系図の線の一部又は近傍に、電子辞書の名称又は種別及び関連情報から構成される添字を付加するものである請求項11記載の辞書評価支援装置。12. The dictionary evaluation support apparatus according to claim 11, wherein the tree diagram generating means adds a subscript composed of the name or type of the electronic dictionary and related information to a part or vicinity of a line of the tree diagram to be generated. 見出し語検索手段において検索対象である語句が何れかの電子辞書の見出し語群に存在しないと判断した場合、説明文出現順位指定情報で受け付けた説明文出現順位に該当する説明文がその説明文章に存在しないと判断した場合、又は品詞指定受付手段で受け付けた品詞指定情報に該当する説明文中の当該品詞に係る語彙数が所定の語句出現順位数未満と判断した場合、の何れかの場合に該当するとき、関連情報生成手段がその電子辞書における関連情報をヌルとするとともに、関連情報出力手段がこのヌルを返値として出力し、それに基づき樹系図生成手段が当該ヌルに該当する部位を空欄又は終了を表す表記に変換した樹系図を生成し、樹系図出力手段がこの生成された樹系図を出力するものである請求項10、11又は12記載の辞書評価支援装置。When the headword search means determines that the search target word does not exist in the headword group of any of the electronic dictionaries, the explanatory text corresponding to the explanatory text appearance rank received by the explanatory text appearance rank designation information is the explanatory text. Or when it is determined that the number of vocabulary related to the part of speech in the explanation corresponding to the part of speech designation information received by the part of speech designation receiving means is less than the predetermined number of word appearance ranks. When applicable, the related information generating means sets the related information in the electronic dictionary to null, and the related information output means outputs this null as a return value, and based on this, the tree diagram generating means blanks the part corresponding to the null 13. A dictionary according to claim 10, 11 or 12, wherein a tree diagram converted into a notation representing the end is generated, and the tree diagram output means outputs the generated tree diagram. Price support apparatus. 樹系図生成手段が、生成すべき樹系図の節について、電子辞書ごとに異なる形状の語句表示欄を設定するものである請求項9、10、11、12又は13記載の辞書評価支援装置。14. The dictionary evaluation support apparatus according to claim 9, wherein the tree diagram generation means sets a phrase display field having a different shape for each electronic dictionary for a section of the tree diagram to be generated. 樹系図生成手段が、同一の電子辞書から得られた複数の関連語句又は異なる電子辞書からそれぞれ得られた複数の関連語句が同一であって重複する場合、当該関連語句が表示される節における語句表示欄の形状を所定形状に変化させるものである請求項14記載の辞書評価支援装置。When the tree diagram generating means has a plurality of related words / phrases obtained from the same electronic dictionary or a plurality of related words / phrases obtained from different electronic dictionaries, the words / phrases in the section where the related words / phrases are displayed 15. The dictionary evaluation support device according to claim 14, wherein the shape of the display column is changed to a predetermined shape. 樹系図生成手段が、生成すべき樹系図における線について、電子辞書ごとに異なる形状の線を設定するものである請求項10、11、12、13、14又は15記載の辞書評価支援装置。16. The dictionary evaluation support apparatus according to claim 10, 11, 12, 13, 14, or 15, wherein the tree diagram generating means sets a line having a different shape for each electronic dictionary for the line in the tree diagram to be generated. 樹系図生成手段が、ある関連語句と、それとは異なる関連情報を有する関連語句を重複して表示しない樹系図を生成するものである請求項10、11、12、13、14、15又は16記載の辞書評価支援装置。17. The tree diagram generating means generates a tree diagram that does not display a related term and a related term having related information different from the related term, and generates a tree diagram. Dictionary evaluation support device. 樹系図生成手段が、生成すべき樹系図の線の一部又は近傍に、電子辞書の名称又は種別及び関連情報から構成される添字を付加するものである場合、前記線に付加すべき添字を重複して表示しない樹系図を生成するものである請求項17記載の辞書評価支援装置。If the tree diagram generating means adds a subscript composed of the name or type of the electronic dictionary and related information to a part or vicinity of the line of the tree diagram to be generated, the subscript to be added to the line The dictionary evaluation support apparatus according to claim 17, which generates a tree diagram that is not displayed in duplicate. 樹系図生成手段が、複数の電子辞書に基づく単一の樹系図に加えて、電子辞書ごとに基づくそれぞれの樹系図をも生成するものであり、樹系図出力手段が、前記単一の樹系図又は電子辞書ごとの樹系図のいずれかを選択的に出力し得るものである請求項10、11、12、13、14、15、16、17又は18記載の辞書評価支援装置。The tree diagram generating means also generates each tree diagram based on each electronic dictionary in addition to a single tree diagram based on a plurality of electronic dictionaries, and the tree diagram output means is for each single tree diagram or electronic dictionary 19. The dictionary evaluation support apparatus according to claim 10, 11, 12, 13, 14, 15, 16, 17, or 18 capable of selectively outputting any one of the tree diagrams. 樹系図出力手段が、ディスプレイ以外の出力装置にも樹系図生成手段で生成した樹系図を画像データとして出力するものである請求項10、11、12、13、14、15、16、17、18又は19記載の辞書評価支援装置。The tree diagram output means outputs the tree diagram generated by the tree diagram generation means as image data to an output device other than the display as well, as described in claim 10, 11, 12, 13, 14, 15, 16, 17, 18. Or the dictionary evaluation assistance apparatus of 19. コンピュータに見出し語群と各見出し語に対応する説明文章とを少なくとも格納した複数の電子辞書を読み込ませ、これら電子辞書の内容を評価する指標を出力するために、当該コンピュータを、
語句の入力を受け付ける語句入力受付手段と、この受け付けた語句を各電子辞書に格納された見出し語群から検索する見出し語検索手段と、この検索結果に基づいて当該語句を見出し語とする説明文章を各電子辞書から抽出する説明文章抽出手段と、抽出した各説明文章に対して形態素解析を実行し当該説明文章に含まれる語句のうち少なくとも一部の語句を電子辞書ごとについて前記見出し語に関連する関連語句として出力する関連語句出力手段と、出力した各関連語句について見出し語を基準とする関連性を示す関連情報を電子辞書ごとについて生成する関連情報生成手段と、生成した関連情報それぞれを出力する関連情報出力手段とを具備し、前記語句入力受付手段が、初期値として評価対象である評価対象語句の入力を受け付けるとともに、関連語句出力手段で出力される関連語句の入力を自動的に受け付けるものであり、関連情報生成手段が、各関連語句に関して、評価対象語句の入力を基準として当該関連語句が出力されるまでに語句入力受付手段において初期値としての評価対象語句を見出し語とした語句の入力を受け付けた回数と関連語句を見出し語とした語句の入力を受け付けた回数の合計回数に基づく階層情報を含む関連情報を生成する辞書評価支援装置として機能させることを特徴とする辞書評価支援プログラム。
In order to cause a computer to read a plurality of electronic dictionaries that store at least a headword group and explanatory text corresponding to each headword, and to output an index for evaluating the contents of these electronic dictionaries,
Phrase input accepting means for accepting input of a phrase, headword search means for searching for the accepted phrase from a group of headwords stored in each electronic dictionary, and explanatory text using the phrase as a headword based on the search result A description sentence extracting means for extracting a word from each electronic dictionary, and a morphological analysis is performed on each extracted explanation sentence, and at least a part of words / phrases included in the explanation sentence is related to the headword for each electronic dictionary Related word / phrase output means for outputting as related words / phrases, related information generating means for generating related information for each electronic dictionary for each related word / phrase, indicating relatedness based on a headword, and outputting each generated related information Related word output means, and when the phrase input receiving means receives an input of an evaluation target phrase that is an evaluation target as an initial value Moni, which automatically accepts the input of the related phrases that are outputted by the related phrases output means, related information generating means, for each related phrase, the related phrases can be output as the reference input of the evaluation target phrase Hierarchical information is included based on the total number of times that the input of the phrase having the evaluation target phrase as the initial value as the headword and the input of the phrase having the related phrase as the headword are received in the phrase input receiving means A dictionary evaluation support program that functions as a dictionary evaluation support device that generates related information.
関連語句出力手段が、説明文章を一以上の説明文に分割し、その分割した各説明文に対して実行した形態素解析の結果に基づいて、各説明文に出現する語句に対して当該説明文における文頭からの出現順位を示す語句出現順位を付与し、所定の語句出現順位に係る語句を関連語句として出力するようにコンピュータを機能させる請求項21記載の辞書評価支援プログラム。The related word / phrase output means divides the explanatory text into one or more explanatory texts and, based on the result of the morphological analysis performed on each of the divided explanatory texts, the relevant explanatory text for the words that appear in each explanatory text 23. The dictionary evaluation support program according to claim 21, wherein the computer functions so as to assign a word appearance order indicating the appearance order from the beginning of the sentence and to output a word related to the predetermined word appearance order as a related word phrase. 関連語句出力手段が、語句出現順位が1位の語句を関連語句として出力するようにコンピュータを機能させる請求項22記載の辞書評価支援プログラム。23. The dictionary evaluation support program according to claim 22, wherein the related phrase output unit causes the computer to function so as to output a phrase having the first phrase appearance rank as a related phrase. コンピュータに、関連語句の階層情報について所定階層までの関連情報の生成を指定する旨の階層指定情報の入力を受け付ける階層指定情報受付手段を更に具備させ、関連情報生成手段が、階層指定情報受付手段で受け付けた階層指定情報に対応する階層情報を有する関連情報を生成した場合、関連情報の生成を終了する旨の終了情報を生成し、関連情報出力手段がこの終了情報を含む関連情報を出力し、この終了情報に基づいて語句入力受付手段が語句の入力受付を終了するように当該コンピュータを機能させる請求項21、22又は23記載の辞書評価支援プログラム。The computer further comprises hierarchy designation information receiving means for accepting an input of hierarchy designation information for designating generation of related information up to a predetermined hierarchy with respect to hierarchy information of the related terms, and the related information generation means includes the hierarchy designation information reception means. When the related information having the hierarchical information corresponding to the hierarchical designation information received in the step is generated, the end information for generating the related information is generated, and the related information output means outputs the related information including the end information. 24. The dictionary evaluation support program according to claim 21, 22 or 23, which causes the computer to function so that the phrase input receiving means ends the input of the phrase based on the end information. 関連語句出力手段が、出力する関連語句に対して前記語句出現順位と共に、説明文章において当該関連語句を含む説明文が出現した順位を示す説明文出現順位を付与し、関連情報生成手段において生成する関連情報を、直前に関連語句出力手段で出力した関連語句について、当該関連語句の語句出現順位を定数とし、且つ、当該関連語句が出現した説明文により構成される説明文章に対応する見出し語と、前記説明文出現順位とを変数とする関数によって表される情報から構成するようにコンピュータを機能させる請求項21、22、23又は24記載の辞書評価支援プログラム。The related phrase output unit assigns an explanatory sentence appearance rank indicating the order in which the explanatory sentence including the related phrase appears in the explanatory sentence together with the phrase appearance rank to the related phrase to be output, and the related information generation unit generates the related phrase With respect to the related phrase that has been output by the related phrase output unit immediately before the related information, the headword appearance rank corresponding to the explanatory sentence composed of the explanatory sentence in which the related phrase has appeared as a constant, The dictionary evaluation support program according to claim 21, 22, 23, or 24, which causes a computer to function so as to be configured from information represented by a function having the description sentence appearance rank as a variable. 関連語句出力手段が、評価対象語句についてのみ説明文出現順位が1位から所定順位までの関連語句を出力し、評価対象語句以外の関連語句については説明文出現順位が1位の関連語句のみを出力するようにコンピュータを機能させる請求項25記載の辞書評価支援プログラム。The related phrase output means outputs the related phrases whose explanation sentence appearance rank is from the first rank to the predetermined rank only for the evaluation target phrase, and for the related phrases other than the evaluation phrase, only the related phrase of the explanation sentence appearance rank is the first rank. 26. The dictionary evaluation support program according to claim 25, which causes a computer to function so as to output. コンピュータに、評価対象語句に基づいて直接出力される関連語句の説明文出現順位を指定する説明文出現順位指定情報の入力を受け付ける説明文出現順位指定情報受付手段を更に具備させ、語句入力受付手段が、説明文出現順位指定情報受付手段で受け付けた説明文出現順位指定情報に係る説明文出現順位を越える説明文出現順位を有する関連語句の入力を受け付けないように当該コンピュータを機能させる請求項21、22、23、24、25又は26記載の辞書評価支援プログラム。The computer further comprises explanatory sentence appearance rank designation information receiving means for accepting input of explanatory sentence appearance rank designation information for designating the explanatory sentence appearance rank of the related phrase directly output based on the evaluation target phrase, and the phrase input receiving means The computer is caused to function so as not to accept an input of a related phrase having an explanatory sentence appearance rank exceeding the explanatory sentence appearance rank according to the explanatory sentence appearance rank designation information received by the explanatory sentence appearance rank designation information receiving means. , 22, 23, 24, 25 or 26 dictionary evaluation support program. コンピュータに、評価対象語句及び関連語句の品詞を指定する品詞指定情報を受け付ける品詞指定受付手段を更に具備させ、語句入力受付手段が、品詞指定受付手段で受け付けた品詞のみの入力を受け付け、関連語句出力手段が、形態素解析に基づいて品詞指定受付手段で受け付けた品詞に対応する語句のみを関連語句として出力する請求項27記載の辞書評価支援プログラム。The computer further includes a part-of-speech designation accepting unit that accepts part-of-speech designation information for designating the part-of-speech of the evaluation target phrase and the related phrase, and the phrase input accepting unit accepts only the part-of-speech accepted by the part-of-speech designation accepting unit, 28. The dictionary evaluation support program according to claim 27, wherein the output means outputs only words / phrases corresponding to the part of speech received by the part of speech designation receiving means based on morphological analysis. コンピュータに、関連情報出力手段で出力した関連情報に基づいて、評価対象語句を起点とし各関連語句の評価対象語句に対する位置付けを表した樹系図を電子辞書ごとに生成する樹系図生成手段と、生成した各樹系図をディスプレイに表示可能な画像データとして出力する樹系図出力手段とを更に具備させる請求項21、22、23、24、25、26、27又は28記載の辞書評価支援プログラム。Based on the related information output by the related information output means on the computer, a tree diagram generating means for generating, for each electronic dictionary, a tree diagram representing the positioning of each related phrase with respect to the evaluation target phrase from the evaluation target phrase, and generation 29. The dictionary evaluation support program according to claim 21, further comprising: a tree diagram output means for outputting each of the tree trees as image data that can be displayed on a display. コンピュータに、関連情報出力手段で出力した関連情報に含まれる前記階層情報、語句出現順位及び説明文出現順位に基づいて、評価対象語句を起点とし各関連語句の評価対象語句に対する位置付けを表した樹系図を電子辞書ごとに生成する樹系図生成手段と、生成した各樹系図をディスプレイに表示可能な画像データとして出力する樹系図出力手段とを更に具備させる請求項28記載の辞書評価支援プログラム。Based on the hierarchical information, the phrase appearance rank, and the explanatory sentence appearance rank included in the related information output by the related information output means on the computer, the tree representing the position of each related phrase with respect to the evaluation target phrase based on the evaluation target phrase 29. The dictionary evaluation support program according to claim 28, further comprising: a tree diagram generation unit that generates a genealogy for each electronic dictionary; and a tree diagram output unit that outputs each generated tree diagram as image data that can be displayed on a display. 樹系図生成手段が、評価対象語句及び関連語句を表示可能な所定の語句表示欄を有する節と、節同士を結ぶ線とからなる前記樹系図を生成するようにコンピュータを機能させる請求項30記載の辞書評価支援プログラム。31. A computer system that causes the tree diagram generation means to generate the tree diagram including a section having a predetermined phrase display field capable of displaying an evaluation target phrase and a related phrase, and a line connecting the sections. Dictionary evaluation support program. 樹系図生成手段が、生成すべき樹系図の線の一部又は近傍に、電子辞書の名称又は種別及び関連情報から構成される添字を付加するようにコンピュータを機能させる請求項31記載の辞書評価支援プログラム。32. The dictionary evaluation according to claim 31, wherein the tree diagram generation means causes the computer to function to add a subscript composed of the name or type of the electronic dictionary and related information to a part or vicinity of a line of the tree diagram to be generated. Support program. 見出し語検索手段において検索対象である語句が何れかの電子辞書の見出し語群に存在しないと判断した場合、説明文出現順位指定情報で受け付けた説明文出現順位に該当する説明文がその説明文章に存在しないと判断した場合、又は品詞指定受付手段で受け付けた品詞指定情報に該当する説明文中の当該品詞に係る語彙数が所定の語句出現順位数未満と判断した場合、の何れかの場合に該当するとき、関連情報生成手段がその電子辞書における関連情報をヌルとするとともに、関連情報出力手段がこのヌルを返値として出力し、それに基づき樹系図生成手段が当該ヌルに該当する部位を空欄又は終了を表す表記に変換した樹系図を生成し、樹系図出力手段がこの生成された樹系図を出力するようにコンピュータを機能させるものである請求項30、31又は32記載の辞書評価支援プログラム。When the headword search means determines that the word to be searched does not exist in the headword group of any electronic dictionary, the explanatory text corresponding to the explanatory text appearance rank accepted by the explanatory text appearance rank designation information is the explanatory text. Or when it is determined that the number of vocabulary related to the part of speech in the explanation corresponding to the part of speech designation information received by the part of speech designation receiving means is less than the predetermined number of word appearance ranks. When applicable, the related information generating means sets the related information in the electronic dictionary to null, and the related information output means outputs this null as a return value, and based on this, the tree diagram generating means blanks the part corresponding to the null Alternatively, a tree diagram converted into a notation representing the end is generated, and the tree diagram output means causes the computer to function so as to output the generated tree diagram. 30, 31 or 32, wherein the dictionary evaluation support program. 樹系図生成手段が、生成すべき樹系図の節について、電子辞書ごとに異なる形状の語句表示欄を設定するようにコンピュータを機能させる請求項29、30、31、32又は33記載の辞書評価支援プログラム。The dictionary evaluation support according to claim 29, 30, 31, 32, or 33, wherein the tree diagram generation means causes the computer to function to set a word / phrase display field having a different shape for each electronic dictionary for a section of the tree diagram to be generated. program. 樹系図生成手段が、同一の電子辞書から得られた複数の関連語句又は異なる電子辞書からそれぞれ得られた複数の関連語句が同一であって重複する場合、当該関連語句が表示される節における語句表示欄の形状を所定形状に変化させるようにコンピュータを機能させる請求項34記載の辞書評価支援プログラム。When the tree diagram generating means has a plurality of related words / phrases obtained from the same electronic dictionary or a plurality of related words / phrases obtained from different electronic dictionaries, the words / phrases in the section where the related words / phrases are displayed The dictionary evaluation support program according to claim 34, wherein the computer is caused to function so as to change the shape of the display column to a predetermined shape. 樹系図生成手段が、生成すべき樹系図における線について、電子辞書ごとに異なる形状の線を設定するようにコンピュータを機能させるものである請求項29、30、31、32、33、34又は35記載の辞書評価支援プログラム。36. The tree diagram generating means causes a computer to function so as to set a line having a different shape for each electronic dictionary with respect to a line in the tree diagram to be generated. 35, 30, 31, 32, 33, 34, or 35 The dictionary evaluation support program described. 樹系図生成手段が、ある関連語句と、それとは異なる関連情報を有する関連語句を重複して表示しない樹系図を生成するものである請求項29、30、31、32、33、34、35又は36記載の辞書評価支援プログラム。The tree diagram generating means generates a tree diagram that does not redundantly display a related phrase and a related phrase having related information different from the related phrase, or 29, 30, 31, 32, 33, 34, 35, or 36. A dictionary evaluation support program according to 36. 樹系図生成手段が、生成すべき樹系図の線の一部又は近傍に、電子辞書の名称又は種別及び関連情報から構成される添字を付加するものである場合、前記線に付加すべき添字を重複して表示しない樹系図を生成するものである請求項37記載の辞書評価支援プログラム。If the tree diagram generating means adds a subscript composed of the name or type of the electronic dictionary and related information to a part or vicinity of the line of the tree diagram to be generated, the subscript to be added to the line 38. The dictionary evaluation support program according to claim 37, which generates a tree diagram that is not displayed in duplicate. 樹系図生成手段が、複数の電子辞書に基づく単一の樹系図に加えて、電子辞書ごとに基づくそれぞれの樹系図をも生成するものであり、樹系図出力手段が、前記単一の樹系図又は電子辞書ごとの樹系図のいずれかを選択的に出力し得るようにコンピュータを機能させるものである請求項29、30、31、32、33、34、35、36、37又は38記載の辞書評価支援プログラム。The tree diagram generating means also generates each tree diagram based on each electronic dictionary in addition to a single tree diagram based on a plurality of electronic dictionaries, and the tree diagram output means is for each single tree diagram or electronic dictionary 40. The dictionary evaluation support program according to claim 29, 30, 31, 32, 33, 34, 35, 36, 37, or 38, which causes a computer to function so as to selectively output any one of the tree diagrams. 樹系図出力手段が、ディスプレイ以外の出力装置にも樹系図生成手段で生成した樹系図を画像データとして出力するようにコンピュータを機能させるものである請求項29、30、31、32、33、34、35、36、37、38又は39記載の辞書評価支援プログラム。The tree diagram output means causes the computer to function so as to output the tree diagram generated by the tree diagram generation means to the output device other than the display as image data. 35, 30, 31, 32, 33, 34 , 35, 36, 37, 38 or 39.
JP2003019546A 2003-01-28 2003-01-28 Dictionary evaluation support device, dictionary evaluation support program Expired - Lifetime JP3823151B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003019546A JP3823151B2 (en) 2003-01-28 2003-01-28 Dictionary evaluation support device, dictionary evaluation support program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003019546A JP3823151B2 (en) 2003-01-28 2003-01-28 Dictionary evaluation support device, dictionary evaluation support program

Publications (2)

Publication Number Publication Date
JP2004234137A JP2004234137A (en) 2004-08-19
JP3823151B2 true JP3823151B2 (en) 2006-09-20

Family

ID=32949385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003019546A Expired - Lifetime JP3823151B2 (en) 2003-01-28 2003-01-28 Dictionary evaluation support device, dictionary evaluation support program

Country Status (1)

Country Link
JP (1) JP3823151B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100724122B1 (en) * 2005-09-28 2007-06-04 최진근 System and its method for managing database of bundle data storing related structure of data

Also Published As

Publication number Publication date
JP2004234137A (en) 2004-08-19

Similar Documents

Publication Publication Date Title
Wong et al. Introduction to Chinese natural language processing
Trujillo Translation engines: techniques for machine translation
JP4790119B2 (en) Text processor
JP2002229981A (en) System for generating normalized representation of character string
JPH02288960A (en) Method and system for supporting preparation of document
JP3702414B2 (en) Information search support method, computer-readable storage medium, and information search device
JP2006004399A (en) Information extraction program, its recording medium, information extraction device and information extraction rule creation method
JP2006164293A (en) Automatic natural language translation
Wintner Hebrew computational linguistics: Past and future
JP2004513458A (en) User-changeable translation weights
Jain et al. Vishit: A visualizer for hindi text
JP2609173B2 (en) Example-driven machine translation method
Shukla et al. Natural Language Processing: Unlocking the Power of Text and Speech Data
US20050137843A1 (en) Method and apparatus for authoring documents using object-based elements as an interaction interface
JP3823151B2 (en) Dictionary evaluation support device, dictionary evaluation support program
Talita et al. Challenges in building domain ontology for minority languages
JP2003323425A (en) Parallel translation dictionary creating device, translation device, parallel translation dictionary creating program, and translation program
JPH1153396A (en) Device and method for document processing and storage medium storing document processing program
JPH10105555A (en) Translation-with-original example sentence retrieving device
JP4047417B2 (en) Document processing apparatus, storage medium storing document processing program, and document processing method
JP2001060194A (en) Device and method for supporting planning and computer readable recording medium storing planning support program
Trippel The Lexicon Graph Model: A generic model for multimodal lexicon development
JP4257407B2 (en) Dictionary evaluation support device, dictionary evaluation support program
Rizvi Development of algorithms and computational grammar for Urdu
JP5259764B2 (en) Browsing support system, browsing support method and program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050121

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20050125

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060407

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

R150 Certificate of patent or registration of utility model

Ref document number: 3823151

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term