Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6541353B2 - INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM - Google Patents
[go: Go Back, main page]

JP6541353B2 - INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM - Google Patents

INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM Download PDF

Info

Publication number
JP6541353B2
JP6541353B2 JP2015002519A JP2015002519A JP6541353B2 JP 6541353 B2 JP6541353 B2 JP 6541353B2 JP 2015002519 A JP2015002519 A JP 2015002519A JP 2015002519 A JP2015002519 A JP 2015002519A JP 6541353 B2 JP6541353 B2 JP 6541353B2
Authority
JP
Japan
Prior art keywords
information
symbol
character
information processing
determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015002519A
Other languages
Japanese (ja)
Other versions
JP2016126722A (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.)
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 JP2015002519A priority Critical patent/JP6541353B2/en
Publication of JP2016126722A publication Critical patent/JP2016126722A/en
Application granted granted Critical
Publication of JP6541353B2 publication Critical patent/JP6541353B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Discrimination (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Description

開示の技術は、情報処理システム、情報処理方法およびプログラムに関する。   The disclosed technology relates to an information processing system, an information processing method, and a program.

銀行または病院等において伝票またはカルテ等の帳票を用いた情報伝達が行われている。この帳票へ情報を記入する際には、作業負荷の軽減のため連続して出現する情報を「〃」などの情報の繰返しを示す反復記号によって置き換える場合がある。しかし、「〃」などの記号をスキャナで読み込んだ場合、スキャン結果から帳票の内容を抽出しようとしても「〃」自体は言葉の意味を持たないため内容を抽出することはできなかった。この課題に対して、特許文献1では、反復記号を含む領域と当該領域の上部に位置する領域を同時に表示手段に表示させ、人が当該領域の上部に位置する領域を参照して反復記号が参照している情報を入力することが開示されている。   Information transmission using forms such as slips or medical records is performed in banks or hospitals. When entering information in this form, there may be a case where information appearing continuously is replaced by a repetition symbol indicating repetition of information such as “〃” in order to reduce the workload. However, when a symbol such as "〃" is read by a scanner, even if it is tried to extract the contents of the form from the scan result, the content can not be extracted because "内容" itself has no meaning of words. In order to solve this problem, in Patent Document 1, the display means simultaneously displays the area including the repetition symbol and the area located above the area, and the repetition symbol refers to the area where the person is located above the area. It is disclosed to input the information referred to.

特開平3−54672号公報Japanese Patent Laid-Open No. 3-54672

しかしながら、従来の技術では反復記号は1種類であることを前提としており、それぞれ異なる位置の情報を参照する複数の反復記号(例えば、「〃」、「↑」等)がある場合については考慮されていない。   However, in the prior art, it is assumed that there is only one type of repetition symbol, and it is considered in the case where there are a plurality of repetition symbols (for example, “↑”, “↑”, etc.) referring to information at different positions. Not.

開示の技術はこのような状況に鑑みてなされたものであり、反復記号の種別に応じて反復記号を適切な情報に置換することを目的の1つとする。   The technology disclosed herein has been made in view of such circumstances, and one object is to replace repetitive symbols with appropriate information according to the type of repetitive symbols.

なお、前記目的に限らず、後述する発明を実施するための形態に示す各構成により導かれる作用効果であって、従来の技術によっては得られない作用効果を奏することも本件の他の目的の1つとして位置付けることができる。   It is to be noted that the operation and effect are not limited to the above object but are derived from the respective configurations shown in the embodiments for carrying out the invention described later, and it is another object of the present invention to exert the operation and effect not obtained by the prior art. It can be positioned as one.

開示の情報処理システムは、画像化された文書である文書画像から、情報の繰返しを意味する記号または文字を抽出する抽出手段と、抽出された前記記号または文字の種別を判定する判定手段と、前記判定手段による判定結果に基づき、前記記号または文字が参照する情報を決定する決定手段と、前記記号または文字を、前記決定手段により決定された前記記号または文字が参照する情報に置換する置換手段とを備える。   The disclosed information processing system comprises: extraction means for extracting a symbol or character meaning repetition of information from a document image which is an imaged document; determination means for determining the type of the extracted symbol or character; Determining means for determining information to which the symbol or character refers based on the determination result by the determining means, and replacing means for replacing the symbol or character with information to which the symbol or character determined by the determining means refers And

開示の技術によれば、反復記号の種別に応じて反復記号を適切な情報に置換することが可能となる。   According to the disclosed technology, it is possible to replace repetitive symbols with appropriate information depending on the type of repetitive symbols.

(a)は第1の実施形態におけるハードウェア構成の一例を示すブロック図である。(b)は第1の実施形態におけるCPUの機能の一例を模式的に示す図である。(A) is a block diagram which shows an example of the hardware constitutions in 1st Embodiment. (B) is a figure which shows typically an example of the function of CPU in 1st Embodiment. 第1の実施形態における抽出対象の文書の例を示す図である。It is a figure which shows the example of the document of extraction object in 1st Embodiment. 第1の実施形態における表構造抽出の例を示す図である。It is a figure which shows the example of table structure extraction in 1st Embodiment. 第1の実施形態における表構造における反復記号の参照先アドレスの例を示す図である。It is a figure which shows the example of the reference destination address of the repetition symbol in the table structure in 1st Embodiment. 第1の実施形態における反復記号の参照先候補テーブルの例を示す図である。It is a figure which shows the example of the reference destination candidate table of the repetition symbol in 1st Embodiment. 第1の実施形態における薬剤処方規格テーブルの例を示す図である。It is a figure which shows the example of the drug prescription specification table in 1st Embodiment. 第1の実施形態における薬剤名正規化テーブルの例を示す図である。It is a figure which shows the example of the chemical | medical agent name normalization table in 1st Embodiment. 第1の実施形態における反復記号復元結果の例を示す図である。It is a figure which shows the example of the repetition symbol reconstruction result in 1st Embodiment. (a)〜(c)は第1の実施形態における抽出結果表示・修正の画面表示の例を示す図である。(A)-(c) is a figure which shows the example of the screen display of extraction result display * correction in 1st Embodiment. 第1の実施形態における抽出処理結果出力書式の例を示す図である。It is a figure which shows the example of the extraction process result output format in 1st Embodiment. 第1の実施形態における処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in 1st Embodiment. 第1の実施形態における反復記号復元処理の一例を示すフローチャートである。It is a flowchart which shows an example of the repetition symbol reconstruction process in 1st Embodiment.

以下、本発明を適用した好適な実施形態を、添付図面を参照しながら詳細に説明する。ただし、この実施形態に記載されている構成要素はあくまで例示であり、本発明の技術の範囲は、特許請求の範囲によって確定されるものであって、以下の個別の実施形態によって限定されるわけではない。   Hereinafter, preferred embodiments to which the present invention is applied will be described in detail with reference to the attached drawings. However, the components described in this embodiment are merely examples, and the scope of the technology of the present invention is determined by the scope of the claims, and is limited by the following individual embodiments. is not.

(第1の実施形態)
図1(a)は、本実施形態を適用する情報処理システムの構成の一例を示す図である。
First Embodiment
FIG. 1A is a diagram showing an example of the configuration of an information processing system to which the present embodiment is applied.

図1に示す情報処理システムはCPU101、ROM102、RAM103、文書入力部104、表示部105および通信部106を備える。   The information processing system illustrated in FIG. 1 includes a CPU 101, a ROM 102, a RAM 103, a document input unit 104, a display unit 105, and a communication unit 106.

CPU101は、ROM102に格納されている制御プログラムを実行することにより、システムの制御を行う。すなわち、CPU101が制御プログラムを実行することにより、情報処理システムは後述するフローチャートに示す各処理を実行するための各種手段として機能する。CPU101が制御プログラム実行することにより実現される機能については図1(b)を参照して後述する。   The CPU 101 controls the system by executing a control program stored in the ROM 102. That is, when the CPU 101 executes the control program, the information processing system functions as various means for executing each process shown in the flowchart to be described later. The functions realized by execution of the control program by the CPU 101 will be described later with reference to FIG.

ROM102は、CPU101が実行する制御プログラム等を格納する。   The ROM 102 stores control programs and the like executed by the CPU 101.

RAM103は、各構成要素からの各種データを一時記憶する。また、CPU101はROM102から読み出した制御プログラムをRAM103に展開して実行する。   The RAM 103 temporarily stores various data from each component. Further, the CPU 101 loads the control program read from the ROM 102 on the RAM 103 and executes the program.

文書入力部104は、光学装置および撮像素子等によって構成され、CPU101からの指示に応じて、被写体の撮像を行う。例えば、文書入力部104は帳票等の文書を撮像することで文書が画像化された文書画像を取得する。例えば、文書入力部104はスキャナにより構成される。なお、文書入力部104は情報処理システム外に備えられたスキャナにより得られた文書画像を有線または無線を介して取得するように構成されてもよい。   The document input unit 104 includes an optical device, an imaging device, and the like, and captures an image of an object in accordance with an instruction from the CPU 101. For example, the document input unit 104 captures a document such as a form to obtain a document image obtained by imaging the document. For example, the document input unit 104 is configured by a scanner. The document input unit 104 may be configured to acquire a document image obtained by a scanner provided outside the information processing system via a wired or wireless connection.

表示部105は、液晶パネル等で構成され、文書入力部104で取得された文書画像および、CPU101で処理された結果等の種々の情報を表示する。   The display unit 105 is configured of a liquid crystal panel or the like, and displays a document image acquired by the document input unit 104 and various information such as a result processed by the CPU 101.

通信部106はネットワークインターフェース(NIC)であり、ネットワーク上の他の装置とLANケーブル等を介した通信を可能とするインターフェースである。   The communication unit 106 is a network interface (NIC), and is an interface that enables communication with other devices on the network via a LAN cable or the like.

バス107は情報処理システムが備える各部同士がデジタル信号を相互に伝達するために用いられるバスである。   A bus 107 is a bus used to mutually transmit digital signals between units included in the information processing system.

図1(b)は本実施形態におけるCPUの機能の一例を示す図である。CPU101はRAM103に記憶された制御プログラムを実行することで図1(b)に示すように、抽出手段11、判定手段12、決定手段13、置換手段14および表示制御手段15として機能する。なお、情報処理システムが備えるCPU101およびRAM103はそれぞれ1つであってもよいし複数であってもよい。すなわち、少なくとも1以上の処理装置(CPU)と少なくとも1つの記憶装置(RAM)とが接続されており、少なくとも1以上の処理装置が少なくとも1以上の記憶装置に記憶されたプログラムを実行した場合にCPU101は上記の各手段として機能する。なお、図1(b)に示す各手段は、CPU101を用いてソフトウェアで実現することとしているが、その処理の一部又は全部を電子回路などのハードウェアで実現するようにしても良い。   FIG. 1B is a diagram showing an example of the function of the CPU in the present embodiment. The CPU 101 executes a control program stored in the RAM 103 to function as an extraction unit 11, a determination unit 12, a determination unit 13, a substitution unit 14, and a display control unit 15, as shown in FIG. 1B. The CPU 101 and the RAM 103 included in the information processing system may be one or more. That is, when at least one or more processing units (CPU) and at least one storage unit (RAM) are connected, and at least one or more processing units execute a program stored in at least one or more storage units. The CPU 101 functions as each means described above. Although each means shown in FIG. 1B is realized by software using the CPU 101, part or all of the processing may be realized by hardware such as an electronic circuit.

抽出手段11は、文書入力部104によって取得された文書画像から反復記号(繰返し記号)を抽出する。ここで反復記号とは情報の繰返しを意味する記号または文字を含むものであり、同じ単語等の情報が繰返し現れる際に、同様の単語を繰返し記述することを避けるために用いられるものである。反復記号には文字が含まれるが、本明細書においては簡単のため反復記号・文字とは記載せずに単に反復記号と記載している。反復記号は同様の単語を繰返し記述することを避けるために用いられるものであるため、反復記号は所定の単語等の情報を参照するものである。この抽出手段11は、画像化された文書である文書画像から、情報の繰返しを意味する記号または文字を抽出する抽出手段の一例に相当する。反復記号とはノノ点、踊り字、その他の記号または文字(単語)を含むものである。   The extraction unit 11 extracts the repetition symbol (repetition symbol) from the document image acquired by the document input unit 104. Here, the repetition symbol includes a symbol or a character that means repetition of information, and is used to avoid repeated description of similar words when information such as the same word repeatedly appears. Repetitive symbols include characters, but in the present specification, for simplicity, they are simply described as repetitive symbols without describing repetitive symbols and characters. The repetition symbol refers to information such as a predetermined word, since the repetition symbol is used to avoid describing the same word repeatedly. The extraction means 11 corresponds to an example of an extraction means for extracting a symbol or a character meaning repetition of information from a document image which is an imaged document. The repetition symbol includes nono-dots, characters, and other symbols or characters (words).

判定手段12は、反復記号の種別を判定する。すなわち、判定手段12は、抽出された記号または文字の種別を判定する判定手段の一例に相当する。   The determination means 12 determines the type of repetition symbol. That is, the determination means 12 corresponds to an example of the determination means for determining the type of the extracted symbol or character.

決定手段13は、判定手段12の判定結果に基づいて文書において反復記号が参照する情報を決定する。すなわち、決定手段13は、判定手段による判定結果に基づき、記号または文字が参照する情報を決定する決定手段の一例に相当する。より具体的には判定手段は、反復記号の種別と反復記号が参照する情報の位置とを対応付けたテーブルおよび判定手段12の判定結果に基づいて反復記号が参照する情報を決定する。   The determination means 13 determines the information to which the repetition symbol refers in the document based on the determination result of the determination means 12. That is, the determination means 13 corresponds to an example of the determination means for determining the information to which the symbol or the character refers based on the determination result by the determination means. More specifically, the determination means determines the information to which the repetition symbol refers based on the table in which the type of repetition symbol is associated with the position of the information to which the repetition symbol refers and the determination result of the determination means 12.

置換手段14は、反復記号を決定手段により決定された情報に置換する。すなわち、置換手段14は、記号または文字を、決定手段により決定された記号または文字が参照する情報に置換する置換手段の一例に相当する。ここで置換手段14は反復記号を決定手段13により決定された情報で置換するが、置換した情報と参照先の情報との対応関係は維持することとしてもよい。   The substitution means 14 substitutes the repetition symbol with the information determined by the determination means. That is, the substitution means 14 corresponds to an example of substitution means for replacing a symbol or a character with information to which the symbol or the character determined by the determination means refers. Here, the substitution means 14 substitutes the repetition symbol with the information determined by the determination means 13, but the correspondence between the substituted information and the information of the reference destination may be maintained.

表示制御手段15は、各種の情報を表示部105に表示させる。例えば、表示制御手段15は置換手段14により置換された情報を表示部105に表示させる。すなわち、表示制御手段15は、置換手段により置換された記号または文字が参照する情報を表示手段に表示させる表示制御手段の一例に相当する。なお、表示制御手段15は、決定手段13により決定された反復記号が参照する情報を表示部105に表示させる場合、反復記号は表示部105に表示させないこととしてもよい。また、表示制御手段15は、決定手段13により決定された反復記号が参照する情報を反復記号とともに表示部105に表示させることとしてもよい。この場合、操作者はどの反復記号がどのような情報に置換されかを一目で理解することが可能となる。   The display control unit 15 causes the display unit 105 to display various types of information. For example, the display control unit 15 causes the display unit 105 to display the information replaced by the replacement unit 14. That is, the display control means 15 corresponds to an example of the display control means for causing the display means to display information to which the symbol or the character replaced by the replacement means refers. When the display control unit 15 causes the display unit 105 to display the information to which the repetition symbol determined by the determination unit 13 refers, the display control unit 15 may not display the repetition symbol on the display unit 105. Further, the display control means 15 may cause the display unit 105 to display the information to which the repetition symbol determined by the determination means 13 refers, together with the repetition symbol. In this case, the operator can understand at a glance which repetitive symbols are replaced with what information.

次に文書入力部104により取得される文書画像の一例を図2を用いて説明する。図2は第1実施形態における文書情報抽出処理の対象となる文書画像の一例であり、病院への入院時に患者が持参した薬剤リストを記載したものである。文書201は202乃至208の文書情報から構成される。202は文書201のタイトルを表し、203は文書201の作成日を表し、204は文書201に記載される対象患者の名前を表す文字列である。205乃至208は持参薬剤を表形式にまとめたものであり、205は持参薬剤に関する注意事項、206は薬剤名、207は薬剤の剤形を表す文字列である。剤形207としては、「錠剤」、「錠」、「タブレット」、「細粒」など薬剤の外形特徴を表す用語が出現する。208は薬剤の処方容量を表す文字列である。表形式にまとめられた205乃至208には図2に見られるように、「〃」や「↑」などの記号も出現することがある。ここで、「〃」や「↑」は反復記号の一例である。   Next, an example of a document image acquired by the document input unit 104 will be described with reference to FIG. FIG. 2 is an example of a document image to be subjected to document information extraction processing in the first embodiment, and describes a medicine list brought by a patient at the time of admission to a hospital. A document 201 is composed of document information 202 to 208. Reference numeral 202 denotes a title of the document 201, reference numeral 203 denotes a creation date of the document 201, and reference numeral 204 denotes a character string indicating the name of a subject patient described in the document 201. Reference numerals 205 to 208 summarize the brought-in drug in a tabular form, 205 is a note on the brought-in drug, 206 is a drug name, and 207 is a character string representing the drug dosage form. As the dosage form 207, terms representing external features of medicine such as "tablet", "tablet", "tablet", and "fine particle" appear. Reference numeral 208 is a character string representing a prescribed volume of medicine. As shown in FIG. 2, symbols such as “↑” and “出現” may also appear in the tabulated 205 to 208. Here, “〃” and “↑” are examples of repetition symbols.

図3は実施形態において、抽出手段11が、図2に示した文書画像の205乃至208に示される表形式の入力データから表構造として情報を抽出した結果の例である。同種の表構造抽出の処理は例えば特開2006−99480に開示される方法を用いて実現できる。   FIG. 3 shows an example of the result of extracting information as a table structure from the tabular input data shown in 205 to 208 of the document image shown in FIG. 2 in the embodiment. The processing of the same type of table structure extraction can be realized, for example, using the method disclosed in Japanese Patent Application Laid-Open No. 2006-99480.

図3に示す情報は2次元配列データとして構成され、抽出手段11により作成されRAM103に保存される。301が示すT(e(m、n))は表構造Tの要素データeを一般化したもので、m行n列の要素データをe(m、n)と表記することとする。例えば、e(2、1)の表す要素データは「抗凝固剤」である。302の示す1列目のデータはe(1、1)が示す「注意」に関するデータである。303の示す2列目のデータはe(1、2)が示す「薬剤名」に関するデータである。304の示す3列目のデータはe(1、3)が示す「剤形」に関するデータである。305の示す4列目のデータはe(1、4)が示す「規格」に関するデータである。e(3、3)、e(4、2)、e(4、3)には要素データとして「〃」が格納され、e(6、2)には要素データとして「↑」が格納されている。また、e(3、1)、e(4、1)、e(5、1)、e(6、1)、e(6、3)には抽出された文字列がなく要素データなしの空白となっている。   The information shown in FIG. 3 is configured as two-dimensional array data, generated by the extraction unit 11 and stored in the RAM 103. T (e (m, n)) indicated by 301 is a generalization of element data e of the table structure T, and element data of m rows and n columns is denoted as e (m, n). For example, element data represented by e (2, 1) is "anticoagulant". Data in the first column indicated by 302 is data relating to "attention" indicated by e (1, 1). Data in the second column indicated by 303 is data relating to the “drug name” indicated by e (1, 2). The data in the third column indicated by 304 is data on the “dosage form” indicated by e (1, 3). The data in the fourth column indicated by 305 is data relating to the “standard” indicated by e (1, 4). e (3, 3), e (4, 2), e (4, 3) stores “〃” as element data, and e (6, 2) stores “↑” as element data. There is. In addition, e (3, 1), e (4, 1), e (5, 1), e (6, 1), e (6, 3) have no extracted character string and no element data is blank. It has become.

図4は第1の実施形態において、図3に示した表構造における各要素データCPと他の要素データとの相対的な位置関係を示したアドレス情報である。例えば、CPが要素データe(m、n)である場合、アドレスR2の示す要素データはe(m−1、n)であり、アドレスR4の示す要素データはe(m、n−1)となる。   FIG. 4 is address information showing the relative positional relationship between each element data CP and other element data in the table structure shown in FIG. 3 in the first embodiment. For example, when CP is element data e (m, n), the element data indicated by the address R2 is e (m-1, n), and the element data indicated by the address R4 is e (m, n-1). Become.

図5は第1の実施形態における反復記号の参照先の候補を示すテーブルの一例である。当該テーブルはROM102またはRAM103に記憶されている。ここで、図5に示す501は同一意味・内容の繰返し表記を避ける目的で、隣接要素データと同一であることを表現する単一の文字あるいは文字列(総称して反復記号と称する場合がある)を格納する。   FIG. 5 is an example of a table showing candidates for reference destinations of repetition symbols in the first embodiment. The table is stored in the ROM 102 or the RAM 103. Here, 501 shown in FIG. 5 may be a single character or character string (generally referred to as a repetition symbol) that expresses being identical to adjacent element data in order to avoid repeated notation of the same meaning and content. Store).

