JPS60117366A - System for accessing dictionary file - Google Patents

System for accessing dictionary file

Info

Publication number
JPS60117366A
JPS60117366A JP58225054A JP22505483A JPS60117366A JP S60117366 A JPS60117366 A JP S60117366A JP 58225054 A JP58225054 A JP 58225054A JP 22505483 A JP22505483 A JP 22505483A JP S60117366 A JPS60117366 A JP S60117366A
Authority
JP
Japan
Prior art keywords
kanji
data
area
kana
dictionary file
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
JP58225054A
Other languages
Japanese (ja)
Inventor
Yoshiharu Morohashi
諸橋 義治
Hiroshi Katabami
浩 方波見
Masaki Yamashina
正樹 山階
Yoshihiro Tanigawa
谷川 兆宏
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.)
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co 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 Fujitsu Ltd, Nippon Telegraph and Telephone Corp, Oki Electric Industry Co Ltd filed Critical Fujitsu Ltd
Priority to JP58225054A priority Critical patent/JPS60117366A/en
Publication of JPS60117366A publication Critical patent/JPS60117366A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/53Processing of non-Latin text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve conversion efficiency of Kana (Japanese syllabary)-Kanji Chinese character) conversion in such a way that the conversion process of words with affix can be performed without making any affixation process, by providing an area in which Kanji data from a Kanji dictionary file are stored in a memory. CONSTITUTION:When an operator inputs Kana by operating a keyboard 1, a Kanji corresponding to the Kana is retrieved out from an ROM4 through a control section 2, processing section 3, etc., and stored in the dictionary area 6 of a memory 5. At the same time, the Kanji is displayed in a display section 7. When the displayed Kanji is not desired one and the displayed Kanji is changed to the desired one by depressing a conversion key B, the data are stored in a learning word area 8. When Kana is again inputted from the keyboard 1 thereafter, the processing section 3 first accesses the area 8 and, if no corresponding Kanji data exist in the area 8, accesses a Kanji dictionary file 9 in the ROM4. Moreover, words with affix which are composed of plural words are also stored in the area 8 and, therefore, the conversion efficiency can be improved in such a way that the conversion process can be performed without making any affixation process.

Description

【発明の詳細な説明】 (JL) 発明の技術分野 本発明はワードプロセッサ等における辞書ファイルにア
クセスする辞書ファイルアクセス方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (JL) Technical Field of the Invention The present invention relates to a dictionary file access method for accessing a dictionary file in a word processor or the like.

(b) 従来技術と問題点 日本語ワードプロセッサの入力手段の1つとして、かな
−漢字変換方式がある。これはキー操作によりかな文字
を入力したのち、変換キーを押下すると入力された「か
な文字」が所望の漢字に変換されるものである。この変
換用として、ワードプロセッサには漢字辞書ファイルが
設けられているが、これにROM(M出し専用メモリ)
を用いれば、漢字辞臀ファイルが小型化される許シでな
くアクセスタイムも減少できる。しかしながら、ROM
内の漢字コードは固定であるため、自答の変更、追加は
不可能である。ワードプロセッサの作業において、文中
に現われる漢字は単語として使用されるのみでなく、接
辞付単@(例えば「科学的」 )が頻用されることもあ
る。仁の「科学的」という語は、辞書(ROM)中の単
語「科学」と「的」との合成語である1、このような接
辞付単語あるいはROMから読出されて文中で用いられ
た単一を所定領域に確保し−Cおき、かな−漢字変換の
際、まずこの所定領域にアクセスし、続いてROM(漢
字辞書ファイル)にアクセスするようにすれば、変換効
率の向上が可能となる。
(b) Prior Art and Problems One of the input means for Japanese word processors is the Kana-Kanji conversion method. In this system, after inputting kana characters by key operation, when a conversion key is pressed, the inputted ``kana characters'' are converted into the desired kanji. For this conversion, the word processor is equipped with a kanji dictionary file, which is stored in ROM (Memory exclusively for M output).
By using ``Kanji Dictionary'', you can reduce the size of the kanji dictionary file and also reduce the access time. However, ROM
Since the kanji code within is fixed, it is not possible to change or add answers. In word processing work, kanji that appear in sentences are not only used as words, but also the affixed single @ (for example, "scientific") is often used. Jin's word ``scientific'' is a compound word of the words ``science'' and ``target'' in the dictionary (ROM)1, a word with such an affix, or a word read from ROM and used in a sentence. Conversion efficiency can be improved by securing 1 in a predetermined area and then accessing this predetermined area first and then accessing the ROM (Kanji dictionary file) when converting Kana to Kanji. .

(C) 発明の目的 本発明は上記の点に着目したものであり、かな−漢字変
換を容易とする辞書ファイルアクセス方式の提供を目的
とする。
(C) Object of the Invention The present invention focuses on the above points, and aims to provide a dictionary file access method that facilitates kana-kanji conversion.

