JPH08329165A - Text extraction processing device and text extraction processing method - Google Patents

Text extraction processing device and text extraction processing method

Info

Publication number
JPH08329165A
JPH08329165A JP7133272A JP13327295A JPH08329165A JP H08329165 A JPH08329165 A JP H08329165A JP 7133272 A JP7133272 A JP 7133272A JP 13327295 A JP13327295 A JP 13327295A JP H08329165 A JPH08329165 A JP H08329165A
Authority
JP
Japan
Prior art keywords
data
numerical
character string
noun
document
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.)
Pending
Application number
JP7133272A
Other languages
Japanese (ja)
Inventor
Kazuyo Kuroda
和代 黒田
Yasuo Tanosaki
康雄 田野崎
Shigemi Nakazato
茂美 中里
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP7133272A priority Critical patent/JPH08329165A/en
Publication of JPH08329165A publication Critical patent/JPH08329165A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Machine Translation (AREA)

Abstract

(57)【要約】 【目的】ユーザが任意に作成した文書から数値データを
含む文字列を自動的に抽出し、その文字列から数値デー
タを各項目に分類して集計処理を行う。 【構成】処理対象となる文書が入力されると(301〜30
3)、その文書から特定のパターンを持つ文字列を数値デ
ータとして抽出し(304) 、さらに、その数値データの前
後に存在する一定規則に基づいた文字列を数字文字列デ
ータとして抽出する(305) 。この数字文字列データの中
から名詞データを抽出し、これを所定の項目毎に分類し
て、上記数値データを対応付ける(306) 。このようにし
て得られた各項目の数値データを1ヵ月等の所定期間毎
に集計し(307) 、その集計結果データを表示する(303)
(57) [Summary] [Purpose] A character string containing numerical data is automatically extracted from a document arbitrarily created by the user, and the numerical data is classified into each item from the character string and aggregated. [Configuration] When a document to be processed is input (301 to 30
3) The character string having a specific pattern is extracted from the document as numeric data (304), and the character string based on a certain rule existing before and after the numeric data is extracted as numeric character string data (305). ). Noun data is extracted from the numeric character string data, the noun data is classified into predetermined items, and the numeric data is associated (306). The numerical data of each item obtained in this way is totaled for each predetermined period such as one month (307), and the totaled result data is displayed (303).
.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えばワードプロセッ
サ等で作成したプレインテキストから数字文字列を抽出
し、数値化等の処理を行って、最終的にはデータの分
類、数値データの集計等の処理までを行うテキスト抽出
処理装置及びテキスト抽出処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention extracts a numerical character string from plain text created by a word processor or the like, performs numerical processing, etc., and finally classifies the data, aggregates numerical data, etc. The present invention relates to a text extraction processing device and a text extraction processing method that perform processing.

【0002】[0002]

【従来の技術】従来、項目毎に分類された数値データの
集計等を行う方法としては、表計算ソフトウェアを用い
るのが一般的である。これは、作表・計算を中心に、例
えば見積書・請求書の作成などの幅広い用途に使用され
るアリケーション・ソフトウェアである。
2. Description of the Related Art Conventionally, spreadsheet software is generally used as a method of totalizing numerical data classified by item. This is an application software that is used for a wide range of purposes such as creating a quotation / invoice, centering on tabulation / calculation.

【0003】この種の表計算ソフトウェアでは、通常、
文字、数値、式などのデータをセル単位で入力する。セ
ルとは、行と列との交差によって生まれる区画の1つで
あり、計算の基本単位となる。このセルに項目名や数値
を入力することにより、予め指定された計算式に従った
計算結果を得ることができる。
In this type of spreadsheet software,
Enter data such as characters, numbers and formulas in cell units. A cell is one of the partitions created by the intersection of rows and columns, and is the basic unit of calculation. By inputting an item name or a numerical value in this cell, it is possible to obtain a calculation result according to a calculation formula designated in advance.

【0004】[0004]

【発明が解決しようとする課題】上述したように、従来
の表計算ソフトウェアを用いた方法では、指定の領域に
項目名、数値などのデータを入力しなければならないた
め、特別の入力操作を習得する必要があり、また、融通
もきかないという欠点があった。
As described above, in the method using the conventional spreadsheet software, it is necessary to input the data such as the item name and the numerical value in the designated area. Therefore, the special input operation is learned. However, there is a drawback that it is not flexible.

【0005】また、このような表計算ソフトウェアで
は、例えばワードプロセッサ等を用いて作成した文書中
に歳入額や支出額の金額が数字文字列として表現されて
いる場合であっても、それらを用いて一日の支出の合計
等を自動的に計算するとっいた機能はない。そのため、
表計算用のデータを再度入力し直す必要があった。
Further, in such spreadsheet software, even if the amount of revenue or the amount of expenditure is expressed as a numeric character string in a document created by using a word processor or the like, it is used. There is no function that automatically calculates the total amount of daily spending. for that reason,
It was necessary to re-enter the spreadsheet data.

