JPH0430647A - Telephone number routine processing device - Google Patents

Telephone number routine processing device

Info

Publication number
JPH0430647A
JPH0430647A JP2134656A JP13465690A JPH0430647A JP H0430647 A JPH0430647 A JP H0430647A JP 2134656 A JP2134656 A JP 2134656A JP 13465690 A JP13465690 A JP 13465690A JP H0430647 A JPH0430647 A JP H0430647A
Authority
JP
Japan
Prior art keywords
character
data
telephone number
delimiter
area code
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.)
Granted
Application number
JP2134656A
Other languages
Japanese (ja)
Other versions
JP3081622B2 (en
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 JP02134656A priority Critical patent/JP3081622B2/en
Publication of JPH0430647A publication Critical patent/JPH0430647A/en
Application granted granted Critical
Publication of JP3081622B2 publication Critical patent/JP3081622B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To automatically process the routine processing of a telephone number data by extracting one item of a telephone number data one by one character each sequentially from the top, discriminating the type of the character and repeating the above processing till the numerals for the one item of the telephone number data is finished. CONSTITUTION:One item of a telephone number data is extracted one by one character data from the top by a character acquisition means 1 and the type of the characters of one character data is discriminated by a character discrimi nation means 2. As the types of the characters, numerals in KANJI(Chinese character) such as '(=123)', em numerals such as '123', en numerals such as '123', and characters representing delimiters of station number codes such as '()-.()-.' and other undesired characters are discriminated. When the charac ter type is a numeral in KANJI, the numeral is converted into a en numeral, and when the character type is an em size numeral, the numeral is converted into an en numeral, and the converted numeral is stored in a buffer. When the character represents a delimiter representing a station number, the character is converted into the station number delimiter character and stored in the buffer.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、コンピュータで扱う電話番号データを任意の
形式から規定の形式に自動的に変換する電話番号定型化
装置に間する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to a telephone number formatting device that automatically converts telephone number data handled by a computer from an arbitrary format to a prescribed format.

[従来の技術] 外部から電話番号データを取り込んだ場合、例えば文字
認識で名刺の電話番号を取得した場合や他の住所録デー
タベース等からのデータコンバートすることによフて電
話番号データを取得した場合などは、電話番号データの
形式は統一されない。
[Prior art] When telephone number data is imported from outside, for example, when the telephone number of a business card is obtained through character recognition, or by converting data from other address book databases, etc. In some cases, the format of telephone number data is not unified.

このため、電話番号データのように規定の形式に統一し
たい場合、人手で修正して定型化するしか無かった。
For this reason, if you wanted to standardize data into a prescribed format, such as with telephone number data, you had no choice but to correct it manually and standardize it.

[発明が解決しようとする課題] しかし、手作業での電話番号データの定型化は大変な労
力を要していた。また常に修正ミスを起こす危険性があ
った。
[Problems to be Solved by the Invention] However, manual formalization of telephone number data required a great deal of effort. Moreover, there was always a risk of making a correction error.

本発明の目的は、電話番号データの定型化をコンピュー
タで全て自動的に処理する電話番号定型化装置を提供す
ることである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a telephone number formatting device that automatically processes telephone number data formatting using a computer.

[課題を解決するための手段] 本発明の電話番号定型化装置は、電話番号データを先頭
から順に1文字データずつ取り出す1文字取得手段と、 前記1文字データの文字種を判定する文字種判定手段と
、 前記1文字データの文字種が漢数字の場合に数字に変換
する数字変換手段と、 前記1文字データの文字種が全角サイズの数字の場合に
半角サイズに変換する半角変換手段と、前記1文字デー
タの文字種が局番の区切りを表す文字の場合に規定の局
番区切り文字に変換する局番区切り文字変換手段と、 前記1文字データが前記以外の文字種の場合に半角サイ
ズの数字を残し、他の文字を捨てる半角数字選抜手段を
少なくとも備えていることを特徴とし、 さらに、 本発明の他の電話番号定型化装置は、電話番号の市外局
番桁数を調べられる市外局番辞書と、前記市外局番辞書
を用いて局番区切り位置を算出する区切り位置算出手段
と、 前記区切り位置算出手段で算出した局番区切り位置で数
字列の電話番号データを区切る、局番区切り手段とを少
なくとも備えていることを特徴とする。
[Means for Solving the Problems] The telephone number stylization device of the present invention includes: a single character acquisition means for extracting telephone number data one character at a time from the beginning, and a character type determination means for determining the character type of the one character data. , a number conversion means for converting the character type of the one-character data into a number when it is a Chinese numeral; a half-width conversion means for converting the character type of the one-character data into a half-width size when it is a full-width size number; station number delimiter conversion means for converting into a specified station number delimiter when the character type is a character representing a station number delimiter; Another telephone number formatting device of the present invention is characterized in that it includes at least means for selecting half-width digits to be discarded; The system is characterized by comprising at least a delimiter position calculation means for calculating a prefix delimiter position using a dictionary, and a prefix delimiter means for delimiting telephone number data in a numeric string at the prefix delimiter position calculated by the delimiter position calculation means. do.

[作用コ 本発明の第1の電話番号定型化装置は、まず、1文字取
得手段によって、1件の電話番号データを先頭から順に
1文字データずつ取り出す。続いて、文字種判定手段に
よって、前記1文字データの文字種を判定する。
[Operations] The first telephone number formatting device of the present invention first extracts one character of telephone number data one character at a time from the beginning using the single character acquisition means. Subsequently, the character type determining means determines the character type of the one character data.

文字種によって以下のa)〜d)の4つの手段に処理を
振り分ける。
Processing is divided into the following four methods a) to d) depending on the character type.