(d) 発明の構成 本発明は入力部と、漢字辞書ファイルと、出力部とを有
し、入力部からのかな文字データを漢字データに変換し
て出力するシステムにおいて、前記漢字データが読出専
用メモリに格納された前記漢字辞書ファイルと、該漢字
辞書ファイルから索出された漢字データを格納する配憶
部と、該記憶部内の漢字データを検索する手段とを備え
、前記入力部から、かな文字データが入力されたとき、
前記続出専用メモリから咳かな文字データに対応する漢
字データを索出して前記出力部に出力すると共に前記記
憶部に格納し、引続き前記入力部から第2の文字データ
が入力されたときには、誼記憶部にアクセスしたのち前
記読出専用メモリにアように本発明は漢字辞書ファイル
をROM(読出専用メモリ)で構築し、かな−漢字変換
の際、該ROMから索出された漢字データは、他の記憶
部(例えばRAMの所定領域)に格納しておく。次にか
な一洟字変換を行う場合、先ず記憶部にアクセスし、該
記憶部に所要の漢字データが無い場合には、ROM(漢
字辞書ファイル)にアクセスするように図ったものであ
る。また本発明はROMから続出された第1の漢字(単
語)と第2の漢字(単語)とで合成された第3の漢字(
データ)を、餉記記憶iVC格納する手段も備えたもの
でおる。
(d) Structure of the Invention The present invention provides a system that includes an input section, a kanji dictionary file, and an output section, and converts kana character data from the input section into kanji data and outputs the converted data, wherein the kanji data is read-only. The kanji dictionary file stored in a memory, a storage section for storing kanji data retrieved from the kanji dictionary file, and a means for searching the kanji data in the storage section; When character data is input,
The kanji data corresponding to the cough kana character data is retrieved from the continuous memory and outputted to the output section and stored in the storage section, and when second character data is subsequently input from the input section, The present invention constructs a kanji dictionary file in a ROM (read-only memory) so that after accessing the section, the kanji dictionary file is stored in the read-only memory, and when converting between kana and kanji, the kanji data retrieved from the ROM is stored in the read-only memory. It is stored in a storage unit (for example, a predetermined area of RAM). When performing the next kana to kanji conversion, the storage section is first accessed, and if the storage section does not contain the required kanji data, the ROM (kanji dictionary file) is accessed. In addition, the present invention provides a third kanji (word) synthesized from a first kanji (word) and a second kanji (word) successively retrieved from the ROM.
It also includes means for storing data) in the iVC.

(el) 発明の実施例 以下、本発明を図面によって説明する。第1図は本発明
の一実施例t−説明するブロック図である。
(el) Examples of the Invention The present invention will be explained below with reference to the drawings. FIG. 1 is a block diagram illustrating one embodiment of the present invention.

3− 第1図において、オペレータがキーボード1のかなキー
Aを操作して、かな文字例えば「せん」を入力すると、
この「せん」のかなコードCは制御部2から処理部3へ
送られ、レジスタRにセットされる。次にオペレータが
キーボード1の変換キーBを押下すると、これによる変
換指令Tが処理部3へ送出され、処理プログラムPが起
動される。
3- In FIG. 1, when the operator operates the kana key A on the keyboard 1 to input a kana character, for example "sen",
This kana code C for "sen" is sent from the control section 2 to the processing section 3 and set in the register R. Next, when the operator presses the conversion key B on the keyboard 1, the resulting conversion command T is sent to the processing section 3, and the processing program P is started.

処理部3が処理プログラムPを実行することによシ次の
検索が行われる。レジスタR内のかなコードC(rせん
])に対応する漢字データ「千」。
The next search is performed by the processing unit 3 executing the processing program P. Kanji data "1000" corresponding to kana code C (rsen]) in register R.

「鮮」、「銭」がROM(リードオンリメモリ)4から
読出されてメモリ5の辞書領域6に格納されると共に、
先頭の漢字データ「千」が表示部7へ送られ、漢字(千
)が表示される。この漢宅千)が所望の文字でない場合
、オペレータが変換キーBを押すに伴い、漢字(鮮)、
(銭)が表示部7に順次表示される。漢字「銭」が所望
の漢字の場合、辞書領域6の「せん」及び漢字「銭」の
データが学習語領域8に格納される。次に再びかな文字
(コード)がキーボード1から入力されたとき4− 処理部3は、先ず年賀語領域8にアクセスする。
"Sen" and "Zen" are read from the ROM (read only memory) 4 and stored in the dictionary area 6 of the memory 5, and
The first kanji data "1000" is sent to the display section 7, and the kanji (1000) is displayed. If this kanji sen) is not the desired character, the operator presses the conversion key B, and the kanji (sen),
(money) are sequentially displayed on the display section 7. If the kanji "sen" is the desired kanji, the data for "sen" and the kanji "sen" in the dictionary area 6 are stored in the learning word area 8. Next, when kana characters (codes) are input again from the keyboard 1, the processing section 3 first accesses the New Year's card area 8.

