JPH03216731A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPH03216731A
JPH03216731A JP1210890A JP1210890A JPH03216731A JP H03216731 A JPH03216731 A JP H03216731A JP 1210890 A JP1210890 A JP 1210890A JP 1210890 A JP1210890 A JP 1210890A JP H03216731 A JPH03216731 A JP H03216731A
Authority
JP
Japan
Prior art keywords
sorting
data
user
key
executing
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
JP1210890A
Other languages
Japanese (ja)
Inventor
Hitomi Ogata
緒方 ひとみ
Hiroyuki Miyasaka
宮坂 博之
Kazuo Kobayashi
一夫 小林
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP1210890A priority Critical patent/JPH03216731A/en
Publication of JPH03216731A publication Critical patent/JPH03216731A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)

Abstract

PURPOSE:To easily output a sorting result desired by a user by converting data to a key based on a key information for executing sorting, and allowing the user to freely change the key to be prepared from a data in the case of executing the sorting by using this key. CONSTITUTION:This computer is provided with a data input device 11, a data output device 12, a data storage device 13, a sorting means 16, a weighing table changing means 17, and a weighing table 18. The user can freely change the value of a key conversion table for deciding the order in the case of sorting the data, and the user can newly prepare a table and refer to that table in the case of executing the sorting processing. Also, the table for sorting is not fixed to one kind, and plural kinds of table can be rewritten. Thus, the sorting which fits the demand of the user can be easily executed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、電子計算機において、ソートを実行する場合
に使用する重み付けテーブルの書換えに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to rewriting a weighting table used when sorting is performed in an electronic computer.

[従来の技術] 従来のソートでは、データをソートする場合にソート条
件(以降、キーと呼ぶ)に展開する時の重みは、ソート
内部処理において固定されていた。
[Prior Art] In conventional sorting, when sorting data, weights used when developing sorting conditions (hereinafter referred to as keys) are fixed in internal sorting processing.

そのため、使用者が自由に変更することはできなかった
。またソート処理用の重みの付け方は、数種類用意され
ていることはあっても、その重みとしてつける値を自由
に変更することは不可能であった。
Therefore, the user could not freely change it. Furthermore, although several types of weighting methods are available for sorting, it has been impossible to freely change the weighting values.

[発明が解決しようとする課題] 前記の従来技術では、使用者が自由に重み付けテーブル
を設定したり書き換えたりすることができなかったため
、ソート後の結果が望んだ通りではなく、順番を入れ換
えたい場合があっても、ソートの処理の中で、その順番
を入れ換えることができなかった。そのために、使用者
は要求通りの結果が得られない場合には、ソートざれた
後のデータを希望に沿うように編集したり入れ換えたり
して、対処しなければならなかった。または、希望通り
のソート結果が得られるように元のデータを変更して、
ソートを再実行しなければならなかった。このような問
題に鑑み、使用者の要求に応じたソート結果を得られる
ようにするための手段を提供することを目的とする。
[Problems to be Solved by the Invention] In the above-mentioned conventional technology, the user cannot freely set or rewrite the weighting table, so the results after sorting are not as desired, and the user may want to rearrange the order. Even if there was a case, the order could not be changed during the sorting process. Therefore, if the user cannot obtain the desired result, he or she has to deal with the problem by editing or replacing the sorted data to match the user's wishes. Or change the original data to get the sorted results you want.
Had to rerun the sort. In view of such problems, it is an object of the present invention to provide a means for obtaining sorting results according to the user's requests.

[課題を解決するための手段] 本発明は、データ入力装置と、データ出力装置と、デー
タ記憶装置と、ソートを行う場合の重み付けテーブルを
持ち、前記重み付けテーブルを用いてソートを行う手段
と、前記重み付けテーブルを変更する手段とを備えたこ
とを特徴とする。
[Means for Solving the Problem] The present invention has a data input device, a data output device, a data storage device, and a weighting table for sorting, and means for sorting using the weighting table. The present invention is characterized by comprising means for changing the weighting table.

[作用] 本発明においては、ソートを行うために、キー情報に基
づいてデータをキーに変換し、そのキーを用いてソート
を行う場合、データから作成するキーを使用者が自由に
変更できるようにする。自由に書き換えられるようにす
ることによって、使用者が望むソート結果を容易に出力
できるようにする。
[Operation] In the present invention, in order to perform sorting, data is converted into a key based on key information, and when sorting is performed using the key, the user can freely change the key created from the data. Make it. To enable a user to easily output desired sorting results by allowing free rewriting.

