JPH0433053A - Name shaping device - Google Patents

Name shaping device

Info

Publication number
JPH0433053A
JPH0433053A JP2134658A JP13465890A JPH0433053A JP H0433053 A JPH0433053 A JP H0433053A JP 2134658 A JP2134658 A JP 2134658A JP 13465890 A JP13465890 A JP 13465890A JP H0433053 A JPH0433053 A JP H0433053A
Authority
JP
Japan
Prior art keywords
name
characters
data
surname
family
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
JP2134658A
Other languages
Japanese (ja)
Inventor
Kaoru Nakabayashi
薫 中林
Akira Mochida
持田 晃
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 JP2134658A priority Critical patent/JPH0433053A/en
Publication of JPH0433053A publication Critical patent/JPH0433053A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To divide a family name and a first name in a name data with the high rate of a correct answer by providing a name character number possessing means to calculate the number of characters in the name data, family name character number calculating means to calculate the number of characters for the family name from the number of characters in the name data, and family name dividing means to divide the name data into the family name and the first name according to the number of characters for the family name. CONSTITUTION:A name character number possessing means 2 is provided to calculate the number of characters in the name data, and a family name character number calculating means 3 is provided to calculate the number of characters for the family name from the number of characters in the name data. Then, a family name dividing means 4 is provided to divide the name data into the family name and the first name according to the number of characters for the family name. For example, when the number of characters in the name data is more than 3, the family name is divided to get two characters and when the number of characters in the name data is 2, the family name is divided to get one character. Thus, the rate of the correct answer for dividing the family name and the first name is made more than 90%, and the manual work of confirmation and correction for dividing the name can be made slight. Then, the man-hour can be saved.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、コンピュータで扱う氏名データを姓と名が連
続した文字列から姓と名を区切った文字列に自動的に変
換する、氏名整形装置に間する。
[Detailed Description of the Invention] [Industrial Application Fields] The present invention is a name formatting method that automatically converts name data handled by a computer from a string of consecutive last names and first names to a string of separated last names and first names. between the devices.

[従来の技術] 外部から氏名データを取り込んだ場合、例えば文字認識
で名刺の氏名を取得した場合や他の住所録データベース
等からのデータコンバートで氏名データを取得した場合
などは、氏名データの姓と名は区切りのない連続した文
字列である場合が多い。氏名データは姓と名を区切った
方が表示や印刷上、都合が良いが、人手で修正して姓と
名を区切っていた。
[Conventional technology] When name data is imported from an external source, for example, when the name on a business card is obtained through character recognition or when name data is obtained through data conversion from another address book database, etc., the surname of the name data is and names are often continuous strings with no delimiters. It would be more convenient for displaying and printing name data if the last name and first name are separated, but the data was manually corrected to separate the last name and first name.

[発明が解決しようとする課題] しかし、手作業での氏名データの姓と名の区切りは大変
な労力を要していた。
[Problems to be solved by the invention] However, manually separating the last name and first name in name data requires a lot of effort.

本発明の目的は、氏名データの姓と名の区切りをコンピ
ュータで自動的に処理する氏名整形装置を提供すること
である。
SUMMARY OF THE INVENTION An object of the present invention is to provide a name formatting device that automatically processes the separation between the last name and first name of name data using a computer.

[課題を解決するための手段] 本発明の氏名整形装置は、 コンピュータで扱える文字コードデータで姓と名が連続
した文字列からなる氏名データの文字数な求める氏名文
字数取得手段と、前記氏名データの文字数から姓の文字
数を算出する姓文字数算出手段と、前記性の文字数で前
記氏名データを姓と名に区切る姓名区切り手段とを少な
くとも備えたことを特徴とする。
[Means for Solving the Problems] The name formatting device of the present invention includes means for obtaining the number of characters in a name data consisting of a string of consecutive last names and given names using character code data that can be handled by a computer; The present invention is characterized in that it includes at least a surname character number calculation means for calculating the number of characters of a surname from the number of characters, and a surname and name separation means for dividing the name data into a surname and a first name based on the number of characters of the gender.

[作用] 本発明の氏名整形装置は、まず、氏名文字数取得手段に
よって、コンピュータで扱える文字コードデータで姓と
名が連続した文字列からなる氏名データの文字数を求め
る。
[Operation] The name formatting device of the present invention first obtains the number of characters in name data consisting of a string of consecutive last names and given names using character code data that can be handled by a computer, using a name character number obtaining means.

