JPH03111966A - Document preparing device - Google Patents
Document preparing deviceInfo
- Publication number
- JPH03111966A JPH03111966A JP1249846A JP24984689A JPH03111966A JP H03111966 A JPH03111966 A JP H03111966A JP 1249846 A JP1249846 A JP 1249846A JP 24984689 A JP24984689 A JP 24984689A JP H03111966 A JPH03111966 A JP H03111966A
- Authority
- JP
- Japan
- Prior art keywords
- character
- modification
- character string
- character modification
- morpheme
- 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.)
- Granted
Links
Landscapes
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は、入力された文字列に対する誤り指摘機能を有
する文書作成装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Field of Industrial Application) The present invention relates to a document creation device having a function of pointing out errors in input character strings.
(従来の技術)
近年、入力した文字列に対して誤り指摘を行なう機能を
有する文書作成装置が出現し始めている。誤り指摘には
色々な種類があるが、比較的多く行われているものに、
推敲辞書(文法辞書)を参照することによる文法的な誤
りを指摘するものがある。(Prior Art) In recent years, document creation devices having a function of pointing out errors in input character strings have begun to appear. There are various types of error pointing out, but the most common ones are
Some point out grammatical errors by referring to a revised dictionary (grammar dictionary).
(発明が解決しようとする課題)
しかしながら、文字の大きさ、属性等の文字の修飾に関
する誤り指摘を行なうことができる文書作成装置がなか
ったために、このような文字の修飾に関する誤り指摘機
能が要求されていた。(Problem to be Solved by the Invention) However, since there was no document creation device capable of pointing out errors regarding character modifications such as character size and attributes, there was a demand for an error pointing function regarding such character modifications. It had been.
本発明は前記のような点に鑑みてなされたもので、文字
の修飾に関する誤りを指摘する機能を有する文書作成装
置を提供することを目的とする。The present invention has been made in view of the above-mentioned points, and an object of the present invention is to provide a document creation device having a function of pointing out errors related to character decoration.
[発明の構成]
(課題を解決するための手段及び作用)本発明は、人力
された文字列を形態素毎に区分し、この区分によって得
られた形態素と文字列に対する文字修飾の内容に基づい
て、不適切な文字修飾状態を検出し、この結果、文字列
に対して不適切な文字修飾が行なわれていることが検出
された場合に、この旨を示す通知を行なうように構成す
るものである。[Structure of the Invention] (Means and Effects for Solving the Problems) The present invention classifies a human-generated character string by morpheme, and uses the morpheme obtained by this classification and the content of character modification for the character string to classify the character string manually. , is configured to detect an inappropriate character modification state, and if it is detected that inappropriate character modification has been performed on a character string, a notification to this effect is issued. be.
(実施例)
以下、図面を参照して本発明の一実施例を説明する。第
1図は同実施例に係わる文書作成装置の構成を示すブロ
ック図である。同図において、■】はキーボードであり
、文字入力を行なうためのものである。キーボード11
には、キーボード11から入力された文字列(カナ)か
ら漢字に変換するカナ漢字変換部12が接続されている
。カナ漢字変換部12には、カナ漢字変換によって得ら
れた文書データを格納するための文書バッファ13が接
続されている。文書バッファ13には、同バッファ13
に格納された文書について、表示するための表示制御を
行なう表示制御部14、所定の単位(形態素)毎に文字
列を区分する形態素解析部15、及び文字修飾を行なう
文字修飾部16が接続されている。また、形態素表示制
御部14には、CRT、LCD(液晶デイスプレィ)等
によって構成される表示部17が接続されている。形態
素解析部15には、同解析部15によって分離された形
態素毎に文字修飾妥当性のチエツクを行なう文字修飾チ
エツク部18が接続されている。この文字修飾チエツク
部18は、文字修飾の誤りを検出した場合に、表示制御
部14に対して誤り指摘のための表示を指示する。文字
修飾部16には、同修飾部16に対して文書データへの
修飾を指示するための文字修飾キ一部19が接続されて
いる。この文字修飾キ一部19は、キーボード11中の
特定のキーを文字修飾キーとして設定するものとする。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a document creation device according to the same embodiment. In the figure, ``■'' is a keyboard, which is used for inputting characters. keyboard 11
is connected to a kana-kanji converter 12 that converts a character string (kana) input from the keyboard 11 into kanji. A document buffer 13 is connected to the kana-kanji conversion unit 12 for storing document data obtained by the kana-kanji conversion. The document buffer 13 contains the same buffer 13.
A display control unit 14 that performs display control for displaying documents stored in the , a morphological analysis unit 15 that classifies character strings into predetermined units (morphemes), and a character modification unit 16 that performs character modification are connected. ing. Further, a display section 17 configured with a CRT, an LCD (liquid crystal display), etc. is connected to the morphological display control section 14. Connected to the morpheme analysis section 15 is a character modification check section 18 that checks the validity of character modification for each morpheme separated by the analysis section 15. When character modification checking section 18 detects an error in character modification, it instructs display control section 14 to display a display to point out the error. A character modification key section 19 is connected to the character modification section 16 for instructing the modification section 16 to modify document data. This character modification key portion 19 sets a specific key on the keyboard 11 as a character modification key.
次に、同実施例の動作を説明する。Next, the operation of this embodiment will be explained.
まず、文書を作成する場合には、キーボード11の所定
のキーを押下することによってカナ入力が行なわれ、カ
ナ漢字変換部12に文字列データが入力される。カナ漢
字変換部12は、入力された文字列データに基づいて仮
名漢字変換を行ない、この結果得られた文書データ(文
字列)を日本語文書として文書バッファ13に格納する
。表示制御部14は、文書バッファ13に格納された文
書データに応じて、表示装置17に文書の表示を行なう
。First, when creating a document, kana input is performed by pressing a predetermined key on the keyboard 11, and character string data is input into the kana-kanji conversion section 12. The kana-kanji conversion unit 12 performs kana-kanji conversion based on the input character string data, and stores the document data (character string) obtained as a result in the document buffer 13 as a Japanese document. The display control unit 14 displays a document on the display device 17 according to the document data stored in the document buffer 13.
文書バッファ13に格納された文書データ中の任意の文
字についての倍角、下線等の各種文字修飾は、文字修飾
キ一部19のキー操作によって行なわれる。すなわち、
表示装置17に表示された文書中の修飾の対象とする文
字または文字列の指定、及び修飾の種類が文字修飾キ一
部19の操作によって指定される。文字修飾部16は、
文字修飾キ一部19におけるキー操作によって指定され
た内容に応じて、文書バッファ13に格納された文書デ
ータ中の指定された文字に対して修飾内容に対応する文
字修飾情報を付加する。Various character modifications such as double-width, underline, etc. for arbitrary characters in the document data stored in the document buffer 13 are performed by key operations of the character modification key part 19. That is,
The character or character string to be modified in the document displayed on the display device 17 and the type of modification are designated by operating the character modification key part 19. The character modification section 16 is
In accordance with the content specified by the key operation in the character modification key portion 19, character modification information corresponding to the modification content is added to the specified character in the document data stored in the document buffer 13.
こうして文字修飾部16によって修飾された文書につい
て文字修飾に関する誤り指摘機能を適用する場合には、
例えばキーボード11のキー操作によって指示される。When applying the error pointing function regarding character modification to a document modified by the character modification unit 16 in this way,
For example, the instructions are given by key operations on the keyboard 11.
この文字修飾に関する誤り指摘機能の処理手順を、第2
図のフローチャートに示している。誤り指摘機能が起動
された場合には、まず形態素解析部15が動作し、文書
バッファ13中の文書データを形態素毎の文字列に区分
する(ステップa)。なお、形態素とは「一つの意味の
まとまり」のことであり、ここでは日本語における形態
素を単語単位として考える。第3図に形態素解析部15
による形態素解析の一例を示している。The processing procedure of the error pointing function regarding this character modification is explained in the second section.
This is shown in the flowchart in Figure. When the error pointing function is activated, the morpheme analysis unit 15 operates first and divides the document data in the document buffer 13 into character strings for each morpheme (step a). Note that a morpheme is a "group of meanings," and here we will consider morphemes in Japanese as word units. Figure 3 shows the morphological analysis unit 15.
An example of morphological analysis is shown.
例えば、文書バッファ13に格納された入力文字列が「
本日は良い天気です」である場合、この文字列が形態素
解析によって「本日/は/良い/天気/です」(/が形
態素の分離を示す)に区分される。入力文字列が形態素
毎の文字列に分離されると、文字修飾チエツク部18は
、入力文字列をサーチし、修飾された文字列の先頭位置
を求める(ステップb)。For example, if the input character string stored in the document buffer 13 is "
In the case of ``Today is nice weather'', this character string is classified by morphological analysis into ``Today / wa / nice / weather / desu'' (/ indicates separation of morphemes). When the input character string is separated into character strings for each morpheme, the character modification check section 18 searches the input character string to find the beginning position of the modified character string (step b).
ここでは、第3図に示す入力文字列に対する適切な文字
修飾が、第4図に示すような「良い」の2文字を拡大す
るものであり、不適切な文字修飾が、第5図に示すよう
な「い天」の2文字を拡大するものとして説明する。Here, the appropriate character modification for the input string shown in Figure 3 is to enlarge the two characters of "good" as shown in Figure 4, and the inappropriate character modification is shown in Figure 5. It will be explained as an enlargement of the two characters of ``Iten''.
はじめに、第4図に示すように適切に文字修飾されてい
る場合には、文字修飾チエツク部18は、修飾された文
字列の先頭位置の文字を「良」と求める。次に、求めた
先頭位置の文字からの修飾文字列の最終位置の文字を求
める(ステップC)。First, if the character is appropriately modified as shown in FIG. 4, the character modification check section 18 determines that the character at the beginning of the modified character string is "good". Next, the character at the final position of the modified character string is determined from the character at the determined starting position (step C).
ここでは、修飾文字列の最終位置の文字を「い」と求め
る。修飾文字列の先頭位置と最終位置が求められると、
文字修飾チエツク部18は、修飾文字列の先頭位置、最
終位置それぞれの妥当性のチエツクを行なう。すなわち
、修飾文字列の先頭位置。Here, the character in the final position of the modified character string is determined as "i". When the start and end positions of a qualified string are determined,
The character modification check section 18 checks the validity of the first and last positions of the modified character string. That is, the starting position of the qualified string.
最終位置が、ステップaにおいて分離された形態素の先
頭位置、最終位置と一致するか否かによって妥当性を判
別する(ステップd、e)。通常、文字の修飾は、第4
図に示すような、単語(形態素)の区切りによる一つの
まとまった文字列に対して行なわれる。従って、文字修
飾チエツク部18は、ステップd、cにおける処理にお
いて、修飾文字列の先頭位置、最終位置と形態素の先頭
位置。Validity is determined based on whether the final position matches the beginning position and final position of the morpheme separated in step a (steps d and e). Usually, the modification of the letter is the fourth
As shown in the figure, this is performed on a single string of characters separated by words (morphemes). Therefore, in the processing in steps d and c, the character modification check unit 18 determines the starting position and final position of the modified character string and the starting position of the morpheme.
最終位置とが一致する場合には、文字列に対して適切な
修飾が行なわれているものと判別する。If the final position matches, it is determined that the character string has been appropriately modified.
一方、第5図に示すように不適切な文字修飾が行なわれ
ている場合には、文字修飾チエツク部j8は、前記同様
にして修飾された文字列の先頭位置、及び最終位置の文
字を求める(ステップb、c)。On the other hand, if inappropriate character modification is performed as shown in FIG. (Steps b, c).
この場合、修飾文字列の先頭位置の文字を「い」、最終
位置の文字を「天」と求める。次に、文字修飾チエツク
部18は、修飾文字列の先頭位置の妥当性のチエツクを
行なう(ステップd)。この場合、修飾文字の先頭位置
は、形態素の先頭位置と一致しないために、文字修飾チ
エツク部18は、ステップdにおいて、文字列に対して
不適切な修飾が行なわれているものと判別する。また、
例えば入力文字列に対して「良い天」と拡大修飾されて
いる場合、ステップdにおいて、修飾文字列の先頭位置
の文字と形態素の先頭位置とが一致した場合であっても
、ステップeにおいて、修飾文字列の最終位置と形態素
の最終位置とが一致しないことが判別される。これより
、文字修飾チエツク部18は、入力文字列に対して不適
切な修飾が行なわれたことを判別することができる。In this case, the first character of the modified character string is determined to be "i", and the last character is determined to be "ten". Next, the character modification check section 18 checks the validity of the starting position of the modified character string (step d). In this case, since the starting position of the modified character does not match the starting position of the morpheme, the character modification checking unit 18 determines in step d that the character string is inappropriately modified. Also,
For example, when the input character string is modified as "good heaven", even if in step d the first character of the modified character string matches the first position of the morpheme, in step e, It is determined that the final position of the modified character string and the final position of the morpheme do not match. From this, the character modification check section 18 can determine that an inappropriate modification has been made to the input character string.
文字修飾チエツク部18は、入力文字列に対して不適切
な修飾が行なわれている判別結果を得ると、表示制御部
14に対して表示装置17に不適切な修飾が行なわれて
いる旨を表示するための指示を出力する(ステップf)
。When the character modification check section 18 obtains a determination result indicating that the input character string is inappropriately modified, it informs the display control section 14 that the inappropriate modification has been performed on the display device 17. Output instructions for display (step f)
.
表示制御部14は、文字修飾チエツク部18からの指示
を入力すると、不適切な文字修飾が行なわれていると判
別された文字列を、通常の文字の表示とは異なる属性(
網掛け、ハイライト、反転等)を付加して表示する。When the display control unit 14 receives an instruction from the character modification check unit 18, the display control unit 14 displays character strings that are determined to have been inappropriately modified with attributes (different from the display of normal characters).
shading, highlighting, inversion, etc.).
なお、前記実施例においては、妥当性のチエツクを形態
素の開始位置、最終位置、及び修飾文字列の開始位置、
最終位置との比較によって行っているが、例えば「開始
位置の品詞が付属語であってはならない」等のルールを
追加しても良い。In addition, in the above embodiment, validity is checked based on the start position, the final position of the morpheme, and the start position of the modified character string.
Although this is done by comparing with the final position, for example, a rule such as "the part of speech at the starting position must not be an adjunct word" may be added.
[発明の効果〕
以上のように本発明によれば、入力文字列の形態素をも
とにして、文字列に対する修飾の妥当性をチエツクして
、不適切な修飾文字列の検出を行なうことができる。こ
のため、作成された文書についての校閲、編集等の作業
を効率的に行なうことができるものである。[Effects of the Invention] As described above, according to the present invention, inappropriate modified character strings can be detected by checking the validity of modification to a character string based on the morphemes of an input character string. can. Therefore, work such as proofreading and editing of the created document can be performed efficiently.
第1図は本発明の一実施例に係わる文書作成装置の構成
を示すブロック図、第2図は同実施例における文字修飾
に対する誤り検出の処理手順を示すフローチャート、第
3図は同実施例における入力文字列の例を示す図、第4
図は第3図に示す入力文字列に対する適切な文字修飾の
例を示す図、第5図は第3図に示す人力文字列に対する
不適切な文字修飾の例を示す図である。
11・・・キーボード、12・・・カナ漢字変換部、1
3・・・文書バッファ、14・・・表示制御部、15・
・・形態素解析部、16・・・文字修飾部、17・・・
表示装置、18・・・文字修飾チエツク部、19・・・
文字修飾キ一部。FIG. 1 is a block diagram showing the configuration of a document creation device according to an embodiment of the present invention, FIG. 2 is a flowchart showing a processing procedure for detecting errors in character modification in the embodiment, and FIG. Diagram showing an example of an input character string, No. 4
This figure shows an example of appropriate character modification for the input character string shown in FIG. 3, and FIG. 5 shows an example of inappropriate character modification for the human input character string shown in FIG. 11...Keyboard, 12...Kana-Kanji conversion section, 1
3... Document buffer, 14... Display control section, 15.
...Morphological analysis section, 16...Character modification section, 17...
Display device, 18...Character modification check section, 19...
Some character modification keys.
Claims (1)
置において、 入力された文字列を形態素毎に区分する形態素解析手段
と、 前記形態素解析手段によって区分された形態素と、前記
文字列に対する文字修飾の内容に基づいて、不適切な文
字修飾状態を検出する文字修飾状態検出手段と、 前記文字修飾状態検出手段によって、前記文字列に対し
て不適切な文字修飾が行なわれていることが検出された
場合に、この旨を示す通知を行なう通知手段と、 を具備したことを特徴とする文書作成装置。[Scope of Claims] A document creation device that performs character modification on an input character string, comprising: a morpheme analysis means for classifying the input character string into morphemes; a morpheme classified by the morpheme analysis means; a character modification state detection means for detecting an inappropriate character modification state based on the content of character modification to the character string; and a character modification state detection means for detecting whether inappropriate character modification is performed to the character string 1. A document creation device comprising: notification means for providing a notification to this effect when it is detected that a document has been created.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1249846A JP2783611B2 (en) | 1989-09-26 | 1989-09-26 | Document creation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1249846A JP2783611B2 (en) | 1989-09-26 | 1989-09-26 | Document creation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03111966A true JPH03111966A (en) | 1991-05-13 |
| JP2783611B2 JP2783611B2 (en) | 1998-08-06 |
Family
ID=17199053
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1249846A Expired - Lifetime JP2783611B2 (en) | 1989-09-26 | 1989-09-26 | Document creation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2783611B2 (en) |
-
1989
- 1989-09-26 JP JP1249846A patent/JP2783611B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2783611B2 (en) | 1998-08-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6246976B1 (en) | Apparatus, method and storage medium for identifying a combination of a language and its character code system | |
| US7912697B2 (en) | Character inputting method and character inputting apparatus | |
| JPH03111966A (en) | Document preparing device | |
| JP2621999B2 (en) | Document processing device | |
| JPH0441399Y2 (en) | ||
| JPH10198664A (en) | Japanese language input system and medium for recorded with japanese language input program | |
| JP3036005B2 (en) | Kana-Kanji conversion device | |
| JPH0683807A (en) | Document preparing device | |
| JPH0731315Y2 (en) | Electronics | |
| JP2575947B2 (en) | Phrase extraction device | |
| JPH01181152A (en) | Document production back-up device | |
| JPH08335217A (en) | Reading conversion method and document creation device | |
| JPH0585055B2 (en) | ||
| JPH01303514A (en) | Key input device | |
| JPH0546612A (en) | Sentence error detector | |
| JPH04195518A (en) | Data output device | |
| JPH08329073A (en) | Handwriting input character processing method | |
| JPH04120656A (en) | Document processor | |
| JPH0520303A (en) | Japanese document processor | |
| JPH04256162A (en) | Word processor with learning function | |
| JPH0512251A (en) | Document processor | |
| JPH028956A (en) | Document processor | |
| JPH0683806A (en) | Document creation device | |
| JPH06274478A (en) | Document processor | |
| JPH03212757A (en) | Romaji/kana conversion system |