【0006】本発明は上記のような点に鑑みなされたも
ので、ユーザが任意に作成した文書から数値データを含
む文字列を自動的に抽出し、その文字列の数値データを
各項目に分類し、集計処理を行うことのできるテキスト
抽出処理装置及びテキスト抽出処理方法を提供すること
を目的とする。
The present invention has been made in view of the above points, and automatically extracts a character string including numerical data from a document arbitrarily created by a user and classifies the numerical data of the character string into each item. However, it is an object of the present invention to provide a text extraction processing device and a text extraction processing method capable of performing a totalization process.

【0007】[0007]

【課題を解決するための手段】本発明のテキスト抽出処
理装置は、処理対象となる文書データを入力する文書入
力手段と、この文書入力手段によって入力された上記文
書データから数値データを抽出する数値データ抽出手段
と、この数値データ抽出手段によって抽出された上記数
値データに対応する数字文字列データを抽出する数字文
字列データ抽出手段と、この数字文字列データ抽出手段
によって抽出された上記数字文字列データの中から名詞
データを抽出する名詞データ抽出手段と、この名詞デー
タ抽出手段によって抽出された上記名詞データを所定の
項目毎に分類し、その項目毎に上記名詞データに関連す
る上記数値データを対応付けるデータ構造化手段と、こ
のデータ構造化格手段によって各項目毎に対応付けられ
た上記数値データを所定期間毎に集計するデータ集計手
段と、このデータ集計手段によって得られる集計結果デ
ータを表示する表示手段とを具備したことを特徴とす
る。
A text extraction processing apparatus according to the present invention includes a document input means for inputting document data to be processed, and a numerical value for extracting numerical data from the document data input by the document input means. Data extracting means, numeric character string data extracting means for extracting numeric character string data corresponding to the numeric data extracted by the numeric data extracting means, and the numeric character string extracted by the numeric character string data extracting means Noun data extraction means for extracting noun data from the data and the noun data extracted by the noun data extraction means are classified into predetermined items, and the numerical data related to the noun data is classified for each item. Corresponding data structuring means and the numerical data associated with each item by this data structuring means A data collecting unit that aggregates at predetermined time intervals, characterized by comprising a display means for displaying the counting result data obtained by the data collecting unit.

【0008】[0008]

【作用】上記の構成によれば、処理対象となる文書デー
タを入力することにより、その文書データから特定のパ
ターンを持つ文字列が数値データとして抽出される。ま
た、この数値データの前後に存在する一定規則に基づい
た文字列が数字文字列データとして抽出され、その中に
存在する名詞データが抽出される。この名詞データを所
定の項目毎に分類することにより、その項目毎に上記名
詞データに関連する上記数値データが対応付けられ、例
えば1ヵ月等の所定期間毎に集計処理される。
According to the above construction, by inputting the document data to be processed, a character string having a specific pattern is extracted from the document data as numerical data. A character string existing before and after this numerical data based on a certain rule is extracted as numerical character string data, and noun data existing therein is extracted. By classifying the noun data for each predetermined item, the numerical data related to the noun data is associated with each item, and is aggregated for each predetermined period such as one month.

【0009】[0009]

【実施例】以下、本発明の一実施例を図面を参照しなが
ら説明する。図1は本発明の一実施例に係るテキスト抽
出処理装置の構成を示すブロック図である。本装置は、
入力装置11、制御装置12、外部記憶装置13、表示
装置14、時計装置15を有して構成される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a text extraction processing device according to an embodiment of the present invention. This device
It has an input device 11, a control device 12, an external storage device 13, a display device 14, and a clock device 15.

【0010】入力装置11は、例えばキーボードやマウ
ス等のポインティングデバイスからなり、データを入力
したり、テキスト抽出操作を行うための各種指示などを
行うためのものである。
The input device 11 is composed of a pointing device such as a keyboard and a mouse, and is used for inputting data and performing various instructions for performing a text extraction operation.

【0011】制御装置12は、例えばマイクロプロセッ
サからなり、装置全体の制御を行うものであり、ここで
は図2に示すような制御部21とメモリ部22を有し、
テキスト抽出処理を実行する。
The control device 12 is composed of, for example, a microprocessor and controls the entire device, and has a control unit 21 and a memory unit 22 as shown in FIG.
Executes text extraction processing.

【0012】外部記憶装置13は、例えばHDD(ハー
ドディスク装置)やFDD(フロッピーディスク装置)
からなり、文書データ等の各種情報を保存している。表
示装置14は、例えばCRT (Cathode Ray Tube) やL
CD (Liquid Crystal Display) からなり、文書データ
の表示やテキスト抽出操作のためのメニュー画面等を表
示する。
The external storage device 13 is, for example, an HDD (hard disk device) or FDD (floppy disk device).
It stores various information such as document data. The display device 14 is, for example, a CRT (Cathode Ray Tube) or L.
It consists of a CD (Liquid Crystal Display) and displays a menu screen for displaying document data and extracting text.