502および503は501に示す反復記号がいずれの要素データを参照して同一であると言及しているかを示す参照先アドレス情報(参照先位置情報)である。参照先アドレス情報はひとつの反復文字について最大2個設定することができ、参照先アドレス502が参照先アドレス503に対して優先度を有する。例えば、反復文字「〃」に対して、参照先R2が参照先R4より優先して適用される。参照先2がない場合は、「−」が格納される。なお、本実施形態においては参照先アドレス情報はひとつの反復文字について最大2個としたが、本発明はこれに限定されるものではなく、ひとつの反復文字について3以上の参照先アドレス情報を対応付けることとしてもよい。   Reference numerals 502 and 503 denote reference destination address information (reference destination position information) indicating which element data indicates that the repetition symbol 501 indicates the same. Up to two pieces of reference address information can be set for one repetition character, and the reference address 502 has a priority relative to the reference address 503. For example, the reference destination R2 is applied prior to the reference destination R4 to the repetitive character “〃”. If there is no reference destination 2, "-" is stored. In the present embodiment, the reference destination address information is at most two per repetitive character, but the present invention is not limited to this, and three or more pieces of reference address information are associated with one repetitive character. You may do it.

図6は第1の実施形態における薬剤処方規格テーブルの一例を示す。薬剤処方規格テーブルは、認可薬剤として市販される折に、製薬会社より添付文書として発行される文書に記載される薬剤情報を記憶したデータベースである。当該データベースはROM102またはRAM103に記憶されている。なお、図6に示す薬剤処方規格テーブルは薬剤の処方基準の一例に相当する。   FIG. 6 shows an example of a drug prescription standard table in the first embodiment. The drug prescription standard table is a database storing drug information described in a document issued as an attached document by a pharmaceutical company at the time of being marketed as a licensed drug. The database is stored in the ROM 102 or the RAM 103. The drug prescription standard table shown in FIG. 6 corresponds to an example of a drug prescription standard.