a)前記1文字データの文字種が漢数字の場合には、数
字変換手段において、漢数字を半角サイズの数字に変換
する。
a) When the character type of the one-character data is a Chinese numeral, the number conversion means converts the Chinese numeral into a half-width size number.

b)前記1文字データの文字種が全角サイズの数字の場
合には、半角変換手段によって、半角サイズの数字に変
換する。
b) If the character type of the one-character data is a full-width number, it is converted into a half-width number by a half-width conversion means.

C)前記1文字データの文字種が局番の区切りを表す文
字の場合には、局番区切り文字変換手段によフて、規定
の局番区切り文字に変換する。
C) If the character type of the one-character data is a character representing a station number delimiter, the station number delimiter converting means converts it into a specified station number delimiter.

なお、不適当な位置の場合と、同じ位置に重複する場合
は、不要文字として捨てる。
Note that if the character is in an inappropriate position or if it is duplicated in the same position, it will be discarded as unnecessary.

d)前記1文字データの文字種が前記以外の文字種の場
合には、半角数字選抜手段によって半角数字だけを残し
、他の文字データを捨てる。
d) If the character type of the one-character data is a character type other than the above, the half-width numeric selection means leaves only the half-width numerals and discards the other character data.

以上の処理が、1文字データ分の処理であって、1件の
電話番号針の数字を処理するまで以上の処理を繰り返す
The above processing is for one character data, and the above processing is repeated until the digits of one telephone number hand are processed.

これで、任意の形式の電話番号データ、例えば゛′東京
本社(03)123−4567 (代)”の場合でも、
不要な文字が捨てられ、数字は半角数字に統一され、局
番区切り文字が規定の区切り文字に変換されて” 03
−123−4567”  という規定の形式に定型化さ
れる。
Now, even if you have phone number data in any format, such as "Tokyo Head Office (03) 123-4567 (main)",
Unnecessary characters are discarded, numbers are unified to half-width numbers, and station code delimiters are converted to standard delimiters."03
-123-4567".

一方、本発明の第2の電話番号定型化装置は、まず、区
切り位置算出手段によって、数字列の電話番号データで
、電話番号の市外局番を納めた市外局番辞書を引き、市
外局番の区切り位置(2桁から5桁)を算出する。また
、局番の区切り位置は下4桁なので一意に求まる。
On the other hand, the second telephone number formatting device of the present invention first uses the delimiter position calculation means to look up an area code dictionary containing the area code of the telephone number using the telephone number data of the numeric string, and Calculate the break position (2 to 5 digits). Furthermore, since the station number delimiter position is the last four digits, it can be uniquely determined.

