JPH04116764A - Document processor - Google Patents

Document processor

Info

Publication number
JPH04116764A
JPH04116764A JP2238137A JP23813790A JPH04116764A JP H04116764 A JPH04116764 A JP H04116764A JP 2238137 A JP2238137 A JP 2238137A JP 23813790 A JP23813790 A JP 23813790A JP H04116764 A JPH04116764 A JP H04116764A
Authority
JP
Japan
Prior art keywords
phrase
clause
display
conversion
input
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
JP2238137A
Other languages
Japanese (ja)
Inventor
Satoshi Kurokawa
黒川 敏
Takayuki Kowada
古和田 孝之
Yoshinori Hatayama
佳紀 畑山
Tetsuo Takeyama
竹山 哲夫
Masahiro Ishiba
石場 正大
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2238137A priority Critical patent/JPH04116764A/en
Publication of JPH04116764A publication Critical patent/JPH04116764A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To alter the break of a clause becoming the object of reconversion by instructing a reconversion instruction means in a state where a clause display index is displayed on a decided clause and altering the reading of the clause which the clause display index shows. CONSTITUTION:A character string and an instruction, which are inputted from an input part 1, are given to a main control part 2 and are transmitted to a KANJI (Chinese character) conversion processing part 4, are written into a text memory 13 through a text processing part 12 and are outputted to an output part 15 through a display control part 14. The KANJI conversion processing part 4 stores the input character in an input buffer 9, executes a KANA (Japanese syllabary)-KANJI conversion preprocessing such as the retrieval of the dictionary 11 and the check of grammar and writes a conversion result in an output buffer 10. The content of the output buffer is written into the text memory 13 through the text processing part 12 and is outputted to the output part 15 through the display control part 12 and is outputted to the output part 15 through the display control part 14 as the conversion result. Thus, reconversion can be executed based on the alteration of the break of the clause.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は日本語ワードプロセッサ等の文書処理装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a document processing device such as a Japanese word processor.

(ロ)従来の技術 従来の文書処理装置では、第1・3図(a)に示す如く
かな漢字混じり文字列に変換すべき文字の読みを文字入
力し、同図(b)の様にかな漢字混じり文字列への変換
指示を受けて変換変換結果(未確定状態)の表示を得、
次いで(d)の様に変換結果の確定という処理によって
文書を作成する場合、(b)の未確定状態においては、
特開昭63−89969号公報に示されている如く文節
の読みの区切れ目を変更することによる再変換機能(同
図(C))により、正解となる変換結果を出力させるこ
とが可能であった。
(b) Conventional technology In conventional document processing devices, the pronunciation of the character to be converted into a character string containing kana and kanji as shown in Figures 1 and 3 (a) is inputted, and the reading of the character is input as shown in Figures 1 and 3 (b). Obtains the display of the conversion result (unconfirmed state) after receiving the conversion instruction to a character string,
Next, when creating a document by the process of determining the conversion result as shown in (d), in the undetermined state of (b),
As shown in Japanese Unexamined Patent Application Publication No. 63-89969, it is possible to output the correct conversion result by using a re-conversion function ((C) in the same figure) by changing the reading divisions of phrases. Ta.

しかし、変換結果が(d)の様に確定された後は、同図
(e)乃至(h)に示す様に、文字の打ち直し、変換結
果に対して再び読みを展開して再度変換を行うか、ある
いは通常の文字入力に使用されるカーソルNC(以下「
通常カーソル」と呼ぶ)が示す文字を含む単語の同音異
義語の変換を行うことにより、正解となる結果を出力し
ていた。
However, after the conversion result is confirmed as shown in (d), the characters are retyped, the reading is developed again for the conversion result, and the conversion is performed again, as shown in (e) to (h) of the same figure. or the cursor NC (hereinafter referred to as "cursor NC" used for normal character input)
The correct answer was output by converting the homophones of the word containing the character indicated by the cursor (usually called the cursor).

(ハ)発明が解決しようとする課題 従って、前記第13図(c)に示す様な確定された文字
列に対し再変換を行う場合、文節区切れ目の変更による
再変換ができなかった。そのために、かな漢字変換の変
換誤りが同音異義語だけの誤りに留まらず、文節区切れ
目の認識を誤ったために数文節にわたって変換誤りを犯
した場合、従来の再変換手法では、訂正に要するオペド
−タの負担が大きかった。本発明は斯る文節区切れ目の
認識を誤ったために数文節にわたって変換誤りを犯した
場合、従来の再変換手法では、訂正に要するオペレータ
の負担が大きい点を解決課題とする。
(c) Problems to be Solved by the Invention Therefore, when reconverting a determined character string as shown in FIG. 13(c), reconversion cannot be performed by changing the bunsetsu break. Therefore, if a conversion error in Kana-Kanji conversion is not limited to an error in homophones, but also a conversion error that spans several phrases due to a misrecognition of phrase breaks, conventional reconversion methods can reduce the amount of operations required for correction. The burden on Ta was heavy. The present invention aims to solve the problem that when conversion errors are made over several phrases due to erroneous recognition of phrase breaks, conventional reconversion methods impose a heavy burden on the operator for correction.

