JP2005010916A - Document processor, character input support method and program - Google Patents

Document processor, character input support method and program Download PDF

Info

Publication number
JP2005010916A
JP2005010916A JP2003172011A JP2003172011A JP2005010916A JP 2005010916 A JP2005010916 A JP 2005010916A JP 2003172011 A JP2003172011 A JP 2003172011A JP 2003172011 A JP2003172011 A JP 2003172011A JP 2005010916 A JP2005010916 A JP 2005010916A
Authority
JP
Japan
Prior art keywords
input
character
character input
operator
name
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.)
Withdrawn
Application number
JP2003172011A
Other languages
Japanese (ja)
Inventor
Hidetomo Soma
英智 相馬
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2003172011A priority Critical patent/JP2005010916A/en
Publication of JP2005010916A publication Critical patent/JP2005010916A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce an operator's burden of repeated input of character information of the same content. <P>SOLUTION: A field name, "Your address" of a character input field 3-e displayed on a screen 3-a of an image display device and character information, "Kawasaki City, Kanagawa Prefecture" input into the character input field are associated and stored in a database. When an operator positions a cursor on a character input field to specify it, the field name of the character input field is captured, and the database is searched for a field name equal or similar to the field name of the character input field. If an equal or similar field name is found, the corresponding character information is read from the database and displayed to the operator. If there are a plurality of pieces of character information, the operator selects one and, if necessary, edits and enters the character information, which is input into the specified character input field. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、文書処理装置、文字入力支援方法、及びプログラムに関し、特に、画像表示装置を備え、該画像表示装置の画面に、欄名が付与された少なくとも1つの文字入力欄が表示される文書処理装置、該文書処理装置に適用される文字入力支援方法、及び該文字入力支援方法を実行するプログラムに関する。
【0002】
【従来の技術】
従来、コンピュータを用いた文書処理装置において、文字、記号等のデータを入力する1つの手段として、画像表示装置の画面に、文字等のデータを入力するための文字入力欄(枠)が表示され、該文字入力欄にカーソルを合わせた上でデータをキーボードから入力すると、該文字入力欄にそのキー入力したデータが表示され、その表示を確認した上で入力命令をキーボードから指示すると、入力欄に表示されたデータが文書処理装置に入力されるというものがある(例えば、特許文献1を参照)。
【0003】
ところで、そうした文字入力処理が定型的な繰り返しを伴う処理であった場合、毎回の入力処理において、入力データ内容に共通性がある可能性が高く、同じ内容を何度も繰り返し入力しなければならないことがある。例えば、顧客リストを入力する際に特定の地区の顧客データを入力しようとした場合、その特定の地区名や担当者コードなど、同じ内容を何度も入力する必要があった。
【0004】
また、そのような特定の処理プログラム内における入力処理でなく、異なる複数の処理プログラムにおける入力処理時においても、その都度、操作者が自分の名前やID番号などを入力しなければならない場合もあった。
【0005】
こうした入力の煩わしさを解消する方法として、入力用のテンプレートを用いて、一部の入力内容をあらかじめ入力された状態にする方法があった。
【0006】
【特許文献1】
特公昭63−65945号公報
【0007】
【発明が解決しようとする課題】
しかしながら、上記従来のテンプレートを用いる方法では、繰り返しを伴う入力処理毎に、また操作者毎に、テンプレートを準備する必要があり、大規模なシステムの場合には、その準備作業が莫大なものとなる恐れがあった。また、そのようなテンプレートの形式は一般に、繰り返しを伴うプログラム毎に異なる筈であるので、そのテンプレートの再利用ができる可能性は皆無であった。
【0008】
本発明はこのような問題点に鑑みてなされたものであって、同じ内容の文字情報を再入力することによる操作者の負担を軽減した文書処理装置、文字入力支援方法、及び記憶媒体を提供することを目的とする。
【0009】
【課題を解決するための手段】
上記目的を達成するために、本発明によれば、画像表示装置を備え、該画像表示装置の画面に、欄名が付与された少なくとも1つの文字入力欄が表示される文書処理装置において、文字入力欄の欄名と、該文字入力欄に入力された文字情報とを対応づけて記憶する記憶手段と、操作者によって文字入力欄が指定されたとき、該文字入力欄の欄名を入手する欄名入手手段と、前記欄名入手手段が入手した欄名を基に、前記記憶手段の記憶内容を検索する検索手段と、前記検索手段が同一と推定される欄名を検出したとき、該検出された欄名に対応する文字情報を前記記憶手段から読み出す読出手段と、前記読出手段が読み出した文字情報を前記操作者に通知する通知手段と、前記通知手段による通知の結果、前記操作者が承諾したとき、前記読出手段が読み出した文字情報を、前記操作者が指定した文字入力欄に入力させる入力手段とを有することを特徴とする。
【0010】
また、本発明の他の態様によれば、画像表示装置及び記憶手段を備え、該画像表示装置の画面に、欄名が付与された少なくとも1つの文字入力欄が表示され、前記記憶手段に、文字入力欄の欄名と、該文字入力欄に入力された文字情報とが対応づけて記憶される文書処理装置に適用される文字入力支援方法において、操作者によって文字入力欄が指定されたとき、該文字入力欄の欄名を入手する欄名入手ステップと、前記欄名入手ステップで入手した欄名を基に、前記記憶手段の記憶内容を検索する検索ステップと、前記検索ステップで同一と推定される欄名が検出されたとき、該検出された欄名に対応する文字情報を前記記憶手段から読み出す読出ステップと、前記読出ステップで読み出された文字情報を前記操作者に通知する通知ステップと、前記通知ステップによる通知の結果、前記操作者が承諾したとき、前記読出ステップで読み出された文字情報を、前記操作者が指定した文字入力欄に入力させる入力ステップとを有することを特徴とする。
【0011】
さらに、本発明の他の態様によれば、画像表示装置及び記憶手段を備え、該画像表示装置の画面に、欄名が付与された少なくとも1つの文字入力欄が表示され、前記記憶手段に、文字入力欄の欄名と、該文字入力欄に入力された文字情報とが対応づけて記憶される文書処理装置に適用される文字入力支援方法をコンピュータに実行させるための、コンピュータにより読み取り可能なプログラムにおいて、前記文字入力支援方法が、操作者によって文字入力欄が指定されたとき、該文字入力欄の欄名を入手する欄名入手ステップと、前記欄名入手ステップで入手した欄名を基に、前記記憶手段の記憶内容を検索する検索ステップと、前記検索ステップで同一と推定される欄名が検出されたとき、該検出された欄名に対応する文字情報を前記記憶手段から読み出す読出ステップと、前記読出ステップで読み出された文字情報を前記操作者に通知する通知ステップと、前記通知ステップによる通知の結果、前記操作者が承諾したとき、前記読出ステップで読み出された文字情報を、前記操作者が指定した文字入力欄に入力させる入力ステップとを有することを特徴とする。
【0012】
【発明の実施の形態】
以下、本発明の実施の形態を、図面を参照して説明する。
【0013】
(第1の実施の形態)
図1は、本発明の第1の実施形態に係る文書処理装置の構成を示すブロック図である。
【0014】
図1の構成において、マイクロプロセッサ(CPU)11は、文書処理のための演算、論理判断等を行なうとともに、アドレスバス(AB)24、コントロールバス(CB)22、データバス(DB)23を介して、それらのバスに接続された各構成要素を制御する。
【0015】
アドレスバス(AB)24は、マイクロプロセッサ(CPU)11が制御の対象とする構成要素へアドレス信号を転送する。コントロールバス(CB)22は、マイクロプロセッサ(CPU)11が制御の対象とする各構成要素へコントロール信号を転送する。データバス(DB)23では、文書処理装置を構成する各構成要素間においてデータ転送が行われる。
【0016】
ROM12は読出し専用の固定メモリであって、ROM12には、マイクロプロセッサ(CPU)11で行われる制御処理の手順が記述されたプログラムが格納される。
【0017】
RAM13は書込み可能のランダムアクセスメモリであって、ROM12から読み出されたプログラムの一時的記憶エリアとして用いられる他、各構成要素からの各種データの一時記憶エリアとしても用いられる。
【0018】
ROM12やRAM13には、後述の本発明の文字入力支援方法を実現するプログラム、自然言語解析プログラム、データベース検索プログラムなどが記憶される。これらの記録媒体に格納されたプログラムコードを、マイクロプロセッサ(CPU)11が読み出し実行することによって各プログラムの機能が実現されるが、これらの各プログラムを記憶するためにいかなる記憶媒体を用いても、本発明は達成され得る。例えば、ROM、フロッピー(登録商標)ディスク、CD−ROM、ハードディスク、メモリカード、光磁気ディスクなどを用いることができる。また、本発明に係わるプログラムを格納した記録媒体をシステムあるいは装置に供給して、RAMなどの書き換え可能な記憶媒体上に、その記憶媒体から読み出すようにしてもよい。
【0019】
RAM13には、現在の入力状況文字列バッファ、現在の入力状況解析情報バッファ、現在の入力内容情報バッファ、過去の入力状況文字列バッファ、過去の入力状況解析情報バッファ、過去の入力内容情報バッファ、検索結果情報バッファ、再入力候補情報バッファなどが設定される。
【0020】
自然言語解析プログラムは、与えられた文字列を解析し、いくつかの情報を抽出する。まず、文字列に含まれる単語を抽出し、その単語ごとに、その単語の活用形などを含まない基本的な単語の文字列や活用に関する情報を取り出す。これはいわゆる、形態素解析と呼ばれる処理である。次に、その単語間の関係に関する情報を抽出する。これは構文解析(統語解析)などと呼ばれる処理である。自然言語解析プログラムには従来から各種の方式があるが、本発明では、形態素解析や構文解析程度の機能を持つものであれば、どの方式でもよい。
【0021】
第1の実施の形態では、形態素解析や構文解析などの処理を行う程度の自然言語解析プログラムを用いるものとし、文字列を与えると、その文字列から、単語に関する情報と単語間の関係に関する情報を抽出する。例えば、入力文字列「あなたのご住所」に対して自然言語解析プログラムによって抽出された単語情報と単語間の関係情報とを図2に示す。
【0022】
図2に示す「単語番号」、「関係番号」は、これらの単語情報と単語間の関係情報とにおいてのみユニークな識別番号である。単語情報では、与えられた文字列を単語ごとに分けて、その単語の性質を示す情報を、その単語ごとに保有している。単語関係情報では、単語情報内にある各単語の間の関係を、単語番号を基に示している。両方の情報内容の詳細については、自然言語処理が一般的なものであるので、説明を省略する。
【0023】
なお、本実施の形態では、自然言語解析が自然言語解析プログラムによって行われるが、自然言語解析をハードウェアや、外部の装置によって行われるようにしてもよい。また、自然言語解析プログラムを実行する場合に、そのプログラムを展開するワーキングエリアや、辞書などの情報を記憶する記憶エリアが必要となるのが一般的であるが、これらは、RAMや外部メモリなどの記憶装置上に適時、その領域が確保される。
【0024】
データベース検索プログラムは、多くのデータを効率よく管理、参照するためのプログラムであり、ここでは、ごく一般的に使用されているものを使う。本実施の形態では、情報を与えてそれをデータベースヘ登録する機能と、そのデータベースから、指示された内容に対応する情報を検索し、その情報を参照可能にする機能などを保有するデータベース検索プログラムを利用することとする。
【0025】
情報をデータベースに登録する機能は、登録したい情報をこのプログラムに渡すと、その内容をデータベースに登録するものであり、その際、登録されたデータには、データベース内でユニークな識別番号が与えられる。データベースに検索を指示する機能では、検索したい情報をこのプログラムに渡すと、その情報に対応する識別番号が結果として返されるものである。データベース内の情報の参照機能では、識別番号をこのプログラムに渡すと、その識別番号を持つ情報が結果として出力され、参照できるようになるものである。
【0026】
なお、本実施の形態では、データベース検索もデータベース検索プログラムによって行われるが、データベース検索をハードウェアや、外部の装置によって行われるようにしてもよい。また、データベース検索プログラムを実行する場合に、そのプログラムを展開するワーキングエリアやデータベースが必要となるのが一般的であるが、これらは、RAMや外部メモリなどの記憶装置上に適時、その領域が確保される。
【0027】
図1に戻って、キーボード(KB)16は、アルファベットキー、ひらがなキー、カタカナキー、句点等の文字記号入力キー、及びカーソル移動を指示するカーソル移動キー等のような各種の機能キーを備えている。
【0028】
外部メモリ(DISK)14は、さまざまなデータ等を記憶するためメモリであり、後述するデータベースのデータや各種データ等が必要に応じて保管され、保管されたデータは、キーボード(KB)16を介した操作者からの指示や、各種プログラムからの指示により、必要な時にRAM13上に全部もしくは部分的に展開される。
【0029】
カーソルレジスタ(CR)17は、カーソルの現在位置を示すアドレスを格納するものであり、マイクロプロセッサ(CPU)11により、そのアドレスが読み書きされる。後述するCRTコントローラ(CRTC)19は、カーソルレジスタ(CR)17に蓄えられたアドレスに対応する表示装置(CRT)20の画面位置にカーソルを表示する。
【0030】
表示用バッファメモリ(DBUF)18は、表示すべきパターンのデータを蓄える。
【0031】
CRTコントローラ(CRTC)19は、カーソルレジスタ(CR)17及び表示用バッファメモリ(DBUF)18に蓄えられた内容を表示装置(CRT)20に表示する制御を行う。表示装置(CRT)20は陰極線管等を用いた画像表示装置であり、ドット構成の表示パターンおよびカーソルを表示する。
【0032】
キャラクタジェネレータ(CG)21は、表示装置(CRT)20に表示される文字、記号のパターンを記憶するものである。
【0033】
ネットワーク制御部(NETWORK)15は、本文書処理装置と他の機器25との通信を制御するものであり、これを利用することで、本実施形態で使用するプログラムやデータを、他の機器25と共有することが可能になる。
【0034】
かかる各構成要素からなる本文書処理装置は、キーボード(KB)16を介して操作者から行われる各種入力に応じて作動するものであって、キーボード(KB)16が操作されると、まず、インタラプト信号がマイクロプロセッサ(CPU)11に送られ、マイクロプロセッサ(CPU)11がROM12内に記憶されている各種のプログラムを読み出し、それらのプログラムに従って、各種の制御が行なわれる。
【0035】
なお、各種のプログラムや処理に必要となるデータなどを、図6で示されるように、外部の記憶媒体6−c上に記憶しておき、記憶媒体6−cをドライブ6−bに装着して、その記憶媒体6−cの記憶内容を本文書処理装置6−a内に読み込み、処理を実行するようにしてもよい。
【0036】
図3は、表示装置(CRT)20に表示される文字入力画面の一例を示す図である。
【0037】
図中3−aは、文字入力や編集を行う画面の一部であり、このような枠をウィンドウと呼ぶ。3−bは、メニューと呼ばれるものであり、このウィンドウにおいて各種入力・編集機能を利用する際には、操作者が所望の部分を選択する。3−cは、実際に文書の入力や編集を行うところであり、ここには操作者の現在作成している文書の内容が表示される。
【0038】
3−dは、ダイアログと呼ばれるものであり、ウィンドウにおける各種入力・編集機能を呼び出したり、設定を行う場合に、その詳細内容が示される画面部分である。図3に示す例では文字入力を個別に求めるダイアログが示される。すなわち、「あなたのご住所」欄(3−e)及び「あなたのお名前」欄に文字を入力することを求められ、操作者が文字を入力した状態を示している。
【0039】
図4は、マイクロプロセッサ(CPU)11が、ROM12内に記憶されている各種のプログラムに基づいて行う文字入力処理の手順を示すフローチャートである。
【0040】
本処理は、文字入力欄に操作者がカーソルを合わせ、文字入力を行う状態になった場合に実行される。ここでは、図示はしないが、例えば「商品の配達住所」という文字入力欄に所定の住所(文字情報)が操作者によって既に入力されており、この入力に伴って、「商品の配達住所」という欄名と所定の住所(文字情報)とが対応づけてデータベースに予め格納されているものとする。そして、今回例えば「商品が配達される住所」という欄名の文字入力欄に操作者がカーソルを合わせたとする。以後、文字入力欄の欄名を「入力状況情報」、文字入力欄に入力される文字情報を「入力内容情報」と呼ぶこともある。
【0041】
ステップS1では、カーソルが合わせられた文字入力欄に付与されている欄の名前を入手する。ここの例では、欄名「商品が配達される住所」がマイクロプロセッサ(CPU)11に送られる。そして、「商品が配達される住所」という自然言語の単語や文などからなる文字列情報(入力状況情報)は、RAM13上に配置されている現在の入力状況文字列バッファに格納される。
【0042】
ステップS2では、マイクロプロセッサ(CPU)11が該文字列情報に対して自然言語解析を行う。第1の実施の形態では、該文字列情報に対して形態素解析と構文解析を行う。この結果、図5の下2段で示すような解析結果が得られ、RAM13上に設けられた現在の入力状況解析情報バッファに格納される。
【0043】
ステップS3では、RAM13の現在の入力状況解析情報バッファに格納された解析結果を基にして、過去に行われて登録された(後述のステップS13)学習内容に同一の単語情報が登録されているかどうか、また登録されている場合には同一の単語関係情報が登録されているかどうかを検索する。この検索は、あらかじめ過去の学習内容が登録されたデータベースに対し、前記データベース検索プログラムを用いて、ステップS2で得られた解析結果を基に行われる。すなわち、文字列情報を構成する単語群において各単語が全て同一であり、且つ各単語間の関係が同一であるならば、RAM13上の検索結果情報バッファに、過去の登録済みの入力状況情報を格納する。なお、検索結果情報バッファに格納される入力状況情報は、データベース内で用いられる識別子で表現される。
【0044】
図5は、「商品の配達住所」という文字列情報(入力状況情報)に関する単語情報及び単語関係情報(上2段)、並びに「商品が配達される住所」という文字列情報(入力状況情報)に関する単語情報及び単語関係情報(下2段)を示す図である。この図から分かるように、両者における単語情報及び単語関係情報が同一である。従って、ステップS3において「商品が配達される住所」という文字列情報(入力状況情報)が検索対象となった場合、「商品の配達住所」という文字列情報(入力状況情報)がデータベースから検出されることになる。
【0045】
なお、ステップS3において、「商品が配達される住所」という文字列情報(入力状況情報)が、「商品の配達住所」という文字列情報(入力状況情報)と関連あると判断されると、「商品の配達住所」という欄名(入力状況情報)に対応づけて予め格納されている文字情報(入力内容情報、例えば所定住所)が、「商品が配達される住所」欄に入力されるべき文字として使用される可能性が大きくなる。ここで、こうした「商品の配達住所」という入力状況情報、及びこの入力状況情報に対応する文字情報(入力内容情報)を再入力候補と呼ぶ。
【0046】
ステップS4では、ステップS3において再入力候補が検出されたか否かを判別する。再入力候補が検出された場合、ステップS5へ進み、再入力候補が検出されない場合、ステップS9へ進む。
【0047】
ステップS5では、ステップS3で見つかった再入力候補を操作者に表示したり、また文字入力欄に入力できるようにするため、表示形式を変換する。すなわち、RAM13上の検索結果情報バッファに格納された識別子を基に、データベース検索プログラムを利用して、データベースから実際の入力状況情報(文字入力欄の欄名)と入力内容情報(入力状況情報に対応して格納されていた文字情報)とを取り出す。そして、それぞれをRAM13上の再入力候補情報バッファに格納する。このバッファ内には、ステップS3で複数の再入力候補が検索された場合には、その数だけの入力状況情報と入力内容情報とが存在することになる。
【0048】
ステップS6では、ステップS5で取り出した入力内容情報をCRTコントローラ(CRTC)19に渡して、表示装置(CRT)20に表示させる。例えば、「商品の配達住所」という入力状況情報に対応する前記の所定住所が表示装置(CRT)20に表示される。複数の再入力候補が検索された場合には、その外の候補情報も表示される。操作者はキーボード(KB)16などを用いた操作により、それらの候補情報の中から適切な候補を選択するか、適切なものがなかった場合には、その旨を示す操作を行う。
【0049】
ステップS7では、ステップS6での表示に対して操作者が行った操作指示に基づき、適切な候補の選択が行われた場合にはステップS8へ進み、適切な候補がないとされた場合にはステップS9へ進む。
【0050】
ステップS8では、ステップS5で取り出された、選択された候補に対応する入力内容情報(文字情報)を、文字入力欄に入力すべき情報と決定する。これにより、操作者は文字入力欄に、同様な欄名の文字入力欄に過去に入力した文字情報と同一の文字情報を再度入力することの煩わしさから解放される。つまり同一の文字情報の代行入力が実現する。
【0051】
ステップS4で再入力候補が検出されない場合や、ステップS7で適切な候補がなかった場合に、またステップS8で代行入力が行われた直後には、ステップS9に進み、ここで操作者は、文字入力欄に入力すべき文字情報の追加/削除/変更などの編集を行い、最終的に文字入力欄に入力したい文字情報を作成する。ただし、ステップS8で代行入力により既に入力したい文字情報が得られている場合、編集は行われない。この編集により、操作者は、適切な候補がなかった場合に通常と同じように、文字入力欄への文字情報の入力を行うことができる。また、入力したい文字情報と同一ではないが類似の候補があった場合には、その候補を選択しておき、ここで編集を行うことで、文字入力の負担を軽減させることが可能になる。
【0052】
ステップS10では、ステップS9において最終的に決められた文字情報がRAM13上の現在の入力内容情報バッファに保管される。
【0053】
ステップS11では、ステップS9での編集により、ステップS1で入手した入力状況情報(欄名)が変更されている場合に、変更後の入力状況情報(欄名)に対して、ステップS2で行った解析処理と同じ解析処理を行う。ステップS9での編集によっても入力状況情報(欄名)が変更されていない場合には、ステップS11の処理は不要であり、ステップS3で入手した情報で代用する。
【0054】
ステップS12では、ステップS10でRAM13上の現在の入力内容情報バッファに保管された文字情報と、ステップS11で得られた入力状況情報(ステップS3で入手した情報で代用される場合もある)とを検索条件として、過去の入力状況情報及び入力内容情報の中に同じものがないかどうかを確認し、同じものが見つかった場合には文字入力処理を終了し、見つからなかった場合には、ステップS13へ進む。
【0055】
ステップS13では、ステップS10でRAM13上の現在の入力内容情報バッファに保管された入力内容情報(文字情報)と、ステップS11で得られた入力状況情報(ステップS3で入手した情報で代用される場合もある)とを、過去の入力履歴として登録する。これにより、入力履歴が蓄えられるので、学習が行われることになる。
【0056】
以上のようにして、第1の実施の形態では、操作者が同一の文字情報を再入力することによる負担が軽減され、また、入力文字情報を調べる行為の簡素化や、入力文字情報の統一化が実現される。
【0057】
また、複数の再入力候補を利用者に表示し、その中から選択させることにより、半自動的な再入力が実現し、同じ文字情報を再入力する無駄を防ぐことができる。
【0058】
また、再入力候補選択時に適切なものがなかった場合には、学習機能付きの通常の文字入力が行える。
【0059】
さらに、文字入力したい内容と同一の再入力候補がない場合でも、類似の再入力候補があれば、それを編集することにより、文字入力に利用でき、操作者の負担を軽減することが可能である。
【0060】
(第2の実施の形態)
次に第2の実施の形態を説明する。
【0061】
第2の実施形態の構成は、基本的に第1の実施形態の構成と同じであるので、第2の実施形態の説明においては、第1の実施形態の構成を流用し、異なる構成部分だけを説明する。
【0062】
第2の実施形態では、第1の実施形態の図4に示すステップS1で入手する入力状況情報として、文字入力欄の欄名だけでなく入力モードも、入力状況情報として扱う。入力モードとしては、例えば、画面の状態や操作の手順に関するモードや、かな漢字変換機能などに関するモードがある。
【0063】
また第1の実施形態の図4に示すステップS8で、代行入力を、文字入力欄の欄名に対応する入力モードに従って行うようにする。
【0064】
このようにすることで、文字入力欄の入力モードを、入力すべき文字情報(入力内容情報)の入力モードに応じて、自動的に切り替えることができる。文字入力欄には、郵便番号、名前、フリガナなどの文字入力モードがあることが考えられるが、一度文字入力モードを設定すれば、数字、かな漢字混じり文字、カタカナの文字入力がそれぞれ、容易に行えるようになる。
【0065】
かくして、第2の実施形態では、文字入力モードなども代行入力時に設定されるため、モードの切替えが自動化され、入力文字情報の編集などの作業も容易になる。
【0066】
(第3の実施の形態)
次に第3の実施の形態を説明する。
【0067】
第3の実施形態の構成は、基本的に第1の実施形態の構成と同じであるので、第3の実施形態の説明においては、第1の実施形態の構成を流用し、異なる構成部分だけを説明する。
【0068】
第3の実施形態では、文字入力欄に欄名を付与するだけでなく、該文字入力欄に入力される文字情報の性質などを表す分類コードを予め付与する。
【0069】
そして、第1の実施形態の図4に示すステップS1で入手する入力状況情報として、文字入力欄の欄名と分類コードとを入手するようにする。
【0070】
その後、第1の実施形態の図4に示すステップS3で、入手した文字入力欄の欄名と分類コードとを、過去に学習した入力状況情報と比較して同一のものを検索するようにする。なお、欄名が異なっていても、分類コードが一致していれば、入力状況情報が一致しているとみなす。
【0071】
かくして、第3の実施形態では、同一の分類コードを持つような文字入力欄において、欄名が異なっていても、同じ入力内容情報が入力されている場合には、入力状況情報が同一とみなされ、これによって、過去の入力内容情報の再入力がしやすくなる。
【0072】
(第4の実施の形態)
次に第4の実施の形態を説明する。
【0073】
第4の実施形態の構成は、基本的に第1の実施形態の構成と同じであるので、第4の実施形態の説明においては、第1の実施形態の構成を流用し、異なる構成部分だけを説明する。
【0074】
第4の実施形態では、自然言語解析において形態素解析のみを行い、構文解析は行わない。したがって、第1の実施形態の図2及び図5に示す単語関係情報は存在しない。
【0075】
第4の実施形態では、第1の実施形態の図4に示すステップS2において、ステップS1で入手した文字入力欄の欄名に対して形態素解析を行って、欄名を構成する単語群を得、各単語に品詞、活用形、語幹などの言語的な分類情報を付与して単語情報(入力状況情報)とし、RAM13上の現在の入力状況解析情報バッファに格納する。
【0076】
また第4の実施形態では、第1の実施形態の図4に示すステップS3において、RAM13上の現在の入力状況解析情報バッファに格納された入力状況情報を基に、データベースに格納された過去の学習による入力状況情報を検索し、単語が1つでも一致するものがあったらデータベースから読み出す。
【0077】
次に、RAM13上の現在の入力状況解析情報バッファに格納された入力状況情報の各単語に対する同義語や類義語を1つでも含む過去の入力状況情報を探し、データベースから読み出す。
【0078】
そして、これらの2つの検索方法で読み出された過去の入力状況情報を合わせて、RAM13上にある検索結果情報バッファに格納する。
【0079】
なおこの時に、同義語や類似語を得るために、それぞれの辞書などを参照するが、これらの辞書には類似度を示す値が単語毎に設けられているものとし、検索時に同一もしくは同義語や類似語が見つかった場合には、その単語に類似度を付与しておく。なお、同一の場合の類似度は、最大の類似度を表す値を付与する。また、一致でもなく同義語でも類義語でもない場合には、最小の類似度を表す値を付与する。例えば、類似性が全くない場合の類似度を0、同一である場合の類似度を1として、類似度合に応じて0から1の間の値が設定される。
【0080】
さらに、第4の実施形態では、第1の実施形態の図4に示すステップS5において、再入力候補を作成するとともに、再入力候補が複数存在する場合に、各再入力候補の類似度を計算する。類似度の計算は、各再入力候補毎に、その入力状況情報の各単語の類似度の合計を計算し、この合計値をその再入力候補の類似度とする。
【0081】
そして、ステップS6において、ステップS5で作成された再入力候補を操作者に表示する際に、再入力候補が複数存在する場合には、類似度が高い順に再入力候補を表示し、操作者が類似度の高い再入力候補を選択しやすいようにする。
【0082】
また、こうした類似度に応じた複数の再入力候補の表示に代えて、ステップS3での検索時に一致する単語が多かった順に再入力候補を表示するようにしてもよい。
【0083】
さらには、ステップS3での検索時に一致ばかりでなく同義語や類似語も含めた単語数が多かった順に再入力候補を表示するようにしてもよい。
【0084】
かくして、第4の実施の形態では、類似の再入力候補があった場合に、その再入力候補を選択し、それを編集して入力とすることができる。また、複数の再入力候補を、類似度の高い順や同一性の高い単語の多かった順に表示して選択をしやすくしている。
【0085】
なお、第4の実施形態に、第1の実施形態を組み合わせ、自然言語解析において形態素解析及び構文解析を行うようにしてもよい。また、第4の実施形態に、第2または第3の実施形態を組み合わせるようにしてもよい。
【0086】
【発明の効果】
以上詳述したように本発明によれば、画像表示装置の画面に表示された文字入力欄の欄名と、該文字入力欄に入力された文字情報とを対応づけてデータベースに記憶しておく。そして操作者が、ある文字入力欄にカーソルを合わせて指定すると、該文字入力欄の欄名が取り込まれ、データベースにおいて、該文字入力欄の欄名と同一または類似の欄名の検索が行われる。同一または類似の欄名が見つかると、それに対応する文字情報がデータベースから読み出され、操作者に表示される。文字情報が複数あった場合は、操作者が1つを選択し、さらに必要に応じて文字情報の編集を行い、入力を指令すると、その文字情報が、前記指定された文字入力欄に入力される。
【0087】
このようにして、操作者が同一の文字情報を再入力することによる負担が軽減され、また、入力文字情報を調べる行為の簡素化や、入力文字情報の統一化が実現される。
【0088】
また、複数の再入力候補を利用者に表示し、その中から選択させることにより、半自動的な再入力が実現し、同じ文字情報を再入力する無駄を防ぐことができる。
【0089】
また、再入力候補選択時に適切なものがなかった場合には、学習機能付きの通常の文字入力が行える。
【0090】
さらに、文字入力したい内容と同一の再入力候補がない場合でも、類似の再入力候補があれば、それを編集することにより、文字入力に利用でき、操作者の負担を軽減することが可能である。
【0091】
また、文字入力モードなども代行入力時に設定されるため、モードの切替えが自動化され、入力文字情報の編集などの作業も容易になる。
【0092】
また、同一の分類コードを持つような文字入力欄において、欄名が異なっていても、同じ入力内容情報が入力されている場合には、入力状況情報が同一とみなされ、これによって、過去の入力内容情報の再入力がしやすくなる。
【0093】
さらに、類似の再入力候補があった場合に、その再入力候補を選択し、それを編集して入力とすることができる。また、複数の再入力候補を、類似度の高い順や同一性の高い単語の多かった順に表示して選択をしやすくしている。
【図面の簡単な説明】
【図1】本発明の第1の実施形態に係る文書処理装置の構成を示すブロック図である。
【図2】入力文字列「あなたのご住所」に対して自然言語解析プログラムによって抽出された単語情報と単語間の関係情報とを示す図である。
【図3】表示装置(CRT)に表示される文字入力画面の一例を示す図である。
【図4】マイクロプロセッサ(CPU)が、ROM内に記憶されている各種のプログラムに基づいて行う文字入力処理の手順を示すフローチャートである。
【図5】「商品の配達住所」という文字列情報(入力状況情報)に関する単語情報及び単語関係情報(上2段)、並びに「商品が配達される住所」という文字列情報(入力状況情報)に関する単語情報及び単語関係情報(下2段)を示す図である。
【図6】外部の記憶媒体に記憶されるプログラム等を文書処理装置内に読み込む他の実施形態を示す図である。
【符号の説明】
11 マイクロプロセッサ(CPU)
12 ROM
13 RAM
14 外部メモリ(DISK)
15 ネットワーク制御部(NETWORK)
16 キーボード(KB)
17 カーソルレジスタ(CR)
18 表示用バッファメモリ(DBUF)
19 CRTコントローラ(CRTC)
20 表示装置(CRT)
21 キャラクタジェネレータ(CG)
22 コントロールバス(CB)
23 データバス(DB)
24 アドレスバス(AB)
25 他の機器
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a document processing device, a character input support method, and a program, and more particularly, a document that includes an image display device and displays at least one character input field with a column name on the screen of the image display device. The present invention relates to a processing device, a character input support method applied to the document processing device, and a program for executing the character input support method.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a document processing apparatus using a computer, a character input field (frame) for inputting data such as characters is displayed on the screen of the image display device as one means for inputting data such as characters and symbols. When the cursor is placed on the character input field and data is input from the keyboard, the data input by the key is displayed in the character input field. After confirming the display, the input command is specified from the keyboard. Is displayed in the document processing apparatus (see, for example, Patent Document 1).
[0003]
By the way, when such character input processing is processing with routine repetition, it is highly likely that the input data content is common in each input processing, and the same content must be repeatedly input many times. Sometimes. For example, when entering customer data for a specific district when entering a customer list, it is necessary to repeatedly input the same contents such as the specific district name and the person-in-charge code.
[0004]
In addition, the operator may have to input his / her name, ID number, etc. each time, during input processing in a plurality of different processing programs instead of input processing in such a specific processing program. It was.
[0005]
As a method of eliminating such annoying input, there is a method of using a template for input to make a part of input contents input in advance.
[0006]
[Patent Document 1]
Japanese Patent Publication No. 63-65945
[0007]
[Problems to be solved by the invention]
However, in the conventional method using a template, it is necessary to prepare a template for each input process with repetition and for each operator. In a large-scale system, the preparation work is enormous. There was a fear. Moreover, since the format of such a template generally should be different for each program that involves repetition, there is no possibility that the template can be reused.
[0008]
The present invention has been made in view of such problems, and provides a document processing apparatus, a character input support method, and a storage medium that reduce the burden on the operator by re-inputting character information having the same contents. The purpose is to do.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, according to the present invention, in a document processing apparatus comprising an image display device and displaying at least one character input field assigned a field name on the screen of the image display device, Storage means for storing the field name of the input field and the character information input to the character input field in association with each other, and when the character input field is designated by the operator, obtains the field name of the character input field Based on the field name obtained by the field name obtaining means, the field name obtained by the field name obtaining means, the search means for searching the storage contents of the storage means, and when the search means detects a column name presumed to be the same, Reading means for reading out character information corresponding to the detected field name from the storage means, notification means for notifying the operator of character information read by the reading means, and a result of notification by the notification means, the operator If you accept Character information unit read, and having an input means for inputting the text entry field in which the operator has specified.
[0010]
According to another aspect of the present invention, an image display device and a storage unit are provided, and at least one character input field assigned with a column name is displayed on the screen of the image display device. When a character input field is specified by an operator in a character input support method applied to a document processing apparatus in which a field name of a character input field and character information input in the character input field are stored in association with each other The column name obtaining step for obtaining the column name of the character input column, the search step for searching the storage content of the storage means based on the column name obtained in the column name obtaining step, and the search step are the same. When an estimated column name is detected, a reading step for reading character information corresponding to the detected column name from the storage means, and a notification for notifying the operator of the character information read in the reading step Step And an input step for causing the character information read in the reading step to be input to the character input field designated by the operator when the operator approves as a result of the notification in the notification step. And
[0011]
Furthermore, according to another aspect of the present invention, the image display device and the storage unit are provided, and at least one character input column assigned with a column name is displayed on the screen of the image display device. Computer readable for causing a computer to execute a character input support method applied to a document processing apparatus in which a field name of a character input field and character information input to the character input field are stored in association with each other In the program, when the character input support method is designated by the operator, the character input support method is based on the column name acquisition step for acquiring the column name of the character input column and the column name acquired in the column name acquisition step. When the column name estimated to be the same in the search step for searching the storage contents of the storage means and the search step is detected, the character information corresponding to the detected column name is stored in the memory A reading step for reading from the stage; a notification step for notifying the operator of the character information read in the reading step; and a reading in the reading step when the operator approves as a result of the notification in the notification step. And an input step for inputting the character information into the character input field designated by the operator.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0013]
(First embodiment)
FIG. 1 is a block diagram showing a configuration of a document processing apparatus according to the first embodiment of the present invention.
[0014]
In the configuration of FIG. 1, the microprocessor (CPU) 11 performs calculation for document processing, logical determination, and the like, and via an address bus (AB) 24, a control bus (CB) 22, and a data bus (DB) 23. To control each component connected to these buses.
[0015]
The address bus (AB) 24 transfers an address signal to a component to be controlled by the microprocessor (CPU) 11. The control bus (CB) 22 transfers a control signal to each component controlled by the microprocessor (CPU) 11. On the data bus (DB) 23, data transfer is performed between the components constituting the document processing apparatus.
[0016]
The ROM 12 is a read-only fixed memory, and the ROM 12 stores a program describing a procedure of control processing performed by the microprocessor (CPU) 11.
[0017]
The RAM 13 is a writable random access memory that is used as a temporary storage area for programs read from the ROM 12 and also as a temporary storage area for various data from each component.
[0018]
The ROM 12 and the RAM 13 store a program for realizing a character input support method of the present invention described later, a natural language analysis program, a database search program, and the like. The function of each program is realized by the microprocessor (CPU) 11 reading and executing the program code stored in these recording media. Any storage medium can be used to store these programs. The present invention can be achieved. For example, ROM, floppy (registered trademark) disk, CD-ROM, hard disk, memory card, magneto-optical disk, etc. can be used. Further, a recording medium storing the program according to the present invention may be supplied to a system or apparatus and read from the rewritable storage medium such as a RAM.
[0019]
The RAM 13 includes a current input status character string buffer, a current input status analysis information buffer, a current input content information buffer, a past input status character string buffer, a past input status analysis information buffer, a past input content information buffer, A search result information buffer, a re-input candidate information buffer, and the like are set.
[0020]
The natural language analysis program analyzes a given character string and extracts some information. First, a word included in a character string is extracted, and for each word, a basic word character string that does not include a word utilization form and information on the utilization are extracted. This is a so-called morphological analysis. Next, information regarding the relationship between the words is extracted. This is a process called syntactic analysis (syntactic analysis). Conventionally, there are various methods for natural language analysis programs. In the present invention, any method may be used as long as it has functions such as morphological analysis and syntax analysis.
[0021]
In the first embodiment, a natural language analysis program that performs processing such as morphological analysis and syntax analysis is used. When a character string is given, information on the word and information on the relationship between the words are obtained from the character string. To extract. For example, FIG. 2 shows word information extracted by the natural language analysis program for the input character string “your address” and relationship information between words.
[0022]
The “word number” and “relation number” shown in FIG. 2 are unique identification numbers only in the word information and the relationship information between words. In the word information, a given character string is divided for each word, and information indicating the nature of the word is held for each word. In the word relationship information, the relationship between each word in the word information is indicated based on the word number. The details of both information contents will be omitted because natural language processing is common.
[0023]
In the present embodiment, the natural language analysis is performed by a natural language analysis program, but the natural language analysis may be performed by hardware or an external device. In addition, when a natural language analysis program is executed, a working area for developing the program and a storage area for storing information such as a dictionary are generally required. The area is secured on the storage device in a timely manner.
[0024]
The database search program is a program for efficiently managing and referring to a large amount of data, and here, a very commonly used program is used. In the present embodiment, a database search program having a function of giving information and registering it in a database, a function of searching information corresponding to the instructed content from the database, and making the information accessible Will be used.
[0025]
The function of registering information in the database is to register the information to be registered in the database when the information to be registered is passed to this program. At that time, the registered data is given a unique identification number in the database. . In the function of instructing the database to search, when the information to be searched is passed to this program, an identification number corresponding to the information is returned as a result. In the information reference function in the database, when an identification number is passed to this program, information having the identification number is output as a result and can be referred to.
[0026]
In this embodiment, the database search is also performed by the database search program. However, the database search may be performed by hardware or an external device. In addition, when a database search program is executed, a working area or database for developing the program is generally required. However, these areas are stored on a storage device such as a RAM or an external memory at appropriate times. Secured.
[0027]
Referring back to FIG. 1, the keyboard (KB) 16 includes various function keys such as alphabet keys, hiragana keys, katakana keys, character symbol input keys such as punctuation marks, and cursor movement keys for instructing cursor movement. Yes.
[0028]
The external memory (DISK) 14 is a memory for storing various data and the like. Database data and various data to be described later are stored as necessary. The stored data is stored via the keyboard (KB) 16. In response to an instruction from the operator and instructions from various programs, the data is expanded on the RAM 13 in whole or in part when necessary.
[0029]
The cursor register (CR) 17 stores an address indicating the current position of the cursor, and the address is read and written by the microprocessor (CPU) 11. A CRT controller (CRTC) 19 described later displays a cursor at the screen position of the display device (CRT) 20 corresponding to the address stored in the cursor register (CR) 17.
[0030]
A display buffer memory (DBUF) 18 stores pattern data to be displayed.
[0031]
The CRT controller (CRTC) 19 performs control to display the contents stored in the cursor register (CR) 17 and the display buffer memory (DBUF) 18 on the display device (CRT) 20. The display device (CRT) 20 is an image display device using a cathode ray tube or the like, and displays a display pattern of a dot configuration and a cursor.
[0032]
The character generator (CG) 21 stores a pattern of characters and symbols displayed on the display device (CRT) 20.
[0033]
The network control unit (NETWORK) 15 controls communication between the document processing apparatus and the other device 25, and by using this, the program and data used in the present embodiment are transferred to the other device 25. It becomes possible to share with.
[0034]
The document processing apparatus including these components operates in response to various inputs made by the operator via the keyboard (KB) 16, and when the keyboard (KB) 16 is operated, An interrupt signal is sent to the microprocessor (CPU) 11, and the microprocessor (CPU) 11 reads out various programs stored in the ROM 12, and various controls are performed in accordance with these programs.
[0035]
As shown in FIG. 6, various programs and data necessary for processing are stored on an external storage medium 6-c, and the storage medium 6-c is attached to the drive 6-b. Then, the storage contents of the storage medium 6-c may be read into the document processing apparatus 6-a and the processing may be executed.
[0036]
FIG. 3 is a diagram illustrating an example of a character input screen displayed on the display device (CRT) 20.
[0037]
In the figure, 3-a is a part of a screen for inputting and editing characters, and such a frame is called a window. 3-b is called a menu, and the operator selects a desired part when using various input / edit functions in this window. 3-c is a place where a document is actually input or edited, and the contents of the document currently created by the operator are displayed here.
[0038]
Reference numeral 3-d denotes a dialog, which is a screen portion on which detailed contents are displayed when various input / edit functions in a window are called or set. In the example shown in FIG. 3, a dialog for individually requesting character input is shown. That is, it is required to input characters in the “your address” field (3-e) and the “your name” field, and the operator has input characters.
[0039]
FIG. 4 is a flowchart showing the procedure of character input processing performed by the microprocessor (CPU) 11 based on various programs stored in the ROM 12.
[0040]
This process is executed when the operator moves the cursor to the character input field and enters a character input state. Here, although not shown, for example, a predetermined address (character information) has already been input by the operator in a character input field “product delivery address”. It is assumed that the field name and a predetermined address (character information) are stored in advance in the database in association with each other. In this case, for example, it is assumed that the operator moves the cursor to a character input field having a field name “address where goods are delivered”. Hereinafter, the field name of the character input field may be referred to as “input status information”, and the character information input to the character input field may be referred to as “input content information”.
[0041]
In step S1, the name of the field assigned to the character input field on which the cursor is placed is obtained. In this example, the column name “address where goods are delivered” is sent to the microprocessor (CPU) 11. Then, character string information (input status information) including a natural language word or sentence such as “address where goods are delivered” is stored in the current input status character string buffer arranged on the RAM 13.
[0042]
In step S2, the microprocessor (CPU) 11 performs natural language analysis on the character string information. In the first embodiment, morphological analysis and syntax analysis are performed on the character string information. As a result, an analysis result as shown in the lower two stages of FIG. 5 is obtained and stored in the current input situation analysis information buffer provided on the RAM 13.
[0043]
In step S3, based on the analysis result stored in the current input state analysis information buffer of the RAM 13, whether or not the same word information is registered in the learning content registered in the past (step S13 described later). If it is registered, it is searched whether the same word relation information is registered. This search is performed based on the analysis result obtained in step S2 by using the database search program for a database in which past learning contents are registered in advance. That is, if all the words in the word group constituting the character string information are the same and the relationship between the words is the same, the past registered input status information is stored in the search result information buffer on the RAM 13. Store. Note that the input status information stored in the search result information buffer is represented by an identifier used in the database.
[0044]
FIG. 5 shows word information and word-related information (upper two rows) regarding character string information (input status information) “product delivery address”, and character string information (input status information) “address where the product is delivered” It is a figure which shows the word information and word related information (bottom two steps) regarding. As can be seen from this figure, the word information and the word relationship information in both are the same. Therefore, when the character string information (input status information) “address where the product is delivered” is searched in step S3, the character string information (input status information) “product delivery address” is detected from the database. It will be.
[0045]
If it is determined in step S3 that the character string information (input status information) “address where the product is delivered” is related to the character string information (input status information) “delivery address of the product”, Character information (input content information, for example, a predetermined address) stored in advance in association with a column name (input status information) “product delivery address” is a character to be input in the “address where the product is delivered” column The possibility of being used as a greater. Here, such input status information “delivery address of goods” and character information (input content information) corresponding to the input status information are referred to as re-input candidates.
[0046]
In step S4, it is determined whether or not a re-input candidate is detected in step S3. If a re-input candidate is detected, the process proceeds to step S5. If a re-input candidate is not detected, the process proceeds to step S9.
[0047]
In step S5, the display format is converted so that the re-input candidates found in step S3 can be displayed to the operator or input to the character input field. That is, based on the identifier stored in the search result information buffer on the RAM 13, using the database search program, the actual input status information (the column name of the character input field) and the input content information (the input status information are converted into the input status information). Character information stored correspondingly). Each of them is stored in a re-input candidate information buffer on the RAM 13. In this buffer, when a plurality of re-input candidates are searched in step S3, the same number of input status information and input content information exist.
[0048]
In step S6, the input content information extracted in step S5 is transferred to the CRT controller (CRTC) 19 and displayed on the display device (CRT) 20. For example, the predetermined address corresponding to the input status information “product delivery address” is displayed on the display device (CRT) 20. When a plurality of re-input candidates are searched, other candidate information is also displayed. The operator selects an appropriate candidate from the candidate information by an operation using the keyboard (KB) 16 or the like, or performs an operation indicating that when there is no appropriate one.
[0049]
In step S7, if an appropriate candidate is selected based on the operation instruction given by the operator for the display in step S6, the process proceeds to step S8, and if no appropriate candidate is found, Proceed to step S9.
[0050]
In step S8, the input content information (character information) corresponding to the selected candidate extracted in step S5 is determined as information to be input to the character input field. As a result, the operator is relieved from the trouble of inputting again the same character information as the character information previously input to the character input field having the same field name in the character input field. That is, substitution input of the same character information is realized.
[0051]
If a re-input candidate is not detected in step S4, or if there is no suitable candidate in step S7, or immediately after a substitute input is made in step S8, the process proceeds to step S9, where the operator Editing such as addition / deletion / change of character information to be input in the input field is performed, and finally character information to be input in the character input field is created. However, if character information to be input has already been obtained by proxy input in step S8, editing is not performed. By this editing, the operator can input character information in the character input field as usual when there is no suitable candidate. If there is a similar candidate that is not the same as the character information to be input, the candidate is selected and edited here, thereby reducing the burden of character input.
[0052]
In step S10, the character information finally determined in step S9 is stored in the current input content information buffer on the RAM 13.
[0053]
In step S11, when the input status information (column name) obtained in step S1 has been changed by editing in step S9, the changed input status information (column name) is performed in step S2. The same analysis process as the analysis process is performed. If the input status information (column name) has not been changed by the editing in step S9, the processing in step S11 is unnecessary, and the information obtained in step S3 is used instead.
[0054]
In step S12, the character information stored in the current input content information buffer on the RAM 13 in step S10 and the input status information obtained in step S11 (the information obtained in step S3 may be substituted). As a search condition, it is confirmed whether or not there is the same information in the past input status information and input content information. If the same is found, the character input process is terminated, and if not found, step S13 is executed. Proceed to
[0055]
In step S13, the input content information (character information) stored in the current input content information buffer on the RAM 13 in step S10 and the input status information obtained in step S11 (in the case where the information obtained in step S3 is substituted) Are registered as past input history. Thereby, since the input history is stored, learning is performed.
[0056]
As described above, in the first embodiment, the burden caused by the operator re-inputting the same character information is reduced, the act of examining the input character information is simplified, and the input character information is unified. Is realized.
[0057]
Further, by displaying a plurality of re-input candidates to the user and selecting them from among them, semi-automatic re-input is realized, and waste of re-inputting the same character information can be prevented.
[0058]
In addition, if there is no appropriate character when selecting a re-input candidate, normal character input with a learning function can be performed.
[0059]
Furthermore, even if there is no re-input candidate identical to the content to be input, if there is a similar re-input candidate, it can be used for character input by editing it and the burden on the operator can be reduced. is there.
[0060]
(Second Embodiment)
Next, a second embodiment will be described.
[0061]
Since the configuration of the second embodiment is basically the same as the configuration of the first embodiment, in the description of the second embodiment, the configuration of the first embodiment is used and only different components are used. Will be explained.
[0062]
In the second embodiment, not only the column name of the character input field but also the input mode is handled as the input status information as the input status information obtained in step S1 shown in FIG. 4 of the first embodiment. The input mode includes, for example, a mode related to the screen state and operation procedure, and a mode related to the kana-kanji conversion function.
[0063]
In step S8 shown in FIG. 4 of the first embodiment, the substitute input is performed according to the input mode corresponding to the column name of the character input field.
[0064]
By doing in this way, the input mode of a character input column can be automatically switched according to the input mode of the character information (input content information) which should be input. There may be character input modes such as zip code, name, and reading in the character input field, but once character input mode is set, numbers, kana-kanji mixed characters, and katakana characters can be input easily. It becomes like this.
[0065]
Thus, in the second embodiment, since the character input mode and the like are set at the time of proxy input, the mode switching is automated, and operations such as editing of input character information are facilitated.
[0066]
(Third embodiment)
Next, a third embodiment will be described.
[0067]
Since the configuration of the third embodiment is basically the same as the configuration of the first embodiment, in the description of the third embodiment, the configuration of the first embodiment is used and only different components are used. Will be explained.
[0068]
In the third embodiment, not only a field name is assigned to a character input field, but also a classification code indicating the nature of character information input to the character input field is assigned in advance.
[0069]
Then, the field name and classification code of the character input field are obtained as the input status information obtained in step S1 shown in FIG. 4 of the first embodiment.
[0070]
After that, in step S3 shown in FIG. 4 of the first embodiment, the field name and classification code of the obtained character input field are compared with the input status information learned in the past to search for the same one. . Even if the column names are different, if the classification codes match, the input status information is considered to match.
[0071]
Thus, in the third embodiment, in the character input fields having the same classification code, if the same input content information is input even if the field names are different, the input status information is regarded as the same. This makes it easier to re-input past input content information.
[0072]
(Fourth embodiment)
Next, a fourth embodiment will be described.
[0073]
Since the configuration of the fourth embodiment is basically the same as the configuration of the first embodiment, in the description of the fourth embodiment, the configuration of the first embodiment is used and only different components are used. Will be explained.
[0074]
In the fourth embodiment, only morphological analysis is performed in natural language analysis, and syntax analysis is not performed. Therefore, the word relationship information shown in FIGS. 2 and 5 of the first embodiment does not exist.
[0075]
In the fourth embodiment, in step S2 shown in FIG. 4 of the first embodiment, the morphological analysis is performed on the field name of the character input field obtained in step S1, and the word group constituting the field name is obtained. Each word is given linguistic classification information such as part of speech, utilization form, stem, etc. to be word information (input situation information), which is stored in the current input situation analysis information buffer on the RAM 13.
[0076]
In the fourth embodiment, in the step S3 shown in FIG. 4 of the first embodiment, the past information stored in the database is stored based on the input status information stored in the current input status analysis information buffer on the RAM 13. The input status information by learning is searched, and if there is even one word that matches, it is read from the database.
[0077]
Next, past input status information including at least one synonym or synonym for each word of the input status information stored in the current input status analysis information buffer on the RAM 13 is searched and read from the database.
[0078]
Then, the past input status information read by these two search methods is combined and stored in a search result information buffer on the RAM 13.
[0079]
At this time, in order to obtain synonyms and similar words, the respective dictionaries are referred to. However, these dictionaries are provided with a value indicating the degree of similarity for each word, and the same or synonyms are used for the search If a similar word is found, a similarity is given to the word. In addition, the value in which the similarity in the case of the same shows the maximum similarity is provided. In addition, if it is not coincident and is neither a synonym nor a synonym, a value representing the minimum similarity is assigned. For example, assuming that the similarity is 0 when there is no similarity and the similarity is 1 when they are the same, a value between 0 and 1 is set according to the similarity.
[0080]
Furthermore, in the fourth embodiment, in step S5 shown in FIG. 4 of the first embodiment, re-input candidates are created, and when there are a plurality of re-input candidates, the similarity of each re-input candidate is calculated. To do. For the calculation of the similarity, for each re-input candidate, the sum of the similarities of each word of the input status information is calculated, and this total value is set as the similarity of the re-input candidate.
[0081]
In step S6, when the re-input candidates created in step S5 are displayed to the operator, if there are a plurality of re-input candidates, the re-input candidates are displayed in descending order of similarity, and the operator Make it easier to select re-entry candidates with high similarity.
[0082]
Further, instead of displaying a plurality of re-input candidates according to the similarity, the re-input candidates may be displayed in the order in which there are many matching words during the search in step S3.
[0083]
Furthermore, the re-input candidates may be displayed in the order in which the number of words including synonyms and similar words is large in addition to the match at the time of the search in step S3.
[0084]
Thus, in the fourth embodiment, when there are similar re-input candidates, the re-input candidates can be selected and edited to be input. In addition, a plurality of re-input candidates are displayed in the order of high similarity or in the order of words with high identity to facilitate selection.
[0085]
The fourth embodiment may be combined with the first embodiment to perform morphological analysis and syntax analysis in natural language analysis. Further, the second or third embodiment may be combined with the fourth embodiment.
[0086]
【The invention's effect】
As described above in detail, according to the present invention, the field name of the character input field displayed on the screen of the image display device and the character information input to the character input field are stored in the database in association with each other. . When the operator moves the cursor to a character input field and designates it, the field name of the character input field is fetched, and a field name that is the same as or similar to the field name of the character input field is searched in the database. . When the same or similar column name is found, the corresponding character information is read from the database and displayed to the operator. If there is more than one character information, the operator selects one, edits the character information as necessary, and instructs the input to input the character information into the designated character input field. The
[0087]
In this way, the burden caused by the operator re-inputting the same character information is reduced, and the act of examining the input character information is simplified and the input character information is unified.
[0088]
Further, by displaying a plurality of re-input candidates to the user and selecting them from among them, semi-automatic re-input is realized, and waste of re-inputting the same character information can be prevented.
[0089]
In addition, if there is no appropriate character when selecting a re-input candidate, normal character input with a learning function can be performed.
[0090]
Furthermore, even if there is no re-input candidate identical to the content to be input, if there is a similar re-input candidate, it can be used for character input by editing it and the burden on the operator can be reduced. is there.
[0091]
In addition, since the character input mode and the like are set at the time of proxy input, the mode switching is automated, and operations such as editing of input character information become easy.
[0092]
In addition, in character input fields having the same classification code, even if the field names are different, if the same input content information is input, the input status information is regarded as the same, and thus past It becomes easier to re-enter the input content information.
[0093]
Further, when there is a similar re-input candidate, the re-input candidate can be selected and edited to be input. In addition, a plurality of re-input candidates are displayed in the order of high similarity or in the order of words with high identity to facilitate selection.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a document processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a diagram illustrating word information extracted by a natural language analysis program for an input character string “your address” and relation information between words.
FIG. 3 is a diagram showing an example of a character input screen displayed on a display device (CRT).
FIG. 4 is a flowchart illustrating a procedure of character input processing performed by a microprocessor (CPU) based on various programs stored in a ROM.
FIG. 5: Word information and word-related information (upper two lines) regarding character string information (input status information) “product delivery address”, and character string information (input status information) “address where the product is delivered” It is a figure which shows the word information and word related information (bottom two steps) regarding.
FIG. 6 is a diagram showing another embodiment for reading a program or the like stored in an external storage medium into the document processing apparatus.
[Explanation of symbols]
11 Microprocessor (CPU)
12 ROM
13 RAM
14 External memory (DISK)
15 Network control unit (NETWORK)
16 Keyboard (KB)
17 Cursor register (CR)
18 Display buffer memory (DBUF)
19 CRT controller (CRTC)
20 Display device (CRT)
21 Character generator (CG)
22 Control bus (CB)
23 Data bus (DB)
24 Address bus (AB)
25 Other equipment