局番区切り手段によって、前記で算出した局番区切り位
置で電話番号データを区切る。
The telephone number data is separated by the area number separation means at the area number separation position calculated above.

これて、局番区切り文字の無い、数字列からなる電話番
号データ”0312345B?”  の場合でも、局番
区切り文字が挿入され、” 03−123−4567”
 という規定の形式に定型化される。
Even in the case of telephone number data "0312345B?" which consists of a numeric string without an area code separator, the area number separator is inserted and becomes ``03-123-4567''.
It is formulated into a prescribed format.

[実施例コ 第1図(a)は第1の電話番号定型化装置の構成ブロッ
ク図例である。1は、前記新データバッファの電話番号
データを先頭から順に1文字ずつ取り出す1文字取得手
段である。2は、前記1文字データの文字種を判別する
文字種判定手段である。3は、前記1文字データの文字
種が漢数字の場合に、漢数字を半角サイズの数字に変換
する数字変換手段である。4は、前記1文字データの文
字種が全角サイズの数字の場合に、半角サイズの数字に
変換する半角変換手段である。6は、前記1文字データ
の文字種が局番の区切りを表す文字の場合に、規定の局
番区切り文字に変換する局番区切り文字変換手段である
。6は、前記1文字データの文字種が上記以外の文字の
場合に、半角数字だけを残し、他の文字データを捨てる
半角数字選抜手段である。
[Embodiment] FIG. 1(a) is an example of a configuration block diagram of a first telephone number formatting device. Reference numeral 1 denotes a character acquisition means for extracting telephone number data from the new data buffer one character at a time from the beginning. Reference numeral 2 denotes a character type determining means for determining the character type of the one character data. 3 is a number conversion means for converting Chinese numerals into half-width sized numbers when the character type of the one-character data is a Chinese numeral. Reference numeral 4 denotes a half-width conversion means for converting when the character type of the one-character data is a full-width number into a half-width number. Reference numeral 6 denotes station number delimiter converting means for converting into a specified station number delimiter when the character type of the one-character data is a character representing a station number delimiter. Reference numeral 6 denotes a half-width numeric selection means for leaving only half-width numerals and discarding other character data when the character type of the one-character data is a character other than the above.

第11!I(b)は第2の電話番号定型化装置の構成ブ
ロック図例である。7は、電話番号の市外局番桁数を調
べられる市外局番辞書である。8は、前記市外局番辞書
を用いて局番区切り位置を算出する区切り位置算出手段
である。9は、前記区切り位置算出手段で算出した局番
区切り位置で前記電話番号データを区切る局番区切り手
段である。
11th! I(b) is an example of a configuration block diagram of the second telephone number formatting device. 7 is an area code dictionary that allows you to check the number of digits in the area code of a telephone number. Reference numeral 8 denotes a delimiter position calculating means for calculating a delimiter position of an area code using the area code dictionary. Reference numeral 9 denotes an area number dividing means for dividing the telephone number data at the area number dividing position calculated by the dividing position calculating means.

第2rM(a)は本発明の第1の電話番号定型化装置の
フローチャート例であり、FlからFlはステップの番
号である。既にコンピュータのメモリ上のバッファに例
えば第3図(a)〜(d)のいずれかのような任意の形
式で1件の電話番号データが格納されている事、これを
先頭から順に1文字ずつワークに読み出し逐次定型化処
理していく事、定型化される新しい電話番号データは別
のバッファに逐次格納していく事、以上を前提として説
明していく。
The second rM(a) is an example flowchart of the first telephone number formatting device of the present invention, and Fl to Fl are step numbers. One telephone number data is already stored in a buffer in the computer's memory in any format shown in Figures 3 (a) to (d), and it is stored one character at a time from the beginning. The following explanation assumes that the data is read out to the workpiece and is sequentially formatted, and that new telephone number data that is formatted is sequentially stored in a separate buffer.

Flては、1件の電話番号データを先頭から順に1文字
データずつ取り出す。
Fl extracts one character of telephone number data one by one from the beginning.

F2ては、Flで得た1文字データの文字種を判定する
。文字種として、′−二三”等の漢数字、”123“°
等の全角数字、”123”  等の半角数字、” 〇−
・0−・”等の局番区切りを表す文字、これ以外の不要
な文字を判定する。文字種によってF3〜F6の4つの
ステップに処理を振り分ける。
In F2, the character type of the one-character data obtained in Fl is determined. Character types include kanji numerals such as '-23', '123'°
Full-width numbers such as "123", half-width numbers such as "123", "〇-
Characters denoting station number separation such as 0-.'' and other unnecessary characters are determined. Processing is divided into four steps F3 to F6 depending on the character type.

F3ではFlで得た1文字データの文字種が第3図(a
)に示すような漢数字の場合に、半角の数字に変換し、
バッファに納める。
In F3, the character type of the single character data obtained in Fl is shown in Figure 3 (a
), convert it to half-width numbers,
Store in buffer.

F4ではFlで得た1文字データの文字種が第3図(b
)に示すような全角数字の場合に、半角数字に変換し、
バッファに納める。
In F4, the character type of the single character data obtained in Fl is shown in Figure 3 (b
), convert it to half-width numbers,
Store in buffer.

F6ではFlで得た1文字データの文字種が局番区切り
を表す文字の場合に、局番区切り文字、この実施例では
半角ハイフン”−2′に変換し、バッファに納める。た
だし、第3図(a)の先頭の括弧のように位置が不正な
場合は不要文字として取り除く。
In F6, if the character type of the one-character data obtained in Fl is a character representing a station number delimiter, it is converted to a station number delimiter, in this example a half-width hyphen "-2'", and stored in the buffer. ) If the position is invalid, such as the parenthesis at the beginning of the parenthesis, it is removed as an unnecessary character.

