JPS60231255A - Numeral converter - Google Patents

Numeral converter

Info

Publication number
JPS60231255A
JPS60231255A JP59087740A JP8774084A JPS60231255A JP S60231255 A JPS60231255 A JP S60231255A JP 59087740 A JP59087740 A JP 59087740A JP 8774084 A JP8774084 A JP 8774084A JP S60231255 A JPS60231255 A JP S60231255A
Authority
JP
Japan
Prior art keywords
conversion information
numeral
conversion
twenty
sentence
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
JP59087740A
Other languages
Japanese (ja)
Inventor
Noriko Yamanaka
紀子 山中
Masaie Amano
天野 真家
Akira Kumano
明 熊野
Hiroyasu Nogami
野上 宏康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP59087740A priority Critical patent/JPS60231255A/en
Publication of JPS60231255A publication Critical patent/JPS60231255A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation

Abstract

PURPOSE:To obtain a numeral converter allowed to convert the infinite number of numerals into a precise numeral mixing sentence in accordance with an inputted alphabetical sentence by providing fixed numeral conversion information. CONSTITUTION:An inputted alphabetical string ''twenty-first'' is sent to a numeral unit separating part 11 and divided into ''twenty'' and ''first''. Respective words are sent to a conversion information retrieving part 12, which retrieves a conversion information storage device 13 to obtain numeral conversion information corresponding to each word. Each numeral conversion information is sent to a numeral conversion part 14, which converts ''twenty'' into ''20'' and ''first'' into ''1st'' and outputs these converted results to a numeral coupling part 15. The coupling part 15 combines ''20'' and ''1st'' and outputs ''21st'' because ''20'' is the upper digit of the ''1st''.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はアルファベットで入力された文字列から数詞を
表現するものは数字混じり文に変換する数詞変換装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a numeral conversion device that converts a numeral expression from a character string input in the alphabet into a sentence containing numbers.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

従11 涌最H鋳で杓謡か拐ら湯呑−アルファベットで
入力された数詞については、翻訳用辞書にアルファベッ
トのまま登録しておき、辞書検索の際に該当する辞書情
報を読み出して数詞としての処理をする方法があった。
Ju 11 Hyunyo ka kira ra yuun in Wakusai H casting - For number words entered in alphabets, register them in the translation dictionary as alphabetical characters, and when searching the dictionary, read the corresponding dictionary information and use it as a number word. There was a way to handle it.

ところが、数詞というのは元来無限に存在するもので、
すべての可能性を辞書に登録しておくことは不可能であ
った□。また、必要最低限の数詞を登録しても、辞書容
量が増えるばかりで検索時間も増大し、それでもなお不
十分であるという欠点があった。
However, number words originally exist infinitely,
It was impossible to register all possibilities in a dictionary□. Furthermore, even if the minimum necessary number words are registered, the dictionary capacity increases and the search time also increases, which is still insufficient.

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

本発明はこの点に鑑みてなされたもので、その目的とす
るところは、アルファベットで人力された数詞を数字混
じり文に変換する数詞変換装置を提供し、機械翻訳処理
を正確に行なうことができるようにすることにある。
The present invention has been made in view of this point, and its purpose is to provide a number word conversion device that converts number words manually written in the alphabet into sentences containing numbers, thereby enabling accurate machine translation processing. The purpose is to do so.

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

本発明は、アルファベットと数字の対になって記憶され
ている数詞変換情報を用いてアルファベット文から数字
混じり文に変換するものである。
The present invention converts an alphabetic sentence into a sentence containing numbers using number conversion information stored in pairs of alphabets and numbers.

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