【0013】時計装置15は、例えば水晶発振器などか
らなり、一定時間毎に割り込み処理を行い、現在の日時
データを検出する。なお、上記各装置11,13,1
4,15は制御装置12と図示せぬシステムバスを介し
て接続されており、制御装置12の制御を受け、相互に
データを送ることが可能となっている。
The clock device 15 is composed of, for example, a crystal oscillator, and performs interrupt processing at regular time intervals to detect current date and time data. In addition, each of the above-mentioned devices 11, 13, 1
Reference numerals 4 and 15 are connected to the control device 12 via a system bus (not shown), and under the control of the control device 12, it is possible to send data to each other.

【0014】図2は制御装置12の詳細構成例を示した
図である。制御装置12は、制御部21とメモリ部22
からなっている。制御部21は、各種制御や処理を実行
する部分であり、ここではメイン処理部21a、文書入
力部21b、数値データ抽出格納部21c、数字文字列
データ抽出格納部21d、名詞データ分類格納部21
e、データ集計部21f、集計結果表示部21gを有す
る。
FIG. 2 is a diagram showing a detailed configuration example of the control device 12. The control device 12 includes a control unit 21 and a memory unit 22.
It consists of The control unit 21 is a unit that executes various controls and processes. Here, the main processing unit 21a, the document input unit 21b, the numerical data extraction storage unit 21c, the numerical character string data extraction storage unit 21d, and the noun data classification storage unit 21.
e, a data totaling unit 21f, and a totaling result display unit 21g.

【0015】メイン処理部21aは、装置全体の制御を
司るもので、制御の流れの分岐、データ入力部以降の各
モジュールの呼出しなどと共に、外部記憶装置にテーブ
ルを生成する処理等を行う。
The main processing section 21a controls the entire apparatus. The main processing section 21a branches the control flow, calls each module after the data input section, and performs processing for generating a table in the external storage device.

【0016】文書入力部21bは、処理対象となる文書
データの入力処理を行う。数値データ抽出格納部21c
は、処理対象として入力された文書データの中から数値
データの抽出処理を行う。
The document input section 21b performs an input process of document data to be processed. Numerical data extraction storage unit 21c
Performs extraction processing of numerical data from the document data input as the processing target.

【0017】数字文字列データ抽出格納部21dは、同
文書データから数値データに対応する数字文字列データ
の抽出処理を行う。名詞データ分類格納部21eは、数
字文字列データの中から名詞データの抽出処理を行うと
共に、その名詞データに関連する数値データを対応付け
て格納するための処理を行う。
The numerical character string data extraction / storing section 21d extracts numerical character string data corresponding to the numerical data from the document data. The noun data classification storage unit 21e performs a process of extracting noun data from the numeric character string data, and a process of storing numerical data associated with the noun data in association with each other.

【0018】データ集計部21fは、数値データの集計
処理を行う。集計結果表示部21gは、集計結果データ
の表示処理を行う。メモリ部22は、各種のデータを記
憶する部分であり、ここでは数字文字列データ格納バッ
ファ22a、名詞データ格納バッファ22b、数値デー
タ格納バッファ22c、項目分類文字列データ格納バッ
ファ22d、データ集計結果格納バッファ22e、文書
データ格納バッファ22f、日時格納バッファ22g等
の処理の際に必要なデータを一旦格納するための各種バ
ッファと、制御部21が動作する上で必要なデータを一
旦格納するためのワーキングエリア22hを有する。
The data totaling unit 21f performs a totaling process of numerical data. The tally result display unit 21g performs a display process of tally result data. The memory unit 22 is a unit for storing various data, and here, a numeric character string data storage buffer 22a, a noun data storage buffer 22b, a numeric data storage buffer 22c, an item classification character string data storage buffer 22d, and a data aggregation result storage. Various buffers such as the buffer 22e, the document data storage buffer 22f, and the date / time storage buffer 22g for temporarily storing data necessary for processing, and working for temporarily storing data necessary for the control unit 21 to operate. It has an area 22h.

【0019】数字文字列データ格納バッファ22aは、
数字文字列データ抽出格納部21dによって抽出された
数字文字列データを格納するためのバッファである。名
詞データ格納バッファ22bは、名詞データ分類格納部
21eによって抽出された名詞データを格納するための
バッファである。
The numeric character string data storage buffer 22a is
It is a buffer for storing the numerical character string data extracted by the numerical character string data extraction storage unit 21d. The noun data storage buffer 22b is a buffer for storing the noun data extracted by the noun data classification storage unit 21e.