一方、第3図(&)の市外局番と局番の間は”)(”の
ように括弧が重複しているが、同じ位置に区切り文字が
重複する場合は、1つの区切り文字を残して後は不要文
字として取り除く。
On the other hand, between the area code and area code in Figure 3 (&), there are duplicate parentheses like ")(", but if there are duplicate delimiters at the same position, leave one delimiter. The rest are removed as unnecessary characters.

F6では、Flで得た1文字データが、半角サイズの数
字か否かを調べ、半角数字である場合は、バッファに納
める。一方、第3図(C)の”東京営業所”のどれかの
ような不要文字である場合は捨てる。
In F6, it is checked whether the one-character data obtained in Fl is a half-width number, and if it is a half-width number, it is stored in a buffer. On the other hand, if it is an unnecessary character such as "Tokyo Office" in Figure 3 (C), it is discarded.

Flでは、1件の電話番号の逐次処理を終るかを電話番
号の終りかで判定する。電話番号の終りとは第3図(a
)〜(c)のようにデータ終端の場合か、第3図(d)
のようにデータ終端でなくても電話番号の桁数を満たし
ている場合である。
In Fl, whether to end sequential processing of one telephone number is determined based on whether the telephone number is at the end. What is the ending of a telephone number? Figure 3 (a)
) to (c) at the end of the data, or as shown in Figure 3(d).
This is a case where the number of digits of the telephone number is satisfied even if it is not the end of the data.

続ける場合、Flに戻って以上の手段を繰り返す。If you wish to continue, return to Fl and repeat the above steps.

1件の電話番号データの逐次処理が終ると、電話番号デ
ータは第3図(e)のように、半角数字と規定の区切り
文字”−” で規定の形式に定型化される。
When the sequential processing of one telephone number data is completed, the telephone number data is formatted into a prescribed format using half-width numerals and a prescribed delimiter "-" as shown in FIG. 3(e).

第2図(b)は本発明の第2の電話番号定型化装置のフ
ローチャート例であり、H8からH9はステップの番号
である。
FIG. 2(b) is an example of a flowchart of the second telephone number standardization device of the present invention, and H8 to H9 are step numbers.