薬剤名は一般薬品名、成分名、製薬会社の商品名など複数の表記法がとられることがあるが、601は図7に後述する薬剤名正規化表記を格納する。602は薬剤使用区分を示し、「内用薬」であるか「外用薬」であるかを格納する。603は薬剤の外見上の形状特徴を分類した区分である「錠剤」、「顆粒」、「細粒」、「貼付」、「注射」、「点眼」などを剤形に関する情報を格納する。604および605は合わせて薬剤の規格容量を表し、605が規格容量の単位を604が規格容量の値を格納する。606および607は薬剤の使用規格容量を表し、607は規格剤形の単位を606が使用容量の値を格納する。   Although the drug name may take a plurality of notations such as a general drug name, an ingredient name, and a trade name of a pharmaceutical company, 601 stores a drug name normalization notation described later in FIG. Reference numeral 602 denotes a medicine usage category, which stores "internal medicine" or "external medicine". 603 stores information on dosage forms, such as "tablet", "granule", "fine particle", "sticking", "injection", "eye drop", etc., which are classifications of appearance shape features of medicines. 604 and 605 together represent the standard volume of the drug, and 605 stores the standard volume unit 604 and the standard volume value. 606 and 607 represent the usage standard volume of the drug, and 607 stores the standard dosage unit 606 and the value of the usage volume.

図7は第1の実施形態における薬剤名正規化テーブルを示す。前述の通り、薬剤名に言及したドキュメントでは、薬剤の呼称として製薬会社の商標商品名が使われることも一般的である。そのため同一の薬剤であっても異なる称呼となる場合があるため、図7に示すテーブルを用いて称呼を統一(正規化)する。当該テーブルはROM102またはRAM103に記憶されている。   FIG. 7 shows a drug name normalization table in the first embodiment. As mentioned above, in a document referring to a drug name, it is also common to use a trade name of a pharmaceutical company as a drug designation. Therefore, even the same medicine may have different names, so the names shown in FIG. 7 are used to unify (normalize) the names. The table is stored in the ROM 102 or the RAM 103.