【0020】数値データ格納バッファ22cは、数値デ
ータ抽出格納部21cによって抽出された数値データを
格納するためのバッファである。項目分類文字列データ
格納バッファ22dは、所定の分類毎に設定された文字
列データ(図8)を格納するためのバッファである。
The numerical data storage buffer 22c is a buffer for storing the numerical data extracted by the numerical data extraction storage unit 21c. The item classification character string data storage buffer 22d is a buffer for storing the character string data (FIG. 8) set for each predetermined classification.

【0021】データ集計結果格納バッファ22eは、デ
ータ集計部21fによって得られた集計結果データを格
納するためのバッファである。文書データ格納バッファ
22fは、文書入力部21bによって得られた処理対象
の文書データを格納するためのバッファである。
The data totalization result storage buffer 22e is a buffer for storing the totalization result data obtained by the data totalization unit 21f. The document data storage buffer 22f is a buffer for storing the document data to be processed obtained by the document input unit 21b.

【0022】日時格納バッファ22gは、図1の時計装
置15によって得られた現在の日時データを格納するた
めのバッファである。次に、図3乃至図5に示すフロー
チャートを参照して同実施例の動作を説明する。
The date / time storage buffer 22g is a buffer for storing the current date / time data obtained by the clock device 15 of FIG. Next, the operation of the embodiment will be described with reference to the flowcharts shown in FIGS.

【0023】図3は同実施例におけるテキスト抽出処理
の全体の流れを示すフローチャートである。図4は同実
施例における数値データ抽出格納処理(図3のステップ
304の具体的な処理)を示すフローチャートである。
図5は同実施例における名詞テータ分類格納処理(図3
のステップ306の具体的な処理)を示すフローチャー
トである。
FIG. 3 is a flow chart showing the overall flow of the text extraction processing in this embodiment. FIG. 4 is a flow chart showing the numerical data extraction storage process (specific process of step 304 of FIG. 3) in the same embodiment.
FIG. 5 is a noun theta classification storage process (FIG. 3) in the same embodiment.
Is a flowchart showing a specific process of step 306).

【0024】(1)まず、文書の種類を選択する。な
お、ここでは、文書の種類として「家計簿」が予め用意
されており、これをユーザが選択した場合を想定して説
明する(ステップ301)。
(1) First, the type of document is selected. Note that, here, a “household account book” is prepared as a document type in advance, and the case where the user selects this will be described (step 301).

【0025】(2)ユーザが図示せぬ操作画面上に設け
られた「文書ボタン」をクリックすると、メモリ部22
中の日時格納バッファ22gから現在の日時データが取
り出され、当日の日付入り文書(「家計簿」)が開かれ
る。ここで、ユーザが「日付ボタン」をクリックし、任
意の日付を選択すると、別の日付の文書を開くことがで
きる(ステップ302)。図6に入力文書の一例を示
す。
(2) When the user clicks the "document button" provided on the operation screen (not shown), the memory unit 22
The current date and time data is taken out from the inside date and time storage buffer 22g, and the dated document of the day (“household account book”) is opened. Here, when the user clicks the "date button" and selects an arbitrary date, a document on another date can be opened (step 302). FIG. 6 shows an example of the input document.

【0026】(3)ユーザが入力装置11を通じて任意
の文書データを入力する(ステップ303)。この入力
文書データは、制御装置12のメモリ部22に設けられ
た文書データ格納バッファ22fに格納される。
(3) The user inputs arbitrary document data through the input device 11 (step 303). This input document data is stored in the document data storage buffer 22f provided in the memory unit 22 of the control device 12.

【0027】(4)制御装置12は、文書データ格納バ
ッファ22fに格納された文書データを処理対象とし、
その文書データから数値データを抽出し、これを数値デ
ータ格納バッファ22cに格納する(ステップ30
4)。
(4) The control device 12 processes the document data stored in the document data storage buffer 22f,
Numerical data is extracted from the document data and stored in the numerical data storage buffer 22c (step 30).
4).