Claims (15)

画像表示装置を備え、該画像表示装置の画面に、欄名が付与された少なくとも1つの文字入力欄が表示される文書処理装置において、
文字入力欄の欄名と、該文字入力欄に入力された文字情報とを対応づけて記憶する記憶手段と、
操作者によって文字入力欄が指定されたとき、該文字入力欄の欄名を入手する欄名入手手段と、
前記欄名入手手段が入手した欄名を基に、前記記憶手段の記憶内容を検索する検索手段と、
前記検索手段が同一と推定される欄名を検出したとき、該検出された欄名に対応する文字情報を前記記憶手段から読み出す読出手段と、
前記読出手段が読み出した文字情報を前記操作者に通知する通知手段と、
前記通知手段による通知の結果、前記操作者が承諾したとき、前記読出手段が読み出した文字情報を、前記操作者が指定した文字入力欄に入力させる入力手段と
を有することを特徴とする文書処理装置。
In a document processing apparatus comprising an image display device, wherein at least one character input field with a column name is displayed on the screen of the image display device,
Storage means for storing the field name of the character input field and the character information input in the character input field in association with each other;
When a character input field is designated by the operator, a field name obtaining means for obtaining a field name of the character input field;
Search means for searching the storage contents of the storage means based on the column names obtained by the field name obtaining means;
A reading means for reading out character information corresponding to the detected field name from the storage means when the search means detects a column name estimated to be the same;
Notification means for notifying the operator of the character information read by the reading means;
Document processing comprising: an input unit that causes the character information read by the reading unit to be input to a character input field designated by the operator when the operator approves as a result of the notification by the notification unit. apparatus.
画像表示装置及び記憶手段を備え、該画像表示装置の画面に、欄名が付与された少なくとも1つの文字入力欄が表示され、前記記憶手段に、文字入力欄の欄名と、該文字入力欄に入力された文字情報とが対応づけて記憶される文書処理装置に適用される文字入力支援方法において、
操作者によって文字入力欄が指定されたとき、該文字入力欄の欄名を入手する欄名入手ステップと、
前記欄名入手ステップで入手した欄名を基に、前記記憶手段の記憶内容を検索する検索ステップと、
前記検索ステップで同一と推定される欄名が検出されたとき、該検出された欄名に対応する文字情報を前記記憶手段から読み出す読出ステップと、
前記読出ステップで読み出された文字情報を前記操作者に通知する通知ステップと、
前記通知ステップによる通知の結果、前記操作者が承諾したとき、前記読出ステップで読み出された文字情報を、前記操作者が指定した文字入力欄に入力させる入力ステップと
を有することを特徴とする文字入力支援方法。
An image display device and a storage unit are provided, and at least one character input column assigned with a column name is displayed on the screen of the image display device. The storage unit includes a column name of the character input column and the character input column. In the character input support method applied to the document processing apparatus in which the character information input to is stored in association with
When a character input field is designated by the operator, a column name obtaining step for obtaining a field name of the character input field;
Based on the column name obtained in the column name obtaining step, a search step for retrieving the storage contents of the storage means;
A reading step of reading character information corresponding to the detected column name from the storage means when a column name estimated to be the same in the search step is detected;
A notification step of notifying the operator of the character information read in the reading step;
When the operator accepts as a result of the notification in the notification step, the character information read out in the reading step is input to a character input field designated by the operator. Character input support method.
前記検索ステップで、同一と推定される欄名が検出されないとき、前記操作者に、該操作者が指定した文字入力欄に文字入力を促す指示ステップと、
前記操作者が指定した文字入力欄に文字入力が行われたとき、該入力された文字情報を、該文字入力欄の欄名と対応づけて前記記憶手段に記憶させる記憶制御ステップと
をさらに有することを特徴とする請求項2記載の文字入力支援方法。
Instructing the operator to input characters into the character input field designated by the operator when the column name estimated to be the same is not detected in the search step;
A storage control step of storing the input character information in the storage unit in association with the field name of the character input field when a character is input in the character input field designated by the operator; The character input support method according to claim 2, wherein:
前記通知ステップによって通知された文字情報を前記操作者が編集したとき、該編集後の文字情報を、前記操作者が指定した文字入力欄の欄名と対応づけて前記記憶手段に記憶させるとともに、前記編集後の文字情報を前記操作者が指定した文字入力欄に入力させる記憶・入力ステップ
をさらに有することを特徴とする請求項2または請求項3に記載の文字入力支援方法。
When the operator edits the character information notified by the notification step, the edited character information is stored in the storage means in association with the field name of the character input field designated by the operator, The character input support method according to claim 2, further comprising a storage / input step of inputting the edited character information into a character input field designated by the operator.
前記記憶手段は学習機能を備えることを特徴とする請求項2乃至請求項4のいずれかに記載の文字入力支援方法。The character input support method according to claim 2, wherein the storage unit has a learning function. 前記読出ステップで複数の文字情報が読み出され、前記通知ステップで該複数の文字情報が通知されたとき、前記入力ステップは、前記操作者が該複数の文字情報のうち1つを選択して承諾したとき、該選択された文字情報を、前記操作者が指定した文字入力欄に入力させることを特徴とする請求項2乃至請求項5のいずれかに記載の文字入力支援方法。When the plurality of character information is read in the reading step and the plurality of character information is notified in the notification step, the input step is performed when the operator selects one of the plurality of character information. The character input support method according to any one of claims 2 to 5, wherein when the user accepts, the selected character information is input to a character input field designated by the operator. 前記検索ステップは、前記欄名入手ステップで入手した欄名に対して形態素解析を行い、前記検索を当該形態素解析結果における構成単語群の一致によって行うことを特徴とする請求項2乃至請求項6のいずれかに記載の文字入力支援方法。7. The search step performs morpheme analysis on the column name obtained in the column name acquisition step, and performs the search based on matching of constituent word groups in the morpheme analysis result. The character input support method according to any one of the above. 前記検索ステップは、前記欄名入手ステップで入手した欄名に対して形態素解析を行い、前記検索を当該形態素解析結果における構成単語群の一致及び各単語の分類情報の一致によって行うことを特徴とする請求項2乃至請求項6のいずれかに記載の文字入力支援方法。The search step performs morpheme analysis on the column name obtained in the column name acquisition step, and the search is performed by matching of constituent word groups and matching of classification information of each word in the morpheme analysis result. The character input support method according to any one of claims 2 to 6. 前記検索ステップは、前記欄名入手ステップで入手した欄名に対して形態素解析を行うとともに構文解析を行い、前記検索を、当該形態素解析結果における構成単語群の一致および当該構文解析結果における単語間関係の一致によって行うことを特徴とする請求項7記載の文字入力支援方法。The search step performs morphological analysis and syntactic analysis on the column name obtained in the column name acquisition step, and performs the search by matching the constituent word groups in the morpheme analysis result and between words in the syntax analysis result. The character input support method according to claim 7, wherein the character input support method is performed by matching the relationships. 前記記憶手段は、文字入力欄の欄名と、該文字入力欄に入力された文字情報及び入力モードとを対応づけて記憶しており、
前記入力ステップは、前記読出ステップで読み出された文字情報を、該文字情報に対応する入力モードに従って、前記操作者が指定した文字入力欄に入力させる
ことを特徴とする請求項2乃至請求項9のいずれかに記載の文字入力支援方法。
The storage means stores the field name of the character input field in association with the character information and the input mode input to the character input field,
The input step causes the character information read in the reading step to be input into a character input field designated by the operator according to an input mode corresponding to the character information. The character input support method according to any one of 9.
前記記憶手段は、文字入力欄の欄名及び該文字入力欄に入力される文字情報の性質の分類名と、該文字入力欄に入力された文字情報とを対応づけて記憶しており、
前記欄名入手ステップは、前記操作者によって文字入力欄が指定されたとき、該文字入力欄の欄名及び該文字入力欄に入力される文字情報の性質の分類名を入手し、
前記検索ステップは、前記欄名入手ステップで入手した欄名及び分類名を基に、前記記憶手段の記憶内容を検索する
ことを特徴とする請求項2乃至請求項10のいずれかに記載の文字入力支援方法。
The storage means stores the field name of the character input field and the classification name of the character information input to the character input field in association with the character information input to the character input field,
In the column name obtaining step, when a character input column is designated by the operator, a column name of the character input column and a classification name of the character information character input to the character input column are obtained,
11. The character according to claim 2, wherein the searching step searches the storage contents of the storage unit based on the column name and the classification name obtained in the column name obtaining step. Input support method.
前記読出ステップは、前記検索ステップで、少なくとも1つの構成単語が同一である複数の欄名が検出されたとき、該検出された複数の欄名に対応する複数の文字情報を前記記憶手段から読み出し、
前記通知ステップは、前記読出ステップで読み出された複数の文字情報を、対応欄名における同一の単語数の多い順序で前記操作者に通知する
ことを特徴とする請求項2乃至請求項11のいずれかに記載の文字入力支援方法。
In the reading step, when a plurality of column names having the same at least one constituent word are detected in the searching step, a plurality of character information corresponding to the detected plurality of column names is read from the storage means. ,
12. The notifying step of notifying the operator of the plurality of character information read in the reading step in the order of the same number of words in the corresponding column name. The character input support method according to any one of the above.
前記検索ステップは、前記欄名入手ステップで入手した欄名に対して形態素解析を行い、前記検索を当該形態素解析結果における構成単語群及びそれらの同義語及び類義語との一致によって行うことを特徴とする請求項2乃至請求項6のいずれかに記載の文字入力支援方法。The search step performs morpheme analysis on the column name obtained in the column name acquisition step, and the search is performed by matching the constituent word groups and their synonyms and synonyms in the morpheme analysis result. The character input support method according to any one of claims 2 to 6. 前記読出ステップは、前記検索ステップで同一と推定される複数の欄名が検出されたとき、該検出された複数の欄名に対応する複数の文字情報を前記記憶手段から読み出すとともに、当該複数の文字情報のそれぞれに対する類似度を算出しておき、
前記通知ステップは、前記読出ステップで読み出された複数の文字情報を、前記類似度に応じた順序で前記操作者に通知する
ことを特徴とする請求項13に記載の文字入力支援方法。
In the reading step, when a plurality of column names estimated to be the same in the search step are detected, a plurality of character information corresponding to the detected plurality of column names is read from the storage unit, and Calculate the similarity for each character information,
14. The character input support method according to claim 13, wherein the notifying step notifies the operator of a plurality of character information read in the reading step in an order corresponding to the similarity.
画像表示装置及び記憶手段を備え、該画像表示装置の画面に、欄名が付与された少なくとも1つの文字入力欄が表示され、前記記憶手段に、文字入力欄の欄名と、該文字入力欄に入力された文字情報とが対応づけて記憶される文書処理装置に適用される文字入力支援方法をコンピュータに実行させるための、コンピュータにより読み取り可能なプログラムにおいて、
前記文字入力支援方法が、
操作者によって文字入力欄が指定されたとき、該文字入力欄の欄名を入手する欄名入手ステップと、
前記欄名入手ステップで入手した欄名を基に、前記記憶手段の記憶内容を検索する検索ステップと、
前記検索ステップで同一と推定される欄名が検出されたとき、該検出された欄名に対応する文字情報を前記記憶手段から読み出す読出ステップと、
前記読出ステップで読み出された文字情報を前記操作者に通知する通知ステップと、
前記通知ステップによる通知の結果、前記操作者が承諾したとき、前記読出ステップで読み出された文字情報を、前記操作者が指定した文字入力欄に入力させる入力ステップと
を有することを特徴とするプログラム。
An image display device and a storage unit are provided, and at least one character input column assigned with a column name is displayed on the screen of the image display device. The storage unit includes a column name of the character input column and the character input column. In a computer-readable program for causing a computer to execute a character input support method applied to a document processing apparatus in which character information input to the computer is stored in association with each other,
The character input support method is:
When a character input field is designated by the operator, a column name obtaining step for obtaining a field name of the character input field;
Based on the column name obtained in the column name obtaining step, a search step for retrieving the storage contents of the storage means;
A reading step of reading character information corresponding to the detected column name from the storage means when a column name estimated to be the same in the search step is detected;
A notification step of notifying the operator of the character information read in the reading step;
When the operator accepts as a result of the notification in the notification step, the character information read out in the reading step is input to a character input field designated by the operator. program.
JP2003172011A 2003-06-17 2003-06-17 Document processor, character input support method and program Withdrawn JP2005010916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003172011A JP2005010916A (en) 2003-06-17 2003-06-17 Document processor, character input support method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003172011A JP2005010916A (en) 2003-06-17 2003-06-17 Document processor, character input support method and program