[実施例] 以下に、本発明の実施例を図面に基づいて説明する. (実施例1) 第1図は本発明のブロック図であり、データ記憶装置1
3と、データを入力する装置11と、ソ一トされたデー
タを出力する装置12から構成され、さらに、ソートを
実行する手段16と、ソートを実行する時に用いる重み
付けテーブル18と、重み付けテーブルを変更する手段
17を備えている。
[Examples] Examples of the present invention will be described below based on the drawings. (Embodiment 1) FIG. 1 is a block diagram of the present invention, in which a data storage device 1
3, a device 11 for inputting data, and a device 12 for outputting sorted data, and further includes a means 16 for performing sorting, a weighting table 18 used when performing the sorting, and a weighting table 18. It is provided with means 17 for changing.

第3図は、本発明の第1の実現方法のフローチャートで
ある。ソートで、キー情報に基づいてデータからキーに
変換する処理を行う場合、重みテーブルを利用するもの
とし、重みテーブルの構造は第2図のようになっている
ものとする。ただし、この構造はこの図のような形に限
定するものではなく、重みテーブルのデータとして取り
出せるのであれば、どの様な構造であっても構わない。
FIG. 3 is a flowchart of the first implementation method of the present invention. When performing sorting to convert data into keys based on key information, a weight table is used, and the structure of the weight table is assumed to be as shown in FIG. However, this structure is not limited to the shape shown in this figure, and any structure may be used as long as it can be extracted as weight table data.

ソート処理の中で持っている重みテーブルを画面に表示
し31、カーソル移動や、データ位置を入力する等によ
って、変更したいテーブル内のデータを指定し、変更後
のデータを入力して、新しいテーブルデータに置き換え
られるようにする32。
Display the weight table you have during the sorting process on the screen 31, specify the data in the table you want to change by moving the cursor or inputting the data position, enter the changed data, and create a new table. 32. Make it possible to replace it with data.

このようにしてテーブル内のデータを変更後、新しいデ
ータに置き換えられたテーブルを、ソート処理の中で参
照する重みテーブルと置き換える33.その結果、次の
ソート処理には、データは、使用者が書き換えたテーブ
ルの内容に変換されるようになる.これにより、新しい
ソートテーブルによるキーが作成でき、使用者が望むソ
ートが可能となる. (実施例2) 第4図は、本発明の第2の実現方法のフローチャートで
ある.ソートの処理の中で、データをキーに変換し、そ
のキーを比較してソートを行うものとする。ソートを行
うときに、データからキーへ変換するためのテーブルデ
ータすべてを、他のファイルまたは入力装置から入力で
きるようにする.ソート時に、テーブル名またはファイ
ル名等で指定されたテーブルデータを読み込み、キー変
換に使用できるようにテーブルデータを内部に展開する
41。そして、データを読み込み42、データからキー
を作成する時、内部に展開したテーブルデータを用いて
作成する43。作成されたキーを比較してソートを実行
し44、ソート結果を出力する45。
After changing the data in the table in this way, replace the table replaced with the new data with the weight table referred to during the sorting process33. As a result, in the next sorting process, the data will be converted to the contents of the table rewritten by the user. This allows a new sort table key to be created, allowing the user to perform the sorting they desire. (Embodiment 2) FIG. 4 is a flowchart of a second implementation method of the present invention. In the sorting process, data is converted into keys, and the keys are compared to perform sorting. When sorting, all table data for converting data to keys can be input from other files or input devices. At the time of sorting, table data specified by a table name, file name, etc. is read, and the table data is expanded internally so that it can be used for key conversion. Then, when data is read 42 and a key is created from the data, it is created using table data expanded internally 43. The created keys are compared and sorted 44, and the sorted results are output 45.

さらに、複数のキー変換テーブルを入力装置等から指定
して入力できるようにし、1つ1つのキー情報毎に、デ
ータからキーへ展開する時に使用するテーブルを変える
ことも可能である。
Furthermore, it is also possible to specify and input a plurality of key conversion tables from an input device, etc., and to change the table used when expanding data to a key for each piece of key information.