【0028】具体的には、図4のフローチャートに示す
ように、文書データの先頭から1文字ずつデータを順に
読み取っていき(ステップ401)、数字(漢数字、ア
ラビア数字、ローマ数字)あるいは「¥」を検索する。
そして、その文字(数字あるいは「¥」)を先頭とし、
「円」もしくは今挙げた文字以外の文字の直前文字を語
尾とする文字列を数値データとして抽出する(ステップ
402〜409)。
Specifically, as shown in the flow chart of FIG. 4, the data is sequentially read one character at a time from the beginning of the document data (step 401), a numeral (Chinese numeral, Arabic numeral, Roman numeral) or "¥". Search for ".
Then, start with that letter (number or "\"),
A character string whose ending is a character other than the character "yen" or the character just mentioned is extracted as numerical data (steps 402 to 409).

【0029】この場合、この抽出した文字列は1つ1つ
の文字データであるので、その中に存在する数字をすべ
て数値化した後、これを数値データ格納バッファ22c
に格納する(ステップ410,411)。
In this case, since the extracted character strings are character data one by one, all the numerical characters existing therein are converted into numerical values, which are then stored in the numerical data storage buffer 22c.
(Steps 410 and 411).

【0030】(5)上記のようにして数値データとして
の文字列を処理対象の文書データから抽出すると、次に
制御装置12は同文書データから数字文字列データを抽
出し、これを数字文字列データ格納バッファ22aに格
納する(ステップ305)。
(5) When the character string as the numerical data is extracted from the document data to be processed as described above, the control device 12 next extracts the numerical character string data from the same document data, and extracts this numerical character string. The data is stored in the data storage buffer 22a (step 305).

【0031】具体的には、上記(4)で抽出した文字列
(数値データ)の前に現れた句読点または数字の直後の
文字もしくは文頭を先頭とし、次に現れる句読点または
数字の直前の文字を語尾とする文字列を数字文字列デー
タとして抽出し、これを数字文字列データ格納バッファ
22aに格納し、数値データと関連付ける。
Specifically, the character immediately after the punctuation mark or number that appears before the character string (numerical data) extracted in (4) above or the beginning of the sentence is the beginning, and the character immediately before the punctuation mark or number that appears next is the character. The character string to be the ending is extracted as numeric character string data, stored in the numeric character string data storage buffer 22a, and associated with the numeric data.

【0032】このときの数字文字列データの抽出例を図
7に示す。例えば図7(a)に示すような文書データ
「今日は豚肉200円と、コップ2000円を買っ
た。」が処理対象として入力されたとする。
FIG. 7 shows an example of extracting the numeric character string data at this time. For example, it is assumed that the document data “I bought 200 yen of pork and 2000 yen of glass today” as shown in FIG. 7A is input as a processing target.

【0033】このような場合、上記(4)と(5)の処
理により、図7(b)に示すように、数値データとして
「200」、これに対応する数字文字列データとして
「今日は豚肉200円と、」が抽出される。同様に、数
値データとして「2000」、これに対応する数字文字
列データとして「コップ2000円を買った。」が抽出
される。
In such a case, as a result of the processing of (4) and (5), as shown in FIG. 7B, the numerical data is "200" and the corresponding numerical character string data is "Today's pork. 200 yen is extracted. Similarly, “2000” is extracted as the numerical data, and “I bought a glass of 2000 yen.” Is extracted as the corresponding numerical character string data.

【0034】このような(4)と(5)の処理を、入力
された文書データの最後まで繰り返し行う。 (6)次に、制御装置12は数字文字列データ格納バッ
ファ22aに格納された数字文字列データの中から名詞
を抽出し、これを所定の項目に分類にして名詞データ格
納バッファ22bに格納すると共に、それに関連する数
値データを同バッファ22bに対応付けて格納する(ス
テップ306)。
The processes (4) and (5) are repeated until the end of the input document data. (6) Next, the control device 12 extracts a noun from the numeric character string data stored in the numeric character string data storage buffer 22a, classifies it into a predetermined item, and stores it in the noun data storage buffer 22b. At the same time, the numerical data associated therewith are stored in the buffer 22b in association with each other (step 306).

【0035】具体的には、図5のフローチャートに示す
ように、上記(5)の処理により数字文字列データとし
て抽出された文字列を形態素解析し(ステップ501〜
503)、その解析結果に基づいて同文字列の名詞部分
を抽出する(ステップ504)。そして、関連する数値
データの係り受けされた名詞、目的語の名詞、もしくは
唯一の名詞を予め使途別に項目分けされた項目分類文字
列(図8)と比較することにより(ステップ505)、
一致した項目に属する名詞データ格納バッファ22bに
格納する(ステップ507)。なお、図8に示す項目分
類文字列はユーザが任意に変更できるものとする。
Specifically, as shown in the flowchart of FIG. 5, the character string extracted as the numerical character string data by the process of (5) is subjected to morphological analysis (steps 501 to 501).
503), and based on the analysis result, the noun part of the same character string is extracted (step 504). Then, by comparing the dependent noun of the related numerical data, the noun of the object, or the unique noun with the item classification character string (FIG. 8) itemized according to the purpose of use (step 505),
The data is stored in the noun data storage buffer 22b belonging to the matched item (step 507). The item classification character string shown in FIG. 8 can be arbitrarily changed by the user.