Publications (1)

Publication Number Publication Date
JP2005010916A true JP2005010916A (en) 2005-01-13

Family

ID=34096299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003172011A Withdrawn JP2005010916A (en) 2003-06-17 2003-06-17 Document processor, character input support method and program

Country Status (1)

Country Link
JP (1) JP2005010916A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129819A (en) * 2006-11-20 2008-06-05 E Engine:Kk System and method for automatically generating business curriculum vitae
JP2010102656A (en) * 2008-10-27 2010-05-06 Fujitsu Ltd Method and program for recommending input candidate
JP2015011587A (en) * 2013-06-28 2015-01-19 キヤノン株式会社 Information processing device, document composition system, information processing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129819A (en) * 2006-11-20 2008-06-05 E Engine:Kk System and method for automatically generating business curriculum vitae
JP2010102656A (en) * 2008-10-27 2010-05-06 Fujitsu Ltd Method and program for recommending input candidate
JP2015011587A (en) * 2013-06-28 2015-01-19 キヤノン株式会社 Information processing device, document composition system, information processing method, and program

Similar Documents

Publication Publication Date Title
US4502128A (en) Translation between natural languages
EP0370774A2 (en) Machine translation system
EP2031490A2 (en) Electronic dictionary, search method for and electronic dictionary, and search program for an alectronic dictionary
JPH11328166A (en) Character input device and computer-readable recording medium where character input processing program is recorded
JPH09114852A (en) Information retrieval device
JP2005010916A (en) Document processor, character input support method and program
KR900008402B1 (en) Machine translation system
JPH08106474A (en) Method and device for displaying similar example sentence retrieval result
JPH1011431A (en) Kanji retrieval device and method
JP2621999B2 (en) Document processing device
JP2001297080A (en) Read assisting device
JP4039635B2 (en) Language information processing device
JPS59100941A (en) Kana (japanese syllabary)-kanji (chinese character) converter
JPH0991311A (en) Information storage and retrieval device and its control method
JPH08329059A (en) General purpose reference device
JPH0764991A (en) Definite format document input device
JPH077411B2 (en) Document processor
JP2893239B2 (en) Translation support dictionary search and display system
JPH05233714A (en) Related word information preparation and support system
JPH096772A (en) Character processor
JPH08202703A (en) Character processor and kana/kanji conversion method for the same
JP2004280275A (en) Multi-language manual preparing device and method and program and its recording medium
JP2004038869A (en) Sentence display converter
JPH0668160A (en) Information retrieval system
JPH0520420A (en) Graphic processor

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060215

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060905