(ニ)課題を解決するための手段 本発明は、前記課題を解決すべく、読み情報を持つかな
文字列を入力する入力手段と、入力したかな文字列を漢
字かな混じり文字列に変換する変換手段と、前記変換手
段によって作成された文字列の文字コードとその文字列
に対応したアトリビュートを記憶する文書記憶部と、前
記入力手段により入力されるかな文字列およびテキスト
を表示する表示手段と、前記表示手段上で入力された文
字を表示する位置等を示す表示指標と、テキスト上の文
字列で漢字に変換された部分とその読みを記憶する漢字
・読み記憶部と、前記表示指標が指示するテキスト上の
確定された文字を含む文節を認識する認識手段と、認識
した文節となる文字列を示す文節表示指標と、前記認識
手段による文節認識処理および前記文節表示指標を表示
させることを指示する表示指示手段と、前記文節表示指
標が表示されているモードにおいて前記文節表示指標に
よって示される文節の読みの区切れ目を変更することに
よって再変換を行う手段と、前記再変換を指示する指示
手段とを具備し、確定されている文節上にて前記文節表
示指標が表示されている状態で、前記再変換指示手段を
指示すると、前記文節表示指標が示している文節の読み
を変更して、前記文節表示指標以下の数文節を変換対象
として変換することを特徴とする。
(d) Means for Solving the Problems In order to solve the above problems, the present invention provides an input means for inputting a kana character string having reading information, and a conversion method for converting the input kana character string into a character string containing kanji and kana. means, a document storage unit that stores the character code of the character string created by the conversion means and an attribute corresponding to the character string, and a display means that displays the kana character string and text input by the input means; a display indicator that indicates the position, etc., of displaying characters input on the display means; a kanji/reading storage unit that stores portions of character strings on the text that have been converted into kanji and their pronunciations; a recognition means for recognizing a phrase containing a confirmed character on a text to be recognized, a phrase display indicator indicating a character string that is a recognized phrase, and instructions for displaying phrase recognition processing by the recognition means and the phrase display indicator; display instructing means for instructing the reconversion, means for reconverting by changing the division of pronunciations of the phrase indicated by the phrase display indicator in the mode in which the phrase display indicator is displayed; and instructing means for instructing the reconversion. and when the re-conversion instruction means is instructed while the bunsetsu display indicator is displayed on a fixed bunsetsu, the reading of the clause indicated by the bunsetsu display indicator is changed, It is characterized in that several phrases below the phrase display index are converted as conversion targets.

(ホ)作用 前述の如く確定されている文節上にて前記文節表示指標
が表示されている状態で、前記再変換指示手段を指示す
ると、前記文節表示指標が示している文節の読みを変更
することによって、再変換対象となる文節の区切れ目が
変更される。
(E) Effect When the reconversion instruction means is instructed while the phrase display indicator is displayed on the phrase determined as described above, the reading of the phrase indicated by the phrase display index is changed. As a result, the break between clauses to be reconverted is changed.

(へ)実施例 以下、本発明による一実施例を図面を用いて説明する。(f) Example An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明を実行する文書処理装置の構成を示すブ
ロック図である。同図において、入力部1は文字入力お
よび、かな漢字変換、文節カーソル表示、再変換等の指
示入力がなされる第2図のようなキーボード等から構成
されている。この入力部1から入力された文字列及び指
示は主制御部2に与えられ、主制御部2はモード判定部
3により文字入力が有効と判断された場合、与えられた
文字列をかな漢字変換処理部4に送る。与えられた文字
列はテキスト処理部12を介してテキストメモリ13に
書き込まれ、表示制御部14を介してCRTデイスプレ
ィなどからなる出力部15へ出力される。
FIG. 1 is a block diagram showing the configuration of a document processing device that implements the present invention. In the same figure, an input unit 1 is composed of a keyboard as shown in FIG. 2 through which characters are input and instructions such as kana-kanji conversion, phrase cursor display, reconversion, etc. are input. The character string and instructions input from the input unit 1 are given to the main control unit 2, and if the mode determination unit 3 determines that the character input is valid, the main control unit 2 converts the given character string to kana-kanji conversion. Send to section 4. The given character string is written into a text memory 13 via a text processing section 12, and outputted via a display control section 14 to an output section 15 such as a CRT display.

上記かな漢字変換処理部4は、文字列(かな漢字混じり
文字列に変換すべきかな文字列)が入力されると同時に
入力文字を入力バッファ9に記憶し、辞書11の検索や
、文法チエツク等のかな漢字変換前処理を行い、入力部
1から漢字変換等の変換指示がされた場合、変換結果を
出力バッファ1゜に書き込む。あるいは文字が連続で入
力され、がな漢字変換前処理により、漢字変換を行って
出力可能と判断された部分に対しては変換指示がなくと
も変換結果を出力バッファ10に書き込む。出力バッフ
ァの内容は、テキスト処理部12を通じてテキストメモ
リ13に書き込まれ、表示制御部14を介して出力部1
5に変換結果として出力される。本発明では、以上のよ
うな、かな漢字変換処理を「自然変換」と呼び、自然変
換を行うような入力モードを自然変換モードと呼ぶ。ま
た、辞書11に登録されている単語で、変換結果として
テキストメモリ13に書き込まれた単語に対しては、入
力バッファ9に記憶されている入力文字列をもとに、漢
字・読みテーブル処理部16が単語の表記およびその読
みを漢字・読みテーブル19に登録部17を通して登録
する。読み登録された単語の先頭文字には読み情報の開
始位置を表す文字属性を持たせる(テキストメモリのア
トリビュートATTのフラグをオンする)。
The kana-kanji conversion processing unit 4 stores the input characters in an input buffer 9 at the same time as a character string (a kana character string to be converted into a kana-kanji mixed character string) is input, and performs searches in a dictionary 11, grammar checks, etc. Pre-conversion processing is performed, and when a conversion instruction such as kanji conversion is issued from the input unit 1, the conversion result is written to the output buffer 1°. Alternatively, if characters are input consecutively and it is determined that the characters can be converted and outputted by the pre-processing for Kana-Kanji conversion, the conversion results are written to the output buffer 10 even if there is no conversion instruction. The contents of the output buffer are written to the text memory 13 through the text processing section 12, and are written to the output section 1 through the display control section 14.
5 as the conversion result. In the present invention, the above-described kana-kanji conversion process is referred to as "natural conversion", and an input mode that performs natural conversion is referred to as natural conversion mode. In addition, for words registered in the dictionary 11 and written to the text memory 13 as a conversion result, the kanji/reading table processing unit 16 registers the word notation and its pronunciation in the kanji/reading table 19 through the registration unit 17. The first character of the registered word has a character attribute indicating the starting position of the reading information (the flag of the attribute ATT in the text memory is turned on).