既にコンピュータのメモリ上のバッファに例えば第3図
(f)のような数字列で1件の電話番号データが格納さ
れている事、定型化される新しい電話番号データは別の
バッファに格納される事、以上を前提として説明してい
く。
For example, one telephone number data is already stored in a buffer in the computer's memory as a number string as shown in Figure 3(f), and new telephone number data to be standardized is stored in another buffer. I will explain this based on the above assumptions.

H8では、局番区切り位置を算出する。市外局番と桁数
の情報をあらかじめ納めである市外局番辞書を引いて、
例えば′03”で始まる場合は2桁、”0263”で始
まれば4桁、というように市外局番の区切り位置を求め
る。局番の区切り位置は電話番号の下4桁であることか
ら一意に求まる。
In H8, the station number separation position is calculated. Look up an area code dictionary that contains information on area codes and number of digits,
For example, if the area code starts with '03', it will be 2 digits, if it starts with '0263', it will be 4 digits, and so on. .

H9では、H8で算出した局番区切り位置で電話番号デ
ータを区切り、バッファに納める。数字が連続してしま
フた電話番号データの場合でも、規定の区切り文字”−
” が挿入され、第3図(e)のように規定の形式に定
型化される。
In H9, telephone number data is separated at the station number separation position calculated in H8 and stored in a buffer. Even in the case of telephone number data with consecutive numbers, the specified delimiter "-"
” is inserted and formatted into a prescribed format as shown in FIG. 3(e).

第4図は第1、第2の電話番号定型化装置に共通のハー
ドウェア構成図例である。点線で囲んだ中が例えばパー
ソナルコンピュータ内部であり、HlはCPUである。
FIG. 4 is an example of a hardware configuration diagram common to the first and second telephone number standardization devices. The area surrounded by the dotted line is, for example, the inside of a personal computer, and Hl is the CPU.

H2はRAMで、プログラムを格納したり、郵便番号デ
ータのバッファやワークとしても使用する。H3はRO
Mで、BrO3などのシステムプログラムが入っている
。H4はCRTなどのデイスプレィで、データ等を表示
する。H5はキーボードで、必要に応じてユーザがキー
人力を行なう。H6は磁気ディスク等の記録装置で、フ
ァイルの読み書きを行なう。
H2 is RAM, which is used to store programs and as a buffer and workpiece for postal code data. H3 is RO
It is M and contains system programs such as BrO3. H4 displays data, etc. on a display such as a CRT. H5 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.