【0036】ここで、分類項目は「収入」、「臨時収
入」、「貯蓄」、「税金」、「住宅費」、「電熱水道
費」、「主食費」、「副食費」、「外食費」、「嗜好品
費」、「被服費」、「教育費」、「保健衛生費」、「教
養娯楽費」、「交際通信費」、「職業費」の15項目で
ある。その際に、名詞データに関連する数値データをそ
の項目データに属させる(ステップ508)。この場合
のデータ分類格納列を図9に示す。
Here, the classification items are "income", "temporary income", "savings", "tax", "housing cost", "electric hot water cost", "main meal cost", "side meal cost", "outdoor meal cost". , “Luxury item cost”, “Clothing cost”, “Education cost”, “Health and hygiene cost”, “Educational and entertainment cost”, “Communication communication cost”, and “Occupation cost”. At that time, the numerical data related to the noun data is made to belong to the item data (step 508). The data classification storage sequence in this case is shown in FIG.

【0037】(7)このようにして、各項目毎の名詞デ
ータとそれに対応する数値データが得られると、制御装
置12は例えば1ヵ月単位で数値データを集計する。こ
のときの集計期間は、ユーザが任意に設定できるものと
する。制御装置12はそれぞれの項目中の数値データを
すべて加算し、これをデータ集計結果格納バッファ22
eに格納する(ステップ307)。
(7) When the noun data for each item and the numerical data corresponding thereto are obtained in this way, the control device 12 totalizes the numerical data on a monthly basis, for example. The total period at this time can be arbitrarily set by the user. The control device 12 adds all the numerical data in each item, and adds this to the data totaling result storage buffer 22.
It is stored in e (step 307).

【0038】このようにしてデータを集計した例を図1
0に示す。ユーザが「詳細集計結果ボタン」をクリック
すると、この集計結果が所定のフォーマットで表示装置
14にて表示され、その内容を確認することができる。
FIG. 1 shows an example of collecting data in this way.
It shows in 0. When the user clicks on the "detailed tabulation result button", the tabulation result is displayed on the display device 14 in a predetermined format, and the contents can be confirmed.

【0039】(8)さらに、ユーザが「集計ボタン」を
クリックすると、制御装置12は収入項目、臨時収入項
目の項目価格データを加算し、それ以外の項目価格デー
タを減算して、その月の収支を計算する。この計算結果
に基づいて、1ヵ月間の各項目毎に使用した金額、その
月の収支、前月との比較が表示される。この表示例を図
11に示す。この際に、ユーザが予めその月の予算を立
てていた場合は、それとの比較も表示される(ステップ
308)。
(8) Further, when the user clicks on the "total button", the control device 12 adds the item price data of the income item and the temporary income item, subtracts the item price data of the other items, and subtracts the item price data of the other month. Calculate the balance. Based on this calculation result, the amount of money used for each item for one month, the balance of the month, and the comparison with the previous month are displayed. This display example is shown in FIG. At this time, if the user has previously set a budget for the month, the comparison with that is also displayed (step 308).

【0040】このようにして、ユーザが任意に作成した
文書データを対象に、各項目毎の数値データが自動抽出
され、これらの数値データを用いた集計処理が実行され
る。この場合、従来の表計算ソフトウェアのような項目
名、数値などのデータ入力を必要としないため、誰でも
簡単にデータ集計を行うことができる。
In this way, the numerical data for each item is automatically extracted for the document data arbitrarily created by the user, and the totaling process using these numerical data is executed. In this case, it is not necessary to input data such as item names and numerical values as in conventional spreadsheet software, so that anyone can easily collect data.

【0041】なお、本発明は上記の実施例に限定される
ものではない。すなわち、上記実施例では文書の種類を
「家計簿」としたが、例えば「就業時間」や「会社の経
理」など他の文書にも応用できるものである。また、一
人で作成した文書に限らず、複数の人がそれぞれに作成
した文書を用いて、日付毎、項目毎などの様々な基準で
データを集計するようにしても良い。
The present invention is not limited to the above embodiment. That is, although the type of document is "household account book" in the above-mentioned embodiment, it can be applied to other documents such as "working hours" and "accounting of company". Further, the data is not limited to the document created by one person, and the documents created by a plurality of people may be used to aggregate the data according to various criteria such as date and item.

【0042】[0042]

【発明の効果】以上のように本発明によれば、ユーザは
任意に作成した文書を入力するだけで、自動的に各項目
毎に分類された数値データを得ることができ、これらの
数値ダータを用いた集計処理を行うことができる。
As described above, according to the present invention, the user can automatically obtain the numerical data categorized by each item only by inputting the created document. It is possible to perform the aggregation process using.

【0043】したがって、従来のように予め決められた
フォーマットでデータを入力する必要がなくなり、その
結果、入力手順に慣れる時間や、項目に分類するのに要
する時間を節約できるなど、実用上多大な効果を得るこ
とができる。
Therefore, there is no need to input data in a predetermined format as in the prior art, and as a result, it is possible to save a lot of time to get used to the input procedure and time required to classify the items, which is a great practical amount. The effect can be obtained.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例に係るテキスト抽出処理装置
の構成を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a text extraction processing device according to an embodiment of the present invention.