701は同一の薬剤を意味する薬品成分名や一般商品名、商標商品名など複数の薬剤名異表記を格納する。701の例示に用いた「アレファリン」、「オルメテック」、「ダイアート」、「ネルボン」、「ベンザリン」、「ユーロジン」、「ワーリン」は商標である。異表記データはISO/IEC10646文字集合規格(ユニコード)をUTF−8でコード化し、コードの昇順に配置される。   A field 701 stores a plurality of drug name variants, such as a drug component name, a general trade name, and a trade name, meaning the same drug. “Alephalin”, “Ormetech”, “Daiart”, “Nerbon”, “Benzarine”, “Eurodin”, “Warrin” used for the example of 701 are trademarks. The variant data is encoded in UTF-8 according to the ISO / IEC 10646 Character Set Standard (Unicode), and arranged in ascending order of code.

702は701に格納した薬剤名を単一の表記として正規化する薬剤名正規化表記を格納する。例えば薬剤名「アゾセミド」は表記「ダイアート」として正規化されるため、図6に示した薬剤処方規格テーブルの601において参照可能となる。なお、正規化表記は同一の薬剤を意味する異表記群の任意のひとつを選択して格納することが可能である。   702 stores a drug name normalization notation that normalizes drug names stored in 701 as a single notation. For example, since the drug name "azosemide" is normalized as the notation "Dieart", it can be referred to in 601 of the drug prescription standard table shown in FIG. In addition, it is possible to select and store the normalization notation by selecting any one of the different notation groups which mean the same medicine.

図8は第1の実施形態における反復記号の復元処理の結果の例を示す。図2に示す文書画像から抽出した図3の表構造抽出結果に反復記号が含まれている場合、判定手段11、決定手段13により反復記号が文書画像におけるいずれの文字列を繰り返しているかを判定する。そして、置換手段14は反復記号を参照先の繰返し文字列に置換して図3の表構造抽出結果を更新する。   FIG. 8 shows an example of the result of the recovery process of the repetition symbol in the first embodiment. When the table structure extraction result of FIG. 3 extracted from the document image shown in FIG. 2 includes the repetition symbol, the determination unit 11 and the determination unit 13 determine which character string in the document image the repetition symbol repeats. Do. Then, the substitution means 14 replaces the repetition symbol with the repetition character string of the reference destination and updates the table structure extraction result of FIG.

801が示す要素データe(3、2)の末尾に「!(4、2)」が、802が示す要素データe(4、2)の末尾に記号「!(3、2)」が置換手段14によって付与されている。記号「!」は当該要素データが図2の入力文書に対して抽出された要素データの内容に誤りを含む可能性があることを識別可能とするものである。さらに、「!」に後続する(m、n)は反復記号の参照先として判定された情報を記憶する。図8における例では反復記号が存在したe(4、2)だけではなく、当該反復記号が参照するe(3、2)にも参照先を示す情報が表示されている。すなわち、反復記号と反復記号の参照先との相互関係がわかるようになっている。なお、e(3、2)においては(4、2)という反復記号の位置を示す情報を表示しないこととしてもよいし、(4、2)は反復記号の場所を示すものであることを明確にするために(3、2)とは異なる表示形態で表示することとしてもよい。   At the end of element data e (3, 2) indicated by 801, "! (4, 2)" is substituted means. At the end of element data e (4, 2) indicated by 802, the symbol "! (3, 2)" is substituted means It is granted by. The symbol “!” Makes it possible to identify that the element data may contain an error in the content of the element data extracted with respect to the input document of FIG. Furthermore, (m, n) following “!” Stores the information determined as the reference destination of the repetition symbol. In the example in FIG. 8, not only e (4, 2) in which the repetition symbol is present, but also information e (3, 2) to which the repetition symbol refers is displayed information indicating the reference destination. That is, the correlation between the repetition symbol and the reference destination of the repetition symbol can be known. In e (3, 2), information indicating the position of the repetition symbol (4, 2) may not be displayed, and it is clarified that (4, 2) indicates the position of the repetition symbol. In order to reduce the display size, the display mode may be different from (3, 2).

また、803が示す要素データe(6、3)の末尾に置換手段14によって記号列「!!(5、3)」が付与されている。記号列「!!」は図3の表構造抽出結果に明示的に反復記号がなく空白となっていた要素データを要素データの繰返しと判定されたことを識別可能としている。さらに、「!!」に後続する(m、n)は反復表現の参照先として判定された情報を記憶する。図11乃至図12の処理フローチャートにおいて後述する通り、図6に示す薬剤処方規格と図8に示した情報処理システムによる認識結果が一致しない場合、記号「!」を末尾に付加する。すなわち、置換手段14は情報処理システムによる認識結果と図6に示す薬剤処方規格とを比較する。そして置換手段14は、比較の結果、情報処理システムによる認識結果が図6に示す薬剤名、剤系等に一致しない場合に記号「!」を一致しなかった要素データの末尾に付加する。さらに、明示的に反復記号がなく空白となっていた要素データを要素データの繰返しと判定された場合に末尾記号列「!!」が付与される。なお、要素データに付加される記号はエクスクラメーションマーク以外の記号または文字であってもよい。   Further, a symbol string “!! (5, 3)” is given by the substitution unit 14 at the end of the element data e (6, 3) indicated by 803. The symbol string “!!” makes it possible to identify that element data that has been blank without a repetition symbol explicitly in the table structure extraction result of FIG. 3 is determined to be element data repetition. Furthermore, (m, n) following “!!” stores the information determined as the reference destination of the repetitive expression. As will be described later in the process flowcharts of FIGS. 11 to 12, when the drug prescription standard shown in FIG. 6 and the recognition result by the information processing system shown in FIG. 8 do not match, the symbol “!” Is added to the end. That is, the substitution means 14 compares the recognition result by the information processing system with the drug prescription standard shown in FIG. Then, the substitution means 14 adds the symbol “!” To the end of the unmatched element data when the recognition result by the information processing system does not match the drug name, the drug system, etc. shown in FIG. 6 as a result of comparison. Furthermore, the end symbol string “!!” is added when it is determined that element data that is blank without a repetition symbol explicitly is determined to be a repetition of the element data. The symbol added to the element data may be a symbol or a character other than the exclamation mark.

図9は第1の実施形態における文書情報の抽出結果の表示および抽出結果のユーザによる修正編集のための操作画面の一例を示す図である。   FIG. 9 is a view showing an example of an operation screen for display of extraction results of document information in the first embodiment and correction editing by the user of the extraction results.

図8に示す反復記号の復元処理の結果が得られると、表示制御手段15は表示部105に図9(a)の表示画面を表示させる。すなわち、表示制御手段15は図9(a)の表示画面をユーザに提示する。図9(a)において901および902は図8の801および802にそれぞれ対応した表示例となっている。図2の入力文書画像と比較するとわかる通り、本来、901は「ダイアート」と抽出表示されなければならないが、「ヌイアート」と表示されている。これは文書画像からの抽出処理における文字認識処理での誤認識発生がひとつの原因となりえる。   When the result of the restoration process of the repetition symbol shown in FIG. 8 is obtained, the display control means 15 causes the display unit 105 to display the display screen of FIG. 9 (a). That is, the display control means 15 presents the display screen of FIG. 9A to the user. In FIG. 9A, 901 and 902 are display examples corresponding to 801 and 802 in FIG. 8, respectively. As can be seen from the comparison with the input document image of FIG. 2, although 901 must be extracted and displayed as "Dieart", it is displayed as "Nuiart". This may be caused by erroneous recognition in the character recognition process in the extraction process from the document image.

この状況は図8の抽出結果における当該要素データの末尾に記号「!」が付加されているか否かで識別できる。すなわち、表示制御部15は、末尾に記号「!」が付加されている場合、当該要素データを表示部105に表示させるとともに、903に示す通り、ユーザに内容確認・修正喚起する警告メッセージを表示させる。   This situation can be identified by whether the symbol "!" Is added to the end of the element data in the extraction result of FIG. That is, when the symbol “!” Is added to the end, the display control unit 15 causes the display unit 105 to display the element data and, as indicated by 903, displays a warning message for content confirmation / correction awakening to the user. Let

903においては、警告メッセージをバルーンで表示している例を示しているが、表示データの表示色変更、点滅など内容確認喚起のための趣旨を逸脱しない他の方法であってもよい。   In 903, an example in which a warning message is displayed by a balloon is shown, but other methods may be used such as changing the display color of display data, blinking, etc. without departing from the scope for calling for content confirmation.