[発明の効果コ 第1の装置では、数字/漢数字、全角/半角、異なる局
番区切り、不要な文字などが混在する任意の形式の電話
番号データを半角数字と規定の区切り文字の形式に定型
化するのに有効である。
[Effects of the Invention] The first device can format telephone number data in any format containing a mixture of numbers/Chinese numerals, full-width/half-width, different area code separators, unnecessary characters, etc. into a format of half-width numerals and specified delimiters. It is effective for

一方、第2の装置は、半角数字列だけの電話番号の市外
局番・局番の位置を求めて区切るのに有効である。
On the other hand, the second device is effective for determining and dividing the location of the area code and area code of a telephone number consisting only of half-width numeric strings.

第1の装置では、最初から区切り文字が無かった場合や
、第1の装置で判定できない区切り文字が使用された場
合、処理結果は区切り文字の無い、半角数字列になって
しまうが、補助として第2の装置で後処理すれば、考え
られるすべての形式の電話番号データを定型化できる。
In the first device, if there is no delimiter from the beginning or if a delimiter that cannot be determined by the first device is used, the processing result will be a half-width number string without delimiters, but as an auxiliary Post-processing in a second device allows all possible formats of telephone number data to be standardized.

任意の形式の電話番号データをコンピュータシステムで
自動的に規定の形式に定型化処理する本発明となる電話
番号定型化装置の実現により、電話番号データの定型化
を容易にする。これまで電話番号データの定型化は人手
に頼っていたが、本装置によれば、人手は全く不要にな
り、時間と手間が大幅に短縮される。
By realizing the telephone number formatting device of the present invention, which automatically formats telephone number data in an arbitrary format into a prescribed format using a computer system, it is possible to easily format telephone number data. Until now, standardization of telephone number data had to be done manually, but with this device, there is no need for any manpower at all, significantly reducing time and effort.

特にデータベースシステムにおいて、項目データの形式
の統一はデータ保存、検索・並へ換えなどのデータ管理
、データ表示などの面で最重要課題であるが、他所から
データを取り込んだ場合、例えば名刺などから文字認識
した生データや、他のデータベースからのデータコンバ
ートによる場合、電話番号の形式は統一されていない場
合がほとんどである。しかし、本装置を用いれば、デー
タベースにデータ登録する時点で自動的に定型化できる
ため、データベースと外部データの整合の障害を一掃で
きる。
Particularly in database systems, unifying the format of item data is the most important issue in terms of data storage, data management such as searching and sorting, and data display.However, when data is imported from other sources, such as from business cards, etc. In most cases, the format of telephone numbers is not standardized when using raw data after character recognition or data conversion from other databases. However, by using this device, it is possible to automatically format data at the time of registering it in the database, which eliminates the problem of consistency between the database and external data.

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

第1図(a)は本発明による第1の電話番号定型化装置
の構成ブロック図である。 第1図(b)は第2の電話番号定型化装置の構成ブロッ
ク図である。 第2図(a)、  (b)は装置の作動手順を示すフロ
ーチャート、第3図(a)〜(f)は電話番号データ例
を示す図、第4図は装置のハードウェア構成図である。 l: 1文字取得手段 2:文字種判定手段 3:数字変換手段 4:半角変換手段 5:局番区切り文字変換手段 6: 7: 8: 9: 半角数字選抜手段 市外局番辞書 区切り位置算出手段 局番区切り手段 出願人 セイコーエプソン株式会社 代理人 弁理士 鈴木喜三部 他1名 第1図 (Q) 第1 図 (b) 第2図 (Q) 第2図 (b) 第3図(0) 第31!I (b) 第3図(C) 第3f!f(d) 第31!f (e) 第3図(f) (0−ユニ)(四重)六をへ九 〇123・45・6789 $店瞥i析0123−45−6789 0123−45−6789(丙緯)3210第4図
FIG. 1(a) is a block diagram of a first telephone number standardization device according to the present invention. FIG. 1(b) is a block diagram of a second telephone number standardization device. Figures 2 (a) and (b) are flowcharts showing the operating procedure of the device, Figures 3 (a) to (f) are diagrams showing examples of telephone number data, and Figure 4 is a hardware configuration diagram of the device. . l: 1 character acquisition means 2: Character type determination means 3: Number conversion means 4: Half-width conversion means 5: Station number separator Character conversion means 6: 7: 8: 9: Half-width numeric selection means Area code dictionary Separation position calculation means Station number separation Applicant of means Seiko Epson Co., Ltd. agent Patent attorney Kizobe Suzuki and one other person Figure 1 (Q) Figure 1 (b) Figure 2 (Q) Figure 2 (b) Figure 3 (0) Figure 31 ! I (b) Figure 3 (C) 3rd f! f(d) 31st! f (e) Figure 3 (f) (0-Uni) (Quadruple) 6 to 90123-45-6789 $ Store View i Analysis 0123-45-6789 0123-45-6789 (Hei-Latitude) 3210th Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)文字コードデータを記憶装置に格納し、任意の形
式の電話番号データを規定の形式に定型化する電話番号
定型化装置において、 前記電話番号データを先頭から順に1文字データずつ取
り出す1文字取得手段と、 前記1文字データの文字種を判定する文字種判定手段と
、 前記1文字データの文字種が漢数字の場合に数字に変換
する数字変換手段と、 前記1文字データの文字種が全角サイズの数字の場合に
半角サイズに変換する半角変換手段と、前記1文字デー
タの文字種が局番の区切りを表す文字の場合に規定の局
番区切り文字に変換する局番区切り文字変換手段と、 前記1文字データが前記以外の文字種の場合に半角サイ
ズの数字のみを残し、他の文字を捨てる半角数字選抜手
段とを少なくとも備えたことを特徴とする電話番号定型
化装置。
(1) In a telephone number formatting device that stores character code data in a storage device and formats telephone number data in an arbitrary format into a prescribed format, one character is extracted from the telephone number data one character at a time from the beginning. an acquisition means; a character type determination means for determining the character type of the one-character data; a number conversion means for converting into a number when the character type of the one-character data is a Chinese numeral; and a character type of the one-character data is a full-width number. half-width conversion means for converting to a half-width size when the one-character data is a character delimiting the station number; station number delimiter conversion means for converting into a prescribed station number delimiter when the character type of the one-character data is a character representing a station number delimiter; A telephone number standardization device comprising at least half-width digit selection means for leaving only half-width sized digits and discarding other characters in the case of character types other than .
(2)文字コードデータを記憶装置に格納し、数字列か
らなる電話番号データを市外局番、局番で区切る電話番
号定型化装置において、 電話番号の市外局番桁数を調べられる市外局番辞書と、 前記市外局番辞書を用いて局番区切り位置を算出する区
切り位置算出手段と、 前記区切り位置算出手段で算出した局番区切り位置で前
記電話番号データを区切る、局番区切り手段とを少なく
とも備えたことを特徴とする電話番号定型化装置。
(2) An area code dictionary that allows you to check the number of digits in the area code of a phone number in a phone number formatting device that stores character code data in a storage device and separates phone number data consisting of a number string by area code and area code. and at least a delimiter position calculation means for calculating an area code delimiter position using the area code dictionary, and an area code delimiter means for delimiting the telephone number data at the area code delimiter position calculated by the delimiter position calculation means. A phone number stylization device featuring:
JP02134656A 1990-05-24 1990-05-24 Telephone number stylization device and telephone number stylization method Expired - Fee Related JP3081622B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02134656A JP3081622B2 (en) 1990-05-24 1990-05-24 Telephone number stylization device and telephone number stylization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02134656A JP3081622B2 (en) 1990-05-24 1990-05-24 Telephone number stylization device and telephone number stylization method