そして、この領域に入力されたかな文字コー ドに対応
する漢字データが無い場合には、ROMJ内の漢字辞書
ファイル9にアクセスする。
If there is no kanji data corresponding to the kana character code input in this area, the kanji dictionary file 9 in ROMJ is accessed.

第2図及び第3図は、以上の処理の流れを説明するブロ
ック図である。まず1g2図において、■ キーボード
lから、かな文字「か」を入力するO ■ これによj)ROM4の漢字辞書ファイル9中のか
な文字「か」をキーとする漢字コードに1〜に!が、メ
モリ5の辞書領域6に取出される。
FIGS. 2 and 3 are block diagrams illustrating the flow of the above processing. First, in Figure 1g2, ■ Input the kana character "ka" from the keyboard l O ■ This will change j) the kanji code with the kana character "ka" as the key in the kanji dictionary file 9 of ROM4 to 1~! is taken out to the dictionary area 6 of the memory 5.

■ キーボード1の変候キーBの操作により、辞書領域
6内の漢字コードに、が表示部7へ送られて、漢字が表
示される。
(2) By operating the transformation key B on the keyboard 1, the kanji code in the dictionary area 6 is sent to the display section 7, and the kanji is displayed.

■ 同時に辞書領域6のかな文字コード「か」及び漢字
コードに、が学習領域8に格納される。
(2) At the same time, the kana character code "ka" and the kanji code in the dictionary area 6 are stored in the learning area 8.

第3図において、 ■ キーボード1から再びかな文字「か」が入力された
とき、まず学習語領域8にアクセスが行われる。
In FIG. 3, (1) When the kana character "ka" is input again from the keyboard 1, the learning word area 8 is first accessed.