また、904は図8の抽出結果における当該要素データの末尾に記号列「!!」が付加されていた場合に表示される警告メッセージである。904は、入力文書において明示的な反復を意味する情報がないにも関らず、状況を判定して要素データを反復復元の処理対象として抽出した結果に対する内容確認を促すメッセージである。表示制御部15は、当該要素データの末尾に記号「!!」が付与されているか否かに基づいて904に示すメッセージを表示するか否かを判断することができる。   A warning message 904 is displayed when the symbol string "!!" is added to the end of the element data in the extraction result of FIG. A message 904 prompts the user to confirm the content of the result of determining the situation and extracting the element data as the processing object of the iterative restoration even though there is no information indicating an explicit repetition in the input document. The display control unit 15 can determine whether to display the message shown in 904 based on whether or not the symbol “!!” is added to the end of the element data.

図9(b)はユーザが不図示の編集手段によって、抽出結果「ヌイアート」を「ダイアート」に変更した表示例を示している。ここで、編集手段は、マウスやカーソル移動、画面タッチなどのポインティング操作により編集対象を指定し、キーボードや音声発話によりデータ書き換えを行うなどの公知の手段により構成される。なお、905の白抜き反転表示された文字が修正編集された文字である。   FIG. 9B shows a display example in which the user changes the extraction result "Nuiart" to "Daiart" by editing means (not shown). Here, the editing means is configured by a known means such as designating a target to be edited by pointing operation such as mouse or cursor movement, screen touch, etc., and performing data rewriting by a keyboard or voice utterance. Note that the characters highlighted in reverse white at 905 are corrected and edited characters.

図9(c)において、図9(b)の編集終了後、確定の意志をシステムに伝達する不図示の確定ボタン押下により、図8の抽出結果における要素データe(3、2)が905の修正編集結果に置き換わる。それと略同時に、置換手段14は、905を参照する反復文字906の要素データも905と同じデータに置き換え、表示907、908となる。   In FIG. 9C, after completion of editing in FIG. 9B, the element data e (3, 2) in the extraction result in FIG. Replaced with the correction result. Substantially at the same time, the substitution means 14 also replaces the element data of the repetition character 906 which refers to 905 with the same data as 905, and becomes the displays 907, 908.

以上の説明で参照先905を編集した際に参照元906に同じ編集結果が適用されることとしたが、本発明はこれに限定されるものではない。例えば、順番を逆にして、参照元906を編集した場合も同様に参照先905の要素データの更新、表示が行われることとしてもよい。   Although the same editing result is applied to the reference source 906 when the reference destination 905 is edited in the above description, the present invention is not limited to this. For example, when the reference source 906 is edited in the reverse order, the element data of the reference destination 905 may be similarly updated and displayed.

図10は第1の実施形態における文書情報抽出結果の出力書式の例を示す。表示制御手段15は、図8に示す抽出結果の2次元配列データを構造化言語による記述書式でフォーマットとして出力する。図10における例では、構造化言語XML(eXtensible Markup Language)により抽出データの要素を定義している。<prescription>要素は薬剤処方情報を記述するコンテナ要素である。<prescription>要素は図2で入力される文書と対をなす形でただ一つ存在し、複数の<medicine>要素を持つ。<medicine>要素は抽出された薬剤情報の組を記述する要素であり、図8抽出結果の表の1行のデータに相当する。id属性により、<medicine>要素を特定可能となっており、図10に図示しないが、反復文字の参照元・参照先の関係をこの属性記述により実施することもできる。<name>属性は抽出された薬剤名であり、<type>は薬剤の剤形を記述する要素である。<dosage>要素は処方容量を記述する要素であり、数量を記述する<quantitiy>要素と数量単位を記述する<unit>から構成される。<notice>要素は注意書きを記述する要素であり、注意書きが存在しない場合省略可能である。   FIG. 10 shows an example of the output format of the document information extraction result in the first embodiment. The display control means 15 outputs the two-dimensional array data of the extraction result shown in FIG. 8 as a format in a description format in a structured language. In the example in FIG. 10, the elements of the extraction data are defined by the structured language XML (extensible Markup Language). The <prescription> element is a container element that describes drug prescription information. There is only one <prescription> element paired with the document input in FIG. 2 and has multiple <medicine> elements. The <medicine> element is an element describing a set of extracted medicine information, and corresponds to one row of data in the table of the extraction result of FIG. The <medicine> element can be identified by the id attribute, and although not shown in FIG. 10, the relationship between the reference source and reference destination of the repetition character can also be implemented by this attribute description. The <name> attribute is the extracted drug name, and <type> is an element describing the dosage form of the drug. The <dosage> element is an element that describes a prescription volume, and is composed of a <quantitiy> element that describes a quantity and a <unit> that describes a unit of quantity. The <notice> element is an element that describes a disclaimer, and can be omitted if there is no disclaimer.

図11は第1の実施形態における処理の一例を示すフローチャートである。   FIG. 11 is a flowchart showing an example of processing in the first embodiment.

情報処理システムによる情報抽出処理が開始すると、まずステップ1101で文書入力部104により、図2に示す抽出対象の文書画像をRAM103に記録する。   When information extraction processing by the information processing system is started, first, in step 1101, the document input unit 104 records a document image to be extracted shown in FIG.

ステップ1102で、抽出手段11が文書画像を例えば特開2006−99480の手段を用いることで、図3に示した表構造の情報抽出し、RAM103に格納する。   In step 1102, the extraction unit 11 extracts the information of the table structure shown in FIG. 3 by using the unit of Japanese Patent Laid-Open No. 2006-99480, for example, and stores the document image in the RAM 103.

ステップ1103で、抽出手段11は、抽出された表構造中に出現する反復記号(反復表現)を検出する。さらに、判定手段12、決定手段13および置換手段14によって、反復記号の参照先を判定して、反復記号を参照先の情報に復元する。すなわち、置換手段14は、反復記号を反復記号の参照先の情報で置換する。なお、本処理の詳細は図12にて後述する。   At step 1103, the extraction means 11 detects the repetition symbol (repeated expression) appearing in the extracted table structure. Furthermore, the determination means 12, the determination means 13 and the substitution means 14 determine the reference destination of the repetition symbol and restore the repetition symbol to the information of the reference destination. That is, the substitution means 14 substitutes the repetition symbol with the information to which the repetition symbol refers. The details of this process will be described later with reference to FIG.

ステップ1104で、表示制御手段15は、反復記号が参照先の情報で置換された情報を表示部105に図9(a)に示すように表示する。なお、図8に示したように要素データの末尾に記号「!」が付与されている場合、当該要素を指示する警告メッセージ「誤りの可能性があります 確認して修正してください」を吹き出しに表示する。また、図8の要素データの末尾に記号列「!!」が付与されている場合、当該要素を指示する警告メッセージ「自動挿入しました確認してください」を表示する。なお、表示されるメッセージは例示であり他のメッセージであってもよい。   In step 1104, the display control means 15 displays the information in which the repetition symbol is replaced with the information of the reference destination on the display unit 105 as shown in FIG. 9A. Note that if the symbol "!" Is added to the end of element data as shown in Fig. 8, a warning message indicating the element is "Please check and correct it." indicate. Further, when the symbol string “!!” is attached to the end of the element data of FIG. 8, a warning message “automatically inserted and confirm” indicating the element is displayed. The displayed message is an example and may be another message.

ステップ1105でユーザによる表示データの修正編集操作を行う。ユーザはキーボードやマウスあるいは表示画面タッチなどのユーザインタフェースデバイスを用いて、修正編集が必要な個所をポインティングし、データの削除・挿入・変更を行う。図9(b)のように編集操作により情報を更新する。このとき、編集操作の行われた反復記号が参照するデータに対して修正が行われた場合には、図9(c)を用いて説明したように反復記号が存在した要素データも同様に修正される。   In step 1105, the user performs a correction editing operation on display data. The user uses a user interface device such as a keyboard, a mouse or a display screen touch to point to a portion requiring correction and editing, and performs data deletion / insertion / change. The information is updated by the editing operation as shown in FIG. At this time, if correction is made to the data to which the repetition symbol subjected to the editing operation refers, the element data in which the repetition symbol is present is similarly corrected as described with reference to FIG. 9C. Be done.

ステップ1106で上記のステップで更新された情報を表示制御部15は、図10の出力形式に変換して表示部105に表示させる。あるいは、表示制御部15は不図示の外部記憶装置に記録する。また、表示制御部15は、通信部106を介して不図示の他のシステムへ送信することとしてもよい。   The display control unit 15 converts the information updated in the above step in step 1106 into the output format of FIG. 10 and causes the display unit 105 to display the information. Alternatively, the display control unit 15 records in an external storage device (not shown). Further, the display control unit 15 may transmit to another system (not shown) via the communication unit 106.