本発明によれば、辞書(:無限の可能性のある数詞を登
録せずに、すべての数詞を正確に処理しすることができ
るので効率が向上する。
According to the present invention, efficiency is improved because all number words can be processed accurately without registering number words with infinite possibilities in a dictionary.

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

以下、図面を参照して本発明の一実施例につき説明する
Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の全体的構成を示す図である
っこれは、入力部1.変換情報検索部2゜変換情報記憶
装置8.数詞変換部4.出力部5を有している。
FIG. 1 is a diagram showing the overall configuration of an embodiment of the present invention. Conversion information search unit 2゜conversion information storage device 8. Number conversion unit 4. It has an output section 5.

先ず、入力部1より入力されたアルファベット文字列は
変換情報検索部2に順次供給される。変換情報検索部2
は供給されるアルファベット文字列により変換情報記憶
装置8を検索し、一致する数詞変換情報があれば出力す
る。なければそのまま出力部5に出力する。
First, alphabetic character strings input from the input section 1 are sequentially supplied to the conversion information search section 2. Conversion information search unit 2
searches the conversion information storage device 8 using the supplied alphabet character string, and if there is matching number conversion information, outputs it. If not, it is output as is to the output unit 5.

ここで、変換情報記憶装置8は、アルファベット文字に
対応する数字など、変換に必要な情報をテーブルとして
記憶する装置で、例えば磁気ディスク装置が用いられる
Here, the conversion information storage device 8 is a device that stores information necessary for conversion, such as numbers corresponding to alphabetic characters, as a table, and for example, a magnetic disk device is used.

変換情報検索部2はこれを検索結果として数詞変換部4
に与える。数詞変換部4では与えられた数詞変換情報に
よりアルファベット文字列をこれに対応する数字混じり
文に変換する。この数字混じり文は出力部5より出力さ
れる。
The conversion information search unit 2 uses this as a search result and uses the number conversion unit 4 as a search result.
give to The numeral converter 4 converts an alphabetic character string into a corresponding number-mixed sentence using the given numeral conversion information. This number-mixed sentence is output from the output unit 5.

次にその具体例を、第2図に従って説明する。Next, a specific example will be explained according to FIG.

いま、例えば「twenty−first jというア
ルファベット文字列を入力して数字混じり文に変換する
場合を考える。ここで、変換情報記憶装置13には第2
図に示す数詞変換情報が収容されているものとする。
For example, let's consider a case where an alphabetic character string "twenty-first j" is input and converted into a sentence containing numbers.Here, the conversion information storage device 13 has a second
It is assumed that the number conversion information shown in the figure is stored.

先ず、入力されたアルファベット列r twenty−
first Jは数詞単位切り出し部11に送られ、[
twenty Jと[first J i:分けられる
。各々の単位は変換情報検索部12に送られ、変換情報
検索部12は変換情報記憶装置13を検索して、各々に
対応する数詞変換情報が得られる。
First, the input alphabet string r twenty-
first J is sent to the number word unit extraction unit 11, and [
Twenty J and [first J i: Divided. Each unit is sent to the conversion information search section 12, and the conversion information search section 12 searches the conversion information storage device 13 to obtain number conversion information corresponding to each unit.

各々の数詞変換情報はそれぞれ数詞変換部14に送られ
る。数詞変換部14は[twenty Jを「20」に
、[first Jを11st Jに変換して数詞結合
部J5に出力する。
Each number word conversion information is sent to the number word conversion section 14, respectively. The numeral conversion unit 14 converts [twenty J into “20” and [first J into 11st J, and outputs them to the numeral combination unit J5.

数詞結合部15は、「20」が「ISt」の上位桁をN
%す数詞であることから、2つを組み合わせて[21s
t Jを出力する。
The numeral combination unit 15 indicates that “20” is the upper digit of “ISt”
Since it is a numeral word, combine the two to form [21s
Output tJ.

このようにして[twenty−first Jと入力
された場合、[21st 、Jが変換結果として出力さ
れろうこの動作を第3図のフローチャートに詳述する6
以上述べたように、本発明によれば、一定の数詞変換情
報を有することにより、入力されたアルファベット文に
対応して無限の数の数詞を正確な数字混じり文に変換す
ることができる数詞変換装置を提供できる。
In this way, if [twenty-first J is input, [21st, J] will be output as the conversion result. This operation is detailed in the flowchart of Fig. 3.
As described above, according to the present invention, by having certain number word conversion information, an infinite number of number words can be converted into an accurate number-mixed sentence corresponding to an input alphabetic sentence. equipment can be provided.

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

第1図はこの発明の一実施例を示すブロック図、第2図
は同実施例を説明するためのデータの流れを示す図、第
8図は同実施例における動作を説明するフローチャート
図である。 1・・・入力部、2,12・・・変換情報検索部、4.
14・・・数詞変換部、5・・・出力部、11・・・数
詞単位切り出し部、15・°゛数詞結合部、代理人 弁
理士 則 近 憲 佑 (ほか1名)第1図 第2図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing a data flow for explaining the embodiment, and FIG. 8 is a flow chart diagram for explaining the operation of the embodiment. . 1... Input section, 2, 12... Conversion information search section, 4.
14...Number conversion unit, 5...Output unit, 11...Number unit extraction unit, 15.°゛Number combination unit, Agent: Patent attorney Noriyuki Chika (and 1 other person) Figure 1, Figure 2 figure

Claims (1)

【特許請求の範囲】[Claims] アルファベット文を入力する入力手段と、あらかじめア
ルファベット文に対応して数詞変換情報を記憶した変換
情報記憶手段と、上記入力手段より入力されたアルファ
ベット文に対応して上記変換情報記憶手段より数詞変換
情報を読み出す変換情報検索手段と、この変換情報検索
手段により得られた数詞変換情報により上記アルファベ
ット文を数字混じり文に変換する数詞変換手段とを具備
したことを特徴とする数詞変換装置。
an input means for inputting alphabetic sentences; a conversion information storage means that stores numeral conversion information in advance corresponding to the alphabetic sentences; and a conversion information storage means for inputting numeral conversion information from the conversion information storage means corresponding to the alphabetic sentences inputted from the input means. 1. A number conversion device comprising: a conversion information search means for reading out the conversion information; and a number conversion means for converting the alphabetical sentence into a sentence containing numbers using the number conversion information obtained by the conversion information search means.
JP59087740A 1984-05-02 1984-05-02 Numeral converter Pending JPS60231255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59087740A JPS60231255A (en) 1984-05-02 1984-05-02 Numeral converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59087740A JPS60231255A (en) 1984-05-02 1984-05-02 Numeral converter

Publications (1)

Publication Number Publication Date
JPS60231255A true JPS60231255A (en) 1985-11-16

Family

ID=13923321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59087740A Pending JPS60231255A (en) 1984-05-02 1984-05-02 Numeral converter

Country Status (1)

Country Link
JP (1) JPS60231255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6395569A (en) * 1986-10-11 1988-04-26 Ricoh Co Ltd Language analyzing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5592941A (en) * 1979-01-02 1980-07-14 Honeywell Inf Systems Computer
JPS57109044A (en) * 1980-12-26 1982-07-07 Toshiba Corp Number converter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5592941A (en) * 1979-01-02 1980-07-14 Honeywell Inf Systems Computer
JPS57109044A (en) * 1980-12-26 1982-07-07 Toshiba Corp Number converter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6395569A (en) * 1986-10-11 1988-04-26 Ricoh Co Ltd Language analyzing device

Similar Documents

Publication Publication Date Title
JP3196868B2 (en) Relevant word form restricted state transducer for indexing and searching text
EP0160672A1 (en) Method and apparatus for data compression
JPS6175957A (en) Mechanical translation processor
JPS60231255A (en) Numeral converter
JP2535629B2 (en) Input string normalization method of search system
JPH07182333A (en) Japanese processor
JPS62144269A (en) Information retrieving device
JPS61233862A (en) Kana-kanji converter
JPS63211023A (en) Data retrieval system by kana expression
JPS58123126A (en) Dictionary retrieving device
JPS62214468A (en) Kana-kanji converter
JPS58129534A (en) Chinese character input device
JPS61240363A (en) Kana-kanji conversion device
JPS60178575A (en) Japanese processor
JPS58144251A (en) Input device for chinese compound word
JPH01181123A (en) Information retrieving device
JPH0521264B2 (en)
JPH0113579B2 (en)
JPS6170662A (en) Dictionary retrieving device
JPH05225244A (en) Retrieval system for arabic data
JPH0447365A (en) Dictionary device
JPS6170661A (en) Equivalent generating device
JPS59106029A (en) Kana (japanese syllabary) kanji (chinese character) converter
JPH0465751A (en) Kana/kanji converter
JPH0227472A (en) Kana/kanji converting system