【図2】図1の制御装置の詳細な構成を示す図。FIG. 2 is a diagram showing a detailed configuration of the control device of FIG.

【図3】同実施例におけるテキスト抽出処理の全体の流
れを示すフローチャート。
FIG. 3 is a flowchart showing the overall flow of text extraction processing in the embodiment.

【図4】同実施例における数値データ抽出格納処理を示
すフローチャート。
FIG. 4 is a flowchart showing a numerical data extraction / storing process in the embodiment.

【図5】同実施例における名詞テータ分類格納処理を示
すフローチャート。
FIG. 5 is a flowchart showing a noun data classification storing process in the embodiment.

【図6】同実施例における入力文書例を示す図。FIG. 6 is a diagram showing an example of an input document in the embodiment.

【図7】同実施例における数字文字列データ抽出例を示
す図。
FIG. 7 is a diagram showing an example of numeric character string data extraction in the same embodiment.

【図8】同実施例における項目分類文字列例を示す図。FIG. 8 is a diagram showing an example of an item classification character string in the same embodiment.

【図9】同実施例におけるデータ分類格納例を示す図。FIG. 9 is a diagram showing an example of data classification storage in the embodiment.

【図10】同実施例における数値データを対応付けたデ
ータ分類格納例を示す図。
FIG. 10 is a diagram showing a data classification storage example in which numerical data are associated with each other in the same embodiment.

【図11】同実施例における集計結果表示例を示す図。FIG. 11 is a diagram showing a display example of a counting result in the embodiment.

【符号の説明】[Explanation of symbols]

11…入力装置、 12…制御装置、 13…外部記憶装置、 14…表示装置、 15…時計装置。 11 ... Input device, 12 ... Control device, 13 ... External storage device, 14 ... Display device, 15 ... Clock device.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 処理対象となる文書データを入力する文
書入力手段と、 この文書入力手段によって入力された上記文書データか
ら数値データを抽出する数値データ抽出手段と、 この数値データ抽出手段によって抽出された上記数値デ
ータに対応する数字文字列データを同文書データから抽
出する数字文字列データ抽出手段と、 この数字文字列データ抽出手段によって抽出された上記
数字文字列データの中から名詞データを抽出する名詞デ
ータ抽出手段と、 この名詞データ抽出手段によって抽出された上記名詞デ
ータを所定の項目毎に分類し、その項目毎に上記名詞デ
ータに関連する上記数値データを対応付けるデータ構造
化手段と、 このデータ構造化格手段によって各項目毎に対応付けら
れた上記数値データを所定期間毎に集計するデータ集計
手段と、 このデータ集計手段によって得られる集計結果データを
表示する表示手段とを具備したことを特徴とするテキス
ト抽出処理装置。
1. A document input means for inputting document data to be processed, a numerical data extraction means for extracting numerical data from the document data input by the document input means, and a numerical data extraction means for extracting numerical data. Numerical character string data extracting means for extracting numerical character string data corresponding to the numerical data from the document data, and noun data from the numerical character string data extracted by the numerical character string data extracting means. Noun data extraction means, data structuring means for classifying the noun data extracted by the noun data extraction means into predetermined items, and associating the numerical data related to the noun data with each item, Data that summarizes the above numerical data associated with each item by the structured case means for each predetermined period A meter unit, text extraction processing apparatus characterized by comprising a display means for displaying the counting result data obtained by the data collecting unit.
【請求項2】 上記数値データ抽出手段は、上記文書デ
ータから特定のパターンを持つ文字列を数値データとし
て抽出することを特徴とする請求項1記載のテキスト抽
出処理装置。
2. The text extraction processing apparatus according to claim 1, wherein the numerical data extracting means extracts a character string having a specific pattern from the document data as numerical data.
【請求項3】 上記数字文字列データ抽出手段は、上記
数値データの前後に存在する一定規則に基づいた文字列
を同文書データから数字文字列データとして抽出するこ
とを特徴とする請求項1記載のテキスト抽出処理装置。
3. The numerical character string data extracting means extracts a character string existing before and after the numerical data based on a certain rule from the same document data as numerical character string data. Text extraction processor.
【請求項4】 処理対象となる文書データから数値デー
タを抽出し、 この数値データに対応する数字文字列データを同文書デ
ータから抽出し、 この数字文字列データの中から名詞データを抽出し、 この名詞データを所定の項目毎に分類し、その項目毎に
上記名詞データに関連する上記数値データを対応付け、 この各項目毎の上記数値データを所定期間毎に集計する
ようにしたことを特徴とするテキスト抽出処理方法。
4. Numerical data is extracted from the document data to be processed, numeric character string data corresponding to this numeric data is extracted from the same document data, and noun data is extracted from this numeric character string data, This noun data is classified for each predetermined item, the numerical data related to the noun data is associated with each item, and the numerical data for each item is totaled for each predetermined period. Text extraction processing method.
【請求項5】 処理対象となる文書データから特定のパ
ターンを持つ文字列を数値データとして抽出し、 この数値データの前後に存在する一定規則に基づいた文
字列を同文書データから数字文字列データとして抽出
し、 この数字文字列データの中から名詞データを抽出し、 この名詞データを所定の項目毎に分類し、その項目毎に
上記名詞データに関連する上記数値データを対応付け、 この各項目毎の上記数値データを所定期間毎に集計する
ようにしたことを特徴とするテキスト抽出処理方法。
5. A character string having a specific pattern is extracted as numerical data from document data to be processed, and a character string based on a certain rule existing before and after the numerical data is converted into numerical character string data from the same document data. Noun data is extracted from the numeric character string data, the noun data is classified into predetermined items, and the numerical data related to the noun data is associated with each item. A text extraction processing method characterized in that the above-mentioned numerical data for each time is totaled for each predetermined period.
JP7133272A 1995-05-31 1995-05-31 Text extraction processing device and text extraction processing method Pending JPH08329165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7133272A JPH08329165A (en) 1995-05-31 1995-05-31 Text extraction processing device and text extraction processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7133272A JPH08329165A (en) 1995-05-31 1995-05-31 Text extraction processing device and text extraction processing method