[自然変換モードでのかな漢字変換および漢字・読み登
録処理] 第4図は「てがきもしにんしきしすてむのかいはつにじ
ゅうじする。」とかな文字の連続入力を行ったときの自
然変換の過程を出力部15への出力例として示したもの
である。また、第5図はそれに対応したテキストメモリ
13上の文字コードおよびアトリビュートATTを示し
たものである。まず(a)は、それぞれ「てがきもじに
んしき」と入力した時点での出力部15の表示およびび
テキストメモリ13の状態を模式的に示したものである
。かな漢字変換が行われていない入力文字列に対しては
その文字列が漢字変換対象であることを表すべくアンダ
ーラインが表示されている。さらに続けて「しすてむ」
と入力すると、既に入力されなかな文字列のうち、既存
の変換処理手段を用いて「てかきも」の部分が漢字変換
されて出力可能と判断され、変換結果として「手書きも
」が出力されて決定される。その際、辞書11に登録さ
れている単語「手書き」が漢字・読みテーブル19に登
録され(第6図(a)) 、テキストメモリ13上の「
手」のアトリビュートATTのフラグ第5図(b)の如
くがオンされる。
[Kana-Kanji conversion and Kanji/pronunciation registration processing in natural conversion mode] Figure 4 shows the case where continuous input of kana characters such as ``Tekaki mo ninshiki sutemu no kai hatsu ni jujisuru'' is performed. The process of natural transformation of is shown as an example of output to the output unit 15. Further, FIG. 5 shows the corresponding character code and attribute ATT on the text memory 13. First, (a) schematically shows the display on the output section 15 and the state of the text memory 13 at the time when "Tegakimojininshiki" is input. For input character strings that have not been subjected to kana-kanji conversion, an underline is displayed to indicate that the character strings are subject to kanji conversion. Continuing on, “Sistem”
When you input , the existing conversion processing means is used to convert the part of the input kana character string to ``tekakimo'' and it is determined that it can be output, and ``handwritten mo'' is output as the conversion result. Determined by At this time, the word "handwritten" registered in the dictionary 11 is registered in the kanji/pronunciation table 19 (FIG. 6(a)), and the word "handwritten" in the text memory 13 is
The flag of the attribute ATT for "hand" is turned on as shown in FIG. 5(b).

さらに続けて「のかいはつに」と入力する第4図(c)
と、「じにんし」の部分が漢字変換され出力可能と判断
されて変換結果として「辞任し」が決定されて出力され
る。その結果、第6図(b)の様に単語「辞任」が漢字
・読みテーブル19に登録され、テキストメモリ13上
の「手」のアトリビュートATTのフラグがオンされる
(第5図(C))。
Continue to input "nokaihatsu ni" (Figure 4 (c))
Then, the part ``jininshi'' is converted into kanji, and it is determined that it can be output, and ``resignation'' is determined as the conversion result and output. As a result, the word "resignation" is registered in the kanji/pronunciation table 19 as shown in FIG. 6(b), and the attribute ATT flag for "hand" on the text memory 13 is turned on (see FIG. 5(C)). ).

同様に「じゆうしする」と入力する(第4図(d))と
「きしすてむ」の部分が変換されて「期」、「捨て」、
「無」が漢字・読みテーブル19に登録される(第6図
(C))。最後に、句点「。」を入力する第4図(e)
と「がいはっにじゅうじする」の部分が変換されて「開
発」、「従事」が漢字・読みテーブル19に登録される
(第5図(d))。従って、最終的な変換結果、テキス
トメモ1月3、漢字・読みテーブル19は第4.5.6
図中のそれぞれ(e)、(e)、(d)となる。
Similarly, when you enter "Jiyuushisuru" (Figure 4 (d)), the "kisistem" part is converted to "period", "discard", and so on.
"Mu" is registered in the kanji/reading table 19 (FIG. 6(C)). Finally, enter the period “.” in Figure 4 (e).
The part ``gaihani jujisuru'' is converted, and ``development'' and ``engagement'' are registered in the kanji/reading table 19 (Figure 5 (d)). Therefore, the final conversion result, text memo January 3, kanji/reading table 19 is 4.5.6
(e), (e), and (d) in the figure, respectively.

[決定された文字列に対する文節カーソル表示機能] 入力部1より文節カーソルTCの表示の指示入力、即ち
第2図の「文節カーソル」キー1cが押されると、主制
御部2はモード判定部3により指示が有効か否かが判定
され、有効であると判定された場合、文節認識処理部5
を起動する。文節認識処理部5は、通常カーソルNCが
示す文字およびそれより前方にある文字で、フラグチエ
ツク部7によりアトリビュートATTのフラグがオンと
なっていると判定された文字をテキストからサーチする
。その際、通常カーソルNCの位置からフラグがオンと
なっている文字位置までの文字数’countl’をカ
ウントする。また、その文字がら指定文字数分(例えば
30文字分)だけ、テキストメモ1月3からの読み出し
を行い、各種バッファ・テーブル2゜にあるテキストバ
ッファに格納する(フラグがオンとなっている文字がサ
ーチできなかったときや、該当文字が指定文字数(例え
ば15文字)より前方にあるときは、通常カーソルNC
位置を起点として指定文字数分テキストメモ1月3から
の読み出しを行いテキストバッファに格納する)。また
、テキストバッファに格納された文字列に対する読みを
、漢字・読みテーブル19を検索部18を通して検索す
ることによって展開し、読みバッファに格納する。この
とき、テキストバッファの先頭文字のアトリビュー1−
 ATTのフラグがオンで、その単語が漢字・読みテー
ブル19から検索された場合、その単語の文字数’co
unt2′をカウントする。
[Phrase cursor display function for determined character string] When an instruction for displaying the phrase cursor TC is input from the input unit 1, that is, when the “Phrase cursor” key 1c in FIG. It is determined whether the instruction is valid or not, and if it is determined that the instruction is valid, the phrase recognition processing unit 5
Start. The phrase recognition processing section 5 searches the text for the character indicated by the normal cursor NC and the characters preceding it, for which the flag check section 7 determines that the flag of the attribute ATT is on. At this time, the number of characters 'countl' from the position of the normal cursor NC to the character position where the flag is on is counted. Also, the specified number of characters (for example, 30 characters) is read from the text memo January 3 and stored in the text buffer in the various buffer tables 2° (the characters whose flag is on are If the search fails or the corresponding character is before the specified number of characters (for example, 15 characters), the normal cursor NC
Starting from the position, the specified number of characters are read from the text memo January 3 and stored in the text buffer). Furthermore, the reading for the character string stored in the text buffer is developed by searching the kanji/reading table 19 through the search unit 18 and stored in the reading buffer. At this time, attribute 1- of the first character of the text buffer
If the ATT flag is on and the word is retrieved from the Kanji/Yomi table 19, the number of characters in the word is
Count unt2'.

読みの展開を行うと同時に、単語区切れ目テーブルの作
成も行う。単語区切れ目テーブルとは、テキストバッフ
ァに格納されている文字列の単語表記およびその読みの
切れ目を示したものである。例えば、第7図(a)に示
されるテキストバッファの内容に対しては、読みが展開
された読みバッファが(b)のようになり(漢字・読み
テーブル19には「明日」と「行こう」と「考え」が登
録されている)、単語区切れ目テーブルは(C)のよう
になる。つまり、読みを持つ単語はその文字列で1単位
とし、それ以外の文字は1文字で1単位とし、その区切
れ目をテキストバッファの先頭からの文字数(16進数
)としてカウントしたものが、単語区切れ目テーブルで
ある。
At the same time as developing readings, we also create a word break table. The word division table indicates the word notations of character strings stored in the text buffer and the divisions in their pronunciations. For example, for the contents of the text buffer shown in FIG. ” and “idea” are registered), and the word break table is as shown in (C). In other words, words with pronunciations are considered as one unit in their character string, and other characters are considered as one unit, and the word division is counted as the number of characters (hexadecimal number) from the beginning of the text buffer. This is a break table.

次に、文節認識処理部5はテキストバッファの内容をも
とに文節となる文字列を認識し、カーソル処理部8に文
節カーソル表示を指示し、入力モードを「自然変換モー
ド」から「文節カーソルモードjに変更する。また、認
識した文節の文字数と読み数を文節インデックスバッフ
ァに格納する。
Next, the clause recognition processing unit 5 recognizes a character string that becomes a clause based on the contents of the text buffer, instructs the cursor processing unit 8 to display a clause cursor, and changes the input mode from "natural conversion mode" to "passage cursor". Change to mode j. Also, store the number of characters and readings of the recognized phrase in the phrase index buffer.

文節認識のフローチャートを、第3図に示す。A flowchart of phrase recognition is shown in FIG.

1−13通常カーソルNCは読み登録されている単語上
にあるか(cour+tl<=count2であるか)
1-13 Is the normal cursor NC on a word whose pronunciation is registered (is course+tl<=count2)?
.

1−2. r読み登録されている単語」+「付属語(ア
トリビュートATTのフラグがオフのひらがな文字列)
」を文節とする。
1-2. r-yomi registered word” + “attached word (hiragana character string with attribute ATT flag off)”
” is a phrase.

1−31通常カーソルNCはアトリビュートATTのフ
ラグがオフであるひらがな上にあるか。
1-31 Is the normal cursor NC located on a hiragana whose attribute ATT flag is off?

1−48通常カーソルNC位置のひらがなを含むひらが
な列の直前に読み登録されている単語があるか。
1-48 Is there a word registered in reading immediately before the hiragana string containing the hiragana at the normal cursor NC position?

1−5.ひらがな列のみを文節とする。1-5. Only hiragana strings are used as clauses.

1−69通常カーソルNCはカタカナ、英数字の上にあ
るか。
1-69 Is the normal cursor NC placed on katakana or alphanumeric characters?

1−7.rカタカナ列」あるいは「英数字列」+「付属
語」を文節とする。
1-7. r Katakana string” or “alphanumeric string” + “adjunct word” as a clause.

1−83通常カーソルNCが示す文字(記号)のみを文
節とする。
1-83 Only the characters (symbols) indicated by the normal cursor NC are designated as clauses.

第7図の例を取った場合、認識される文節は第8図のよ
うになる。
If we take the example of FIG. 7, the recognized phrases will be as shown in FIG. 8.