続いて、姓文字数算出手段によって、前記氏名データの
文字数から姓の文字数を算出する。
Subsequently, the number of characters in the last name is calculated from the number of characters in the name data by the number of characters in the last name calculation means.

そして、姓名区切り手段によって、前記性の文字数で前
記氏名データを姓と名に区切る。例えばこの位置に空白
1字を挿入すれば、氏名データ、例えば”銘木一部”の
場合、′銘木 一部′”という姓と名が区切られた形式
に整形される。
Then, the name data is divided into a surname and a given name by the number of characters of the gender by the surname dividing means. For example, by inserting a single blank character at this position, name data such as ``Meiku Part'' will be formatted as ``Meiku Part'', with the last name and first name separated.

[実施例] 第1図は本発明の氏名整形装置の構成ブロック図例であ
る。1は氏名データを納めである元データバッファであ
る。2は前記元データバッファに納めである氏名データ
の文字数を取得する氏名文字数取得手段である。3は氏
名全体の文字数から姓の文字数を算出する姓文字数算出
手段である。
[Embodiment] FIG. 1 is an example of a configuration block diagram of a name formatting device of the present invention. 1 is an original data buffer that stores name data. Reference numeral 2 denotes name character number acquisition means for acquiring the number of characters in the name data stored in the original data buffer. 3 is a surname character count calculation means for calculating the number of characters in the surname from the number of characters in the entire name.

4は姓の文字数で、氏名データの姓と名の間を区切る姓
名区切り手段である。5は姓と名が区切られた氏名デー
タを納める新データバッファである。
4 is the number of characters in the surname, which is a surname separation means for separating the surname and first name in the name data. 5 is a new data buffer that stores name data in which the last name and first name are separated.

第2図(a)、第2図(b)はそれぞれ本発明の氏名整
形装置のフローチャート例であり、FlからF8はステ
ップの番号である。既にコンピュータのメモリ上のバッ
ファに例えば第3図の元データ欄のような姓と名が連続
した氏名データが1件格納されている事、整形される新
しい氏名データは別のバッファに格納される事を前提と
して説明していく。まず、第2図(a)の例を説明する
FIGS. 2(a) and 2(b) are flowchart examples of the name formatting device of the present invention, and Fl to F8 are step numbers. One piece of name data with consecutive first and last names, such as the original data column in Figure 3, is already stored in a buffer in the computer's memory, and new name data to be formatted is stored in a separate buffer. I will explain this based on the premise. First, the example shown in FIG. 2(a) will be explained.

Flでは、氏名データの文字数を求める。In Fl, the number of characters in name data is calculated.

F2ては、Flて得た文字数が3以上か否かを判定し処
理を振り分ける。
At F2, it is determined whether the number of characters obtained from F1 is 3 or more, and processing is distributed.

F3ては、Flて得た氏名の文字数が3以上の場合に、
姓の文字数を2とする。氏名が3文字以上の場合に姓を
2文字とするのは、2文字の姓が日本人の姓に多いから
である。
For F3, if the number of characters in the name obtained from Fl is 3 or more,
Let the number of characters in the last name be 2. The reason why the surname is set to two characters when the name is three or more characters is because many Japanese surnames have two characters.

F4では、Flで得た氏名の文字数が2の場合に、姓の
文字数を1とする。これは氏名が2文字なら姓は1文字
しか有り得ないためである。
In F4, if the number of characters in the name obtained in Fl is 2, the number of characters in the last name is set to 1. This is because if the name has two characters, the last name can only have one character.

F5ては、氏名データのF3またはF4で得た姓の文字
数の位置に全角空白1字を挿入する。
At F5, one full-width space is inserted at the position of the number of characters of the last name obtained at F3 or F4 of the name data.

以上の処理が終ると、氏名データは第3図の結果a欄の
ように、姓と名が全角空白で区切られた形式に整形され
る。3文字以上の氏名では一律に姓は2文字になる。
When the above processing is completed, the name data is formatted into a format in which the last name and first name are separated by double-byte spaces, as shown in column a of the result in FIG. For names with 3 or more characters, the surname will be 2 characters.

