JPH0522269B2 - - Google Patents

Info

Publication number
JPH0522269B2
JPH0522269B2 JP57176152A JP17615282A JPH0522269B2 JP H0522269 B2 JPH0522269 B2 JP H0522269B2 JP 57176152 A JP57176152 A JP 57176152A JP 17615282 A JP17615282 A JP 17615282A JP H0522269 B2 JPH0522269 B2 JP H0522269B2
Authority
JP
Japan
Prior art keywords
digit
character
pronunciation
kana
buffer
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.)
Expired - Lifetime
Application number
JP57176152A
Other languages
Japanese (ja)
Other versions
JPS5966733A (en
Inventor
Kazuaki Tanaka
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP57176152A priority Critical patent/JPS5966733A/en
Publication of JPS5966733A publication Critical patent/JPS5966733A/en
Publication of JPH0522269B2 publication Critical patent/JPH0522269B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、数字と、それに続く助数詞に読み仮
名を自動付与する数詞の読み仮名付与方式に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a method for automatically assigning kana pronunciations to numbers and the number particles following them.

〔従来技術〕[Prior art]

数字の直後の漢字文字列(助数詞)の読み仮名
付与を行なう従来方式では、一字単位に漢字の読
みが一意に決められている。そしてそれ以外の読
みとなる場合には、その漢字の前後の文字を合わ
せた熟語の例外辞書が用意されており、変換処理
において変換対象となる漢字が例外辞書に登録さ
れていれば、その読みを優先させる方式をとつて
いる。数詞についても、助数詞の直前の数字によ
り助数詞の読みが変わるものについては、例外辞
書に登録されている。
In the conventional method of assigning a reading kana to a kanji character string (counterword) immediately after a number, the reading of a kanji is uniquely determined for each character. If the kanji has a different reading, an exception dictionary of compound words is prepared that combines the characters before and after the kanji, and if the kanji to be converted during the conversion process is registered in the exception dictionary, the reading is We have adopted a method of prioritizing the following. Regarding number words, those whose reading changes depending on the number immediately before the particle are registered in the exception dictionary.

しかし、この方法では、数字の読み仮名付けが
できないことと、助数詞の大部分のものについ
て、1、3、6、8、十、百、千等の組合せで読
み仮名を例外辞書に持つ必要があつた。
However, with this method, it is not possible to give pronunciation kana names for numbers, and for most of the number particles, it is necessary to have pronunciation kana in combinations such as 1, 3, 6, 8, ten, hundred, thousand, etc. in the exception dictionary. It was hot.

一方、数詞の読み仮名付与方式の用途の一つと
して、数詞の音声出力時に、数詞に読み仮名を付
与するための利用が考えられるが、この時は、音
調に抑揚をつけるため、1桁の数字と桁数を表わ
す文字、1桁の数字と助数詞、桁数を表わす文字
と助数詞のいずれかの1組での読み仮名付けが必
要となる。
On the other hand, one possible use of the reading kana assignment method for number words is to add reading kana to number words when outputting the number words aloud. It is necessary to create a reading kana name using one of the following combinations: a number and a character representing the number of digits, a single digit number and a particle, or a character representing the number of digits and a particle.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、数字と、それに続く文字列
(助数詞)の読み仮名付けを自動化する方式にお
いて、助数詞に応じて数字の読みを決定すると共
に、数字に応じて助数詞の読みを決定する方式を
提供することにある。
An object of the present invention is to provide a method for automating the pronunciation and naming of numbers and character strings following them (particles), in which the pronunciation of the number is determined according to the particle, and the reading of the particle is determined according to the number. It is about providing.

本発明の他の目的は、大量の助数詞の読み仮名
を登録するに当り、所要計算機メモリ容量を最小
限にとどめる方式を提供することにある。
Another object of the present invention is to provide a system that minimizes the required computer memory capacity when registering the pronunciations of a large number of classifiers.

〔発明の概要〕[Summary of the invention]

数字は、その桁数や後続の助数詞に依存して、
その読み方が変化する。同様に、桁数を表現する
十、百、千等の桁文字や、助数詞についても、直
前の数字に依存して、その読み方が変化する。
Depending on the number of digits and the following particle, the number is
The way it is read changes. Similarly, the readings of digit characters such as tens, hundreds, and thousands, which express the number of digits, and number words change depending on the number immediately preceding them.

そこで、本発明においては、桁文字は助数詞に
応じた、数字や桁文字の読み仮名をパターン別に
格納した数字の読み仮名テーブルと、助数詞又は
桁文字に応じた、桁文字や助数詞の読み仮名のタ
イプを、パターン別に格納した桁文字・助数詞の
読み仮名変換テーブル、および桁文字や助数詞の
各々について、その読み仮名と、上記2テーブル
のどのパターンに該当するかを示すコードとを登
録できる変換タイプ・テーブルとを用意してお
き、次の処理手順で数詞に読み仮名を付与する。
Therefore, in the present invention, digit characters are divided into a number reading kana table that stores the reading kana of numbers and digit characters according to patterns according to the classifier, and a number reading kana table that stores the reading kana of digit characters and classifiers according to the classifier or digit character. A conversion type that can register the pronunciation conversion table for digit characters and classifiers in which types are stored by pattern, and the pronunciation and code indicating which pattern in the two tables above corresponds to each digit character and classifier.・Prepare a table and add reading kana to number words using the following processing steps.

本方式の記述においては、数字は、算用数字に
統一するものとする。
In the description of this method, numbers shall be unified into arithmetic numerals.

(a) 数詞の算用数字の直後の文字が、桁文字なら
ば、算用数字だけの表現に統一する。
(a) If the character immediately after the arithmetic numeral in a number word is a digit character, the expression should be unified to use only the arithmetic numeral.

(b) 数詞の数字が、漢数字表記ならば、1から9
までの算用数字と十、百、千、万等の桁文字と
に変換する。
(b) If the numbers in number words are written in Chinese numerals, they are from 1 to 9.
Converts to arithmetic numbers up to and digit characters such as tens, hundreds, thousands, ten thousand, etc.

(c) 数詞の数字が、算用数字列である場合には、
各数字の直後に、その数字の桁数を示す桁文字
を挿入する。
(c) If the number in the number word is an arithmetic number string,
Insert a digit character immediately after each number to indicate the number of digits in that number.

(d) 読み仮名付与単位は、1桁の算用数字と桁文
字、1桁の算用数字と助数詞、桁文字と助数詞
のいずれか1組とする。
(d) The unit of reading kana shall be one set of a 1-digit arithmetic number and a digit character, a 1-digit arithmetic number and a particle, or a digit character and a particle.

(e) 変換タイプ・テーブルを参照して、桁文字や
助数詞の読み仮名と、数字の読み仮名テーブル
および桁文字・助数詞の読み仮名変換テーブル
のパターン・コードとを求める。
(e) Refer to the conversion type table to obtain the reading kana of digit characters and classifiers, and the pattern code of the reading kana table of numbers and the reading kana conversion table of digit characters and classifiers.

(f) 数字の読み仮名テーブルを参照し、(e)で求め
たパターン・コードに対応する数字の読み仮名
を求める。
(f) Refer to the number reading kana table and find the number reading kana corresponding to the pattern code found in (e).

(g) 桁文字・助数詞の読み仮名変換テーブルを参
照し、数字と(e)で求めたパターン・コードに対
応する読み仮名変換タイプを求め、そのタイプ
に応じた桁文字又は助数詞の読み仮名を求め
る。
(g) Refer to the pronunciation conversion table for digit characters and classifiers, find the pronunciation conversion type that corresponds to the number and the pattern code obtained in (e), and convert the pronunciation of the digit character or classifier according to that type. demand.

(h) (d)で求めた、全ての読み仮名付与単位につい
て、(e)、(f)、(g)の処理を行なう。
(h) Perform the processes in (e), (f), and (g) for all the pronunciation units obtained in (d).

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を図面を参照して詳細に説明す
る。本発明の一実施例のハードウエア構成を第1
図に示す。第1図における1はプロセツサ、2は
磁気テープや磁気デイスク等の数詞データ格納メ
モリ、3は数詞と、付与された読み仮名を格納す
る出力データ格納メモリ、4はプログラム格納メ
モリ、5はワーク・エリア、6は漢数字置換テー
ブル・メモリ、7は桁文字テーブル・メモリ、8
は挿入桁文字テーブル・メモリ、9は桁文字置換
テーブル・メモリ、10は変換タイプ・テーブ
ル・メモリ、11は数字の読み仮名テーブル・メ
モリ、12は桁文字・助数詞の読み仮名変換テー
ブル・メモリである。
Hereinafter, the present invention will be explained in detail with reference to the drawings. The hardware configuration of one embodiment of the present invention is described in the first example.
As shown in the figure. In FIG. 1, 1 is a processor, 2 is a number word data storage memory such as a magnetic tape or magnetic disk, 3 is an output data storage memory for storing number words and assigned pronunciations, 4 is a program storage memory, and 5 is a work memory. area, 6 is Kanji numeral substitution table memory, 7 is digit character table memory, 8
is the insertion digit character table memory, 9 is the digit character substitution table memory, 10 is the conversion type table memory, 11 is the reading kana table memory for numbers, and 12 is the reading kana conversion table memory for digit characters and classifiers. be.

漢数字置換テーブル・メモリ6には、第2図に
示すような、漢数字と、それに対応する算用数字
とが1組として格納される。
The Chinese numeral substitution table memory 6 stores a set of Chinese numerals and their corresponding arithmetic numerals as shown in FIG.

桁文字テーブル・メモリ7には、第3図に示す
ような、桁文字と、それが10の何乗を意味するか
を示す数値とが1組として格納されている。
The digit character table memory 7 stores a digit character and a numerical value indicating what power of 10 it means, as shown in FIG. 3, as a set.

ここで、桁文字とは、十、百、千などの漢字に
よる桁数表現をいう。
Here, the digit character refers to the representation of the number of digits using Kanji characters such as tens, hundreds, and thousands.

第3図において、桁文字「百」とは、10の2乗
であることを示す。
In FIG. 3, the digit character "100" indicates 10 squared.

挿入桁文字テーブル・メモリ8には、第4図に
示すような、数値の各桁と、それに対応する桁文
字とが1組として格納されている。処理の都合
上、1桁目および小数点以下の桁については、仮
に、「点」、「零」が対応づけられる。
The insertion digit character table memory 8 stores each digit of a numerical value and its corresponding digit character as a set, as shown in FIG. For convenience of processing, "point" and "zero" are temporarily associated with the first digit and the digits below the decimal point.

桁文字置換テーブル・メモリ9には、第5図に
示すような、連続した0と桁文字との組合せと、
置換可能な1文字の桁文字とが1組として格納さ
れている。
The digit character substitution table memory 9 stores combinations of consecutive 0s and digit characters as shown in FIG.
A replaceable one-character digit character is stored as a set.

変換タイプ・テーブル・メモリ10には、第6
図に示すような、桁文字や助数詞(ここでは、数
字の後に続く、桁文字以外の文字列をいう。例と
して、年、足、報、坪、メートル、つ、匹などが
ある。)と、その読みとして、標準形と、濁音形
と、半濁音形、更に、桁文字や助数詞の直前の数
字の読み仮名パターンを示すコードと、桁文字や
助数詞の読み仮名が、前置数字により変化するパ
ターンを示すコードとが1組となつて格納されて
いる。例えば、助数詞「匹」は、その読みとし
て、標準形「ヒキ」、濁音形「ビキ」、半濁音形
「ピキ」、数字の読み仮名パターンとして、1(イ
ツ)、2(ニ)、3(サン)、4(ヨン)、5(ゴ)、

(ロツ)、7(ナナ)、8(ハツ)、9(キユウ)、十
(ジユツ)、百(ヒヤツ)、千(セン)、万(マン)、
億(オク)等と読み仮名付けされるパターン・コ
ード「c」、桁文字・助数詞の読み仮名変換パタ
ーンとして、1匹(ピキ)、2匹(ヒキ)、3匹
(ビキ)、4匹(ヒキ)、5匹(ヒキ)、6匹(ピ
キ)、7匹(ヒキ)、8匹(ピキ)、9匹(ヒキ)、
十匹(ピキ)、百匹(ピキ)、千匹(ビキ)、万匹
(ビキ)、億匹(ヒキ)等と読み仮名変換される変
換パターン「b」が格納される。
The conversion type table memory 10 includes the sixth
As shown in the figure, digit characters and number words (Here, we refer to character strings other than digit characters that follow numbers. Examples include 年, ashi, hou, tsubo, meter, tsu, and rai.) , its reading is standard form, voiced sound form, semi-voiced sound form, code indicating the reading kana pattern of the number immediately before the digit character or classifier, and the reading kana of the digit character or classifier changes depending on the prefix number. A set of codes indicating a pattern to be used is stored as a set. For example, the number word ``hira'' can be read in the standard form ``hiki'', in the voiced form ``biki'', in the semi-voiced form ``piki'', and as kana patterns for reading numbers, 1 (itsu), 2 (ni), 3 ( San), 4 (Yon), 5 (Go),
6
(lots), 7 (nana), 8 (hatsu), 9 (kiyu), 10 (jiyutsu), 100 (hiyatsu), 1000 (sen), 10,000 (man),
The pattern/code "c" is pronounced as 100 million (oku), etc., and the pronunciation kana conversion patterns for digit characters/counters are 1 (piki), 2 (hiki), 3 (biki), 4 ( Hiki), 5 (Hiki), 6 (Piki), 7 (Hiki), 8 (Piki), 9 (Hiki),
Conversion patterns "b" that are converted into kana characters are stored, such as 10 animals (piki), 100 animals (piki), 1000 animals (biki), 10,000 animals (biki), 100 million animals (hiki), etc.

数字の読み仮名テーブル・メモリ11には、第
7図に示すように、各数字の読み方が、パターン
別に格納されている。ここで、空欄は、その数字
の読みを付与しないことを示す。たとえば、数詞
データ「1百」の数字1には読み仮名を付与しな
い。
In the number reading kana table memory 11, as shown in FIG. 7, the reading of each number is stored by pattern. Here, a blank column indicates that no reading is given to the number. For example, no pronunciation is given to the number 1 in the numeral data "100".

桁文字・助数詞の読み仮名変換テーブル・メモ
リ12には、第8図に示すように、各数字に対し
て、標準形、濁音形、半濁音形のどの読み仮名タ
イプを付与すべきかが、変換パターン別に格納さ
れている。テーブル中のは読み仮名変換タイプ
が標準形であることを示す。同様に、は濁音
形、は半濁音形であることを示す。
As shown in FIG. 8, the reading kana conversion table memory 12 for digit characters and classifiers contains conversion information that determines which reading kana type, standard form, voiced sound form, or semi-voiced sound form, should be given to each number. Stored by pattern. The symbol in the table indicates that the reading kana conversion type is the standard form. Similarly, indicates that it is a dakuon form, and indicates that it is a semi-dakuon form.

例えば、変換パターン「b」では、数字1に対
して、半濁音形をとることを示しており、以下、
2(標準形)、3(濁音形)、4(標準形)、5(標準
形)、6(半濁音形)、7(標準形)、8(半濁音形)

9(標準形)、十(半濁音形)、百(半濁音形)、千
(濁音形)、万(濁音形)、億(標準形)等と示さ
れる。
For example, the conversion pattern "b" indicates that the number 1 has a semi-voiced form, and below,
2 (standard form), 3 (voiced form), 4 (standard form), 5 (standard form), 6 (semi-voiced form), 7 (standard form), 8 (semi-voiced form)
,
They are expressed as 9 (standard form), 10 (semi-voiced form), 100 (semi-voiced form), 1,000 (voiced form), 10,000 (voiced form), 000 million (standard form), etc.

プログラムは、第9図のようなモジユール構成
をとる。
The program has a modular structure as shown in FIG.

数詞の読み仮名付与処理概要を次に示す。 An overview of the pronunciation kana assignment process for number words is shown below.

まず、読み仮名付与時に用いられる各テーブル
を、プロセツサ主記憶メモリ5上にロードし、読
み仮名付与の対象となる数詞データを、数詞デー
タ格納メモリ2から取出す。数詞データが、漢数
字表現ならば、漢数字置換サブルーチンを起動し
て、漢数字の算用数字への置換を行ない、例外的
な読み仮名付与を必要とする場合には、例外読み
仮名付与サブルーチンを起動して読み仮名付けを
行なう。又、数詞データに、例えば、100万円の
ように、算用数字(以降、単に数字という場合に
は算用数字をいう。)と漢数字(以降、漢数字の
ことを桁文字という。)とが連続している場合に
は、桁数補正サブルーチンを起動して、算用数字
に統一する。
First, each table used when assigning pronunciation kana is loaded onto the processor main memory 5, and the numeral data to be assigned pronunciation is taken out from the numeral data storage memory 2. If the numeral data is expressed in Chinese numerals, a subroutine for replacing kanji numerals is activated to replace the kanji numerals with arithmetic numerals, and if an exceptional reading kana assignment is required, an exceptional reading kana assignment subroutine is started. Start up and read and give a tentative name. In addition, number word data includes, for example, 1 million yen, arithmetic numerals (hereinafter simply referred to as numbers) and kanji numerals (hereinafter kanji numerals are referred to as digit characters). If the numbers are consecutive, the number of digits correction subroutine is activated to unify the numbers into arithmetic numbers.

読み仮名付けは、<1字の数字><桁文字>、<
1字の数字><助数詞>、<1字の数字><桁文
字><助数詞>(<1字の数字>だけの場合は、
空白の助数詞があると考える。)のいずれかの語
構成を単位として行なうため、桁文字挿入サブル
ーチンを起動して、算用数字の間に桁文字を挿入
する。読み仮名付与サブルーチンにおいて、数詞
に付与された読み仮名は、数詞とともに、出力デ
ータ格納メモリ3に出力される。
The pronunciation is <1 character number><digitcharacter>,<
1-character number><counterword>, <1-character number><digit character><counterword> (If only 1-character number>,
Consider that there is a blank particle. ), a digit character insertion subroutine is activated to insert a digit character between arithmetic digits. In the pronunciation kana assignment subroutine, the pronunciation assigned to the number word is output to the output data storage memory 3 together with the number word.

次に、数詞の読み仮名付与手順について、フロ
ーチヤートに基づき説明するとともに、具体的な
数詞データとして、「26659.3坪」の読み仮名付与
プロセスを例示する。
Next, the procedure for assigning pronunciation kana to number words will be explained based on a flowchart, and the pronunciation kana assignment process for "26659.3 tsubo" will be exemplified as specific number word data.

初めに、数詞の読み仮名付与メイン・ルーチン
について、第10図のフローチヤートに基づき説
明する。
First, the main routine for assigning pronunciations to kana numbers will be explained based on the flowchart of FIG.

当メイン・ルーチンは、起動されると、磁気テ
ープ、磁気デイスク等から、漢数字置換テーブル
をプロセツサ上にロードする(100)。同様に、桁
文字テーブル(101)、挿入桁文字テーブル
(102)、桁文字置換テーブル(103)、変換タイ
プ・テーブル(104)、数字の読み仮名テーブル
(105)、桁文字・助数詞の読み仮名変換テーブル
(106)を、プロセツサ上にロードする。次に、読
み仮名付与の対象となる数詞データを、数詞デー
タ格納メモリ2から取り出し、第16図に例示す
るような、バツフアAに格納する(107)。もし、
対象データが、数詞データ格納メモリ2にない
と、当メイン・ルーチンの処理を終了する。
When this main routine is activated, it loads a Chinese numeral substitution table from a magnetic tape, magnetic disk, etc. onto the processor (100). Similarly, the digit character table (101), the inserted digit character table (102), the digit character substitution table (103), the conversion type table (104), the reading kana table for numbers (105), the reading kana for digit characters and classifiers. Load the conversion table (106) onto the processor. Next, the number word data to be assigned a pronunciation kana is taken out from the number word data storage memory 2 and stored in buffer A as illustrated in FIG. 16 (107). if,
If the target data is not in the numeral data storage memory 2, the processing of this main routine is terminated.

取り込まれた数詞の数字が、漢数字表現である
かを判定し(108)、満足すれば、バツフアAの文
字列をバツフアBに格納して(117)、漢数字置換
サブルーチンを起動し、漢数字を算用数字に置換
(118)後、115以降の処理を実行し、満足しなけ
れば、109以降の処理を実行する。109では、数詞
データの算用数字の部分を、第17図に例示する
ような、バツフアBに、残りの部分を、第18図
に例示するような、バツフアCに格納する
(109)。バツフアAの数詞データが、例外読みデ
ータ、例えば、日付の1日(ついたち)、2日
(ふつか)、…10日(とうか)などであるかを判定
し(110)、満足すれば、例外読み仮名付与サブル
ーチンを起動して読み仮名を付与し、第21図に
例示するような、バツフアFに格納して(118)、
116以降の処理を実行し、満足しなければ、111以
降の処理を実行する。111では、バツフアCの先
頭文字が桁文字かを判定し(111)、満足すれば、
桁数補正サブルーチンを起動し、桁文字を数値に
変え(112)、113以降の処理を実行し、満足しな
ければ、113以降の処理を実行する。
It is determined whether the number of the imported numeral is expressed in Chinese numerals (108), and if it is satisfied, the character string in buffer A is stored in buffer B (117), the Kanji digit replacement subroutine is activated, and the character string is expressed in Chinese numerals. After replacing the number with an arithmetic numeral (118), execute the process from 115 onwards, and if not satisfied, execute the process from 109 onwards. In step 109, the arithmetic numeral portion of the number word data is stored in buffer B as illustrated in FIG. 17, and the remaining portion is stored in buffer C as illustrated in FIG. 18 (109). It is determined whether the numeral data of Batsuhua A is exceptional reading data, such as the 1st day (tsukitachi), 2nd day (futsuka), ... 10th day (touka) of the date (110), and if it is satisfied, Activate the exception pronunciation kana assignment subroutine to assign pronunciation kana, and store it in buffer F as illustrated in FIG. 21 (118).
Execute the process from 116 onwards, and if not satisfied, execute the process from 111 onwards. In 111, it is determined whether the first character of Batsuhua C is a digit character (111), and if it is satisfied,
Activates the digit number correction subroutine, changes digit characters to numerical values (112), executes the processes from 113 onwards, and if not satisfied, executes the processes from 113 onwards.

113では、桁文字挿入サブルーチンを起動し、
バツフアBの算用数字の間に桁文字を挿入し、第
19図に例示するような、バツフアDに格納する
(113)。バツフアDとバツフアC内の文字列を結
合し、第20図に例示するような、バツフアEに
格納する(114)。読み仮名付与サブルーチンを起
動し、バツフアEの文字列に読み仮名を付与し、
バツフアFに格納する(115)。バツフアAとバツ
フアFとを1組として、出力データ格納メモリ3
に出力する(116)。その後、107以降の処理を繰
り返す。
113 starts the digit character insertion subroutine and
A digit character is inserted between the arithmetic numbers in buffer B and stored in buffer D as illustrated in FIG. 19 (113). The character strings in buffers D and C are combined and stored in buffer E as illustrated in FIG. 20 (114). Activate the reading kana assignment subroutine, add the reading kana to the character string Batsuhua E,
Store in buffer F (115). Output data storage memory 3 includes buffer A and buffer F as one set.
Output to (116). After that, repeat the process from 107 onwards.

例えば、107で、数詞データ「26659.3坪」が取
り出された場合、第16図に示すように、バツフ
アAに格納され、数詞データが、漢数字表現では
ないため、算用数字部分「26659.3」が第17図
に示すように、バツフアBに、残りの部分「坪」
が第18図に示すように、バツフアCに格納され
る。数詞データは、例外読みデータではなく、バ
ツフアCの先頭文字が桁文字ではないので、113
で桁文字挿入サブルーチンを起動して、算用数字
間に桁文字が挿入され、第19図に示すように、
バツフアDに格納される。バツフアDとバツフア
C内の文字列が結合されて、第20図に示すよう
に、バツフアEに格納され、115で読み仮名付与
サブルーチンが起動され、付与された読み仮名
が、第21図に示すように、バツフアFに格納さ
れる。
For example, when the number word data "26659.3 tsubo" is extracted in 107, it is stored in buffer A as shown in Figure 16, and since the number word data is not expressed in Chinese numerals, the arithmetic number part "26659.3" is As shown in Figure 17, the remaining part "tsubo" is
is stored in buffer C as shown in FIG. The numeral data is not exceptional reading data, and the first character of Batsuhua C is not a digit character, so it is 113.
starts the digit character insertion subroutine, and digit characters are inserted between the arithmetic digits, as shown in Figure 19.
It is stored in buffer D. The character strings in buffers D and C are combined and stored in buffer E as shown in FIG. It is stored in the buffer F as follows.

バツフアAとバツフアFとが1組として、出力
データ格納メモリ3に出力され、処理を終了す
る。
Buffer A and buffer F are output as one set to the output data storage memory 3, and the process ends.

次に、漢数字置換サブルーチンについて、第1
1図のフローチヤートに基づき説明する。
Next, regarding the Chinese numeral replacement subroutine, the first
This will be explained based on the flowchart shown in FIG.

当サブルーチンは、起動されると、バツフアB
の先頭文字が桁文字かを判定し(201)、満足すれ
ば、バツフアBの文字列の先頭に、数字の1を付
加して、バツフアBに格納(202)後、203以降の
処理を実行し、満足しなければ、203以降の処理
を実行する。203では、バツフアB内の文字列中
に、桁文字が連続して存在するかを判定し
(203)、満足すれば、それら桁文字の間に、数字
の1を挿入して、バツフアBに格納(204)後、
203以降の処理を繰返し、満足しなければ、205以
降の処理を実行する。205では、バツフアB内の
文字列中に、第2図に示す漢数字置換テーブルの
左欄に登録されている漢数字があるかを判定し
(205)、満足すれば、その漢数字を、漢数字置換
テーブルの右欄に登録されている算用数字に置換
(206)後、205以降の処理を繰返し、満足しなけ
れば、207以降の処理を実行する。207では、バツ
フアBの文字列をバツフアEに格納(207)後、
当サブルーチンの処理を終了する。
When this subroutine is started, the buffer B
Determine whether the first character is a digit character (201), and if satisfied, add the number 1 to the beginning of the character string in buffer B, store it in buffer B (202), and execute the processes from 203 onwards. However, if not satisfied, the process from 203 onwards is executed. In 203, it is determined whether digit characters exist consecutively in the character string in buffer B (203), and if it is satisfied, the number 1 is inserted between those digit characters, and the number 1 is added to buffer B. After storing (204),
Repeat the process from 203 onwards, and if not satisfied, execute the process from 205 onwards. At step 205, it is determined whether or not there is a kanji numeral registered in the left column of the kanji numeral replacement table shown in Figure 2 in the character string in buffer B (205), and if it is satisfied, the kanji numeral is After replacing with the arithmetic numerals registered in the right column of the Chinese numeral replacement table (206), repeat the process from 205 onwards, and if the results are not satisfied, execute the processes from 207 onwards. In 207, after storing the character string of buffer B in buffer E (207),
Terminates the processing of this subroutine.

例えば、数詞データ「千百二十円」の場合、バ
ツフアBの先頭が桁文字であるため、「1千百二
十円」が、バツフアBに格納される。次に、203
で、桁文字、千と百が連続していることから、そ
の間に1が挿入され、「1千1百二十円」がバツ
フアBに格納される。205で、数詞データ中の二
が、漢数字置換テーブルに登録されていることか
ら、算用数字2に置換され、207で、バツフアE
に「1千1百2十円」が格納されて処理を終了す
る。
For example, in the case of numeral data "1,112 yen,""1,112yen" is stored in buffer B because the beginning of buffer B is a digit character. Then 203
Since the digit characters 1,000 and 100 are consecutive, 1 is inserted between them, and "1,1120 yen" is stored in buffer B. At 205, since 2 in the number word data is registered in the Chinese numeral substitution table, it is replaced with the numeral 2, and at 207, the number 2 is replaced with the numeral 2.
"1,1120 yen" is stored in , and the process ends.

次に、桁数補正サブルーチンについて、第12
図のフローチヤートに基づき説明する。
Next, regarding the digit number correction subroutine, the 12th
This will be explained based on the flowchart shown in the figure.

当サブルーチンは、起動されると、バツフアB
の数値に、バツフアCの桁文字に見合うだけの0
を付加する為、第3図に示すような桁文字と付加
すべき0の数の対応テーブルを参照して、付加す
べき0の数を、パラメータNUMに格納する
(301)。
When this subroutine is started, the buffer B
In the numerical value, there are as many 0s as there are digits in Batsuhua C.
In order to add , the number of 0s to be added is stored in the parameter NUM by referring to the correspondence table of digit characters and the number of 0s to be added as shown in FIG. 3 (301).

バツフアBの数値内に、小数点があるかを判定
し(302)、満足すれば、303以降の処理を実行し、
満足しなければ、308以降の処理を実行する。303
では、バツフアB内の数値の小数点以下の桁数を
求め、パラメータNNに格納する(303)。付加す
べき0の数が、小数点以下の桁数より小さいかを
判定し(304)、満足すれば、バツフアBの数値の
小数点の位置を、NUMからNNを差し引いた桁
数だけ右へ移して(306)309以降を実行し、満足
しなければ、305以降を実行する。305では、バツ
フアB内の数値の小数点を削除し(305)、NUM
からNNを差し引いた値をNUMに格納する
(307)。
Determine whether there is a decimal point in the value of buffer B (302), and if satisfied, execute the processes from 303 onwards,
If not satisfied, execute processing from 308 onwards. 303
Now, the number of digits below the decimal point of the numerical value in buffer B is determined and stored in parameter NN (303). Determine whether the number of 0s to be added is smaller than the number of digits after the decimal point (304), and if satisfied, move the decimal point of the number in buffer B to the right by the number of digits obtained by subtracting NN from NUM. (306) Execute steps 309 onwards, and if not satisfied, execute steps 305 onwards. 305 removes the decimal point of the number in buffer B (305) and converts it to NUM
The value obtained by subtracting NN from is stored in NUM (307).

次に、バツフアB内の数値の後に、NUMの数
だけ0を付加し(308)、バツフアC内の桁文字を
削除する(309)。その後、当サブルーチンの処理
を終了する。
Next, the number of zeros equal to NUM is added after the numerical value in buffer B (308), and the digit characters in buffer C are deleted (309). Thereafter, the processing of this subroutine ends.

例えば、数値データ「10.5万円」の場合、桁文
字テーブルを参照して、桁文字「万」に対応し
て、数値「10.5」に付加すべき0の数として、パ
ラメータNUMに数字4を格納する。バツフアB
内の数値「10.5」内に小数点があるので、303で
小数点以下の桁数を求め、パラメータNNに、数
字1を格納する。付加すべき0の数が、小数点以
下の桁数より小さくないので、バツフアB内の数
値から小数点を削除する。次に、NUMからNN
を引いた値3を、NUMに格納後、バツフアB内
の数値の後に、3個の数字0を付加し、バツフア
C内の桁文字「万」を削除して、処理を終了す
る。
For example, in the case of the numerical data "105,000 yen", refer to the digit character table and store the number 4 in the parameter NUM as the number of 0s to be added to the numerical value "10.5", corresponding to the digit character "10,000". do. Batsuhua B
Since there is a decimal point within the number "10.5", calculate the number of digits after the decimal point in 303 and store the number 1 in the parameter NN. Since the number of 0s to be added is not smaller than the number of digits to the right of the decimal point, the decimal point is deleted from the numerical value in buffer B. Then from NUM to NN
After subtracting the value 3 and storing it in NUM, add three digits 0 after the number in buffer B, delete the digit character "10,000" in buffer C, and end the process.

次に、桁文字挿入サブルーチンについて、第1
3図のフローチヤートに基づき説明する。
Next, regarding the digit character insertion subroutine, the first
This will be explained based on the flowchart shown in FIG.

当サブルーチンは、起動されると、バツフアB
内の数値の整数部の桁数を求め(401)、バツフア
Bの数値内の,(カンマ)や.(ピリオド,小数
点)を除去する(402)。次に、バツフアBの数値
の間に、第4図に示すような、数値の各桁に対応
する桁文字を挿入し、バツフアDに格納する
(403)。バツフアD内の文字列中に、0十、0百、
0千という文字列があれば、それを削除する
(404)。更に、バツフアD内の文字列中に、第5
図の左欄に示すような文字列があれば、右欄の文
字に置換する(405)。バツフアD内の文字列の最
後の文字が、「点」か又は「零」であるかを判定
し(406)、満足するならば、バツフアD内の最後
の文字を削除して(407)、当サブルーチンの処理
を終了し、満足しなければ、当サブルーチンの処
理を終了する。
When this subroutine is started, the buffer B
Find the number of digits in the integer part of the numerical value in (401), and (comma) and . (period, decimal point) is removed (402). Next, between the numerical values in buffer B, digit characters corresponding to each digit of the numerical value as shown in FIG. 4 are inserted and stored in buffer D (403). In the character string in Batsuhua D, 0 ten, 0 hundred,
If there is a character string 0,000, it is deleted (404). Furthermore, in the character string in buffer D, the fifth
If there is a character string as shown in the left column of the figure, it is replaced with the characters in the right column (405). Determine whether the last character of the character string in buffer D is a "point" or "zero" (406), and if satisfied, delete the last character in buffer D (407), The processing of this subroutine is ended, and if not satisfied, the processing of this subroutine is ended.

例えば、数詞データ「26659.3坪」の場合、バ
ツフアB内の数値「26659.3」の整数部の桁数が
5であることを求め、バツフアB内の小数点を除
去し、「266593」をバツフアBに格納する。次に、
第4図に示すような桁文字を各数字の後に付加
し、「2万6千6百5十9点3零」をバツフアD
に格納する。バツフアD中には、0十、0百、0
千という文字列がなく、又、第5図の左欄に示す
ような文字列がないので、バツフアD内の文字列
の最後の文字が、「点」か「零」かを判定する。
この例では、最後の文字が「零」なので、その文
字を削除し、「2万6千6百5十9点3」をバツ
フアDに格納後、当サブルーチンの処理を終了す
る。
For example, in the case of the number word data "26659.3 tsubo", find that the number of digits in the integer part of the number "26659.3" in buffer B is 5, remove the decimal point in buffer B, and store "266593" in buffer B. do. next,
Add a digit character like the one shown in Figure 4 after each number and write "26,6159 points 3 zero" as a buffer D.
Store in. During Batsuhua D, 0 ten, 0 hundred, 0
Since there is no character string ``1000'' or a character string like the one shown in the left column of FIG. 5, it is determined whether the last character of the character string in buffer D is a "dot" or a "zero".
In this example, since the last character is "zero", that character is deleted, "26,6159 points 3" is stored in buffer D, and the processing of this subroutine ends.

次に、数字、桁文字、助数詞に読み仮名を付与
するサブルーチンについて、第14図のフローチ
ヤートに基づき説明する。
Next, a subroutine for assigning reading kana to numbers, digit characters, and number words will be explained based on the flowchart of FIG. 14.

当サブルーチンは、起動されると、バツフアE
内に先頭文字列の文字構成が、<数字><桁文字
><助数詞>であるかを判定し(501)、満足すれ
ば、506以降の処理を実行し、満足しなければ、
502以降の処理を実行する。502では、第6図に示
すような、変換タイプ・テーブルから、桁文字又
は助数詞の読み仮名と、その変換パターン、およ
び数字又は桁文字の読み仮名パターンを調べ
(502)、第7図に示すような数字の読み仮名テー
ブルを参照して、その読み仮名を求める(503)。
次に、第8図に示すような、桁文字・助数詞の読
み仮名変換テーブルを参照して、直前の数字又は
桁文字に応じた桁文字又は助数詞の読み仮名の変
換タイプに対応する読み仮名を選び(504)、上
記、数字又は桁文字の読み仮名を合わせて、バツ
フアFに格納する(505)。
When this subroutine is started, the buffer E
It is determined whether the character composition of the first character string is <number><digitcharacter><counterword> (501), and if it is satisfied, the process from 506 onward is executed; if not,
Execute processing after 502. At step 502, the reading kana for digit characters or classifiers, their conversion patterns, and the reading kana patterns for numbers or digit characters are checked from the conversion type table as shown in FIG. The pronunciation table for such numbers is referred to to find the pronunciation (503).
Next, refer to the reading kana conversion table for digit characters and classifiers as shown in Figure 8, and find the reading kana that corresponds to the conversion type of the reading kana for the digit character or classifier corresponding to the immediately preceding number or digit character. Select (504), and store the pronunciations of the numbers or digit characters in the buffer F (505).

バツフアE内の読み仮名未付与文字列を、バツ
フアEの先頭に移動する(512)。バツフアE内の
文字列の先頭文字列が、数字かどうかを判定し
(513)、満足すれば、501以降の処理を繰返し、満
足しなければ、当サブルーチンの処理を終了す
る。
The character string in buffer E without pronunciation is moved to the beginning of buffer E (512). It is determined whether the first character string of the character strings in buffer E is a number (513). If satisfied, the process from 501 onward is repeated; if not satisfied, the process of this subroutine is ended.

506では、変換タイプ・テーブルから、桁文字
の直前の数字の読み仮名パターンを求め(506)、
数字の読み仮名テーブルを参照して、その読み仮
名を求める(507)。
506 finds the reading kana pattern of the number immediately before the digit character from the conversion type table (506),
The pronunciation of the number is determined by referring to the kana pronunciation table (507).

次に、変換タイプ・テーブルから、助数詞の読
み仮名と、その読み仮名変換パターン、および数
字の読み仮名パターンを求める(508)。数字の読
み仮名テーブルを参照して、桁文字の読み仮名を
取出す(509)。
Next, from the conversion type table, the pronunciation of the particle, its pronunciation conversion pattern, and the pronunciation kana pattern of the number are obtained (508). Refer to the number reading kana table and extract the reading kana of the digit characters (509).

次に、桁文字・助数詞の読み仮名変換テーブル
を参照して、直前の桁文字に応じた、助数詞の読
み仮名変換タイプに対応する読み仮名を選び
(510)、上記、数字と桁文字の読み仮名とを合わ
せて、バツフアFに格納(511)後、512以降の処
理を実行する。
Next, refer to the reading kana conversion table for digit characters and number characters, select the reading kana that corresponds to the reading kana conversion type for the number character according to the immediately preceding digit character (510), and select the reading kana for the number and digit character mentioned above. After storing the information together with the pseudonym in the buffer F (511), the processing from 512 onwards is executed.

例えば、数詞データ「6匹」の場合、バツフア
E内の文字列は、「6匹」であり、先頭文字列構
成が、<数字><桁文字><助数詞>ではないの
で、変換タイプ・テーブルから、助数詞「匹」の
読み仮名、標準形「ヒキ」、濁音形「ビキ」、半濁
音形「ピキ」と、読み仮名変換パターン「b」
と、数字の読み仮名パターン「C」とを求める。
For example, in the case of the numeral data "6 animals", the character string in buffer E is "6 animals", and the first character string structure is not <number><digitcharacter><counterpart>, so the conversion type table , the pronunciation kana of the particle ``person'', the standard form ``hiki'', the voiced form ``biki'', the semi-voiced form ``piki'', and the pronunciation conversion pattern ``b''.
and the number reading kana pattern "C".

数字の読み仮名テーブルを参照し、パターンC
の読み仮名の中で、数字6に対応する読み仮名
「ロツ」を求める。次に、桁文字・助数詞の読み
仮名変換テーブルを参照し、パターンbの読み仮
名変換タイプの中で、数字6に応じた変換タイプ
である半濁音形に対応する読み仮名「ピキ」を選
び、上記、数字の読み仮名とを合わせた、6匹
(ロツピキ)を上記、数字の読み仮名とを合わせ
た、6匹(ロツピキ)を、バツフアFに格納後、
処理を終了する。
Refer to the number reading kana table and select pattern C.
Find the pronunciation "rotsu" that corresponds to the number 6 among the kana pronunciations. Next, refer to the reading kana conversion table for digit characters and classifiers, and select the reading kana "Piki" that corresponds to the semi-dakuon form, which is the conversion type corresponding to the number 6, among the reading kana conversion types of pattern b. After storing the 6 animals (Lotupiki), including the number reading kana mentioned above, in Batshua F,
Finish the process.

次に、例外読み仮名付与サブルーチンについて
第15図のフローチヤートに基づき説明する。
Next, the exceptional pronunciation kana assignment subroutine will be explained based on the flowchart of FIG. 15.

当サブルーチンは、起動されると、バツフアC
の先頭文字が「日」かを判定し(601)、満足すれ
ば602以降の処理を実行し、満足しなければ、そ
の他の例外処理を実行(606)後、当サブルーチ
ンの処理を終了する。602では、助数字「日」の
読み仮名として、標準形「カ」、濁音形「タチ」
を設定と、数字の読み仮名パターンとして、
「D」、助数詞の読み仮名変換タイプとして、「d」
を設定する。第7図に示すような数字の読み仮名
テーブルを参照して、バツフアBの数値に読み仮
名を付与する(603)。次に、第8図に示すよう
な、桁文字・助数詞の読み仮名変換テーブルの変
換タイプに基づき、助数詞の読み仮名を設定し
(604)、上記、数字の読み仮名とを合わせてバツ
フアFに格納する(605)。
When this subroutine is started, the buffer C
It is determined whether the first character of is "day" (601), and if it is satisfied, the process from 602 onward is executed; if not, other exception handling is executed (606), and then the process of this subroutine ends. In 602, the pronunciations of the auxiliary digit ``日'' are the standard form ``ka'' and the voiced digit ``tachi''.
and set it as a reading kana pattern for numbers,
"D", as the reading kana conversion type of the particle, "d"
Set. Referring to a number reading kana table as shown in FIG. 7, a reading kana is given to the numerical value of buffer B (603). Next, as shown in Figure 8, the reading kana for the number character is set based on the conversion type of the reading kana conversion table for digit characters and number words (604), and the reading kana for the number is combined with the reading kana for the numbers mentioned above to form a buffer F. Store (605).

例えば、数詞データ「3日」の場合、バツフア
Cの先頭文字が「日」なので、数字の読み仮名パ
ターンDに基づき、読み仮名「ミツ」を付与し、
桁文字・助数詞の読み仮名変換パターンdに基づ
き、数字3の場合の変換タイプが標準形なので、
読み仮名「カ」を選択し、数字の読み仮名とを合
わせた「ミツカ」をバツフアFに格納後、処理を
終了する。
For example, in the case of the number word data "3 days", the first character of Batshua C is "day", so based on the number reading kana pattern D, the reading kana "mitsu" is given,
Based on the reading kana conversion pattern d for digit characters and classifiers, the conversion type for the number 3 is the standard form,
After selecting the pronunciation "ka" and storing "Mitsuka" (combined with the numeric pronunciation) in the buffer F, the process ends.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、次のような効果が得られる。 According to the present invention, the following effects can be obtained.

(a) 数詞の数字と助数詞に読み仮名を自動付与で
きる。
(a) Pronunciations can be automatically assigned to numbers and particle words.

(b) 数字や桁文字の読み仮名をパターン別に格納
したテーブルと、桁文字や助数詞の読み仮名変
換タイプをパターン別に格納したテーブルと、
各助数詞や桁文字が両テーブルのどのパターン
に従うかを示したテーブルとに基づき読み仮名
付与を実行する方式としたことにより、読み仮
名付与の対象となる助数詞・桁文字は、読み仮
名と、数字の読み仮名のパターンを示すコード
と、桁文字・助数詞の読み仮名変換タイプのパ
ターンを示すコードとを登録することで、読み
仮名の自動付与が可能となる。
(b) A table that stores reading kana for numbers and digit characters by pattern, and a table that stores reading kana conversion types for digit characters and particle words for each pattern,
By adopting a method of assigning pronunciation based on the table showing which pattern in both tables each classifier and digit character follows, the classifiers and digit characters that are subject to pronunciation can be assigned pronunciations and digits. By registering a code indicating the pattern of the pronunciation kana of , and a code indicating the pattern of the pronunciation conversion type of digit characters and classifiers, it is possible to automatically assign the pronunciation kana.

(c) 数詞の読み仮名付与処理において、数字を算
用数字又は漢数字に統一することにより、数字
の読み仮名テーブルからの読み仮名の取り出し
や、数字に応じた桁文字や助数詞の読み仮名変
換タイプの取り出し処理を単純にできる。
(c) In the process of assigning pronunciations of number words, by unifying numbers to arithmetic numerals or kanji numerals, it is possible to extract pronunciations from the pronunciation table for numbers, and to convert pronunciations of digit characters and classifiers according to numbers. It simplifies the type retrieval process.

(d) 1桁の数字と桁文字、1桁の数字と助数詞、
桁文字と助数詞、1桁の数字と桁文字と助数詞
のいずれかを単位として、付与された読み仮名
が出力されるので、音声出力などにおいて、数
詞の発音単位とすることができる。
(d) one-digit number and digit letter; one-digit number and particle;
Since the assigned pronunciation is output using either a digit character and a number word, or a one-digit number, a digit character, and a number word, it can be used as a pronunciation unit of a number word in audio output.

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

第1図は、本発明実施例の数値の読み仮名付与
方式のハードウエア構成図、第2図は、漢数字と
算用数字との対応を示す図、第3図は、桁文字が
10の何乗を表現するかを示す図、第4図は、数値
の各桁に対応する桁文字を示す図、第5図は、連
続した0と桁文字と置換可能な1字の桁文字を示
す図、第6図は、桁文字や助数詞の読み仮名と、
読み仮名の変換タイプおよび、前置する数字の読
み仮名タイプを示す図、第7図は、数字の読み方
をタイプ別に示す図、第8図は、桁文字や助数詞
の読み方をタイプ別に示す図、第9図は、本発明
実施例のソフトウエア・モジユール構成を例示す
る図、第10図A,Bは、数詞の読み仮名付与メ
イン・モジユールの処理手順を示す図、第11図
は、漢数字を算用数字に置換する処理手順を示す
図、第12図は、読み仮名付与の対象となる数値
データが、算用数字と漢数字で構成されていた場
合、算用数字に統一するための桁数補正処理手順
を示す図、第13図は、算用数字の間に桁数文字
を挿入する桁文字挿入処理手順を示す図、第14
図は、数詞に読み仮名を付与する処理手順を示す
図、第15図は、例外的な読み仮名付与を必要と
する場合の処理例を示す図、第16図は、バツフ
アAの構成を例示した図、第17図は、バツフア
Bの構成を例示した図、第18図は、バツフアC
の構成を例示した図、第19図は、バツフアDの
構成を例示した図、第20図は、バツフアEの構
成を例示した図、第21図は、バツフアFの構成
を例示した図である。
Fig. 1 is a hardware configuration diagram of the numerical reading kana assignment method according to the embodiment of the present invention, Fig. 2 is a diagram showing the correspondence between Chinese numerals and arithmetic numerals, and Fig. 3 is a diagram showing the correspondence between digit characters and arithmetic numerals.
A diagram showing what power of 10 is expressed, Figure 4 is a diagram showing the digit character corresponding to each digit of a numerical value, and Figure 5 is a diagram showing a single digit character that can be replaced with consecutive 0s and digit characters. Figure 6 shows the pronunciations of digit characters and particle words,
Figure 7 shows how to read numbers by type; Figure 8 shows how to read digit characters and classifiers by type; FIG. 9 is a diagram illustrating the software module configuration of the embodiment of the present invention, FIGS. 10A and B are diagrams illustrating the processing procedure of the main module for adding pronunciations of number words, and FIG. Figure 12 is a diagram showing the processing procedure for replacing digits with arithmetic numerals, when the numerical data subject to pronunciation is composed of numerals and Chinese numerals. Figure 13 is a diagram showing the digit number correction processing procedure, and Figure 14 is a diagram showing the digit character insertion procedure for inserting a digit number character between arithmetic numbers.
The figure shows a processing procedure for assigning pronunciations to number words, Fig. 15 shows an example of processing when it is necessary to assign pronunciations to numerals, and Fig. 16 shows an example of the configuration of buffer A. FIG. 17 is a diagram illustrating the configuration of buffer B, and FIG. 18 is a diagram illustrating the configuration of buffer C.
19 is a diagram illustrating the configuration of buffer D, FIG. 20 is a diagram illustrating the configuration of buffer E, and FIG. 21 is a diagram illustrating the configuration of buffer F. .

Claims (1)

【特許請求の範囲】 1 数字または桁文字とそれに続く桁文字または
助数詞との組合せでなる数詞データを入力する入
力手段と、数字や桁文字の読み仮名のパターンを
格納した第1の記憶手段と、前記数字または桁文
字に続く桁文字または助数詞の読み仮名をパター
ン別に格納した第2の記憶手段と、数字や桁文字
に対する桁文字や助数詞の読み仮名のタイプを格
納した第3の記憶手段と、前記第3の記憶手段に
基づいて前記第1及び第2の記憶手段の読み仮名
を組み合わせて前記入力した数詞データに読み仮
名を付与する手段と、前記付与した読み仮名を出
力する手段とからなることを特徴とする数詞の読
み仮名付与装置。 2 特許請求の範囲第1項記載の数詞の読み仮名
付与装置において、前記入力した数字と桁文字と
が漢数字であり、前記桁文字の直前に一から九の
数字がないことを検出する手段と、前記検出手段
の検出結果に応じて前記桁文字の前に1を挿入す
る手段とを設けたことを特徴とする数詞の読み仮
名付与装置。 3 特許請求の範囲第1項記載の数詞の読み仮名
付与装置において、数字とそれに続く数詞とが入
力された時、前記入力した数字が算用数字であ
り、桁文字を含まないことを検出する手段と、前
記検出結果に応じて前記入力した数字の各字の直
後に前記字の桁数を示す桁文字を挿入する手段と
を設けたことを特徴とする数詞の読み仮名付与装
置。 4 特許請求の範囲第1項記載の数詞の読み仮名
付与装置において、前記出力手段は、前記付与し
た読み仮名を、1桁の数字と桁文字、1桁の数字
と助数詞、1桁の数字と桁文字と助数詞、および
桁文字と助数詞のいずれか一つの組で出力するこ
とを特徴とする数詞の読み仮名付与装置。
[Claims] 1. An input means for inputting numeral data consisting of a combination of a number or digit character followed by a digit character or a number word, and a first storage means that stores patterns of pronunciations of the digit or digit character. , a second storage means that stores the pronunciation kana of the digit character or particle word following the number or digit character for each pattern; and a third storage means that stores the type of pronunciation of the digit character or particle word for the number or digit character. , means for combining the pronunciations of the first and second storage means based on the third storage means and assigning the pronunciations to the input numeral data; and means for outputting the assigned pronunciations. A device for assigning kana pronunciations to number words. 2. In the number word pronunciation kana assigning device as set forth in claim 1, means for detecting that the input numbers and digit characters are Chinese numerals and that there is no number from 1 to 9 immediately before the digit characters. and means for inserting 1 in front of the digit character according to the detection result of the detection means. 3. In the number word pronunciation kana assigning device according to claim 1, when a number and a number word following it are input, it is detected that the input number is an arithmetic numeral and does not include a digit character. and means for inserting a digit character indicating the number of digits of the input number immediately after each character of the input number according to the detection result. 4. In the device for assigning pronunciation kana for number words as set forth in claim 1, the output means may output the assigned pronunciation as one digit number and digit character, one digit number and digit character, one digit number and digit character, and one digit number. A kana pronunciation device for number words, characterized in that it outputs one set of a digit character and a particle, or a digit character and a particle.
JP57176152A 1982-10-08 1982-10-08 System for providing phonetic syllabary of numeral Granted JPS5966733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57176152A JPS5966733A (en) 1982-10-08 1982-10-08 System for providing phonetic syllabary of numeral

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57176152A JPS5966733A (en) 1982-10-08 1982-10-08 System for providing phonetic syllabary of numeral

Publications (2)

Publication Number Publication Date
JPS5966733A JPS5966733A (en) 1984-04-16
JPH0522269B2 true JPH0522269B2 (en) 1993-03-29

Family

ID=16008566

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57176152A Granted JPS5966733A (en) 1982-10-08 1982-10-08 System for providing phonetic syllabary of numeral

Country Status (1)

Country Link
JP (1) JPS5966733A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56103764A (en) * 1980-01-23 1981-08-19 Hitachi Ltd Word processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56103764A (en) * 1980-01-23 1981-08-19 Hitachi Ltd Word processor

Also Published As

Publication number Publication date
JPS5966733A (en) 1984-04-16

Similar Documents

Publication Publication Date Title
JP4213378B2 (en) Method and system for mapping strings for comparison
WO1998055946A1 (en) System and method for transferring data between data sets
KR100288144B1 (en) Foreign language coding method in Korean and search method using the same
JPH0522269B2 (en)
JP3442422B2 (en) Synonym information creation apparatus and method
JPS6255189B2 (en)
JPS642970B2 (en)
JPH0227423A (en) Method for rearranging japanese character data
JP3337469B2 (en) Information processing device
JP2866437B2 (en) Example dictionary registration method and device
JPH047759A (en) Data file form converter
JP2795038B2 (en) Data retrieval device
JPS5868140A (en) Character processor
JPH06168270A (en) Character string retrieval system using index and preparing device for index
JP3047400B2 (en) Data processing device
JP2000047751A (en) Area non-expansion type anno domini four-digit adaptation system
JPS60150169A (en) Electronic word dictionary
JPH08212120A (en) File name managing system
Parsaie The automatic translation from RPG to COBOL
JPH0748218B2 (en) Information processing equipment
JPH06110877A (en) Kana-kanji conversion device
Fouty TECHNIQUES FOR THE COMPACTION OF MACHINE-READABLE BIBLOGRAPHIC RECORDS
JPH03180942A (en) Master file forming device for document data base
JPS619755A (en) Kana-to-kanji conversion system
JPH0778797B2 (en) Automatic numbering method for sentence numbers in document processing