Publications (2)

Publication Number Publication Date
JPH0430647A true JPH0430647A (en) 1992-02-03
JP3081622B2 JP3081622B2 (en) 2000-08-28

Family

ID=15133482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02134656A Expired - Fee Related JP3081622B2 (en) 1990-05-24 1990-05-24 Telephone number stylization device and telephone number stylization method

Country Status (1)

Country Link
JP (1) JP3081622B2 (en)

Also Published As

Publication number Publication date
JP3081622B2 (en) 2000-08-28

Similar Documents

Publication Publication Date Title
CN102063482B (en) High-efficiency contact searching method of handheld device
CN102722525A (en) Methods and systems for establishing language model of address book names and searching voice
US20020184028A1 (en) Text to speech synthesizer
CN1121605A (en) Information processing method and apparatus
CN108073591B (en) Integrated storage system and method of multi-source data with identity attribute
JP2740335B2 (en) Table reader with automatic cell attribute determination function
Al-Fedaghi et al. Morphological compression of Arabic text
JPH0430647A (en) Telephone number routine processing device
JP2681663B2 (en) Japanese sentence correction candidate character extraction method
JP3275704B2 (en) Input character string guessing recognition device
JPH0554077A (en) Word dictionary retriever
JPH08272813A (en) Filing device
CN112800722B (en) Text organization coding method based on semantic understanding
JP2680845B2 (en) Character input coding method
JPH0433053A (en) Name shaping device
JPH05108740A (en) Band graph recognizing device
CN115544965A (en) Simple calculation method for English word appearance feature code
JP3419425B2 (en) Recognition character correction device
CN115952411A (en) Method and system for extracting dynamic language anti-confusion features of front-end interface
JP2000200323A (en) Online handwriting kanji recognizing device
JPH1021252A (en) Information retrieval device
JPS595335A (en) Japanese language input device
JPH09245047A (en) Method and device for encoding word and phrase
JPH0573685A (en) Rader chart recognizing device
JPH0863551A (en) Document preparing device and method therefor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090623

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees