JPH0746357B2 - Document creation device - Google Patents
Document creation deviceInfo
- Publication number
- JPH0746357B2 JPH0746357B2 JP62287331A JP28733187A JPH0746357B2 JP H0746357 B2 JPH0746357 B2 JP H0746357B2 JP 62287331 A JP62287331 A JP 62287331A JP 28733187 A JP28733187 A JP 28733187A JP H0746357 B2 JPH0746357 B2 JP H0746357B2
- Authority
- JP
- Japan
- Prior art keywords
- character string
- display
- conversion
- input
- unit
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は文書作成装置に係り、特に入力番号から漢字か
な混じり文字列を生成するに好適な番号変換手段を有す
る文書作成装置に関するものである。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating device, and more particularly to a document creating device having a number converting means suitable for creating a character string mixed with kanji and kana from an input number. .
[従来の技術] 従来の番号変換方式は、ビジネスソフトニュース(BUSI
NESS SOFT NEWS)11月/1986 VOL.19 SOFTBANK CORP.
(ソフトバンク社)発行に記載のように、オペレータが
用途に応じて変換処理前に、変換文字列の一部省略有り
もしくは無しのモードを指定した後に、番号を入力して
所望する文字列を出力する方式である。この方式は、変
換された文字列が所望する文字列でなかった場合、所望
する文字列に変換する為のモード切り替えを行った後に
番号を再度入力して変換操作を行うものである。[Prior Art] The conventional number conversion method is based on business software news (BUSI
NESS SOFT NEWS) November / 1986 VOL.19 SOFTBANK CORP.
As described in (SoftBank Corp.) issue, the operator specifies the mode with or without partial omission of the conversion character string before conversion processing according to the application, then input the number and output the desired character string. It is a method to do. In this method, when the converted character string is not the desired character string, the mode is switched for converting the desired character string, and then the number is input again to perform the conversion operation.
[発明が解決しようとする問題点] 入力した番号に対する変換結果が所望する文字列でない
場合には、その変換結果である文字列の一部を削除した
り、あるいは他の文字列を追加しなければならないが、
従来はこの変換結果の文字列の修正が面倒であった。[Problems to be Solved by the Invention] If the conversion result for the input number is not the desired character string, a part of the character string that is the conversion result must be deleted or another character string must be added. I have to
Conventionally, it was troublesome to correct the character string of the conversion result.
本発明は、特に地名や住所等階層的に順次配列される文
字列を迅速に作成する文書作成装置を提供することを目
的とするものであり、これはとりわけ住所録の作成や郵
便の宛名書きに好適である。It is an object of the present invention to provide a document creating apparatus for rapidly creating a character string such as a place name and an address that are sequentially arranged in a hierarchical manner, which is especially useful for creating an address book and addressing mail. Suitable for
[問題点を解決するための手段] 前記目的は、番号変換の対象となる番号等を入力する入
力部と、番号に対応する文字例であり、住所等階層的に
順次配列される地名等の辞書を記憶する記憶部と、前記
入力部から入力した番号からこの記憶部に記憶されてい
る辞書を検索して文字列に変換する変換処理部と、この
変換処理部により変換された文字列を表示する表示部と
を有する文書作成装置において、前記入力部によって入
力された番号に従い前記変換処理部によって変換処理さ
れて前記表示部に表示される変換候補である文字列の先
頭の都道府県名等を表示せずに部分文字列表示をする
か、これらの都道府県名を付した全文文字列を表示する
かを指示する指示キーと、前記指示キーによる表示状態
を記憶する手段と、指示キーの操作に応答して先頭の都
道府県名を付した複数の全文文字列を変換候補表示部に
表示するか、あるいは先頭の都道府県名を表示しないで
市や郡を先頭にした複数の部分文字列を変換候補表示部
に表示する手段とを具備させることによって達成され
る。[Means for Solving Problems] The above-mentioned purpose is an input unit for inputting a number or the like to be number-converted and a character example corresponding to the number. A storage unit that stores a dictionary, a conversion processing unit that searches a dictionary stored in this storage unit based on the number input from the input unit and converts it into a character string, and a character string converted by this conversion processing unit. In a document creation device having a display unit for displaying, a prefecture name at the beginning of a character string that is a conversion candidate and is displayed on the display unit after being converted by the conversion processing unit according to the number input by the input unit. Without displaying, a partial character string is displayed, or an instruction key for instructing whether to display a full-text character string with these prefecture names, a means for storing the display state by the instruction key, and an instruction key Respond to operation Then, multiple full-text strings with the leading prefecture name are displayed in the conversion candidate display area, or multiple partial character strings beginning with the city or county are displayed without displaying the leading prefecture name. And a means for displaying on the display unit.
[作 用] 変換結果が所望する文字列でなかった場合、文字列の一
部を変更する指示キーのみの入力で容易に変換結果の文
字列の変更が可能となる。従って、従来の如く再度変換
操作を行うことなく番号入力が行える。[Operation] When the conversion result is not the desired character string, it is possible to easily change the conversion result character string by inputting only the instruction key for changing a part of the character string. Therefore, the number can be input without performing the conversion operation again as in the conventional case.
[発明の実施例] 以下、本発明の一実施例を説明する。[Embodiment of the Invention] An embodiment of the present invention will be described below.
第2図は本発明になる文書作成装置の構成を示すブロッ
ク図で、制御部1は仮名漢字変換処理等の実行制御を司
るもので、CPUを利用して構成されている。入力部2は
番号変換を行う番号、変換指示、選択指示、文字列の変
更指示等を入力するための、例えば第3図に示すような
キーボードである。表示部3は入力番号や番号変換結果
等の文字列を表示するための、例えばCRT表示装置から
成る。変換処理部4は変換対象の入力番号を漢字かな混
じり文字列に変換するもので、前記制御部1におけるCP
Uのプログラムによって構成される。記憶部5は変換処
理等で用いられる辞書等を保存する。FIG. 2 is a block diagram showing the configuration of the document creating apparatus according to the present invention, in which the control unit 1 controls execution of kana-kanji conversion processing and the like, and is configured by using a CPU. The input unit 2 is, for example, a keyboard as shown in FIG. 3 for inputting a number for performing number conversion, a conversion instruction, a selection instruction, a character string change instruction, and the like. The display unit 3 is composed of, for example, a CRT display device for displaying a character string such as an input number and a number conversion result. The conversion processing unit 4 converts the input number to be converted into a character string containing kanji and kana.
It is composed by the U program. The storage unit 5 stores a dictionary and the like used in conversion processing and the like.
第1図は文書作成装置を用いた番号変換の処理機能フロ
ーチャートであり、以下本図に従いその処理内容を説明
する。本制御処理は第3図に示す入力部2の番号入力キ
ー902の押下により実行される。FIG. 1 is a flowchart of the processing function of number conversion using the document creation apparatus, and the processing contents will be described below with reference to this drawing. This control process is executed by pressing the number input key 902 of the input unit 2 shown in FIG.
初期値設定処理10において番号変換の対象となる番号の
入力処理か、変換結果の候補を選択する処理のいずれを
実行するかを指示するモード(以下処理モードと称す
る)を、まず、番号入力処理(処理モード=0)にす
る。また、変換結果である文字列の表示状態(以下表示
モードと称する)初期値を、記憶部5に保存してある、
例えば第4図に示す情報格納バッファの文字列表示状態
記憶部411を参照して設定する。In the initial value setting process 10, a mode (hereinafter, referred to as a processing mode) for instructing whether to execute a process of inputting a number to be a number conversion target or a process of selecting a conversion result candidate is first described as a number input process. Set (processing mode = 0). Further, an initial value of the display state (hereinafter referred to as a display mode) of the character string which is the conversion result is stored in the storage unit 5.
For example, it is set by referring to the character string display state storage unit 411 of the information storage buffer shown in FIG.
処理20では入力部2からのキー入力を待ち、処理21では
入力部2から入力されたキーが終了キー903であるかど
うかを判定する。前記入力キーが該当キー以外の場合は
処理22へ移る。前記入力キーが終了キー903の場合は処
理51で表示モードを文字列表示状態記憶エリア411へ退
避して本制御処理を終了する。A process 20 waits for a key input from the input unit 2, and a process 21 determines whether the key input from the input unit 2 is the end key 903. If the input key is other than the corresponding key, the process proceeds to step 22. When the input key is the end key 903, the display mode is saved in the character string display state storage area 411 in process 51, and this control process is terminated.
処理22では処理モードの判定を行い、番号変換の対象と
なる番号の入力処理(処理モード=0)の場合は処理23
へ、変換結果の候補を選択する処理(処理モード=1)
の場合は処理42へ移る。In processing 22, the processing mode is determined, and in the case of the processing for inputting the number to be converted (processing mode = 0), processing 23
To select a conversion result candidate (processing mode = 1)
In the case of, the process 42 is performed.
番号変換の対象となる番号の入力処理では、まず、前記
入力キーが変換キー905かどうかを判定し、該当キー以
外の場合は番号取り込み処理30を起動し、番号変換の対
象となる文字列の生成を行い処理20へ移る。前記入力キ
ーが変換キー905の場合は変換処理40を起動し、入力番
号に対応する文字列を記憶部5に存在する番号変換用辞
書から検索して表示部3に表示した後に、処理41で処理
モードを「1」に変更して処理20へ移る。In the input process of the number to be the number conversion target, first, it is determined whether or not the input key is the conversion key 905, and if it is not the corresponding key, the number acquisition process 30 is started and the number conversion target character string Generate and move to processing 20. When the input key is the conversion key 905, the conversion process 40 is started, the character string corresponding to the input number is searched from the number conversion dictionary existing in the storage unit 5 and displayed on the display unit 3, and then in the process 41. The processing mode is changed to “1” and the process 20 is performed.
変換結果の候補を選択する処理では、まず、処理42で前
記入力キーが実行キー908であるかどうかを判定し、該
当キーの場合は処理43で変換候補を確定し、例えば第11
図に示す如くこれを表示部4に表示して処理46へ移る。In the process of selecting the conversion result candidate, first, it is determined whether or not the input key is the execution key 908 in process 42, and if it is the corresponding key, the conversion candidate is confirmed in process 43.
As shown in the figure, this is displayed on the display unit 4 and the process 46 is proceeded to.
前記入力キーが実行キー908以外の場合は処理44で前記
入力キーが無変換キー904であるかどうかを判定し、該
当キーの場合は処理45で表示部3に表示されている変換
候補文字列や入力した番号を消去した後、処理46で処理
モードを「0」に変更して処理20へ移る。If the input key is other than the execute key 908, it is determined in step 44 whether the input key is the non-conversion key 904, and if it is the corresponding key, the conversion candidate character string displayed on the display unit 3 in step 45. After erasing or the input number, the process mode is changed to "0" in process 46 and the process proceeds to process 20.
前記入力キーが無変換キー904以外の場合は、変換処理4
0により変換された文字列の候補選択処理50を起動し、
所望する文字列の選択や変換文字列の一部変更などの処
理を行い処理20へ移る。If the input key is other than the non-conversion key 904, the conversion process 4
Start the candidate selection process 50 of the character string converted by 0,
Processing such as selection of a desired character string and partial modification of the converted character string is performed, and the process proceeds to processing 20.
以下、上記に述べた番号取り込み処理30、変換処理40及
び候補選択処理50の動作を詳細に説明する。The operations of the number acquisition process 30, the conversion process 40, and the candidate selection process 50 described above will be described in detail below.
まず、第5図に番号取り込み処理30の動作を表すフロー
チャートを示す。First, FIG. 5 shows a flowchart showing the operation of the number fetching process 30.
処理301では前記入力キーが番号変換の対象となる文字
キー901かどうかを判定し、対象文字キー901の場合は処
理302へ、それ以外の場合は処理303へ移る。In process 301, it is determined whether or not the input key is the character key 901 to be the number conversion target, and if it is the target character key 901, the process proceeds to process 302, and otherwise the process proceeds to process 303.
番号変換対象文字キー901の場合は、入力キー情報を処
理302で第6図に示す入力番号格納バッファに格納す
る。この際、入力番号格納バッファを管理するポインタ
として、例えばiを使用する。iはシステムたち上げ時
に「1」にセットしておく。本処理においてiの値を1
づつ増加させ、入力番号格納バッファに格納されている
番号を、例えば第7図に示す如く表示部3へ表示する。
第6図に示す如く入力番号格納バッファに「31」が格納
されていいる状態で、オペレータが入力部2から「1」
を入力すると、第8図に示す如く格納し、第9図に示す
如く表示部3に表示する。本画面では、最下部は番号入
力行、その1つ上は候補文字列表示行、上部はテキスト
文字列出力行である。In the case of the number conversion target character key 901, the input key information is stored in the input number storage buffer shown in FIG. At this time, for example, i is used as a pointer for managing the input number storage buffer. i is set to "1" when the system is started up. In this process, the value of i is set to 1
The number stored in the input number storage buffer is displayed on the display unit 3 as shown in FIG. 7, for example.
When "31" is stored in the input number storage buffer as shown in FIG. 6, the operator inputs "1" from the input section 2.
When is input, it is stored as shown in FIG. 8 and displayed on the display unit 3 as shown in FIG. In this screen, the lowermost part is a number input line, the uppermost one is a candidate character string display line, and the uppermost part is a text character string output line.
処理303では前記入力キーが後退キー907であるかどうか
を判定し、該当キーの以外の場合は処理305へ移る。In process 303, it is determined whether or not the input key is the backward key 907, and if it is not the corresponding key, the process proceeds to process 305.
処理304では、例えば第8図に示す入力番号格納バッフ
ァに「311」が格納されていいる状態で、オペレータが
入力部2から後退キーを入力するとiの値を1減少さ
せ、入力番号格納バッファの先頭から3番目の「1」を
削除して第6図に示す状態にして、第9に示す如く表示
部3に表示されているものを第7図に示す如く表示部3
に表示する。In process 304, for example, when "311" is stored in the input number storage buffer shown in FIG. 8 and the operator inputs the backward key from the input unit 2, the value of i is decremented by 1, and the input number storage buffer The third "1" from the beginning is deleted to bring it to the state shown in FIG. 6, and what is displayed on the display unit 3 as shown in FIG. 9 is displayed on the display unit 3 as shown in FIG.
To display.
処理305では前記入力キーが無変換キー904であるかどう
かを判定し、該当キーである場合は処理306で第10図に
示す如く表示部3に表示する。また、前記入力キーが無
変換キー904以外の場合は不当なキー入力と判断して処
理307の異常処理を実行し、例えば異常音を鳴らして処
理を終了する。In process 305, it is determined whether or not the input key is the non-conversion key 904, and if it is the corresponding key, in process 306 it is displayed on the display unit 3 as shown in FIG. If the input key is other than the non-conversion key 904, it is determined that the key input is invalid, and an abnormal process of process 307 is executed. For example, an abnormal sound is emitted and the process ends.
次に、変換処理40の動作を表すフローチャートを第12図
に示す。Next, a flowchart showing the operation of the conversion processing 40 is shown in FIG.
まず、処理401で入力された番号の1文字目から、第13
図に示す番号変換用辞書の2文字目以降の番号データを
格納している番号テーブル部132の先頭アドレスを、番
号インデクス部131より取得し、番号テーブル検索ポイ
ンタ(以下NO$POIと称する)にセットする。同様に処
理402で文字列データが格納されている表記テーブル部1
34の先頭アドレスを、表記インデクス部133より取得
し、表記テーブル検索ポインタ(以下CHAR$POIと称す
る)にセットする。First, from the first character of the number input in process 401,
The start address of the number table section 132 storing the number data of the second and subsequent characters of the number conversion dictionary shown in the figure is acquired from the number index section 131 and is used as a number table search pointer (hereinafter referred to as NO $ POI). set. Similarly, the notation table section 1 in which the character string data is stored in the process 402
The head address of 34 is acquired from the notation index unit 133 and set in a notation table search pointer (hereinafter referred to as CHAR $ POI).
処理403では入力番号格納バッファに格納された番号と
第12図に示す番号テーブル部132に格納されている番号
データの比較を行う。この際、番号テーブル部132に格
納されているデータは2文字目以降の番号であるが、入
力番号格納バッファの先頭1文字と組合せることにより
比較対象番号とすることが可能である。従って、例えば
第8図に示す入力番号格納バッファに格納されている番
号の先頭1文字「3」と、番号テーブル部132に格納さ
れている番号データの1番目「00」とを組合せて「30
0」となる。In process 403, the number stored in the input number storage buffer is compared with the number data stored in the number table unit 132 shown in FIG. At this time, the data stored in the number table unit 132 is the second and subsequent characters, but can be used as the comparison target number by combining with the first character of the input number storage buffer. Therefore, for example, the first character "3" of the number stored in the input number storage buffer shown in FIG. 8 and the first "00" of the number data stored in the number table unit 132 are combined to generate "30".
It becomes 0 ”.
比較結果が「入力番号>番号データ」の場合は処理405
へ、「入力番号=番号データ」の場合は処理404へ、
「入力番号<番号データ」の場合は処理407へ移る。If the comparison result is “input number> number data”, process 405
To "404" when "input number = number data",
If “input number <number data”, the process proceeds to step 407.
前記処理403の結果、入力番号と番号データが一致した
ならば、処理404で入力番号に対応する文字列を表記テ
ーブル部134より取り出し、第15図に示す候補文字列格
納バッファ151に格納する。例えば、第13図に示す表記
テーブル部134の文字列−kを取り出し、候補文字列格
納バッファ151に格納する場合は、文字列−kの先頭を
示すCHAR$POI+1の値を文字列転送元ポインタ(以下S
EL$POIと称する)にセット後、圧縮コード1402の「0
8」を候補文字列格納バッファ151のjの示す圧縮コード
格納位置1502へ転送する。If the input number and the number data match as a result of the process 403, the character string corresponding to the input number is retrieved from the notation table unit 134 in process 404 and stored in the candidate character string storage buffer 151 shown in FIG. For example, when the character string -k of the notation table unit 134 shown in FIG. 13 is extracted and stored in the candidate character string storage buffer 151, the value of CHAR $ POI + 1 indicating the beginning of the character string -k is set to the character string transfer source pointer. (Hereinafter S
After setting it to EL $ POI), the compression code 1402 "0
8 ”is transferred to the compressed code storage position 1502 indicated by j in the candidate character string storage buffer 151.
次にSEL$POIから1候補分の文字列1403「水戸市」を取
り出し、候補文字列格納バッファ151のjの示す文字列
格納エリア1503に転送する。この際、取り出した前記文
字列は3文字なので、その文字数を候補文字列格納バッ
ファ151のjの示す文字数格納エリア1501に格納すると
同時に、SEL$POIに取り出した文字数分の「3」を加え
次の文字列取り出し位置に移し、jも1増加させてお
く。以上の処理をレコード長1401に応じて繰り返すこと
により、候補となる文字列の取り出しが行える。なお、
候補文字列格納バッファ管理ポインタjは変換処理実行
時は「1」をセットしておく。Next, the character string 1403 “Mito City” for one candidate is taken out from SEL $ POI and transferred to the character string storage area 1503 indicated by j of the candidate character string storage buffer 151. At this time, since the extracted character string is three characters, the number of characters is stored in the character number storage area 1501 indicated by j of the candidate character string storage buffer 151, and at the same time, "3" for the number of extracted characters is added to SEL $ POI. The character string is moved to the character string extraction position of, and j is also incremented by 1. By repeating the above processing according to the record length 1401, the candidate character string can be extracted. In addition,
The candidate character string storage buffer management pointer j is set to "1" when the conversion process is executed.
処理405ではNO$POIを次の番号データ格納先頭位置に移
す。処理406ではCHAR$POIを次の文字列格納先頭位置に
移し処理403へ移る。In process 405, NO $ POI is moved to the next number data storage start position. In process 406, CHAR $ POI is moved to the next character string storage start position, and the process moves to process 403.
処理407では表示モードの判定を行う。表示モードが全
文字列表示(表示モード=1)の場合は、全文字列表示
処理410で第17図に示す如く表示部3に表示して処理を
終了する。In process 407, the display mode is determined. When the display mode is all character string display (display mode = 1), all character string display processing 410 is displayed on the display unit 3 as shown in FIG. 17, and the processing is terminated.
ここで全文字表示処理410の詳細を第12a図を用いて説明
する。Details of the all-character display process 410 will be described below with reference to FIG. 12a.
まず、処理4101でマトリクス表示用バッファ152の管理
ポインタ(以下MDIS$POIと称する)に初期値「1」を
セットする。First, in process 4101, an initial value “1” is set in the management pointer (hereinafter referred to as MDIS $ POI) of the matrix display buffer 152.
処理4102では候補文字列格納バッファ151のデータを取
り出し、ポインタ(以下SEA$POIと称する)の示すコー
ド格納部1502に格納されているコードを基に、第16図に
示すコード/文字列対応辞書のコード格納部161を検索
し、一致したコードに対応する文字列を対応文字列格納
部162より取得する。In process 4102, the data in the candidate character string storage buffer 151 is taken out, and based on the code stored in the code storage section 1502 indicated by the pointer (hereinafter referred to as SEA $ POI), the code / character string correspondence dictionary shown in FIG. 16 is obtained. The code storage unit 161 is searched, and the character string corresponding to the matched code is acquired from the corresponding character string storage unit 162.
処理4103では候補文字列格納バッファ151のSEA$POIの
示す文字列格納部1503の文字列と、前記処理4102で取得
した文字例とを組合せ、MDIS$POIのの示すマトリクス
表示用バッファ152にセットする。In process 4103, the character string in the character string storage unit 1503 indicated by SEA $ POI of the candidate character string storage buffer 151 and the character example acquired in the process 4102 are combined and set in the matrix display buffer 152 indicated by MDIS $ POI. To do.
処理4104ではSEA$POIの値と、MDIS$POIの値を1増加
させる。In process 4104, the value of SEA $ POI and the value of MDIS $ POI are incremented by 1.
処理4106ではマトリクス表示用バッファ152に候補文字
列のセットが完了したかどうかを判定し、完了していな
ければ処理4102へ移る。In process 4106, it is determined whether or not the setting of the candidate character string in the matrix display buffer 152 is completed, and if not completed, the process proceeds to process 4102.
処理4107ではマトリクス表示用バッファ152の先頭エリ
ア1521の文字列と同様の文字列を候補文字列表示用バッ
ファ151にセットし、処理4106でこれを表示部3に表示
する処理を実行する。In process 4107, a character string similar to the character string in the first area 1521 of the matrix display buffer 152 is set in the candidate character string display buffer 151, and in process 4106, a process of displaying it on the display unit 3 is executed.
この際、SEA$POIの初期値は、上位処理によりセットさ
れる。例えば、第15図に示す候補文字列格納バッファ15
1の状態で全文字列を生成するには、候補文字列格納バ
ッファ151のSEA$POI(初期値=1とする)の示すコー
ド格納部1502のコード「08」を基に、コード/文字列対
応辞書のコード格納部161を検索し、一致したコードに
対応する文字列「茨城県」を取得する。候補文字列格納
バッファ151のSEA$POIの示す文字列格納部1503の文字
列「水戸市」と組合せて「茨城県水戸市」を生成し、MD
IS$POIの示すマトリクス表示用バッファ1521にセット
し、SEA$POIの値を1増加させる。同様に前記処理4102
から4104を繰返し、マトリクス表示用バッファ1522に
「茨城県那珂湊市」、マトリクス表示用バッファ1523に
「茨城県日立市」をセットする。次に、候補文字列表示
用バッファ153には「茨城県水戸市」をセットし、第17
図に示す如くこれを表示部3に表示する。At this time, the initial value of SEA $ POI is set by upper processing. For example, the candidate character string storage buffer 15 shown in FIG.
To generate all character strings in the state of 1, the code / character string is based on the code “08” of the code storage unit 1502 indicated by SEA $ POI (assuming initial value = 1) of the candidate character string storage buffer 151. The code storage unit 161 of the corresponding dictionary is searched, and the character string “Ibaraki prefecture” corresponding to the matched code is acquired. Combined with the character string “Mito City” in the character string storage unit 1503 indicated by SEA $ POI in the candidate character string storage buffer 151, “Mito City, Ibaraki Prefecture” is generated, and MD is generated.
It is set in the matrix display buffer 1521 indicated by IS $ POI and the value of SEA $ POI is incremented by 1. Similarly, the processing 4102
To 4104 are repeated to set "Nakaminato City, Ibaraki Prefecture" in the matrix display buffer 1522 and "Hitachi City, Ibaraki Prefecture" in the matrix display buffer 1523. Next, "Mito City, Ibaraki Prefecture" is set in the candidate character string display buffer 153, and the 17th
This is displayed on the display unit 3 as shown in the figure.
処理407での判定結果が部分文字列表示(表示モード=
0)の場合には、処理420で候補文字列格納バッファ151
に格納されている文字列のみをマトリクス表示用バッフ
ァ152と候補文字列表示用バッファ153にセットし、これ
を表示部3に第18図に示す如く表示して処理を終了す
る。The result of determination in process 407 is a partial character string display (display mode =
In the case of 0), in process 420, the candidate character string storage buffer 151
Only the character strings stored in the matrix display buffer 152 and the candidate character string display buffer 153 are set, and this is displayed on the display unit 3 as shown in FIG.
ここで部分文字列表示処理420の詳細を第12b図を用いて
説明する。Details of the partial character string display process 420 will be described below with reference to FIG. 12b.
まず、処理4201でMDIS$POIの初期値「1」をセットす
る。処理4202では、候補文字列格納バッファ151のSEA$
POIの示す文字列格納部1503の文字列を、MDIS$POIの示
すマトリクス表示用バッファ152にセットする。処理420
3では、SEA$POI、MDIS$POIの値を1増加させる。処理
4204ではマトリクス表示用バッファ152に対する候補文
字列のセットが完了したかどうかを判定し、完了してい
なければ処理4202へ移る。処理4205では、マトリクス表
示用バッファ152の先頭エリア1521にセットされた文字
列と同一の文字列を候補文字列表示用バッファ153にセ
ットする。その後、処理4206でこれを表示部3に表示し
て部分文字列表示処理を終了する。この際、SEA$POIの
初期値は上位処理によりセットされる。例えば、第15図
に示す候補文字列格納バッファ151の状態では、候補文
字列格納バッファ151のSEA$POI(初期値=1とする)
の示す文字列格納部1503の文字列「水戸市」を、MDIS$
POIの示すマトリクス表示用バッファ1521にセットし、S
EA$POI、MDIS$POIの値を1増加させる。同様に前記処
理4202、4203を繰返し、マトリクス表示用バッファ1522
に「那珂湊市」、マトリクス表示用バッファ1523に「日
立市」をセットする。次に、候補文字列表示用バッファ
153には「水戸市」をセットし、第17図に示す如くこれ
を表示部3に表示する。First, in process 4201, the initial value “1” of MDIS $ POI is set. In process 4202, SEA $ in the candidate character string storage buffer 151
The character string in the character string storage unit 1503 indicated by POI is set in the matrix display buffer 152 indicated by MDIS $ POI. Processing 420
At 3, the value of SEA $ POI and MDIS $ POI is incremented by 1. processing
At 4204, it is determined whether or not the setting of the candidate character string in the matrix display buffer 152 is completed, and if not completed, the process proceeds to 4202. In process 4205, the same character string as the character string set in the head area 1521 of the matrix display buffer 152 is set in the candidate character string display buffer 153. Then, in process 4206, this is displayed on the display unit 3 and the partial character string display process ends. At this time, the initial value of SEA $ POI is set by upper processing. For example, in the state of the candidate character string storage buffer 151 shown in FIG. 15, SEA $ POI (initial value = 1) of the candidate character string storage buffer 151.
The character string “Mito City” in the character string storage unit 1503 indicated by
Set it in the matrix display buffer 1521 indicated by POI, and
Increase the value of EA $ POI and MDIS $ POI by 1. Similarly, the above processes 4202 and 4203 are repeated, and the matrix display buffer 1522
"Nakaminato City" is set to, and "Hitachi City" is set to the matrix display buffer 1523. Next, the candidate character string display buffer
“Mito City” is set in 153, and this is displayed on the display unit 3 as shown in FIG.
次に候補選択処理50の動作を第19図に示すフローチャー
トを用いて説明する。Next, the operation of the candidate selection process 50 will be described using the flowchart shown in FIG.
まず、処理5001では入力部2より入力されたキーが変換
キー905であるかどうかを判定し、該当キー以外の場合
は処理5003へ移る。First, in process 5001, it is determined whether the key input from the input unit 2 is the conversion key 905, and if it is not the corresponding key, the process proceeds to process 5003.
前記入力キーが変換キー905である場合は、処理5002に
おいて、候補表示エリアに表示されている文字列の次の
候補を候補表示用バッファ153にセットしてこれを表示
部3に表示する。例えば、第17図に示す候補文字列表示
行に表示されている変換候補「茨城県水戸市」を、第20
図の候補文字列表示行「茨城県那珂湊市」の如く変更し
て表示部3に表示する。If the input key is the conversion key 905, in process 5002, the next candidate of the character string displayed in the candidate display area is set in the candidate display buffer 153 and displayed on the display unit 3. For example, the conversion candidate “Mito City, Ibaraki Prefecture” displayed in the candidate character string display line shown in FIG.
The candidate character string display line in the figure is changed to "Nakaminato City, Ibaraki Prefecture" and displayed on the display unit 3.
処理5003では前記入力キーが選択キー911であるかどう
かを判定し、該当キー以外の場合は処理5005へ移る。In process 5003, it is determined whether the input key is the selection key 911, and if it is not the corresponding key, the process proceeds to process 5005.
前記入力キーが選択キー911である場合は、処理5004に
おいて選択した文字列を候補表示用バッファ153にセッ
トしこれを表示部3に表示する。例えば、第20図のマト
リクス表示画面の「茨城県日立市」を選択すると、候補
文字列表示行に表示されている「茨城県那珂湊市」を、
第21図の候補文字列表示行「茨城県日立市」の如く変更
して表示部3に表示する。When the input key is the selection key 911, the character string selected in the process 5004 is set in the candidate display buffer 153 and displayed on the display unit 3. For example, if you select "Hitachi City, Ibaraki Prefecture" on the matrix display screen of Fig. 20, "Nakaminato City, Ibaraki Prefecture" displayed in the candidate character string display line
The candidate character string display line in FIG. 21 is changed to “Hitachi City, Ibaraki Prefecture” and displayed on the display unit 3.
処理5005では前記入力キーが次キー909であるか前キー9
10であるかを判定し、該当キー以外の場合は処理5007へ
移る。In processing 5005, whether the input key is the next key 909 or the previous key 9
It is determined whether it is 10, and if it is other than the corresponding key, the process proceeds to processing 5007.
前記入力キーが次キー909である場合は、処理5006にお
いて、マトリクス表示画面に表示されている変換候補文
字列以降の変換候補文字列をマトリクス表示用バッファ
152にセットし、これを表示部3に表示する。例えば、
第20図に示す如く「茨城県水戸市」、「茨城県那珂湊
市」及び「茨城県日立市」の順でマトリクス表示画面に
表示されている場合、マトリクス表示用バッファ152を
クリアし、候補文字列格納バッファ151に格納されてい
る4番目の文字列「鹿島郡」を取り出し、表示モードに
従い「茨城県鹿島郡」としマトリクス表示用バッファ15
2に格納し、表示部3に第22図に示す如くこれを表示す
る。本例では、候補文字列格納バッファ151に格納され
ている変換候補が4候補であるため、次キー909の入力
でマトリクス表示画面に1候補のみ表示されるが、変換
候補が増えれば3候補単位でマトリクス画面に表示す
る。If the input key is the next key 909, in process 5006, the conversion candidate character strings after the conversion candidate character string displayed on the matrix display screen are buffered for matrix display.
Set it to 152 and display it on the display unit 3. For example,
As shown in FIG. 20, if the matrix display screen is displayed in the order of “Mito City, Ibaraki Prefecture”, “Nakaminato City, Ibaraki Prefecture” and “Hitachi City, Ibaraki Prefecture”, the buffer 152 for matrix display is cleared and the candidate character is displayed. The fourth character string “Kashima-gun” stored in the column storage buffer 151 is taken out and is set to “Kashima-gun, Ibaraki Prefecture” according to the display mode. Matrix display buffer 15
It is stored in 2, and is displayed on the display unit 3 as shown in FIG. In this example, since there are four conversion candidates stored in the candidate character string storage buffer 151, only one candidate is displayed on the matrix display screen when the next key 909 is input. To display on the matrix screen.
また、前記入力キーが前キー910である場合は、次キー9
09が入力される前のマトリクス表示画面に戻る。例えば
第22図の如く表示部3に表示されていれば、第21に示す
如く変更して表示部3に表示する。When the input key is the previous key 910, the next key 9
Return to the matrix display screen before entering 09. For example, if it is displayed on the display unit 3 as shown in FIG. 22, it is changed as shown in FIG. 21 and displayed on the display unit 3.
処理5007では前記入力キーが表示部3に表示されている
変換候補文字列を変更するための指示キー906であるか
どうかを判定し、該当キー以外の場合は不当なキーの入
力と判断して異常処理5008を行い処理を終了する。この
異常処理は、例えば異常音を鳴らすなどの処理である。In process 5007, it is determined whether or not the input key is the instruction key 906 for changing the conversion candidate character string displayed on the display unit 3, and if it is other than the corresponding key, it is determined that the input is an invalid key. Abnormality processing 5008 is performed and the processing ends. This abnormality processing is processing such as sounding an abnormal sound.
前記入力キーが指示キー906である場合は、処理5009で
表示部3に表示されている変換候補文字列の表示モード
判定を行う。表示モードが全文字列表示状態であれば処
理5010へ、部分文字列表示状態であれば処理5012へ移
る。If the input key is the instruction key 906, the process 5009 determines the display mode of the conversion candidate character string displayed on the display unit 3. If the display mode is the all character string display state, the process proceeds to processing 5010, and if the display mode is the partial character string display state, the process proceeds to processing 5012.
処理5010においては表示モードを全文字列表示状態から
部分文字列表示状態(表示モード=0)に変更し、処理
5011で表示部3に表示されている変換候補文字列の一部
を削除して表示部3に再度表示し処理を終了する。変換
候補文字列の一部削除処理では、第12図の部分文字列表
示処置420と同様の処理を行い、例えば第17図に示す如
く表示部3に表示されている候補文字列表示行の文字列
およびマトリクス画面に表示されている変換候補文字列
を、第18図に示す如く変更してこれを表示部3に表示し
直す。In process 5010, the display mode is changed from the full character string display state to the partial character string display state (display mode = 0), and the process
In step 5011, a part of the conversion candidate character string displayed on the display unit 3 is deleted, the character string is displayed again on the display unit 3, and the process ends. In the partial deletion processing of the conversion candidate character strings, the same processing as the partial character string display procedure 420 of FIG. 12 is performed, and for example, the characters of the candidate character string display line displayed on the display unit 3 as shown in FIG. 17 are displayed. The conversion candidate character string displayed on the row and matrix screen is changed as shown in FIG. 18 and displayed again on the display unit 3.
前記表示モードが部分文字列表示状態であれば、処理50
12において表示モードを部分文字例表示状態から全文字
列表示状態(表示モード=1)に変更し、処理5013で表
示部3に表示されている変換候補文字列に他の文字列を
付加してこれを表示部3に表示し処理を終了する。変換
候補文字列の一部文字列追加処理では、第12図の全文字
列表示処理410と同様の処理を行い、例えば第17図に示
す如く表示部3に表示されている候補文字列表示行の文
字列およびマトリクス画面に表示されている変換候補文
字列を、第18図に示す如く変更してこれを表示部3に表
示し直す。If the display mode is the partial character string display state, the process 50
In 12, the display mode is changed from the partial character example display state to the full character string display state (display mode = 1), and in step 5013, another character string is added to the conversion candidate character string displayed on the display unit 3. This is displayed on the display unit 3 and the process is terminated. In the partial character string addition process of the conversion candidate character string, the same process as the all character string display process 410 of FIG. 12 is performed, and for example, the candidate character string display line displayed on the display unit 3 as shown in FIG. 18 and the conversion candidate character string displayed on the matrix screen are changed as shown in FIG. 18 and displayed again on the display unit 3.
処理5010から5013は、指示キー906が入力部2から入力
される毎に繰返し実行されるため、変換された候補文字
列を変更できる。The processes 5010 to 5013 are repeatedly executed each time the instruction key 906 is input from the input unit 2, so that the converted candidate character string can be changed.
[発明の効果] 本発明は特に、入力部によって入力された番号に従い前
記変換処理部によって変換処理されて前記表示部に表示
される変換候補である文字列の先頭の都道府県名等を表
示せずに部分文字列表示をするか、これらの都道府県名
を付した全文文字列を表示するかを指示する指示キー
と、前記指示キーによる表示状態を記憶する手段と、指
示キーの操作に応答して先頭の都道府県等を付した複数
の全文文字列を変換候補表示部に表示するか、あるいは
先頭の都道府県等を表示しないで市や郡を先頭にした複
数の部分文字列を変換候補表示部に表示する手段とを具
備させるように構成したので、地名や住所等階層的に順
次配列される文字列を迅速に作成でき、とりわけ住所録
の作成や郵便の宛名書きに好適な文書作成装置を提供で
きるものである。EFFECTS OF THE INVENTION The present invention particularly displays the name of the first prefecture of a character string that is a conversion candidate displayed on the display unit after being converted by the conversion processing unit according to the number input by the input unit. Without displaying a partial character string or displaying a full-text character string with these prefecture names, a means for storing the display state by the instruction key, and a response to the operation of the instruction key Then, multiple full-text strings with leading prefectures etc. are displayed in the conversion candidate display section, or multiple partial character strings beginning with city or county without displaying the leading prefectures etc. are converted candidates. Since it is configured to have a means for displaying on the display unit, it is possible to quickly create a character string that is sequentially arranged hierarchically such as a place name and an address, and in particular, create a document suitable for creating an address book or mailing address. Equipment can be provided It is a thing.
第1図は本発明になる文書作成装置における番号変更の
実行方法を示すフローチャート、第2図は本発明になる
文書作成装置のブロック図、第3図はその入力部の概略
図、第4は記憶部に存在する情報格納バッファの一例を
表す図、第5図は番号変換の対象となる番号取り込み処
理を表すフローチャート、第6図及び第8図は入力番号
の格納バッファの一例を示す図、第7図、第9図、第10
図、第11図、第17図、第18図、第20図、第21図及び第22
図は画面出力情報の一例を示す図である。第12図は入力
番号に対する変換処理を表すフローチャート、第12a図
は全文字列表示処理を表すフローチャート、第12b図は
部分文字列表示処理を表すフローチャート、第13図は番
号変換用辞書全体の構成図、第14図は辞書に格納されて
いる情報の具体例を表す図、第15図は候補文字列格納バ
ッファの一例を示す図、マトリクス画面に表示するデー
タをセットするマトリクス表示用バッファの一例を示す
図、候補文字列表示行に表示するデータをセットする変
換文字列表示用バッファの一例を示す図、第16図は圧縮
コードに対応した文字列を格納してあるコード/文字列
対応辞書の構成図、第19図は変換候補の選択や変換候補
文字列の変更を行う候補選択処理を表すフローチャート
である。 1……制御部、2……入力部、3……表示部、4……変
換処理部、5……記憶部。FIG. 1 is a flow chart showing a method of executing a number change in a document creating apparatus according to the present invention, FIG. 2 is a block diagram of the document creating apparatus according to the present invention, FIG. 3 is a schematic diagram of its input section, and a fourth is shown. FIG. 5 is a diagram showing an example of an information storage buffer existing in the storage unit, FIG. 5 is a flowchart showing a number fetching process that is a target of number conversion, and FIGS. 6 and 8 are diagrams showing an example of an input number storage buffer. Figures 7, 9 and 10
Figure 11, Figure 11, Figure 17, Figure 18, Figure 20, Figure 21 and Figure 22
The figure is a diagram showing an example of screen output information. FIG. 12 is a flowchart showing a conversion process for an input number, FIG. 12a is a flowchart showing an entire character string display process, FIG. 12b is a flowchart showing a partial character string display process, and FIG. 13 is a whole number conversion dictionary configuration. 14 and 15 are diagrams showing specific examples of information stored in the dictionary, FIG. 15 is a diagram showing an example of a candidate character string storage buffer, and an example of a matrix display buffer for setting the data to be displayed on the matrix screen. , A diagram showing an example of a conversion character string display buffer for setting data to be displayed in a candidate character string display line, and FIG. 16 is a code / character string correspondence dictionary storing character strings corresponding to compressed codes. FIG. 19 is a flowchart showing a candidate selection process for selecting conversion candidates and changing conversion candidate character strings. 1 ... control unit, 2 ... input unit, 3 ... display unit, 4 ... conversion processing unit, 5 ... storage unit.
Claims (2)
力部と、番号に対応する文字例であり、住所等階層的に
順次配列される地名等の辞書を記憶する記憶部と、前記
入力部から入力した番号からこの記憶部に記憶されてい
る辞書を検索して文字列に変換する変換処理部と、この
変換処理部により変換された文字列を表示する表示部と
を有する文書作成装置において、 前記入力部によって入力された番号に従い前記変換処理
部によって変換処理されて前記表示部に表示される変換
候補である文字列の先頭の都道府県名等を表示せずに部
分文字列表示をするか、これらの都道府県名を付した全
文文字列を表示するかを指示する指示キーと、前記指示
キーによる表示状態を記憶する手段と、指示キーの操作
に応答して先頭の都道府県名を付した複数の全文文字列
を変換候補表示部に表示するか、あるいは先頭の都道府
県名を表示しないで市や郡を先頭にした複数の部分文字
列を変換候補表示部に表示する手段とを具備する文書作
成装置。1. An input unit for inputting a number or the like to be number-converted, a storage unit for storing a dictionary of place names and the like, which is a character example corresponding to the number, and is sequentially arranged hierarchically such as an address, Document creation having a conversion processing unit that searches a dictionary stored in this storage unit from the number input from the input unit and converts it into a character string, and a display unit that displays the character string converted by this conversion processing unit In the device, the partial character string is displayed without displaying the leading prefecture name of the character string which is the conversion candidate displayed on the display unit by being converted by the conversion processing unit according to the number input by the input unit. Or an instruction key for instructing whether to display a full-text character string with these prefecture names, means for storing the display state by the instruction key, and the first prefecture in response to the operation of the instruction key. Named compound Or a means for displaying a plurality of partial character strings having a city or a county at the head without displaying the leading prefecture name on the conversion candidate display portion. Document creation device.
ない文字列を格納した辞書を具備し、前記指示キーによ
る表示状態に応じて、前記2つの辞書に格納された文字
列を組合わせて変換文字列とし、又は、後者の辞書に格
納された文字列のみを変換候補文字列とするようにした
ことを特徴とする文書作成装置。2. The storage device according to claim 1, wherein the storage unit includes a dictionary storing a omitted character string and a dictionary storing a non-abbreviated character string, depending on a display state by the instruction key. A document creating apparatus, wherein the character strings stored in the two dictionaries are combined into a conversion character string, or only the character strings stored in the latter dictionary are used as conversion candidate character strings. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62287331A JPH0746357B2 (en) | 1987-11-16 | 1987-11-16 | Document creation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62287331A JPH0746357B2 (en) | 1987-11-16 | 1987-11-16 | Document creation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01129356A JPH01129356A (en) | 1989-05-22 |
| JPH0746357B2 true JPH0746357B2 (en) | 1995-05-17 |
Family
ID=17715982
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62287331A Expired - Lifetime JPH0746357B2 (en) | 1987-11-16 | 1987-11-16 | Document creation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0746357B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6140661A (en) * | 1984-08-02 | 1986-02-26 | Nec Corp | Conversion system for enterprise configuration name |
-
1987
- 1987-11-16 JP JP62287331A patent/JPH0746357B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01129356A (en) | 1989-05-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0746357B2 (en) | Document creation device | |
| JPS60176169A (en) | Sentence processor | |
| JPS59106036A (en) | System for retrieving kanji (chinese character) by designation of radical | |
| JPS63313268A (en) | Reading search device in document creation device | |
| JPH06337857A (en) | Kanji input method | |
| JPH08147289A (en) | Kana-Kanji conversion system and Kana-Kanji conversion method | |
| JPS6246029B2 (en) | ||
| JP2634926B2 (en) | Kana-Kanji conversion device | |
| JP2592793B2 (en) | Character processing method | |
| JPH01211028A (en) | Document retrieving system | |
| JP2941482B2 (en) | Document creation device and kana-kanji conversion method | |
| JPH0623973B2 (en) | Character processor frequency change method | |
| JPH0922411A (en) | Document processing method and apparatus | |
| JPH0877160A (en) | Kana-Kanji conversion method and device | |
| JPS5868145A (en) | Japanese input equipment | |
| JPH103474A (en) | Kanji search device | |
| JP2000348055A (en) | Method and device for retrieving information and computer readable recording medium | |
| JPH1011433A (en) | Method and device for homonym selection of japanese syllabary-chinese character conversion system | |
| JPH06266487A (en) | Information processor and help information presenting method | |
| JPH06119321A (en) | Document creation device | |
| JPS63157265A (en) | Document processor | |
| JPH06223055A (en) | Document input device | |
| JPH0370066A (en) | Character processor | |
| JPH07219930A (en) | Document creation device and document format unifying method | |
| JPS6365572A (en) | Image information storing and retrieving device |