続いて、第2図(b)の例を説明する。これは第2図(
a)の例に対して姓の長さを可変にすることで氏名が長
い場合の不都合を少なくした例である。
Next, the example shown in FIG. 2(b) will be explained. This is shown in Figure 2 (
This is an example in which the length of the surname is made variable to reduce the inconvenience caused by long names compared to example a).

F6では、氏名データの文字数を求める。In F6, the number of characters in name data is determined.

Flては、Flで得た文字数+1を2で割った数を姓の
文字数としている。つまり、氏名が2なら姓は1、氏名
が3から4なら姓は2、氏名が5から6なら姓は3、と
いうように姓が氏名の半分以上の長さになるよう算出さ
れる。これは氏名が5.6文字以上になると姓も2文字
以上になる事が多いためである。
In Fl, the number of characters in the surname is calculated by dividing the number of characters obtained in Fl + 1 by 2. In other words, if the name is 2, the surname is 1, if the name is 3 to 4, the surname is 2, if the name is 5 to 6, the surname is 3, and so on, so that the surname is at least half the length of the name. This is because when a person's name is 5.6 characters or more, their surname is often 2 or more characters.

F8では、氏名データのFlで得た姓の文字数の位置に
全角空白1字を挿入する。
In F8, one full-width space is inserted at the position of the number of characters of the last name obtained in Fl of the name data.

以上の処理が終ると、氏名データは第3図の結果す欄の
ように、姓と名が全角空白で区切られた形式に整形され
る。氏名の長さの半分以上の長さになるように姓の長さ
も増えていく。
When the above processing is completed, the name data is formatted into a format in which the last name and first name are separated by double-byte spaces, as shown in the result column of FIG. The length of the last name increases until it becomes more than half the length of the full name.

第4図は氏名整形装置のハードウェア構成図例である。FIG. 4 is an example of a hardware configuration diagram of the name formatting device.

点線で囲んた中が例えばパーソナルコンピュータ内部て
あり、HlはCPUである。F2はRAMで、プログラ
ムを格納したり、氏名データのバッファやワークとして
も使用する。F3はROMで、BIO5などのシステム
プログラムが入っている。H4はCRTなどのデイスプ
レィで、データ等を表示する。F5はキーボードで、必
要に応じてユーザがキー人力を行なう。H6は磁気ディ
スク等の記録装置で、ファイルの読み書きを行なう。
The area surrounded by the dotted line is, for example, the inside of a personal computer, and Hl is the CPU. F2 is a RAM, which is used to store programs, and as a buffer for name data and work. F3 is a ROM that contains system programs such as BIO5. H4 displays data, etc. on a display such as a CRT. F5 is a keyboard, and the user manually presses the keys as necessary. H6 is a recording device such as a magnetic disk, which reads and writes files.