■ もし学習語領域8(入力されたかな文字に対応する
かな文字コード(か)がない場合に、ROM4の漢字辞
書ファイル9にアクセスする。
■ If there is no kana character code (ka) corresponding to the input kana character in the learning word area 8, access the kanji dictionary file 9 in the ROM 4.

なお、学習語領域8には単語の漢字コードのみではなく
、複数の単語で構成される合成語の漢字コードも格納す
る。例えばROM4の漢字辞簀ファイル9には、漢字「
科学」と「的」との漢字コードは個別に格納されている
が、′科学的1という用語を用いた際、この合成語「科
学的」の漢字コードが学習語領域8に格納される。
Note that the learning word area 8 stores not only the Kanji code of a word but also the Kanji code of a compound word composed of a plurality of words. For example, the kanji dictionary file 9 of ROM4 contains the kanji ``
The kanji codes for ``scientific'' and ``target'' are stored separately, but when the term ``scientific 1'' is used, the kanji code for this compound word ``scientific'' is stored in the learning word area 8.

また学tI暗領域8での後処理は、次のように行われる
。第4図(a)に示す如きデータが学習語領域8に格納
されてお9、かな文字「か」の入力に伴う検索が行われ
た場合、後処理空行われて、学習後尾の位置に置き替え
られる。また学習語領域8の領域が不足した場合には、
先頭の文字データ(第4図ではかな文字「な」及び漢字
コードN4)がシフトアウトされ、次の文字データ(文
字「わ」及び漢字コードW2)以降のデータが順次シフ
トされる。
Further, post-processing in the dark region 8 is performed as follows. When data as shown in FIG. 4(a) is stored in the learning word area 8 and a search is performed with the input of the kana character ``ka'', post-processing is performed and the data is placed at the last position of the learning word. Replaced. In addition, if the learning word area 8 is insufficient,
The first character data (the kana character "na" and the kanji code N4 in FIG. 4) is shifted out, and the data after the next character data (the character "wa" and the kanji code W2) are shifted out in sequence.

(f) 発明の効果 以上のように本発明は、かな−漢字変換において、接辞
付単語を、接辞処理を伴わずに変換処理することができ
、また漢字辞書ファイル以外の記憶部にも、使用頻度の
高い単語を格納して検索する手段を有するので、変換効
率を著しく向上しうる0
(f) Effects of the Invention As described above, the present invention can convert words with affixes without affix processing in kana-kanji conversion, and can also be used in storage units other than kanji dictionary files. Since it has a means to store and search frequently occurring words, it can significantly improve conversion efficiency.

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

第1図、第2図、第3図及び第4図は本発明の一実施例
t−説明するブロック図であり、図中に用いた符号は次
の通pである。 1はキーボード、2は制御部、3は処理部、4はROM
、5はメモリ、6は辞書領域、7は表示部、8は学11
1語領域、9は漢字辞書ファイル、10はプリンタ、A
は入カキ−1Bは変換キー、A、。 Kn 1M2.Nt 、Sm 1%は漢字コード、Cは
かな文字コード、Pは処理プログラム、Tは変換指令を
示す。 夢4酊 (の <b+ すO0
1, 2, 3, and 4 are block diagrams illustrating an embodiment of the present invention, and the reference numerals used in the figures are as follows. 1 is a keyboard, 2 is a control unit, 3 is a processing unit, 4 is a ROM
, 5 is memory, 6 is dictionary area, 7 is display section, 8 is science 11
1 word area, 9 is Kanji dictionary file, 10 is printer, A
is the input key-1B is the conversion key, A. Kn 1M2. Nt, Sm 1% indicates a kanji code, C a kana character code, P a processing program, and T a conversion command. Dream 4 drunkenness (no <b+ suO0

Claims (1)

【特許請求の範囲】[Claims] 入力部と、漢字辞書ファイルと、出力部とを有し、入力
部からのカナ文字データを漢字データに変換して出力す
るシステムにおいて、前記漢字データが続出専用メモリ
に格納された前記漢字辞書ファイルと鎖漢字辞書ファイ
ルから索出された漢字データを格納する記憶部と、該記
憶部内の漢字データを検索する手段とを備え、前記入力
部からかな文字データが入力されたとき、F!&記絖出
専用メモリから咳かな文字データに対応する漢字データ
を索出して前記出力部に出力すると共に、前記記憶部に
格納し、引続き1III記入力部から第2の文字データ
が入力されたときには、該記憶部にアクセスしたのち前
記読出専用メモリにアクセスすることにより文字データ
の変換を行うことを特徴とする辞書ファイルアクセス方
式。
In a system that has an input section, a kanji dictionary file, and an output section, and converts kana character data from the input section into kanji data and outputs the converted kanji data, the kanji dictionary file stores the kanji data in a memory dedicated for reprinting. and a storage section for storing kanji data retrieved from a chained kanji dictionary file, and means for searching the kanji data in the storage section, and when kana character data is input from the input section, F! & Retrieve the kanji data corresponding to the cough kana character data from the memory exclusively for recording and outputting it to the output section, storing it in the storage section, and subsequently inputting the second character data from the input section 1III. A dictionary file access method characterized in that character data is sometimes converted by accessing the read-only memory after accessing the storage section.
JP58225054A 1983-11-29 1983-11-29 System for accessing dictionary file Pending JPS60117366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58225054A JPS60117366A (en) 1983-11-29 1983-11-29 System for accessing dictionary file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58225054A JPS60117366A (en) 1983-11-29 1983-11-29 System for accessing dictionary file

Publications (1)

Publication Number Publication Date
JPS60117366A true JPS60117366A (en) 1985-06-24

Family

ID=16823315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58225054A Pending JPS60117366A (en) 1983-11-29 1983-11-29 System for accessing dictionary file

Country Status (1)

Country Link
JP (1) JPS60117366A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55140930A (en) * 1979-04-19 1980-11-04 Yokogawa Hokushin Electric Corp Method and device for chinese character display
JPS5827268A (en) * 1981-08-12 1983-02-17 Toshiba Corp Japanese word processing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55140930A (en) * 1979-04-19 1980-11-04 Yokogawa Hokushin Electric Corp Method and device for chinese character display
JPS5827268A (en) * 1981-08-12 1983-02-17 Toshiba Corp Japanese word processing device

Similar Documents

Publication Publication Date Title
JPH0563831B2 (en)
JPS5819933A (en) Kana-kanji converting device
JPS60117366A (en) System for accessing dictionary file
JP3056810B2 (en) Document search method and apparatus
JPS6154561A (en) Japanese word processor
JPS5814688B2 (en) Kanji-mixed sentence input device that sequentially displays homophones
JP2866437B2 (en) Example dictionary registration method and device
JPS6061825A (en) Character converter
JPS63156275A (en) Automatic kana and katakana name dictionary adding system
JPH0459656B2 (en)
JPS58129534A (en) Chinese character input device
JPS62156762A (en) Document data processor
JPH0385670A (en) Two-step display system document processor
JPS60128559A (en) Kana (japanese syllabary) kanji (chinese character) converter
JPS60112175A (en) Abbreviation conversion system of kana (japanese syllabary)/kanji (chinese character) convertor
JPH0498566A (en) Converter for character data
JPH0421901B2 (en)
JPS59221731A (en) Kana/kanji conversion processor
JPS61249167A (en) Kana-kanji converting system
JPH1027173A (en) Personal name converter
JPS62174870A (en) Kana-kanji conversion system
JPH09153038A (en) Document preparation device
JPH01116871A (en) Chinese sentence input device
JPS62241064A (en) Kana/kanji converting device
JPS61180360A (en) Document editing device