図12第1の実施形態における図11の1103を詳細を示すフローチャートである。   12 is a flowchart showing in detail 1103 of FIG. 11 in the first embodiment.

ステップ1201で図11のステップ1102で抽出された図3に示す表構造の情報を抽出手段11は取得する。   The extraction means 11 acquires the information of the table structure shown in FIG. 3 extracted in step 1102 of FIG. 11 in step 1201.

ステップ1202で図3の表構造の情報に対し、抽出手段11は行方向に要素データを走査するための初期値(m=1)をセットする。   At step 1202, the extraction means 11 sets an initial value (m = 1) for scanning element data in the row direction with respect to the information of the table structure of FIG.

ステップ1203で図3の表構造の情報に対し、抽出手段11は列方向に要素データを走査するための初期値(n=1)をセットする。   In step 1203, the extraction unit 11 sets an initial value (n = 1) for scanning element data in the column direction with respect to the information of the table structure of FIG. 3.

ステップ1204で、抽出手段11は表構造に含まれる要素データを取得する。初期値では要素データe(1、1)が取得される。   At step 1204, the extraction means 11 acquires element data included in the table structure. Element data e (1, 1) is acquired as an initial value.

ステップ1205で、抽出手段11は、取得された要素データが空白(要素なし)であるかどうか判定する。空白であればステップ1206へ、空白でなければステップ1207の処理へ進む。   At step 1205, the extraction means 11 determines whether the acquired element data is blank (no element). If it is blank, the process proceeds to step 1206. If it is not blank, the process proceeds to step 1207.

ステップ1206で要素データが空白であった場合、抽出手段11はこの空白を反復記号と解釈するか否かを判定する。この判定は、当該要素データの属する列データの1行目に記載されるデータ属性により判定する。すなわち、e(1、n)の要素データを取得し、取得された要素データを列の属性として、図6の薬剤処方規格テーブルの項目属性名601乃至607と照合する。抽出手段11は、e(1、n)の要素データが薬剤処方規格テーブルの項目属性名と一致するならば、反復記号が省略されている可能性有と判定する。そして、抽出手段11は、既定の反復記号を空白の要素データに新たな要素データとしてセットする。本実施形態においては既定の反復記号は「〃」とするが、条件に応じて既定値を変えてもよい。本実施形態においては図3に示した「剤形」が図6に示した薬剤処方規格テーブルの項目603と一致することから反復記号が省略された可能性があると判断し、空白のデータを「〃」で補完する。   If the element data is blank at step 1206, the extraction means 11 determines whether this blank is to be interpreted as a repetition symbol. This determination is made based on the data attribute described in the first row of the column data to which the element data belongs. That is, element data of e (1, n) is acquired, and the acquired element data is collated with the item attribute names 601 to 607 of the medicine prescription standard table of FIG. 6 as the column attribute. If the element data of e (1, n) matches the item attribute name of the drug prescription standard table, the extraction means 11 determines that the repetition symbol may be omitted. Then, the extraction means 11 sets a predetermined repetition symbol as blank element data as new element data. Although the predetermined repetition symbol is “記号” in this embodiment, the predetermined value may be changed according to the conditions. In this embodiment, it is judged that the “dosage form” shown in FIG. 3 matches the item 603 of the drug prescription standard table shown in FIG. Complement with "〃".

なお、601乃至607のいずれの項目属性名とも一致しない場合は、抽出手段11は反復記号の省略可能性は無しと判定する。例えば、要素データe(6、1)の空白はe(1、1)が「注意」であり、「注意」を項目属性名と一致しないため、e(6、1)は反復記号の省略可能は無しと判定される。一方、e(6、3)の空白はe(1、3)が「剤形」であり、薬剤処方規格テーブルの項目属性名603と一致するため、反復記号の省略可能性は有と判定され、e(6、3)の要素データとして「〃」がセットされる。ここで、ステップ1223ではステップ1206に置いて補完できたか否かを判定し、補完できた場合にはステップS1208へ進む。一方、補完できなかった場合はステップS1216へ進む。   If none of the item attribute names 601 to 607 matches, the extraction unit 11 determines that the omission possibility of the repetition symbol is none. For example, e (6,1) can omit the repetition symbol because the element data e (6,1) has a space where e (1,1) is "attention" and "attention" does not match the item attribute name. Is determined to be none. On the other hand, since e (1, 3) is a "dosage form" and the blank of e (6, 3) matches the item attribute name 603 of the drug prescription standard table, the omission possibility of the repetition symbol is determined to be present. , "E" is set as element data of e (6, 3). Here, in step 1223, it is determined in step 1206 whether or not complementation has been performed. If complementation has been performed, the process proceeds to step S1208. On the other hand, if the interpolation can not be performed, the process proceeds to step S1216.

ステップ1207では、抽出手段11は要素データが反復記号であるか否かを判定する。具体的には要素データと一致する図5の反復記号・文字列501が存在するか否かをサーチすることで判定される。文字列501に一致する反復記号・文字列が処理対象の要素データに存在しなければステップ1216へ進む。文字列501に一致する反復記号・文字列が処理対象の要素データに存在すれば、ステップ1208へ進む。なお、ステップ1207において文字列501のどの反復記号に相当するかを判断することによって抽出手段11による反復記号の抽出および判定手段12による反復記号の種類の判定が行われている。   At step 1207, the extraction means 11 determines whether the element data is a repetition symbol. Specifically, it is determined by searching whether or not the repetition symbol / character string 501 of FIG. 5 matching the element data is present. If there is no repetition symbol / string matching the string 501 in the element data to be processed, the process proceeds to step 1216. If the repetition symbol / string matching the string 501 exists in the element data to be processed, the process proceeds to step 1208. It is to be noted that, in step 1207, extraction of the repetition symbol by the extraction unit 11 and determination of the type of repetition symbol by the determination unit 12 are performed by determining which repetition symbol of the character string 501 corresponds.

ステップ1208で一致した反復記号・文字列に対応する参照先1の参照先情報502を決定手段13が取得する。具体的には決定手段13がステップS1207で抽出・判定された反復記号および図5に示されたテーブルを用いて参照先1を決定する。   The determination means 13 acquires the reference destination information 502 of the reference destination 1 corresponding to the repetition symbol and character string matched in step 1208. Specifically, the determination means 13 determines the reference destination 1 using the repetition symbol extracted and determined in step S1207 and the table shown in FIG.

ステップ1209で、置換手段15は、参照先1の示す参照先の要素データを特定し、要素データを取得する。例えば、e(3、3)の反復記号「〃」の場合、反復記号「〃」の参照先1は図5から「R2」と取得され、図4から「R2」の示す参照先はe(3、3)を現在地CPとした場合、列が同じで行が−1であるe(2、3)であることがわかる。置換手段15がe(2、3)の要素データ「錠」を取得する。   At step 1209, the substitution means 15 specifies element data of the reference destination indicated by the reference destination 1 and acquires element data. For example, in the case of the repetition symbol “〃” of e (3, 3), the reference destination 1 of the repetition symbol “〃” is acquired from FIG. 5 as “R2”, and the reference destination indicated by “R2” is FIG. If 3, 3) is the current location CP, it can be seen that the columns are the same and the rows are −1 (e (2, 3)). The substitution means 15 acquires element data "lock" of e (2, 3).

ステップ1210で、置換手段15は「錠」などの参照先のオブジェクトが取得できたかどうか判定する。取得できたかどうかの判定は、何らかの要素データあるいは反復記号が取得され場合は参照先のオブジェクトが取得できたと判断する。一方、参照先が空白であった場合は参照先のオブジェクトは取得できなかったと判断する。取得できた場合はステップ1211へ進み、取得できなかった場合はステップ1213へ進む。   In step 1210, the substitution means 15 determines whether or not the reference destination object such as "lock" has been acquired. It is determined whether or not acquisition has been possible if, in the case where some element data or an iteration symbol has been acquired, the object of the reference destination has been acquired. On the other hand, if the reference destination is blank, it is determined that the reference destination object could not be acquired. If it can be acquired, the processing proceeds to step 1211. If it can not be acquired, the processing proceeds to step 1213.