[文節カーソル表示機能コ 決定後の文字列(第4図(e))に対して、通常カーソ
ルNCを「手」の上に移動させた状n(f)で文節カー
ソルTC表示の指示入力を行ったとするンである文字「
手」が検索され、その位置よりテキストの読み出しを行
いテキストバッファに格納する。テキストバッファはテ
キストと同様に文字コードとアトリビュートATTを持
つ(第9図(a))。次に、アトリビュートATTのフ
ラグがオンである文字を漢字・読みテーブル19(第9
図(b))から検索して読みを展開し、漢字・読みテー
ブル19に登録されていない文字、即ちかな文字に対し
ては、テキストバッファ上の文字コードから読みを展開
する(「も」→「も」、 「シ」→「シ」、「の」→「
の」、「に」→「に」、「する。」→「する。」)。本
例に対して読み展開を行った結果は第9図(c)となる
。また、単語区切れ目テーブルは第9図(d)のように
なる。
[For the character string after the phrase cursor display function has been determined (Fig. 4 (e)), input an instruction to display the phrase cursor TC by moving the normal cursor NC over "hand" (n(f)). If you go, the character ``
``hand'' is searched, and the text is read from that position and stored in the text buffer. The text buffer has a character code and an attribute ATT like text (FIG. 9(a)). Next, write the characters whose attribute ATT flag is on to the kanji/reading table 19 (9th
For characters that are not registered in the kanji/reading table 19, that is, kana characters, the reading is developed from the character code on the text buffer (“mo” → "Mo", "shi" → "shi", "no" → "
",""ni" → "ni", "suru." → "suru."). The result of reading and expanding this example is shown in FIG. 9(c). Further, the word division table is as shown in FIG. 9(d).

ここで、通常カーソルNC位置からフラグがオンとなっ
ている文字位置までの戻り文字数’countl ’は
Oであり、テキストバッファの先頭の読み登録されてい
る単語の文字数’count2’は3であるので、通常
カーソルNCは読みを持つ単語の上にあると判定され、
第3図のフローチャートに基づいて、「読み登録されて
いる単語」+「ひらがな」(「手書き」+「も」)が文
節であると認識し、文節カーソルTC表示を行い、モー
ド変更を行う(第4図(g)) − [文節カーソルモードにおける文節の読みの区切れ目変
更による再変換機能] 入力部1から文節の読み区切れ目変更による変換の指示
入力がされると、主制御部2はモード判定部3にモード
の判定を指示し、文節カーソルモードであるならば再変
換文節情報設定処理部6を起動し、文節カーソルTCが
示している文節およびその後ろの数文節の文字、読みを
テキストバッファ、読みバッファ、単語区切れ目テーブ
ルに格納されている情報を基に認識し、各種バッファ・
テーブル20内にある文節情報バッファに格納する。文
節情報設定処理部6は、以下のルールに従って文節の情
報を設定する。
Here, the number of returned characters 'countl' from the normal cursor NC position to the character position where the flag is on is O, and the number of characters 'count2' of the word whose reading is registered at the beginning of the text buffer is 3. , it is determined that the normal cursor NC is on a word with reading,
Based on the flowchart in Figure 3, it recognizes that "words whose pronunciation has been registered" + "hiragana"("handwritten" + "mo") is a phrase, displays the phrase cursor TC, and changes the mode ( (Fig. 4(g)) - [Re-conversion function by changing the reading break of a clause in the bunsetsu cursor mode] When an instruction for conversion by changing the reading break of a clause is input from the input unit 1, the main control unit 2 The mode judgment section 3 is instructed to judge the mode, and if it is the bunsetsu cursor mode, the re-conversion clause information setting processing section 6 is activated, and the characters and pronunciations of the clause indicated by the clause cursor TC and several clauses after it are read. Recognizes based on the information stored in the text buffer, reading buffer, and word break table, and
It is stored in the clause information buffer in table 20. The clause information setting processing unit 6 sets the clause information according to the following rules.

(])テキストバッファ、読みバッファ、文節インデッ
クスバッファを参照して、文節カーソルTCが示す文字
列の文字コード、読みコードおよびそれぞれの文字数を
設定する。
(]) Refer to the text buffer, reading buffer, and phrase index buffer to set the character code, reading code, and number of characters of the character string indicated by the phrase cursor TC.

(2)2文節目以降の文節に対しては、該当文節の先頭
文字のアトリビュートATTのフラグがオンである場合
、「その文字を含み文節区切れ目テーブルが示す文字列
の1単位」+「それに続くひらがな文字列」を1文節と
する。
(2) For the second and subsequent clauses, if the attribute ATT flag of the first character of the corresponding clause is on, "one unit of the string containing that character and indicated by the bunsetsu break table" + "and The following hiragana character string is considered to be one phrase.

(3)アトリビュートATTのフラグがオンでない場合
、その1文字を1文節とする。
(3) If the flag of attribute ATT is not on, that one character is treated as one clause.

鋒 次に、かな漢字変換処理4に文節の読みの区切れ目変更
による再変換の指示と、区切れ目の変更の内容を参照し
、その範囲において第1文節のdDi& 節区切れ目に従ったかな漢字変換を行う。変換後−は、
第1文節の変換結果(読みを1文字分伸ばしたあるいは
縮めた読みに対する変換結果)に文節カーソルTCを表
示し、文節インデックスバッファの内容を変換後の文節
カーソル移動キーに対応するよう更新し、新たな変換結
果に対して漢字・読みテーブル19に読みの登録を行う
Feng then instructs Kana-Kanji conversion process 4 to re-convert by changing the division in the pronunciation of the clause, and refers to the content of the change in division, and performs the kana-kanji conversion according to the dDi & clause division of the first clause within that range. conduct. After conversion - is
Displays the phrase cursor TC on the conversion result of the first phrase (the conversion result for the reading that is extended or shortened by one character), updates the contents of the phrase index buffer to correspond to the phrase cursor movement key after conversion, The reading of the new conversion result is registered in the kanji/reading table 19.

[文節の読み区切れ目の変更による再変換機能] 第4図(g)の状態から文節の読みを1文字縮める方向
に再変換を指示したとする(第2図においてキー1bと
キー1dを同時押下する)。テキストバッファ、漢字・
読みテーブル19、読みバッファ、単語区切り目テーブ
ルは第9図に示す通りであり、文節情報設定処理部6に
より、まず第1文節の情報が設定される。次に、第2文
節の先頭に当る文字「辞」のアトリビュートATTのフ
ラグはオンであるので、単語区切り目テーブルから判断
される文字列の1単位「辞任」および連続するひらがな
文字列「シ」が第2文節であると判断される。次に、第
3文節の先頭文字に当る「期」のアトリビュートATT
のフラグもオンであるので、文字列の1単位「期」およ
び連続するひらがな列「シ」が第2文節であると判断さ
れ、文節情報バッファは第11図示すように設定される
(本例では、文節カーソルTCの文節と後ろ2文節の計
3文節を変換対象とした)。
[Re-conversion function by changing the pronunciation break of a clause] Suppose that from the state shown in Fig. 4 (g), a re-conversion is instructed in the direction of shortening the pronunciation of the clause by one character (in Fig. 2, keys 1b and 1d are pressed at the same time). ). Text buffer, Kanji/
The reading table 19, reading buffer, and word break table are as shown in FIG. 9, and the phrase information setting processing section 6 first sets the information of the first phrase. Next, since the attribute ATT flag for the character "ji" at the beginning of the second clause is on, one unit of the character string "resignation" determined from the word break table and the continuous hiragana character string "shi" are on. is determined to be the second clause. Next, the attribute ATT for “period” which is the first character of the third clause.
flag is also on, it is determined that the character string unit ``period'' and the continuous hiragana string ``shi'' are the second clause, and the clause information buffer is set as shown in Figure 11 (in this example In this case, a total of three clauses, the clause at the clause cursor TC and the last two clauses, are to be converted).

かな漢字変換処理部4は、第11図で示す文節情報と区
切れ目変更の方向(本例では1文字縮める方向)から、
第1文節の文節区切り目が「てかき」と「もしにんしき
し」の間にあるものとしてかな漢字変換を行い、変換結
果「手書き文字認識し」が出力バッファに格納されて表
示される(第4図(h))、。新たに「文字」、「認識
」を漢字・読みテーブル19に登録する。最終的なテキ
ストメモリ13、漢字・読みテーブル19、第5図(f
)、第6図(f)に示すようになる。
The kana-kanji conversion processing unit 4 calculates the following from the bunsetsu information shown in FIG.
Kana-kanji conversion is performed assuming that the bunsetsu break of the first bunsetsu is between "tekaki" and "moshi ninshikishi", and the conversion result "handwritten character recognition" is stored in the output buffer and displayed ( Figure 4(h)). Newly register "character" and "recognition" in the kanji/reading table 19. Final text memory 13, kanji/reading table 19, Figure 5 (f
), as shown in FIG. 6(f).

[文節カーソルモードにおける文節カーソルTC移動機
能] 入力部1から文節カーソル移動キーの指示入力がされる
と(第2図のカーソル移動キー1d、1eのいずれかが
押されると)、主制御部2はモード判定部3にモードの
判定を指示し、文節カーソルモードであるならば文節認
識処理部5に指示された移動方向の文節認識の指示を与
える。文節認識処理部5は、現在示されている文節カー
ソルTCの先頭の直前の位置あるいは後端の直後の位置
に通常カーソルNCがあるものとして、前記文節カーソ
ルTC表示機能にて説明した処理と同様な処理を行う。
[Phrase cursor TC movement function in phrase cursor mode] When a phrase cursor movement key instruction is input from the input unit 1 (when either cursor movement key 1d or 1e in FIG. 2 is pressed), the main control unit 2 instructs the mode determination section 3 to determine the mode, and if it is the phrase cursor mode, gives an instruction to the phrase recognition processing section 5 to recognize the phrase in the specified direction of movement. The phrase recognition processing unit 5 performs the same processing as described for the phrase cursor TC display function, assuming that the normal cursor NC is located at the position immediately before the beginning or immediately after the end of the currently displayed phrase cursor TC. Perform processing.

但し、前記認識ルールに従って認識し、直前の文節カー
ソルTCの示す範囲にあった文字が入る場合は、その文
字を含まないところまでを移動後の文節カーソルTC表
示範囲とする。なお、文節インデックスバッファの内容
の更新、文節カーソルTC以降の指定文字数のテキスト
バッファへの格納、読みテーブルへの読みの展開、単語
区切れ目テーブルの作成も同時に行う。
However, if a character is recognized according to the recognition rule and falls within the range indicated by the previous clause cursor TC, the display range of the clause cursor TC after movement is set to a part that does not include that character. At the same time, the contents of the clause index buffer are updated, the specified number of characters after the clause cursor TC are stored in the text buffer, the pronunciation is expanded to the pronunciation table, and the word break table is created.

第4図(h)の例でカーソルを右方向へ移動させる指示
を与えたとすると、通常カーソルNCが「文」の上にあ
るものとして文節カーソルTC表示機能を実行させる。
In the example of FIG. 4(h), if an instruction is given to move the cursor to the right, the clause cursor TC display function is executed assuming that the normal cursor NC is on "sentence".

本例では、通常カーソルNCがアトリビュートATTの
フラグがオンである文字の上にあるので、第3図に示す
フローにより「文字」の部分が文節であると判断し、か
つ直前の文節カーソルTCが示していた範囲にある文字
と重なる文字がないことより、[文字Jの部分に文節カ
ーソルTCを表示する。テキストバッファ、読みバッフ
ァ、単語区切れ目テーブルは第12図のようになる。
In this example, since the normal cursor NC is on a character whose attribute ATT flag is on, the flow shown in Figure 3 determines that the "character" part is a clause, and the previous clause cursor TC is Since there are no characters that overlap with the characters in the indicated range, display the phrase cursor TC at the character J. The text buffer, reading buffer, and word break table are as shown in FIG.

第4図(j)、 (k)は、文節カーソルTC移動、文
節の読み伸縮変換を行った結果である。
FIGS. 4(j) and 4(k) show the results of moving the clause cursor TC and converting the reading of the clause.

[文節カーソルモードにおける文節の読み展開機能コ 入力部1から文節の読み展開の指示入力がなされると、
主制御部2はモード判定部3にモードの判定を指示し、
文節カーソルモードであるならば、読みバッファに展開
されている読みのうち、文節インデックスバッファに記
憶されている文節の読み数分の読みを文節カーソルTC
の先頭から表示させ、かな漢字変換処理部4に送る。ま
た、文節カーソルモードから抜けて、従来の再変換モー
ドへの変更を行う (「文節カーソルモード」→「逐次
変換モード」)。
[Phrase reading expansion function in phrase cursor mode When an instruction for reading and expanding a phrase is input from the input section 1,
The main control unit 2 instructs the mode determination unit 3 to determine the mode,
If it is in the bunsetsu cursor mode, the bunsetsu cursor TC displays the readings for the number of bunsetsu readings stored in the bunsetsu index buffer among the readings expanded in the reading buffer.
is displayed from the beginning and sent to the kana-kanji conversion processing section 4. Also, exit the phrase cursor mode and change to the conventional reconversion mode (``Phrase cursor mode'' → ``Successive conversion mode'').

第4図の例では、第4図(k)において文節カーソルT
Cが「認識」の上にある場合、文節の読み展開を指示す
ると(第2図のキー1aを押すと)、読みバッファの読
みコードのうち文節インデックスバッファに記憶されて
いる読み数(本例では4)だけ、読みコードを取ってき
て表示する。従って、読み展開後は第4図(1)のよう
になる。
In the example in Figure 4, the clause cursor T
When C is above "Recognition", when you instruct the pronunciation development of a clause (by pressing key 1a in Figure 2), the number of pronunciations stored in the clause index buffer among the pronunciation codes in the pronunciation buffer (in this example Now, just 4), get the reading code and display it. Therefore, the result after reading and development is as shown in FIG. 4 (1).

(ト)発明の効果 以上、詳述したように本発明により、確定処理済みの文
字列に対しても再変換の対象となる文節の区切れ目を変
更させることができるので、斯る文節の区切れ目の変更
に基づく再変換を行うことができる。
(g) Effects of the Invention As described in detail above, according to the present invention, it is possible to change the segmentation of phrases to be reconverted even for character strings that have been finalized. Retransformation can be performed based on changes in the break.

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

第1図乃至第12図は本発明の一実施例を示し、第1図
は構成を示すブロック図、第2図は入力部の一例を示す
模式図、第3図はフローチャート、第4図は表示状態の
変化を示す模式図、第5図はテキストメモリの状態の変
化を示す模式図、第6図は漢字・読みテーブルの状態の
変化を示す模式図、第7図はテキストバッファ、読みバ
ラ目 ファ、単語区切れバッファを説明するための模式図、第
8図は通常カーソル状態と、文節カーソル状態を説明す
るための模式図、第9図はテキストら バッファ、読みバッファ、単語区切れバッファのへ 関係を説明するための模式図、第10図、第11図は文
節情報バッファを説明する模式図、第12図はテ已 キストバッファ、読みバッファ、単語区切れバッファの
変更後の状態を説明するための模式図、第713図は従
来例を説明するための模式図、を夫々示している。 1・・・入力部、2・・・主制御部、4・・・かな漢字
変換処理部、5・・文節認識処理部、6・・・再変換文
節情報設定処理部、7・・・フラグチエツク部、8・・
・カーソル処理部、11・・・辞書、12・・・テキス
ト処理部、13・・・テキストメモリ、15・・・出力
部、16・・・漢字・読みテーブル処理部、19・・・
漢字・読みテーブル、20・・各種バッファテーブル、
NC・・・通常カーソル、TC・・文節カーソル。
1 to 12 show one embodiment of the present invention, FIG. 1 is a block diagram showing the configuration, FIG. 2 is a schematic diagram showing an example of an input section, FIG. 3 is a flowchart, and FIG. 4 is a block diagram showing the configuration. Fig. 5 is a schematic diagram showing changes in the display state. Fig. 5 is a schematic diagram showing changes in the text memory state. Fig. 6 is a schematic diagram showing changes in the state of the kanji/yomi table. Fig. 7 is a schematic diagram showing changes in the text buffer and reading bar. Figure 8 is a schematic diagram to explain the normal cursor state and clause cursor state. Figure 9 is the text buffer, reading buffer, and word division buffer. Figures 10 and 11 are schematic diagrams to explain the clause information buffer, and Figure 12 shows the states of the text buffer, reading buffer, and word break buffer after changes. FIG. 713 shows a schematic diagram for explaining a conventional example. DESCRIPTION OF SYMBOLS 1... Input unit, 2... Main control unit, 4... Kana-Kanji conversion processing unit, 5... Clause recognition processing unit, 6... Re-conversion clause information setting processing unit, 7... Flag check Part 8...
- Cursor processing section, 11... Dictionary, 12... Text processing section, 13... Text memory, 15... Output section, 16... Kanji/reading table processing section, 19...
Kanji/reading table, 20...Various buffer tables,
NC: Normal cursor, TC: Clause cursor.

Claims (1)

【特許請求の範囲】[Claims] (1)読み情報を持つかな文字列を入力する入力手段と
、入力したかな文字列を漢字かな混じり文字列に変換す
る変換手段と、前記変換手段によって作成された文字列
の文字コードとその文字列に対応したアトリビュートを
記憶する文書記憶部と、前記入力手段により入力される
かな文字列およびテキストを表示する表示手段と、前記
表示手段上で入力された文字を表示する位置等を示す表
示指標と、テキスト上の文字列で漢字に変換された部分
とその読みを記憶する漢字・読み記憶部と、前記表示指
標が指示するテキスト上の確定された文字を含む文節を
認識する認識手段と、認識した文節となる文字列を示す
文節表示指標と、前記認識手段による文節認識処理およ
び前記文節表示指標を表示させることを指示する表示指
示手段と、前記文節表示指標が表示されているモードに
おいて前記文節表示指標によって示される文節の読みの
区切れ目を変更することによって再変換を行う手段と、
前記再変換を指示する指示手段とを具備し、確定されて
いる文節上にて前記文節表示指標が表示されている状態
で、前記再変換指示手段を指示すると、前記文節表示指
標が示している文節の読みを変更して、前記文節表示指
標以下の数文節を変換対象として変換することを特徴と
する文書処理装置。
(1) An input means for inputting a kana character string with reading information, a conversion means for converting the input kana character string into a character string mixed with kanji and kana, and the character code of the character string created by the conversion means and its characters. a document storage unit that stores attributes corresponding to the columns; a display unit that displays the kana character string and text input by the input unit; and a display index that indicates the position, etc., where the input characters are displayed on the display unit. a kanji/reading storage unit that stores a part of a character string on a text that has been converted into a kanji and its pronunciation; and a recognition means that recognizes a clause that includes a confirmed character on the text indicated by the display indicator; a phrase display indicator indicating a character string that is a recognized phrase; a display instruction means for instructing the recognition means to perform phrase recognition processing and display the phrase display index; means for reconverting by changing the reading division of the phrase indicated by the phrase display indicator;
and instruction means for instructing the reconversion, and when the reconversion instruction means is instructed in a state where the phrase display index is displayed on a confirmed phrase, the phrase display index indicates A document processing device characterized in that a reading of a phrase is changed and several phrases below the phrase display index are converted as conversion targets.
JP2238137A 1990-09-06 1990-09-06 Document processor Pending JPH04116764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2238137A JPH04116764A (en) 1990-09-06 1990-09-06 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2238137A JPH04116764A (en) 1990-09-06 1990-09-06 Document processor

Publications (1)

Publication Number Publication Date
JPH04116764A true JPH04116764A (en) 1992-04-17

Family

ID=17025745

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2238137A Pending JPH04116764A (en) 1990-09-06 1990-09-06 Document processor

Country Status (1)

Country Link
JP (1) JPH04116764A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61175855A (en) * 1985-01-31 1986-08-07 Sharp Corp Kana to kanji converting device
JPS61175853A (en) * 1985-01-31 1986-08-07 Sharp Corp Kana to kanji converting device
JPS62102356A (en) * 1985-10-29 1987-05-12 Fujitsu Ltd Chinese character conversion system
JPS6389970A (en) * 1986-10-02 1988-04-20 Matsushita Electric Ind Co Ltd Kana-kanji conversion device
JPS63192158A (en) * 1987-02-04 1988-08-09 Alps Electric Co Ltd Kana/kanji converting method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61175855A (en) * 1985-01-31 1986-08-07 Sharp Corp Kana to kanji converting device
JPS61175853A (en) * 1985-01-31 1986-08-07 Sharp Corp Kana to kanji converting device
JPS62102356A (en) * 1985-10-29 1987-05-12 Fujitsu Ltd Chinese character conversion system
JPS6389970A (en) * 1986-10-02 1988-04-20 Matsushita Electric Ind Co Ltd Kana-kanji conversion device
JPS63192158A (en) * 1987-02-04 1988-08-09 Alps Electric Co Ltd Kana/kanji converting method

Similar Documents

Publication Publication Date Title
JP2595934B2 (en) Kana-Kanji conversion processor
JPS634206B2 (en)
JPH04116764A (en) Document processor
JPS58123129A (en) Converting device of japanese syllabary to chinese character
JP3285149B2 (en) Foreign language electronic dictionary search method and apparatus
JP3888701B2 (en) Character converter
JPH04117551A (en) Word processor
JPH04117552A (en) Word processor
JP2862236B2 (en) Character processor
JPH04117553A (en) Word processor
JPS5818730A (en) Character processing device
JPH01229369A (en) Character processor
JP3278148B2 (en) Character processing apparatus and method
JPH0628338A (en) Word processor
JPH0719254B2 (en) Kana-Kanji converter
JPH07104863B2 (en) Kana-Kanji converter
JPS6210764A (en) Kana to kanji conversion system
JPS61177575A (en) Forming device of japanese document
JPS61246869A (en) Voice japanese information processor
JPH03139766A (en) Sentence composing device
JPH04256162A (en) Word processor with learning function
JPH04256159A (en) Kana/kanji converter
JPH01100668A (en) Japanese processing system
JPH0394367A (en) Japanese input system
JPH06208560A (en) Ambiguous kanji converting device