[発明の効果] 以上、説明した本発明によれば、データをソートすると
きの順番を決めるためのキー変換テーブルの値を、使用
者が自由に変えられたり、テーブルを使用者が新たに作
成して、そのテーブルをソート処理時に参照できるよう
にすることにより、使用者にとって、より柔軟なソート
が可能になる。
[Effects of the Invention] According to the present invention described above, the user can freely change the values of the key conversion table for determining the order when sorting data, and the user can create a new table. By allowing the table to be referenced during sort processing, the user can perform more flexible sorting.

また、ソートのためのテーブルを1種類に固定せず、複
数種類のテーブルを書き換えられるようにすることによ
り、より一層、使用者の要求に合わせたソートカ5可能
になるという効果がある。
Moreover, by not fixing the table for sorting to one type but allowing a plurality of types of tables to be rewritten, there is an effect that the sorter 5 can be more tailored to the user's requirements.

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

第1図は、本発明の電子計算機の構成を示すためのブロ
ック図である。第2図は、キーテーブルの構造の一例を
示す図である。第3図、第4図は、本発明の実現方法の
フローチャートである。 l1 1 2 1 3 1 6 1 7 1 8 データ入力装置 データ出力装置 データ記憶装置 ソート手段 重み付けテーブル変更手段 重み付けテーブル 以上
FIG. 1 is a block diagram showing the configuration of an electronic computer according to the present invention. FIG. 2 is a diagram showing an example of the structure of a key table. 3 and 4 are flowcharts of a method for implementing the present invention. l1 1 2 1 3 1 6 1 7 1 8 Data input device Data output device Data storage device Sorting means Weighting table changing means Weighting table and above

Claims (1)

【特許請求の範囲】[Claims]  データ入力装置と、データ出力装置と、データ記憶装
置と、ソートを行う場合の重み付けテーブルを持ち、前
記重み付けテーブルを用いてソートを行う手段と、前記
重み付けテーブルを変更する手段とを備えたことを特徴
とする電子計算機。
A data input device, a data output device, a data storage device, a weighting table for sorting, means for sorting using the weighting table, and a means for changing the weighting table. Characteristic electronic computer.
JP1210890A 1990-01-22 1990-01-22 Electronic computer Pending JPH03216731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1210890A JPH03216731A (en) 1990-01-22 1990-01-22 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1210890A JPH03216731A (en) 1990-01-22 1990-01-22 Electronic computer

Publications (1)

Publication Number Publication Date
JPH03216731A true JPH03216731A (en) 1991-09-24

Family

ID=11796373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1210890A Pending JPH03216731A (en) 1990-01-22 1990-01-22 Electronic computer

Country Status (1)

Country Link
JP (1) JPH03216731A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08297658A (en) * 1995-04-26 1996-11-12 Nec Software Ltd Method and device for rearranging japanese characters

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08297658A (en) * 1995-04-26 1996-11-12 Nec Software Ltd Method and device for rearranging japanese characters

Similar Documents

Publication Publication Date Title
JPS603056A (en) Information rearranging device
JPH03216731A (en) Electronic computer
JPH08287086A (en) Method and apparatus for image emphasis display in order of fitness
JPH0981582A (en) Value-based data management device and data management method
KR102466714B1 (en) Electronic device that provides improved object insertion into electronic document through object box and operating method thereof
JP3008807B2 (en) Data processing device
JP3379667B2 (en) Browsing display method
JP3415354B2 (en) Minimum operating environment transition device
JP3245635B2 (en) Standardization and analysis of software products
JP2720768B2 (en) Program customization equipment
Meyyappan et al. Design and development of a user-centred digital library system: some basic guidelines
JPH06274332A (en) Registration/retrieval method for program parts
JP3047400B2 (en) Data processing device
WO2025258250A1 (en) Generation apparatus, generation method, and generation program
JP2958479B2 (en) Document creation device
JPH10162126A (en) Electronization device for document
JP3574458B2 (en) Data evaluation system
CN121456018A (en) A document structuring and knowledge parsing method and system based on AI multimodal large model
JP3111081B2 (en) Data retrieval device
JPH0449417A (en) File processor
JPH03148751A (en) Document processor
JPH05250417A (en) Method for retrieving character string data
JPH10222406A (en) Record extraction device and recording medium
JPH08235282A (en) Document processing apparatus and method
JP2000112795A (en) Data structure conversion processing device and recording medium