置換手段15が参照先1により要素データを取得できなかった場合、ステップ1213で参照先2を取得する。1208と同様に参照先2の情報である図5の503を取得し、ステップ1209と同様に参照先の示す要素データを取得する。参照先2の値が「−」であった場合は取得不可とする。   If the substitution unit 15 can not acquire element data due to the reference destination 1, the reference destination 2 is acquired in step 1213. Similarly to 1208, the information 503 in FIG. 5 which is the information on the reference destination 2 is acquired, and the element data indicated by the reference destination is acquired as in step 1209. If the value of reference destination 2 is "-", acquisition is not possible.

ステップ1214で置換手段15は参照先2の参照先要素データが取得できたかどうかステップ1210と同様の判定方法で判定する。参照先の要素データが取得できていればステップ1211へ進み、取得できなかった場合はステップ1215へ進む。   In step 1214, the substitution unit 15 determines whether the reference destination element data of the reference destination 2 can be acquired by the same determination method as that in step 1210. If the element data of the reference destination can be acquired, the process advances to step 1211; if the element data can not be acquired, the process advances to step 1215.

ステップ1215では置換手段15は、反復記号の参照先の同定不能と断定し、要素データとして内容不定文字列の意味を示す「NIL」をセットする。   In step 1215, the substitution means 15 determines that the reference destination of the repetition symbol can not be identified, and sets "NIL" indicating the meaning of the content indefinite character string as element data.

ステップ1211で置換手段15は、反復記号の参照先から取得した要素データが反復記号であるか否かを判定する。反復記号であったなら再帰的に参照先を決定するためにステップ1208へ、反復記号でなければステップ1212へ分岐する。   In step 1211, the substitution means 15 determines whether or not the element data acquired from the reference destination of the repetition symbol is the repetition symbol. If it is an iteration symbol, the process branches to step 1208 to recursively determine the reference destination, and if not, it branches to step 1212.

ステップ1212で、置換手段15は、ステップ1204で取得した要素データをステップ1209またはステップ1213で取得された参照先の要素データで置き換える。   In step 1212, the replacement unit 15 replaces the element data acquired in step 1204 with the element data of the reference destination acquired in step 1209 or step 1213.

ステップ1216で置換手段15は、列方向のデータが残っているか否か判定し、残っていなければステップ1217へ、未処理の列データが残っていればステップ1218へ進む。   In step 1216, the substitution means 15 determines whether or not data in the column direction remains, and if not, the process proceeds to step 1217, and if unprocessed column data remains, the process proceeds to step 1218.

ステップ1218で次の列データ要素を処理するために列データを指示する添え字nをカウントアップしてステップ1204へループする。   At step 1218, the index n indicating the column data is counted up to process the next column data element, and the process loops to step 1204.

一つの行データに対する反復記号の復元処理(置換処理)が終了したならば、ステップ1217で図8に示された情報の所定の行データから抽出された薬剤処方情報の組と図6の薬剤処方規格テーブルとの内容一致性をチェックする。図8の当該m行のデータ組であるe(m、2)、e(m、3)、e(m、4)が、図6の601薬剤名、603剤形、604、605規格容量と一致するか否かを置換手段14が判定する。ただし、603の「剤形」に関する一致判定のために不図示の変換テーブルを用いることで、図8における「錠」は「錠剤」と変換し図6の「錠剤」と一致するか否か判定する。また、図8の「規格」は604、605との照合ができるよう、数値部と単位部とに分離して図6の薬剤処方規格と照合する。   When repetition of repetition processing (replacement processing) for one row data is completed, a set of drug prescription information extracted from predetermined row data of the information shown in FIG. 8 in step 1217 and the drug prescription in FIG. Check content consistency with the standard table. The data sets e (m, 2), e (m, 3) and e (m, 4) of the m rows in FIG. 8 are the 601 drug name in FIG. The substitution means 14 determines whether or not they match. However, by using a conversion table (not shown) for matching determination regarding 603 "dosage forms", it is determined whether "tablets" in FIG. 8 are converted into "tablets" and match with "tablets" in FIG. Do. Further, the “standard” in FIG. 8 is separated into a numerical part and a unit part so as to be collated with 604 and 605, and collated with the drug prescription standard in FIG.

ステップ1219で薬剤処方規格と図8に示した反復記号が置換されたデータとが一致したか否か置換手段14が判定する。一致すればステップ1220へ、一致しなければステップ1221へ進む。   In step 1219, the substitution means 14 determines whether or not the drug prescription standard and the data in which the repetition symbol shown in FIG. 8 is substituted coincide. If they match, the process proceeds to step 1220. If not, the process proceeds to step 1221.

ステップ1221で、反復記号を手順に従い参照先情報で置換した結果が薬剤処方規格と一致しなかった場合、一致しなかった要素データの末尾に置換手段は記号「!」を付与し、記号「!」の末尾に参照先情報を(m、n)の書式で格納する。   In step 1221, if the result of replacing the repetition symbol with the reference information according to the procedure does not match the drug prescription standard, the substitution means appends the symbol “!” To the end of the element data not matching, and the symbol “! At the end of ", store reference destination information in the format of (m, n).

ステップ1220で図3のすべての行データを処理したか否かを判定し、終了していれば全データの反復表現の復元処理を終了し、未処理の行データが残っていればステップ1222へ進む。   In step 1220, it is determined whether all the line data in FIG. 3 has been processed, and if it is ended, the restoration processing of the repetitive expression of all data is ended, and if there is unprocessed line data, step 1222 is performed. move on.

ステップ1222で次の行の要素データを処理するために、行データを指示する添え字mをカウントアップ、列データを指示する添え字nを1に初期化してステップ1204へループする。   In order to process the element data of the next row in step 1222, the subscript m indicating the row data is counted up, the subscript n indicating the column data is initialized to 1, and the process loops to step 1204.

以上、説明したように、「同じく記号」など記述内容の反復を意味する特定の記号、文字列が出現する文書に対しても、反復表現の内容をデータとして抽出することが可能となる。また、本実施形態によればそれぞれ参照する情報の位置が異なる複数の種類の反復記号がある場合においても正確に参照先の情報を特定して、反復記号を参照先の情報で置換することが可能となる。従って、操作者により反復記号を手作業で置換する手間を省くことが可能となる。さらには剤形および薬の量の情報を含む薬剤処方の規格を参照し警告表示を行うことで御認識を防ぐことが可能となる。   As described above, it is possible to extract the contents of the repetitive expression as data, even for a document in which a character string or a specific symbol such as “same symbol” means repetition of the descriptive content. Further, according to the present embodiment, even when there are a plurality of types of repetition symbols different in the position of the information to be referred to, it is possible to accurately specify the information of the reference destination and replace the repetition symbol with the information of the reference destination. It becomes possible. Therefore, it is possible to save the operator the trouble of manually replacing the repetition symbol. Furthermore, it is possible to prevent recognition by referring to the standard of drug prescription including information on dosage form and amount of medicine and displaying a warning.

(その他の実施形態)
上記の実施形態において、薬剤処方情報の抽出を目的とする入力文書からの情報抽出を例として使用したが、反復表現を含む文書からの情報抽出すなわち反復表現の参照先を決定するという目的を損なうことのない他の文書事例にも適用可能である。
(Other embodiments)
In the above embodiment, the extraction of information from the input document for extracting drug prescription information is used as an example, but the extraction of information from the document including the repetitive expression, ie, the purpose of determining the reference destination of the repetitive expression is impaired It is also applicable to other document cases that do not occur.

本発明の実施形態において、反復記号および反復記号の参照先は既定のものとして説明したが、図5の反復記号参照先候補テーブルを文書情報抽出システムのユーザが定義してもかまわない。   In the embodiment of the present invention, although the repetition symbol and the reference destination of the repetition symbol have been described as predetermined, the repetition symbol reference destination candidate table of FIG. 5 may be defined by the user of the document information extraction system.

また、本発明の目的は、以下のように構成して達成することもできる。すなわち、前述した実施形態の機能を実現するソフトウェアのプログラムコード(コンピュータプログラム)を記録した記録媒体(または記憶媒体)を、システムあるいは装置に供給する。係る記憶媒体はコンピュータ読み取り可能な記憶媒体である。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   The object of the present invention can also be achieved by the following configuration. That is, a recording medium (or storage medium) storing a program code (computer program) of software for realizing the functions of the above-described embodiments is supplied to a system or apparatus. Such a storage medium is a computer readable storage medium. Then, the computer (or CPU or MPU) of the system or apparatus reads out and executes the program code stored in the storage medium. In this case, the program code itself read out from the storage medium implements the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