Publications (1)

Publication Number Publication Date
JPH08329165A true JPH08329165A (en) 1996-12-13

Family

ID=15100755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7133272A Pending JPH08329165A (en) 1995-05-31 1995-05-31 Text extraction processing device and text extraction processing method

Country Status (1)

Country Link
JP (1) JPH08329165A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330940A (en) * 2002-05-10 2003-11-21 Just Syst Corp Method of generating search index data, search index data generation apparatus, and file search apparatus
JP2005157853A (en) * 2003-11-27 2005-06-16 Hitachi Systems & Services Ltd Link setting device and information using information extracted from text sentence
JP2005250682A (en) * 2004-03-02 2005-09-15 Oki Electric Ind Co Ltd Information extraction system
WO2011007605A1 (en) * 2009-07-17 2011-01-20 日本電気株式会社 Character input device and character input program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330940A (en) * 2002-05-10 2003-11-21 Just Syst Corp Method of generating search index data, search index data generation apparatus, and file search apparatus
JP2005157853A (en) * 2003-11-27 2005-06-16 Hitachi Systems & Services Ltd Link setting device and information using information extracted from text sentence
JP2005250682A (en) * 2004-03-02 2005-09-15 Oki Electric Ind Co Ltd Information extraction system
WO2011007605A1 (en) * 2009-07-17 2011-01-20 日本電気株式会社 Character input device and character input program
JP2011022907A (en) * 2009-07-17 2011-02-03 Nec Corp Character input device and character input program
KR101423847B1 (en) * 2009-07-17 2014-07-25 닛본 덴끼 가부시끼가이샤 Character input device and character input program
US9110881B2 (en) 2009-07-17 2015-08-18 Motorola Mobility Llc Character input device and character input program

Similar Documents

Publication Publication Date Title
JP4865818B2 (en) General recommendation word and advertisement recommendation word automatic completion method and system
US20010029475A1 (en) Financial processing system and method
Longstreet Function points analysis training course
JP7070745B2 (en) Information processing equipment, information display method and program
JP7368899B1 (en) information processing system
Gerber et al. The SPSS guide to the new statistical analysis of data: by TW Anderson and Jeremy D. Finn
JP2005190284A (en) Information classification apparatus and information classification method
JPH08329165A (en) Text extraction processing device and text extraction processing method
JP2001236354A (en) Account system with automatic journal processing function
JP2002342547A (en) System and program for public-service corporation accounting processing
JP2001249983A (en) Customer analysis system
Ros et al. Mining wages in nineteenth-century job advertisements. the application of language resources and language technology to study economic and social inequality
Su et al. Investigating the usability of electronic document management systems in government organizations from a human factor engineering perspective
Khwuta et al. Designing and building a business data collection application using the waterfall method
JP6653822B2 (en) Accounting system, method and program
Handayani et al. Designing Popular Classes on Viewboard Public Assessment of Lectures Based on YII Framework
JP2854000B2 (en) Search device
Matherly et al. Implementing generalized audit software in the classroom
JP2004062228A (en) Dictionary information totalizing device and dictionary information totalizing processing program
JP6733454B2 (en) Management support device and program
JP2001052013A (en) Document processing apparatus, document processing method, and medium recording document processing program
JPH07262165A (en) 2D data aggregation method
Cornell Excel as your database
Grafton et al. Computer tools for better public sector management
McKee Computers and the Courts-Recommendations Made to the Courts Task Force