[発明の効果コ 氏名データをコンピュータシステムで自動的に姓と名に
区切る、本発明となる氏名整形装置の実現により、氏名
データの整形を容易にする。  本装置は、姓名辞書な
どの大きな特別な手段を用いること無く、小さな簡単な
手段で実現できる。さらに姓名区切りの正解率も90%
以上になるため、姓名区切りの確認修正作業も僅かで済
む。
[Effects of the Invention] By realizing the name formatting device of the present invention, which automatically separates name data into surname and first name using a computer system, formatting of name data is facilitated. This device can be realized by small and simple means without using large special means such as a name dictionary. Furthermore, the correct answer rate for separating first and last names is 90%.
As a result, only a small amount of work is required to confirm and correct the separation between names and names.

これまで氏名データの整形は人手に頼っていたが、本装
置によれば、人手は最後の修正を除いて不要になり、時
間と手間が大幅に短縮される。
Up until now, formatting name data had to be done manually, but with this device, there is no longer any need for it except for the final corrections, which greatly reduces time and effort.

データベースなどて、他所からデータを取り込む場合、
例えば名刺などから文字認識した生データや、他のデー
タベースからのデータコンバートによる場合、氏名デー
タは姓と名が区切られていない場合がほとんどである。
When importing data from other sources such as a database,
For example, in the case of raw data obtained by character recognition from business cards, etc., or data converted from other databases, name data in most cases does not have the last name and first name separated.

しかし、本装置を用いれば、データベースにデータ登録
する時点で自動的に区切り処理できる。
However, if this device is used, it is possible to automatically separate the data at the time of registering the data in the database.

特に住所管理などのデータベースにおいて、氏名データ
の姓と名を分離することで氏名データの表示や印刷がき
れいで見易くなる。
Particularly in databases such as address management, by separating the last name and first name of name data, the display and printing of name data becomes clearer and easier to read.

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

第1図は本発明となる氏名整形装置の構成ブロック図で
ある。第2図(a)、第2図(b)は装置の作動手順を
示すフローチャート、第3図は氏名データと処理結果の
例を示す図、第4図は装置のハードウェア構成図である
。 に元データバッファ 2:氏名文字数取得手段 3:姓文字数算出手段 4:姓名区切り手段 5:新データバッファ 以   上 出願人 セイコーエプソン株式会社 代理人 弁理士 銘木喜三部 他1名 第1図 第2図(0) 第2図(b)
FIG. 1 is a block diagram of a name formatting device according to the present invention. 2(a) and 2(b) are flowcharts showing the operating procedure of the device, FIG. 3 is a diagram showing an example of name data and processing results, and FIG. 4 is a hardware configuration diagram of the device. Original data buffer 2: Name character count acquisition means 3: Last name character count calculation means 4: Name separation means 5: New data buffer and above Figure (0) Figure 2 (b)

Claims (1)

【特許請求の範囲】 文字コードデータを記憶装置に格納し、姓と名が連続し
た文字列からなる氏名データを姓と名に区切る氏名整形
装置において、 前記氏名データの文字数を求める氏名文字数取得手段と
、前記氏名データの文字数から姓の文字数を算出する姓
文字数算出手段と、前記姓の文字数で前記氏名データを
姓と名に区切る姓名区切り手段とを少なくとも備えたこ
とを特徴とする氏名整形装置。
[Scope of Claims] In a name formatting device that stores character code data in a storage device and separates name data consisting of a string of consecutive surnames and given names into a surname and a first name, the name character number obtaining means obtains the number of characters in the name data. A name formatting device comprising at least a surname character count calculation means for calculating the number of characters of a surname from the number of characters of the name data, and a surname separation means for dividing the name data into a surname and a first name based on the number of characters of the surname. .
JP2134658A 1990-05-24 1990-05-24 Name shaping device Pending JPH0433053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2134658A JPH0433053A (en) 1990-05-24 1990-05-24 Name shaping device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2134658A JPH0433053A (en) 1990-05-24 1990-05-24 Name shaping device

Publications (1)

Publication Number Publication Date
JPH0433053A true JPH0433053A (en) 1992-02-04

Family

ID=15133532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2134658A Pending JPH0433053A (en) 1990-05-24 1990-05-24 Name shaping device

Country Status (1)

Country Link
JP (1) JPH0433053A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016173710A (en) * 2015-03-17 2016-09-29 大日本印刷株式会社 Information input device, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016173710A (en) * 2015-03-17 2016-09-29 大日本印刷株式会社 Information input device, and program

Similar Documents

Publication Publication Date Title
US5999937A (en) System and method for converting data between data sets
US20200081993A1 (en) File format for accessing data quickly and efficiently
JPH0776958B2 (en) Document shaping device
JPH0433053A (en) Name shaping device
CN111611242A (en) Method for importing Excel data into database
US6237002B1 (en) Method for processing computerized date data which spans centuries
JP3419425B2 (en) Recognition character correction device
JPS6251866A (en) Electronic file system
JP3081622B2 (en) Telephone number stylization device and telephone number stylization method
JP2865443B2 (en) Kanji conversion device for Kana name or Kana corporation name
JPH0477887A (en) Character recognizing device
JPH03161866A (en) Device for recognizing contents
JPH03209564A (en) Literature data registering method
JPH06161995A (en) Method and device for shaping name data
JPH06149894A (en) Schema definition information generating method
JPH07107683B2 (en) Image retrieval device
JPH01154222A (en) Name control system for data base
JPH03177972A (en) Data base system
JPS63619A (en) Kanji data rearranging device
JP3058706B2 (en) How to convert address kana to kanji
JPH05233701A (en) Dictionary storage device
JPH03137768A (en) Document processor
JPH0394373A (en) Electronic translator
JPS59109937A (en) Compacting system of proper noun dictionary
JPH02133871A (en) Record data processor