また、コンピュータが読み出したプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行う。その処理によって前述した実施形態の機能が実現される場合も含まれる。   In addition, an operating system (OS) or the like operating on the computer performs part or all of the actual processing based on an instruction of the program code read out by the computer. The case where the functions of the above-described embodiment are realized by the process is also included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれたとする。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, it is assumed that the program code read out from the storage medium is written to a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU provided in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing of the above-described embodiment is realized by the processing. Be

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。   When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

11 抽出手段
12 判定手段
13 決定手段
14 置換手段
15 表示制御手段
101 CPU
102 ROM
103 RAM
104 文書入力部
105 表示部
106 通信部
107 バス
11 Extraction means 12 Determination means 13 Determination means 14 Replacement means 15 Display control means 101 CPU
102 ROM
103 RAM
104 document input unit 105 display unit 106 communication unit 107 bus

Claims (9)

画像化された文書である文書画像から、情報の繰返しを意味する記号または文字を抽出する抽出手段と、
抽出された前記記号または文字の種別を判定する判定手段と、
前記判定手段による判定結果に基づき、前記記号または文字が参照する情報を決定する決定手段と、
前記記号または文字を、前記決定手段により決定された前記記号または文字が参照する情報に置換する置換手段とを備え、
前記記号または文字が参照する情報が変更された場合、前記置換手段は、置換した情報を前記記号または文字が参照する情報の変更に応じて変更することを特徴とする情報処理システム。
An extraction unit for extracting a symbol or a character meaning repetition of information from a document image which is an imaged document;
Determining means for determining the type of the extracted symbol or character;
A determination unit configured to determine information to which the symbol or the character refers based on the determination result by the determination unit;
Replacement means for replacing the symbol or the character with the information to which the symbol or the character determined by the determination means refers ;
An information processing system characterized in that, when the information to which the symbol or the character refers is changed, the replacing means changes the replaced information in accordance with the change of the information to which the symbol or the character refers .
前記置換手段により置換された前記記号または文字が参照する情報を表示手段に表示させる表示制御手段を備えることを特徴とする請求項1記載の情報処理システム。   2. The information processing system according to claim 1, further comprising display control means for causing display means to display information to which the symbol or the character replaced by the replacement means refers. 前記表示制御手段は、前記決定手段により決定された前記記号または文字が参照する情報を前記表示手段に表示させる場合、前記記号または文字は前記表示手段に表示させないことを特徴とする請求項2に記載の情報処理システム。 3. The display control means according to claim 2 , wherein when the information referred to by the symbol or the character determined by the determination means is displayed on the display means, the symbol or the character is not displayed on the display means. Information processing system as described. 前記決定手段は、前記記号または文字の種別と前記記号または文字が示す前記文書における位置とが対応付けられたテーブルおよび前記判定手段による判定結果に基づき、前記記号または文字が参照する情報を決定することを特徴とする請求項1乃至3のいずれか1項に記載の情報処理システム。   The determination means determines information to be referred to by the symbol or character based on a table in which the type of the symbol or character is associated with the position in the document indicated by the symbol or character and the determination result by the determination means. The information processing system according to any one of claims 1 to 3, characterized in that: 前記記号または文字はノノ点を含むことを特徴とする請求項1乃至4のいずれか1項に記載の情報処理システム。   The information processing system according to any one of claims 1 to 4, wherein the symbol or character includes a nono point. 前記置換された情報が変更された場合、前記置換手段は、前記記号または文字が参照する情報を前記置換された情報の変更に応じて変更することを特徴とする請求項1に記載の情報処理システム。 The information processing according to claim 1 , wherein, when the replaced information is changed, the replacing means changes the information to which the symbol or the character refers in accordance with the change of the replaced information. system. 前記文書は薬剤の処方について情報を含み、
前記置換手段によって置換された情報に含まれる薬剤の処方についての情報が、薬剤の処方基準を満たすか否かを判定する判定手段と、
前記基準を満たしていない場合には警告を行う警告手段とを更に備えることを特徴とする請求項1乃至のいずれか1項に記載の情報処理システム。
The document contains information about drug prescription,
A determination unit that determines whether the information on the prescription of the medicine included in the information replaced by the substitution means satisfies the prescription criteria of the medicine;
The information processing system according to any one of claims 1 to 6 , further comprising: warning means for giving a warning when the standard is not satisfied.
情報処理システムが実行する情報処理方法であって、
画像化された文書である文書画像から、情報の繰返しを意味する記号または文字を抽出する抽出工程と、
抽出された前記記号または文字の種別を判定する判定工程と、
前記判定工程における判定結果に基づき、前記記号または文字が参照する情報を決定する決定工程と、
前記記号または文字を、前記決定工程において決定された前記記号または文字が参照する情報に置換する置換工程とを備え、
前記記号または文字が参照する情報が変更された場合、置換工程で置換した情報を前記記号または文字が参照する情報の変更に応じて変更することを特徴とする情報処理方法。
An information processing method executed by the information processing system,
An extraction step of extracting a symbol or a character meaning repetition of information from a document image which is an imaged document;
A determination step of determining the type of the extracted symbol or character;
A determination step of determining information to which the symbol or character refers based on the determination result in the determination step;
Replacing the symbol or character with information referred to by the symbol or character determined in the determining step ;
An information processing method comprising: changing information referred to by the symbol or the character, in response to a change of information referred to by the symbol or the character .
請求項8に記載の情報処理方法をコンピュータに実行させることを特徴とするプログラム。 A program causing a computer to execute the information processing method according to claim 8 .
JP2015002519A 2015-01-08 2015-01-08 INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM Active JP6541353B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015002519A JP6541353B2 (en) 2015-01-08 2015-01-08 INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015002519A JP6541353B2 (en) 2015-01-08 2015-01-08 INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2016126722A JP2016126722A (en) 2016-07-11
JP6541353B2 true JP6541353B2 (en) 2019-07-10

Family

ID=56359616

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015002519A Active JP6541353B2 (en) 2015-01-08 2015-01-08 INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP6541353B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12032546B2 (en) * 2019-07-16 2024-07-09 nference, inc. Systems and methods for populating a structured database based on an image representation of a data table

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01106261A (en) * 1987-10-20 1989-04-24 Nec Corp Edition output processing system
JP3001618B2 (en) * 1990-07-27 2000-01-24 テイ・エイ・エス通商株式会社 How to copy characters on paper and how to recognize symbols
JPH05173732A (en) * 1991-12-20 1993-07-13 Fujitsu Ltd Printing controller
JP4073976B2 (en) * 1995-03-14 2008-04-09 株式会社東芝 Medicine ordering system
EP1387291A3 (en) * 2002-07-30 2005-10-19 Canon Kabushiki Kaisha Apparatus, method, recording medium and program for form processing

Also Published As

Publication number Publication date
JP2016126722A (en) 2016-07-11

Similar Documents

Publication Publication Date Title
US8387010B2 (en) Automatic software configuring system
US20040168119A1 (en) method and apparatus for creating a report
CN108762743B (en) Data table operation code generation method and device
CA2932646A1 (en) System and method for bundling digitized electronic records
US20160232370A1 (en) Graphical interaction techniques for configuring an access control mechanism in a computer system
US11557384B2 (en) Collaborative synthesis-based clinical documentation
US20060293919A1 (en) Clinical protocol document production
CA3056387A1 (en) Interoperable record matching process
JP2021056641A (en) Medical information management device and metadata addition method of medical report
US20110131234A1 (en) Information process system, and program
JP2007140859A (en) Information processing system
JP6541353B2 (en) INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM
JP2010039751A (en) Software development system
JP2007140861A (en) Information processing system, information processing method, and program
JP7498536B2 (en) CONVERSION SYSTEM, CONVERSION PROGRAM, AND CONVERSION METHOD
US20160224918A1 (en) Business influenced part extraction method and business influenced part extraction device based on business variation
US9588997B2 (en) Modularizing complex XML data for generation and extraction
JP2011081442A (en) Document checking device and program
US20250069295A1 (en) Progress diagram generation apparatus, progress diagram generating method, program, and recording medium
WO2021084667A1 (en) Impartment of sticky note to visualization data and restoration
JP2015162107A (en) Correspondence relation extraction device, correspondence relation extraction method, and correspondence relation extraction program
US20230377697A1 (en) System and a way to automatically monitor clinical trials - virtual monitor (vm) and a way to record medical history
CA2924863A1 (en) System and method for matching physician order results to electronic orders
JP3251190U (en) Medical Support Equipment
JP2020197759A (en) Data editing device, data editing method, computer program, and electronic medical record system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190208

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190611

R151 Written notification of patent or utility model registration

Ref document number: 6541353

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151