JPH0628340A - Word processor - Google Patents

Word processor

Info

Publication number
JPH0628340A
JPH0628340A JP4182344A JP18234492A JPH0628340A JP H0628340 A JPH0628340 A JP H0628340A JP 4182344 A JP4182344 A JP 4182344A JP 18234492 A JP18234492 A JP 18234492A JP H0628340 A JPH0628340 A JP H0628340A
Authority
JP
Japan
Prior art keywords
word
phrase
synonym dictionary
unit
sentence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4182344A
Other languages
Japanese (ja)
Inventor
Nobutsune Kobayashi
伸恒 小林
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP4182344A priority Critical patent/JPH0628340A/en
Publication of JPH0628340A publication Critical patent/JPH0628340A/en
Priority to US08/691,433 priority patent/US5742834A/en
Pending legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To obtain the more appropriate word counting result. CONSTITUTION:A word processor is provided with a synonym dictionary data base 221, a retrieving means 220 which retrieves candidate words/phrases corresponding to each word and phrase out of the base 221, a deciding means 219 which decides whether the candidate words/phrases were obtained by the means 220 or not, a word counter means 225 which calculates the using frequency of each word and phrase included in a document, and a deleting means 224 which deletes the words/phrases whose absence in the base 221 is cleared up by the means 219 out of the counting subjects of the means 225.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、類義語(同意語)辞書
を有する文書処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus having a synonym (synonym) dictionary.

【0002】[0002]

【従来の技術】文書処理装置における類義語辞書機能と
は入力された語句を見出し語句として類義語辞書データ
ベースを検索し、求める情報が該類義語辞書データベー
ス中に存在した場合に該見出し語句に対応する類義語候
補語句リストを作成することを言う。
2. Description of the Related Art A synonym dictionary function in a document processing apparatus is a synonym dictionary database that searches a synonym dictionary database using an input phrase as a heading phrase, and when the requested information exists in the synonym dictionary database, a synonym candidate corresponding to the heading phrase. Says to create a phrase list.

【0003】従来類義語辞書機能の主な使用目的は、文
章中で単一表現が繰り返し用いられた場合表現が単調に
なってしまうことを回避するために、等しい意味の別の
表現を提供することにあった。このような使用目的を満
たすため、ワードカウント機能を用いて使用頻度の高い
語句のリストを作成し、高使用頻度語句を摘出すること
が行われていた。
The main purpose of the conventional synonym dictionary function is to provide another expression having the same meaning in order to avoid the expression becoming monotonous when the single expression is repeatedly used in a sentence. There was In order to meet such a purpose of use, a word count function is used to create a list of frequently used words and phrases, and the frequently used words and phrases are extracted.

【0004】[0004]

【発明が解決しようとする課題】しかしながらワードカ
ウント機能は単純に文章中における語句の使用頻度を算
出する機能であるため、実際の用法が異なっていても綴
りが同一であれば単一の語句と見なしてカウントしてし
まう。これはカウントの対象が単語に限定されている従
来の多くのワードカウント機能において特に問題であ
る。例えば“make out”,“make ove
r”の2つの熟語をカウントする場合、それぞれ単語ご
とに切り離してのカウントになってしまい、その結果ど
ちらの“make”も同一であるとしてカウントされて
しまう。このようにして得られたワードカウント結果は
類義語辞書機能を補助する目的から考えると適切ではな
く、文書処理作業を困難なものとしていた。
However, since the word count function is a function of simply calculating the frequency of use of a phrase in a sentence, if the spelling is the same even if the actual usage is different, a single phrase It counts as it counts. This is a particular problem in many conventional word counting functions where counting is limited to words. For example, "make out", "make over"
When counting two idioms “r”, the counts are separated for each word, and as a result, both “makes” are counted as the same. The word count obtained in this way The result is not appropriate from the viewpoint of supporting the synonym dictionary function, which makes the document processing work difficult.

【0005】さらに、ワードカウント機能は単純に文章
中における語句の使用頻度を算出する機能であるため、
固有名詞等の類義語辞書機能に無関係の語句の使用頻度
をも算出してしまう。この結果、ユーザーは類義語辞書
機能に入力すべき語句を得るためにワードカウント機能
を発動したにもかかわらず、類義語辞書機能に入力する
ことのできない不要語句のリストを与えられてしまうこ
ととなり、類義語辞書機能とワードカウント機能を併用
する上での大きな障害になっていた。また、大きいテキ
ストに対してワードカウントを機能させた場合、こうし
た不要語句の処理でメモリーを浪費して使い果たしてし
まい、カウント処理を完遂できなくなってしまうことが
あった。
Furthermore, since the word count function is a function that simply calculates the frequency of use of a phrase in a sentence,
It also calculates the frequency of use of words and phrases unrelated to the synonym dictionary function such as proper nouns. As a result, the user will be given a list of unnecessary words that cannot be input to the synonym dictionary function, even though the user has activated the word count function to obtain the words to be input to the synonym dictionary function. It was a big obstacle to using the dictionary function and the word count function together. In addition, when the word count is made to work on a large text, the memory is wasted and exhausted by the processing of such unnecessary words, and the count processing may not be completed.

【0006】そこで本発明の目的は以上のような問題を
解消した文書処理装置を提供することにある。
Therefore, an object of the present invention is to provide a document processing apparatus which solves the above problems.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
本発明は類義語辞書と、文書中の各語句に対応する候補
語句を前記類義語辞書を検索して求める候補語句検索手
段と、該候補語句検索手段により候補語句が得られたか
否かを判定する判定手段と、文書中の各語句の使用頻度
を算出するワードカウント手段と、前記判定手段により
前記類義語辞書中に存在しないことが判明した語句をワ
ードカウント手段のカウント対象から除外する除外手段
とを具備したことを特徴とする。
In order to achieve the above object, the present invention provides a synonym dictionary, a candidate phrase search means for obtaining a candidate phrase corresponding to each phrase in a document by searching the synonym dictionary, and the candidate phrase. Judgment means for judging whether or not candidate words have been obtained by the search means, word count means for calculating the frequency of use of each word or phrase in the document, and words or phrases found not to exist in the synonym dictionary by the judgment means Is included in the count target of the word count means.

【0008】[0008]

【作用】これにより、ユーザーが類義語辞書機能を使用
するためにワードカウント機能を活用する際、より有効
なワードカウント結果を提供することが可能になり、よ
り円滑な文書処理作業を実現することができる。
As a result, when the user utilizes the word count function in order to use the synonym dictionary function, it becomes possible to provide a more effective word count result and realize a smoother document processing work. it can.

【0009】[0009]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0010】(実施例1)図1は本発明を電子タイプラ
イターに適用した場合の第1の実施例の構成を表すブロ
ック図である。
(Embodiment 1) FIG. 1 is a block diagram showing the configuration of a first embodiment when the present invention is applied to an electronic typewriter.

【0011】1はキーボード・マウス等の入力装置、2
は装置全体を包括的に制御する制御装置である。3は各
種情報を格納する磁気ディスク・メモリーカード・RO
M等の外部記憶装置であり、4はCRT・液晶ディスプ
レイ・プラズマディスプレイ等の表示装置、5は感熱式
プリンタ・レーザービームプリンタ・インクジェット式
プリンタ等の印刷装置である。
Reference numeral 1 is an input device such as a keyboard or mouse, and 2
Is a control device that comprehensively controls the entire device. 3 is a magnetic disk / memory card / RO for storing various information
An external storage device such as M, 4 is a display device such as a CRT, a liquid crystal display, and a plasma display, and 5 is a printing device such as a thermal printer, a laser beam printer, and an inkjet printer.

【0012】表示装置4は、制御装置2の制御で文書、
イメージ、もしくは複数項目からなる書式設定画面等の
表示イメージを表示する。印刷装置5は作成された文
書、イメージ等を設定された書式に従い用紙上に印刷出
力する。外部記憶装置3は入力・編集済の文書・イメー
ジ等を記憶媒体に保存したり、このようにして保存した
文書、イメージ等を記憶媒体から読み出す。入力装置1
は、文書作成等に必要な入力情報を制御装置2に入力す
る。
The display device 4 is a document under the control of the control device 2.
Display an image or a display image such as a multi-item format screen. The printing device 5 prints out the created document, image, etc. on paper according to the set format. The external storage device 3 saves an input / edited document / image, etc. in a storage medium, and reads out a document, image, etc. saved in this way from the storage medium. Input device 1
Inputs the input information necessary for creating a document or the like to the control device 2.

【0013】図2は制御装置2の構成を示すブロック図
である。
FIG. 2 is a block diagram showing the configuration of the control device 2.

【0014】入力部11は制御部12によって制御さ
れ、入力装置1により入力されたデータを読み込み、必
要に応じて一時記憶部16に格納する。表示部14は制
御部12によって制御され、一時記憶部16から必要な
データを読み出して表示装置4に表示する。印刷部15
は制御部12によって制御され、一時記憶部16から必
要なデータを読み出して印刷装置5に出力する。外部記
憶部13は制御部12によって制御され、必要に応じて
一時記憶部16との間でデータをやりとりする。
The input unit 11 is controlled by the control unit 12, reads the data input by the input device 1, and stores it in the temporary storage unit 16 as necessary. The display unit 14 is controlled by the control unit 12, reads out necessary data from the temporary storage unit 16 and displays it on the display device 4. Printing unit 15
Is controlled by the control unit 12, reads out necessary data from the temporary storage unit 16 and outputs the data to the printer 5. The external storage unit 13 is controlled by the control unit 12, and exchanges data with the temporary storage unit 16 as needed.

【0015】類義語辞書機能部17は制御部12によっ
て制御され、制御手段18により入力手段19,辞書検
索手段20,置換手段22,出力手段23を制御する。
入力手段19は類義語辞書データベース21を検索する
ための見出し語句を制御手段18に提供する。辞書検索
手段20は制御手段18により与えられた見出し語句を
用いて類義語辞書データベース21を検索し、置換候補
語句のリスクを制御手段18に提供する。置換手段22
は制御手段18により与えられた置換候補語句のリスト
を(表示装置4を介して)ユーザーに提供し、ユーザー
が(入力装置1を介して)選択した置換語句を入力手段
19で入力された語句と置換し、結果を制御手段18に
提供する。出力手段23は制御手段18により与えられ
た結果を制御部12に出力するものである。
The synonym dictionary function unit 17 is controlled by the control unit 12, and the control unit 18 controls the input unit 19, the dictionary search unit 20, the replacement unit 22, and the output unit 23.
The input unit 19 provides the control unit 18 with a headword for searching the synonym dictionary database 21. The dictionary search means 20 searches the synonym dictionary database 21 using the headword provided by the control means 18, and provides the control means 18 with the risk of replacement candidate words. Replacing means 22
Provides the user with a list of replacement candidate words (via the display device 4) provided by the control means 18, and the replacement word phrase selected by the user (via the input device 1) is input with the input means 19. And provide the result to the control means 18. The output unit 23 outputs the result given by the control unit 18 to the control unit 12.

【0016】ワードカウント機能部24は制御部12に
よって制御され、制御手段25によって出力手段26,
語句使用頻度算出制御手段27を制御する。出力手段2
6は制御手段25により与えられた結果を制御部12に
出力するものである。語句用頻度算出制御手段27は制
御手段25によって与えられた文章中における各々の語
句の使用頻度を、熟語判定手段28,熟語使用頻度算出
手段30,単語切り出し手段31,単語使用頻度算出手
段32によって算出する。熟語判定手段28は隣接2単
語切り出し手段29に切り出しを指示し、切り出された
単語の組み合わせを用いて辞書検索手段20により類義
語辞書データベース21を検索し、結果を語句使用頻度
算出制御手段27に提供する。熟語使用頻度算出手段3
0は語句使用頻度算出制御手段27に与えられた熟語の
使用頻度を算出する。単語切り出し手段31は語句使用
頻度算出制御手段27に与えられた文章中から単語を切
り出す。単語使用頻度算出手段32は語句使用頻度算出
制御手段27に与えられた単語の使用頻度を加算する。
The word count function unit 24 is controlled by the control unit 12, and the control unit 25 outputs the output unit 26,
The word use frequency calculation control means 27 is controlled. Output means 2
6 outputs the result given by the control means 25 to the control unit 12. The phrase frequency calculation control means 27 determines the usage frequency of each phrase in the sentence given by the control means 25 by using the phrase determination means 28, the phrase usage frequency calculation means 30, the word cutout means 31, and the word usage frequency calculation means 32. calculate. The compound word determination means 28 instructs the adjacent two word cutout means 29 to cut out, searches the synonym dictionary database 21 by the dictionary search means 20 using the combination of the cut out words, and provides the result to the phrase usage frequency calculation control means 27. To do. Idiom usage frequency calculation means 3
0 calculates the usage frequency of the idiom given to the phrase usage frequency calculation control means 27. The word cutout unit 31 cuts out a word from the sentence given to the phrase use frequency calculation control unit 27. The word use frequency calculation means 32 adds the word use frequencies given to the phrase use frequency calculation control means 27.

【0017】以下、図3に示した処理の流れ図を参照し
ながらワードカウント機能部24の詳細について説明す
る。
The details of the word count function unit 24 will be described below with reference to the flow chart of the processing shown in FIG.

【0018】ワードカウント機能部24は起動される
と、step41のように語句使用頻度算出制御手段2
7で用いられるメモリーを初期化し、文章中の処理対象
となる単語のポインタを文章の頭にセットする。次にs
tep42に進み、単語切り出し手段31により、与え
られた文章中から該ポインタが指定する単語を切り出
す。さらにstep43に進み、該単語の直後の単語の
存在を確認する。もし確認されなかった場合は該単語を
含有する熟語の存在が否定されるのでstep52に進
み、単語使用頻度算出手段32により該単語の使用頻度
を加算し、step49へ至る。
When the word count function unit 24 is activated, the word use frequency calculation control means 2 as in step 41.
The memory used in 7 is initialized, and the pointer of the word to be processed in the sentence is set at the beginning of the sentence. Then s
In step 42, the word cutout unit 31 cuts out the word designated by the pointer from the given sentence. Further, the process proceeds to step 43 to confirm the existence of the word immediately after the word. If it is not confirmed, the existence of the idiom containing the word is denied. Therefore, the process proceeds to step 52, the word use frequency calculating means 32 adds the use frequency of the word, and the process goes to step 49.

【0019】step43で存在が確認された場合はs
tep44で該単語と該単語の直後の単語として指定さ
れる隣接2単語の組み合わせを切り出す手段29を実行
し、該組み合わせを見出し語句としてstep45で辞
書検索手段20により類義語辞書データベース21を検
索する。
If the presence is confirmed in step 43, s
In step 44, a means 29 for cutting out a combination of the word and two adjacent words designated as a word immediately after the word is executed, and the dictionary search means 20 searches the synonym dictionary database 21 in step 45 using the combination as a heading phrase.

【0020】検索の結果該組み合わせの存在が確認され
なかった場合は該組み合わせは熟語ではないと見なさ
れ、step46からstep52へ進む。該組み合わ
せの存在が確認された場合は該組み合わせは熟語である
と見なされ、step46からstep47に進み、熟
語使用頻度算出手段30により該熟語の使用頻度を加算
する。
When it is not confirmed that the combination exists as a result of the search, the combination is considered not to be an idiom, and the process proceeds from step 46 to step 52. When the existence of the combination is confirmed, the combination is regarded as an idiom, and the process proceeds from step 46 to step 47, where the idiom usage frequency calculation means 30 adds the usage frequency of the idiom.

【0021】さらにstep48へ進み、文章中の処理
対象となる単語のポインタを1つ進める。これは直後の
単語が既に熟語の構成の一部としてカウント済みである
にもかかわらず、さらに重複して単語としてのカウント
処理を受けてしまう事態を回避するための処理である。
step49では、文章中の処理対象となる単語のポイ
ンタを1つ進める。step50では文章の終了判定を
行い、終了が判定されなかった場合はstep42に戻
る。
Further, the process proceeds to step 48, and the pointer of the word to be processed in the sentence is advanced by one. This is a process for avoiding a situation in which the word immediately after is already counted as a part of the structure of the idiom, but is repeatedly counted as a word.
At step 49, the pointer of the word to be processed in the sentence is advanced by one. In step 50, the sentence end determination is performed, and if the end is not determined, the process returns to step 42.

【0022】終了が判定された場合にはstep51に
進み、出力手段26により結果を制御部12に出力し、
ワードカウント機能部24の動作を終了する。step
41からstep51までの処理を総称して語句使用頻
度算出制御手段27の実行とする。
If the end is determined, the process proceeds to step 51, the output means 26 outputs the result to the control section 12,
The operation of the word count function unit 24 is ended. step
The processes from 41 to step 51 are collectively referred to as the execution of the phrase usage frequency calculation control means 27.

【0023】以上の処理について図4,図5,図6,図
7で示される動作例を用いて説明する。
The above processing will be described with reference to the operation examples shown in FIGS. 4, 5, 6 and 7.

【0024】図4はユーザーの入力した文章例であり、
図5は本動作例において採用された類義語辞書データベ
ース21の内容である。図6は従来のワードカウント機
能によって算出した各々の単語の使用頻度である。
FIG. 4 shows an example of a sentence input by the user.
FIG. 5 shows the contents of the synonym dictionary database 21 adopted in this operation example. FIG. 6 shows the usage frequency of each word calculated by the conventional word count function.

【0025】改良版ワードカウント機能部24は起動さ
れると、step41のようにメモリーを初期化し、文
章中の処理対象となる単語のポインタを文章の頭にセッ
トする。本動作例においては“Mr.”がセットされる
こととなる。次にstep42に進み、単語切り出し手
段31により、与えられた文章中から該ポインタが指定
する単語を切り出す。ここでは“Mr.”が切り出され
るものである。
When the improved word count function unit 24 is activated, the memory is initialized as in step 41, and the pointer of the word to be processed in the sentence is set at the beginning of the sentence. In this operation example, "Mr." is set. Next, in step 42, the word cutting means 31 cuts out the word designated by the pointer from the given sentence. Here, "Mr." is cut out.

【0026】さらにstep43に進み、該単語の直後
の単語の存在を確認する。確認されなかった場合は該単
語を含有する熟語の存在が否定されるのでstep52
に進むが、ここでは“Brown”が確認されるのでs
tep44へ進み、“Mr.”と“Brown”の隣接
2単語を切り出す手段29を実行し、該2単語で構成さ
れる組み合わせ“Mr.Brown”を見出し語句とし
てstep45の辞書検索手段20により類義語辞書デ
ータベース21を検索する。
Further, in step 43, the existence of the word immediately after the word is confirmed. If it is not confirmed, the existence of a phrase containing the word is denied, so step 52
However, since "Brown" is confirmed here, s
Proceeding to step 44, the means 29 for cutting out two adjacent words of "Mr." and "Brown" is executed, and the dictionary search means 20 of step 45 uses the combination "Mr. Brown" composed of the two words as a heading phrase by the synonym dictionary. Search the database 21.

【0027】検索の結果該組み合わせの存在が確認され
た場合はstep46からstep47に進むが、ここ
では“Mr.Brown”は類義語辞書データベース2
1に存在しないので熟語ではないと見なされ、step
46からstep52へ進む。ここで単語使用頻度算出
手段32により“Mr.”の使用頻度を加算し、“M
r.”の使用頻度は1となる。さらにstep49に進
み、文章中の処理対象となる単語のポインタを1つ進
め、“Brown”がセットされる。step50では
文章の終了判定を行うが、終了は判定されず、step
42に戻る。
When the presence of the combination is confirmed as a result of the search, the process proceeds from step 46 to step 47. Here, "Mr. Brown" is the synonym dictionary database 2
Since it does not exist in 1, it is regarded as not a idiom, and step
Proceed from 46 to step 52. Here, the word use frequency calculating means 32 adds up the use frequencies of "Mr." to obtain "Mr."
r. The usage frequency of "is 1. Then, the process proceeds to step 49, where the pointer of the word to be processed in the sentence is advanced by 1 and" Brown "is set. At step 50, the end of the sentence is determined, but the end is determined. Not, step
Return to 42.

【0028】以下、図4の6行目の“made”にポイ
ンタがセットされるまで同様の処理が続く。
Thereafter, similar processing is continued until the pointer is set to "made" on the sixth line in FIG.

【0029】該“made”にポインタがセットされて
step42に戻ると、step43,44,45によ
り組み合わせ“made over”を見出し語句とし
て類義語辞書データベース21の検索が行われることと
なる。ここで“made over”は類義語辞書デー
タベース21中に存在するので、“made ove
r”は熟語であると見なされる。従ってstep46か
らstep47に進み、熟語使用頻度算出手段30によ
り“made over”の使用頻度を加算する。“m
ade over”の使用頻度は1となる。
When the pointer is set to the "made" and the process returns to step 42, the synonym dictionary database 21 is searched by the steps 43, 44 and 45 using the combination "made over" as a headword. Here, since “made over” exists in the synonym dictionary database 21, “made over”
It is considered that "r" is a idiom. Therefore, the process proceeds from step 46 to step 47, and the idiom usage frequency calculating means 30 adds the usage frequencies of "made over".
The usage frequency of “ade over” is 1.

【0030】さらにstep48へ進み、文章中の処理
対象となる単語のポインタを1つ進める。これは直後の
“over”が既に“made over”の構成の一
部としてカウント済みであるにもかかわらず、さらに重
複して単語としてのカウント処理を受けてしまう事態を
回避するための処理である。さらにstep49へと進
み文章中の処理対象となる単語のポインタを1つ進め
る。
Further, the process proceeds to step 48, and the pointer of the word to be processed in the sentence is advanced by one. This is a process for avoiding a situation in which the immediately subsequent "over" has already been counted as a part of the configuration of "made over", but is repeatedly counted as a word. . Further, the process advances to step 49 to advance the pointer of the word to be processed in the sentence by one.

【0031】以下、図4の10行目の“say”にポイ
ンタがセットされるまで以上の説明した処理が繰り返さ
れる。
Thereafter, the above-described processing is repeated until the pointer is set to "say" on the 10th line in FIG.

【0032】step49で該“say”にポインタが
セットされると、step50,42,43と進む。と
ころが“say”の後に単語は存在しないのでstep
52に進み、単語使用頻度算出手段32により“sa
y”の使用頻度を加算し、“say”の使用頻度は1と
なる。さらにstep49に進み、文章中の処理対象と
なる単語のポインタを1つ進める。
When the pointer is set to the "say" in step 49, the process proceeds to steps 50, 42 and 43. However, since there is no word after "say", step
In step 52, the word use frequency calculation means 32 causes “sa
The usage frequency of "y" is added, and the usage frequency of "say" becomes 1. Further, the process proceeds to step 49, and the pointer of the word to be processed in the sentence is advanced by one.

【0033】“say”の後に単語は存在しないのでs
tep50の文章の終了判定で終了が判定され、出力手
段26により結果を制御部12に出力し、改良版ワード
カウント機能部24の動作を終了する。
Since there is no word after "say", s
The end is determined by the end determination of the sentence of step 50, the result is output to the control unit 12 by the output unit 26, and the operation of the improved word count function unit 24 is ended.

【0034】図7は以上のようにして算出した各々の語
句の使用頻度である。図6,図7中の下線は、互いの結
果の相違点を示している。
FIG. 7 shows the usage frequency of each word / phrase calculated as described above. The underlines in FIGS. 6 and 7 indicate the difference between the results.

【0035】以上のようにして本実施例装置において
は、ユーザーが類義語辞書機能を使用するためにワード
カウント機能を活用する際、より有効なワードカウント
結果を提供することが可能になり、より円滑な文書処理
作業を実現するものである。
As described above, in the apparatus of this embodiment, when the user uses the word count function to use the synonym dictionary function, it becomes possible to provide a more effective word count result, and it is possible to provide a smoother word count result. It realizes various document processing work.

【0036】(実施例2)図8は本発明を電子タイプラ
イターに適用した場合の第2の実施例の構成を表すブロ
ック図である。
(Embodiment 2) FIG. 8 is a block diagram showing the configuration of a second embodiment when the present invention is applied to an electronic typewriter.

【0037】101はキーボード・マウス等の入力装
置、102は装置全体を包括的に制御する制御装置であ
る。103は各種情報を格納する磁気ディスク・メモリ
ーカード・ROM等の外部記憶装置であり、104はC
RT・液晶ディスプレイ・プラズマディスプレイ等の表
示装置、105は感熱式プリンタ・レーザービームプリ
ンタ・インクジェット式プリンタ等の印刷装置である。
Reference numeral 101 is an input device such as a keyboard and mouse, and 102 is a control device for comprehensively controlling the entire device. Reference numeral 103 is an external storage device such as a magnetic disk, a memory card, or a ROM for storing various information, and 104 is a C
A display device such as an RT, a liquid crystal display, and a plasma display, and a printing device 105 such as a thermal printer, a laser beam printer, and an inkjet printer.

【0038】表示装置104は、制御装置102の制御
で文書、イメージ、もしくは複数項目からなる書式設定
画面等の表示イメージを表示する。印刷装置105は作
成された文書、イメージ等を設定された書式に従い用紙
上に印刷出力する。外部記憶装置103は入力・編集済
の文書・イメージ等を記憶媒体に保存したり、このよう
にして保存した文書、イメージ等を記憶媒体から読み出
す。入力装置101は、文書作成等に必要な入力情報を
制御装置102に入力する。
The display device 104 displays a display image such as a document, an image, or a formatting screen including a plurality of items under the control of the control device 102. The printing device 105 prints out the created document, image, etc. on paper according to the set format. The external storage device 103 stores the input / edited document / image, etc. in the storage medium, and reads the document, image, etc. stored in this way from the storage medium. The input device 101 inputs input information necessary for creating a document or the like to the control device 102.

【0039】図9は制御装置102の構成を示すブロッ
ク図である。
FIG. 9 is a block diagram showing the configuration of the control device 102.

【0040】入力部111は制御部112によって制御
され、入力装置101により入力されたデータを読み込
み、必要に応じて一時記憶部116に格納する。表示部
114は制御部112によって制御され、一時記憶部1
16から必要なデータを読み出して表示装置104に表
示する。印刷部115は制御部112によって制御さ
れ、一時記憶部116から必要なデータを読み出して印
刷装置105に出力する。外部記憶部113は制御部1
12によって制御され、必要に応じて一時記憶部116
との間でデータをやりとりする。類義語辞書機能部11
7は制御部112によって制御され、制御手段118に
より入力手段119,辞書検索手段120,置換手段1
22,出力手段123を制御する。
The input unit 111 is controlled by the control unit 112, reads the data input by the input device 101, and stores it in the temporary storage unit 116 as necessary. The display unit 114 is controlled by the control unit 112, and the temporary storage unit 1
The necessary data is read from 16 and displayed on the display device 104. The printing unit 115 is controlled by the control unit 112, reads out necessary data from the temporary storage unit 116, and outputs the data to the printing apparatus 105. The external storage unit 113 is the control unit 1
12 and the temporary storage unit 116 as needed.
Exchange data with. Synonym dictionary function unit 11
7 is controlled by the control unit 112, and the control unit 118 controls the input unit 119, the dictionary search unit 120, and the replacement unit 1.
22 and control the output means 123.

【0041】入力手段119は類義語辞書データベース
121を検索するための見出し語句を制御手段118に
提供する。辞書検索手段120は制御手段118により
与えられた見出し語句を用いて類義語辞書データベース
121を検索し、置換候補語句のリストを制御手段11
8に提供する。置換手段122は制御手段118により
与えられた置換候補語句のリストをユーザーに提供し、
ユーザーが選択した置換語句を入力手段119で入力さ
れた語句と置換し、結果を制御手段118に提供する。
出力手段123は制御手段118により与えられた結果
を制御部112に出力するものである。
The input means 119 provides the control means 118 with headwords for searching the synonym dictionary database 121. The dictionary search means 120 searches the synonym dictionary database 121 using the index word provided by the control means 118, and the control means 11 obtains a list of replacement candidate words.
Provide to 8. The replacement means 122 provides the user with the list of replacement candidate words given by the control means 118,
The replacement phrase selected by the user is replaced with the phrase input by the input unit 119, and the result is provided to the control unit 118.
The output unit 123 outputs the result given by the control unit 118 to the control unit 112.

【0042】ワードカウント機能部124は制御部11
2によって制御され、制御手段125によって単語指定
手段126,語句使用頻度算出制御手段127,出力手
段134を制御する。単語指定手段126はあらかじめ
類義語辞書データベース中に存在する単語を指定する手
段である。本実施例は、類義語辞書データベース中に存
在する熟語を構成する単語は特定の単語に偏りやすいと
いう、類義語辞書データベースの特徴に注目するもので
ある。従って単語指定手段126において指定される単
語としては、該特定の単語が想定されている。
The word count function unit 124 is the control unit 11.
The control unit 125 controls the word designating unit 126, the phrase use frequency calculation control unit 127, and the output unit 134. The word designating means 126 is means for designating a word existing in the synonym dictionary database in advance. The present embodiment focuses on the feature of the synonym dictionary database that the words that make up a phrase existing in the synonym dictionary database tend to be biased to a specific word. Therefore, the specific word is assumed as the word specified by the word specifying means 126.

【0043】語句使用頻度算出制御手段127は制御手
段125によって与えられた文章中における各々の語句
の使用頻度を、熟語判定手段128,熟語使用頻度算出
手段132,単語切り出し手段131,単語使用頻度算
出手段133によって算出するものである。
The phrase use frequency calculation control means 127 calculates the use frequency of each phrase in the sentence given by the control means 125 by using the phrase determination means 128, the phrase use frequency calculation means 132, the word cutout means 131, and the word use frequency calculation. It is calculated by the means 133.

【0044】熟語判定手段128は、指定済単語検出手
段129によって、単語指定手段126で指定された単
語が文章中に存在するか否かを検出し、該単語を含有す
る複数の単語を単語組み合わせ手段130によって組み
合わせ、得られた組み合わせを用いて辞書検索手段12
0により類義語辞書データベース121を検索して、結
果を語句使用頻度算出制御手段127に提供する。本実
施例装置にあっては単語組み合わせ手段130は、該単
語が存在する文を対象にして、単語切り出し手段131
により該単語以外の任意の単語を切り出し、こうして得
られた2つの単語を文中に出願する順序に従い組み合わ
せた結果を熟語判定手段128に提供するものとする。
The idiom judging means 128 detects whether or not the word designated by the word designating means 126 exists in the sentence by the designated word detecting means 129, and combines a plurality of words containing the word into a word combination. The dictionary search means 12 is combined by the means 130 and the obtained combination is used.
The synonym dictionary database 121 is searched for 0 and the result is provided to the phrase usage frequency calculation control means 127. In the apparatus of this embodiment, the word combination unit 130 targets the sentence in which the word exists and the word cutout unit 131.
Then, an arbitrary word other than the word is cut out, and the result obtained by combining the two words thus obtained in the sentence according to the order of application is provided to the phrase determination means 128.

【0045】熟語使用頻度算出手段132は語句使用頻
度算出制御手段127に与えられた熟語の使用頻度を加
算する。また、該熟語が含有する任意の単語で既に単語
使用頻度算出手段133により使用頻度を加算されたも
のがあれば、該単語の使用頻度を減算する。
The idiom usage frequency calculation means 132 adds the usage frequencies of the idioms given to the phrase usage frequency calculation control means 127. Further, if there is an arbitrary word contained in the phrase, the usage frequency of which has already been added by the word usage frequency calculation means 133, the usage frequency of the word is subtracted.

【0046】単語切り出し手段131は語句使用頻度算
出制御手段127に与えられた文章中から単語を切り出
す。単語使用頻度算出手段133は語句使用頻度算出手
段127に与えられた単語の使用頻度を加算する。出力
手段134は制御手段125により与えられた結果を制
御部112に出力するものである。
The word cutout unit 131 cuts out a word from the sentence given to the phrase use frequency calculation control unit 127. The word usage frequency calculation means 133 adds the word usage frequencies given to the word usage frequency calculation means 127. The output unit 134 outputs the result given by the control unit 125 to the control unit 112.

【0047】以下、図10に示した処理の流れ図を参照
しながらワードカウント機能部124の詳細について説
明する。
Details of the word count function unit 124 will be described below with reference to the flow chart of the processing shown in FIG.

【0048】ワードカウント機能部124は起動される
と、step141のように単語指定手段126を用い
て類義語辞書データベース中に存在する単語を指定す
る。本実施例は、類義語辞書データベース中に存在する
熟語を構成する単語は特定の単語に偏りやすいという、
類義語辞書データベースの特徴に注目するものである。
従ってstep141において指定される単語として
は、該特定の単語が想定されている。
When the word count function unit 124 is activated, it designates a word existing in the synonym dictionary database by using the word designating means 126 like step 141. In this embodiment, the words that make up the phrase existing in the synonym dictionary database are likely to be biased to a specific word,
We focus on the features of the synonym dictionary database.
Therefore, as the word designated in step 141, the specific word is assumed.

【0049】次にstep142に進み、語句使用頻度
算出制御手段127で用いられるメモリーを初期化し、
文章中の処理対象となる単語のポインタを文章の頭にセ
ットする。次にstep143に進み、単語切り出し手
段131により、与えられた文章中から該ポインタが指
定する単語を切り出す。
Next, in step 142, the memory used in the phrase use frequency calculation control means 127 is initialized,
Set the pointer of the word to be processed in the sentence at the beginning of the sentence. Next, in step 143, the word cutout unit 131 cuts out the word designated by the pointer from the given sentence.

【0050】さらにstep144に進み、切り出され
た単語が単語指定手段126で指定済の単語であるか否
かを指定済単語検出手段129によって検出する。指定
済の単語ではない場合はstep145からstep1
51に進み単語使用頻度算出手段151によって該切り
出された単語の使用頻度を加算し、step152へ至
る。指定済の単語であった場合はstep145からs
tep146に進み、該単語を含有する複数の単語を単
語組み合わせ手段130によって組み合わせる。組み合
わせのパターンが全て試行され尽くしてしまった場合は
組み合わせは行われず、step147からstep1
51に進む。
Further, in step 144, the designated word detecting means 129 detects whether or not the cut-out word is the word designated by the word designating means 126. If it is not a designated word, step 145 to step 1
In step 51, the word use frequency calculation means 151 adds up the use frequencies of the cut out words, and the process goes to step 152. If it is a specified word, step 145 to s
Proceeding to step 146, a plurality of words containing the word are combined by the word combination means 130. If all combinations of patterns are exhausted, no combination is performed and steps 147 to 1 are executed.
Proceed to 51.

【0051】組み合わせが行われた場合はstep14
7からstep148に進み、該組み合わせを用いて辞
書検索手段120により類義語辞書データベース121
を検索する。該検索の結果存在が確認されなかった場合
はstep149からstep146に戻り、まだ試行
されていない組み合わせのパターンを単語組み合わせ手
段130によって作成する。
If the combination is made, step14
7 to step 148, the synonym dictionary database 121 by the dictionary search means 120 using the combination.
To search. If it is not confirmed as a result of the search, the process returns from step 149 to step 146, and the word combination means 130 creates a combination pattern that has not been tried.

【0052】step144からstep149までの
処理を総称して熟語判定手段128の実行とする。
The processing from step 144 to step 149 is generically referred to as the execution of the phrase determination means 128.

【0053】該検索の結果存在が確認された場合はst
ep149からstep150に進み、該組み合わせを
熟語と見なして熟語使用頻度算出手段132により該熟
語の使用頻度を加算する。また、該熟語が含有する任意
の単語で既に単語使用頻度算出手段133により使用頻
度を加算されたものがあれば、該単語の使用頻度を減算
する。
When the existence of the result of the search is confirmed, st
From ep149 to step 150, the combination is regarded as an idiom, and the idiom usage frequency calculation means 132 adds the usage frequency of the idiom. Further, if there is an arbitrary word contained in the phrase, the usage frequency of which has already been added by the word usage frequency calculation means 133, the usage frequency of the word is subtracted.

【0054】step152では、文章中の処理対象と
なる単語のポインタを1つ進めるものである。step
153においては文章の終了判定を行い、終了が判定さ
れなかった場合はstep143に戻る。終了が判定さ
れた場合にはstep154に進み、出力手段134に
より結果を制御部112に出力し、改良版ワードカウン
ト機能部124を終了する。
In step 152, the pointer of the word to be processed in the sentence is advanced by one. step
In 153, the end of the sentence is determined, and if the end is not determined, the process returns to step 143. If the end is determined, the process proceeds to step 154, the output unit 134 outputs the result to the control unit 112, and the improved word count function unit 124 is ended.

【0055】以上の処理について図11,図12,図1
3,図14で示される動作例を用いて説明する。
Regarding the above processing, FIG. 11, FIG. 12 and FIG.
3, an operation example shown in FIG. 14 will be described.

【0056】図11はユーザーの入力した文章例であ
り、図12は本動作例において採用された類義語辞書デ
ータベース121の内容である。図13は従来のワード
カウント機能によって算出した各々の単語の使用頻度で
ある。
FIG. 11 shows an example of a sentence input by the user, and FIG. 12 shows the contents of the synonym dictionary database 121 adopted in this operation example. FIG. 13 shows the usage frequency of each word calculated by the conventional word count function.

【0057】ワードカウント機能部124は起動される
と、step141のように単語指定手段126を用い
て類義語辞書データベース中に存在する単語を指定す
る。これは類義語辞書データベース中に存在する熟語を
構成する単語は特定の単語に偏りやすいという、類義語
辞書データベースの特徴に注目するものであり、本例に
おいては、図12中で下線で示された“acros
s”,“out”,“over”を指定するものとす
る。
When the word count function unit 124 is activated, it designates a word existing in the synonym dictionary database using the word designating means 126 as in step 141. This is to pay attention to the characteristic of the synonym dictionary database that the words forming the phrase existing in the synonym dictionary database are likely to be biased to a specific word, and in this example, it is underlined in FIG. acros
It is assumed that s ”,“ out ”, and“ over ”are designated.

【0058】次にstep142に進み、語句使用頻度
算出制御手段127で用いられるメモリーを初期化し、
文章中の処理対象となる単語のポインタを文章の頭にセ
ットする。本動作例においては“Mr.”がセットされ
ることとなる。次にstep143に進み、単語切り出
し手段131により、与えられた文章中から該ポインタ
が指定する単語“Mr.”を切り出す。
Next, in step 142, the memory used by the phrase usage frequency calculation control means 127 is initialized,
Set the pointer of the word to be processed in the sentence at the beginning of the sentence. In this operation example, "Mr." is set. Next, in step 143, the word cutout unit 131 cuts out the word "Mr." designated by the pointer from the given sentence.

【0059】さらにstep144に進み、切り出され
た単語が単語指定手段126で指定済の単語であるか否
かを指定済単語検出手段129によって検出する。指定
済の単語ではないのでstep145からstep15
1に進み単語使用頻度算出手段151によって“M
r.”の使用頻度を加算し、“Mr.”の使用頻度は1
となる。step152では、文章中の処理対象となる
単語のポインタを1つ進め“Brown”がセットされ
る。step153では文章の終了判定を行うが、終了
は判定されず、step143に戻る。
Further, in step 144, the designated word detecting means 129 detects whether or not the cut-out word is the word designated by the word designating means 126. Since it is not a designated word, step 145 to step 15
1, the word use frequency calculation means 151 causes "M
r. "Mr. Is used 1
Becomes In step 152, the pointer of the word to be processed in the sentence is advanced by 1 and "Brown" is set. In step 153, the end of the sentence is determined, but the end is not determined, and the process returns to step 143.

【0060】以下、図11の7行目の“over”にポ
インタがセットされるまで同様の処理が続く。
Thereafter, the same processing is continued until the pointer is set to "over" on the 7th line in FIG.

【0061】該“over”にポインタがセットされて
step143に戻ると、step144,145,1
46と進む。step146で単語組み合わせ手段13
0により該“over”が存在する文“I want
to have thisold coat made
over.”を対象にして、単語切り出し手段131
により該“over”以外の任意の単語を切り出し、こ
うして得られた2つの単語を文中に出現する順序に従い
組み合わせた結果を熟語判定手段128に提供する。従
って先ず“I over”の組み合わせが作成され、s
tep147,148と進むが、“I over”は類
義語辞書データベース中に存在しないのでstep14
9からstep146に戻る。以下、単語組み合わせ手
段130により“want over”,“to ov
er”と順次作成されるが類語辞書データベース中に存
在しない。最後に“made over”が作成される
と類義語辞書データベース中に存在するのでstep1
49からstep150へと進み、熟語使用頻度算出手
段132は“made over”の使用頻度を加算
し、“made over”の使用頻度は1となる。
“made over”が含有する“made”もしく
は“over”で既に単語使用頻度算出手段133によ
り使用頻度を加算されたものがあれば使用頻度を減算す
るが、ここでは減算は行われず、step152へと進
む。
When the pointer is set in the "over" and the process returns to step 143, steps 144, 145, 1
Proceed to 46. In step 146, the word combination means 13
The sentence "I want" in which the "over" exists due to 0
to have this coat coat made
over. Targeting “”, word segmentation means 131
Then, an arbitrary word other than the “over” is cut out, and the result obtained by combining the two words thus obtained in the order in which they appear in the sentence is provided to the phrase determination unit 128. Therefore, first, a combination of "I over" is created, and s
Although the process proceeds to steps 147 and 148, since "I over" does not exist in the synonym dictionary database, step 14
Return to step 146 from 9. Hereinafter, the "word over" and "to ov" are performed by the word combination means 130.
er ”is sequentially created, but does not exist in the thesaurus dictionary database. Finally, when“ made over ”is created, it exists in the thesaurus dictionary database, so step 1
From 49 to step 150, the idiom usage frequency calculation means 132 adds the usage frequencies of “made over”, and the usage frequency of “made over” becomes 1.
If there is a "made" or "over" contained in the "made over" and the usage frequency has already been added by the word usage frequency calculation unit 133, the usage frequency is subtracted, but the subtraction is not performed here, and the process proceeds to step 152. move on.

【0062】以下、図11の9行目の“across”
にポインタがセットされるまで以上で説明した処理が繰
り返される。
Hereinafter, "across" on the ninth line in FIG.
The processing described above is repeated until the pointer is set to.

【0063】該“across”にポインタがセットさ
れてstep152に進み、文章中の処理対象となる単
語のポインタを1つ進めると、step153で文章の
終了が判定されstep154に進み、出力手段134
により結果を制御部112に出力し、改良版ワードカウ
ント機能部124の動作を終了する。
When the pointer is set to the "across" and the process proceeds to step 152 and the pointer of the word to be processed in the sentence is advanced by one, the end of the sentence is determined in step 153, the process proceeds to step 154, and the output means 134
The result is output to the control unit 112, and the operation of the improved word count function unit 124 ends.

【0064】図14は以上のようにして算出した各々の
語句の使用頻度である。図13,図14中の下線は、互
いの結果の相違点を示している。
FIG. 14 shows the usage frequency of each word / phrase calculated as described above. The underlines in FIGS. 13 and 14 indicate the difference between the results.

【0065】本実施例装置によれば、実施例1の装置で
は抽出できなかった“get across”等の隣接
していない単語によって構成される熟語の抽出が可能に
なっている。
According to the apparatus of the present embodiment, it is possible to extract a idiom composed of non-adjacent words such as "get cross" which could not be extracted by the apparatus of the first embodiment.

【0066】以上のようにして本実施例装置において
は、ユーザーが類義語辞書機能を使用するためにワード
カウント機能を活用する際、より有効なワードカウント
結果を提供することが可能となり、より円滑な文書処理
作業を実現するものである。
As described above, in the apparatus of this embodiment, when the user uses the word count function to use the synonym dictionary function, it becomes possible to provide a more effective word count result, and thus a smoother operation is possible. It realizes document processing work.

【0067】(実施例3)図15は本発明を電子タイプ
ライターに適用した場合の第3の実施例の構成を表すブ
ロック図である。
(Embodiment 3) FIG. 15 is a block diagram showing the configuration of a third embodiment when the present invention is applied to an electronic typewriter.

【0068】201はキーボード・マウス等の入力装
置、202は装置全体を包括的に制御する制御装置であ
る。203は各種情報を格納する磁気ディスク・メモリ
ーカード・ROM等の外部記憶装置であり、204はC
RT・液晶ディスプレイ・プラズマディスプレイ等の表
示装置、205は感熱式プリンタ・レーザービームプリ
ンタ・インクジェット式プリンタ等の印刷装置である。
Reference numeral 201 is an input device such as a keyboard and mouse, and 202 is a control device for comprehensively controlling the entire device. Reference numeral 203 is an external storage device such as a magnetic disk, a memory card, or a ROM for storing various information, and 204 is a C
A display device such as an RT, a liquid crystal display or a plasma display, and a printing device 205 such as a thermal printer, a laser beam printer or an inkjet printer.

【0069】表示装置204は、制御装置202の制御
で文書、イメージ、もしくは複数項目からなる書式設定
画面等の表示イメージを表示する。印刷装置205は作
成された文書、イメージ等を設定された書式に従い用紙
上に印刷出力する。外部記憶装置203は入力・編集済
の文書・イメージ等を記憶媒体に保存したり、このよう
にして保存した文書、イメージ等を記憶媒体から読み出
す。入力装置201は、文書作成等に必要な入力情報を
制御装置202に入力する。
The display device 204 displays a display image such as a document, an image, or a formatting screen including a plurality of items under the control of the control device 202. The printing device 205 prints out the created document, image, etc. on paper according to the set format. The external storage device 203 stores the input / edited document / image, etc. in the storage medium, and reads the document, image, etc. thus stored from the storage medium. The input device 201 inputs input information necessary for document creation and the like to the control device 202.

【0070】図16は制御装置2の構成を示すブロック
図である。
FIG. 16 is a block diagram showing the configuration of the control device 2.

【0071】入力部211は制御部212によって制御
され、入力装置201により入力されたデータを読み込
み、必要に応じて一時記憶部216に格納する。表示部
214は制御部212によって制御され、一時記憶部2
16から必要なデータを読み出して表示装置204に表
示する。印刷部215は制御部212によって制御さ
れ、一時記憶部216から必要なデータを読み出して印
刷装置205に出力する。外部記憶部213は制御部2
12によって制御され、必要に応じて一時記憶部216
との間でデータをやりとりする。
The input unit 211 is controlled by the control unit 212, reads the data input by the input device 201, and stores it in the temporary storage unit 216 as necessary. The display unit 214 is controlled by the control unit 212, and the temporary storage unit 2
The necessary data is read from 16 and displayed on the display device 204. The printing unit 215 is controlled by the control unit 212, reads out necessary data from the temporary storage unit 216, and outputs the data to the printing apparatus 205. The external storage unit 213 is the control unit 2
12 and a temporary storage unit 216 as needed.
Exchange data with.

【0072】類義語辞書機能部217は制御部212に
よって制御され、与えられた見出し語句を用いて検索手
段220により類義語辞書データベース221を検索す
る。さらに判定手段219により類義語候補語句の有無
を確認し、出力手段218を用いて制御部212に結果
を出力する。
The synonym dictionary function unit 217 is controlled by the control unit 212, and the search means 220 searches the synonym dictionary database 221 using the given headword. Further, the determination unit 219 confirms the presence / absence of synonym candidate phrases, and the output unit 218 outputs the result to the control unit 212.

【0073】ワードカウント機能部222は制御部21
2によって制御され、与えられたテキストを構成する各
々の単語の使用頻度をワードカウント手段225によっ
て算出し、除外手段224により類義語辞書中に存在し
ない語句を除外し、出力手段223を用いて制御部21
2に結果を出力する。ここで除外手段224は判定手段
219により対象語句を除外すべきか否かの判定を行う
ものとする。また、除外手段224にはワードカウント
手段225を実行中随時文章中の語句に対して判定手段
219を発動し除外作業を行う方式と、ワードカウント
手段225が完遂後作成されたリストに対して判定手段
219を発動し除外作業を行う方式の2通りが考えられ
るが、本実施例では処理速度の向上を意図し後者を採用
するものとする。
The word count function unit 222 is the control unit 21.
Controlled by 2, the frequency of use of each word constituting the given text is calculated by the word count means 225, the exclusion means 224 excludes words and phrases that do not exist in the synonym dictionary, and the control means using the output means 223. 21
Output the result to 2. Here, the excluding unit 224 determines by the determining unit 219 whether or not the target phrase should be excluded. In addition, the exclusion means 224 is executing the word count means 225 and activates the determination means 219 for the phrase in the sentence at any time to perform the exclusion work, and the word count means 225 makes a determination on the list created after completion. There are two possible methods of activating the means 219 to perform the exclusion work. In the present embodiment, the latter is adopted in order to improve the processing speed.

【0074】以下、図17に示した処理の流れ図を参照
しながらワードカウント機能部222の詳細について説
明する。
Details of the word count function unit 222 will be described below with reference to the flow chart of the processing shown in FIG.

【0075】ワードカウント機能部222は起動される
と、step231のように与えられたテキストを構成
する各々の単語の使用頻度をワードカウント手段225
を用いて算出し、文章中の各々の語句の使用頻度リスト
を作成する。
When the word count function section 222 is activated, the word count means 225 indicates the usage frequency of each word constituting the given text as in step 231.
To calculate the usage frequency of each word in the sentence.

【0076】次にstep232に進み、該使用頻度リ
スト中の語句のポインタを1つ進める。ここでstep
233により該使用頻度リストが終了したか否かの判定
を行い、終了であればstep234に進み出力手段2
23を用いて結果を出力し、ワードカウント機能部22
2の動作を終了する。
Next, the process proceeds to step 232, and the pointer of the word / phrase in the usage frequency list is incremented by one. Here step
It is determined by 233 whether or not the usage frequency list is finished, and if it is finished, the process proceeds to step 234 and the output means 2
23 is used to output the result, and the word count function unit 22
The operation of 2 ends.

【0077】該使用頻度リストがまだ終了していない場
合はstep235に進み、判定手段219を用いて類
義語辞書データベース中に該語句が存在するか否かの判
定を行い、存在していたならばstep232に戻る。
存在しない場合はstep236に進み該使用頻度リス
トから該語句を除外し、step232に戻る。ste
p235,236の処理を総称して除外手段224の実
行とする。
If the usage frequency list is not finished yet, the process proceeds to step 235, and it is determined whether or not the term is present in the synonym dictionary database by using the determination means 219, and if it is, step 232. Return to.
If it does not exist, the process proceeds to step 236, the term is excluded from the usage frequency list, and the process returns to step 232. ste
The processes of p235 and 236 are collectively referred to as the execution of the excluding means 224.

【0078】以上の処理について図18,図19,図2
0,図21の例を用いて説明する。
Regarding the above processing, FIG. 18, FIG. 19 and FIG.
0, an example of FIG. 21 will be described.

【0079】図18はユーザーの入力した文章である。FIG. 18 shows a sentence input by the user.

【0080】ここでワードカウント機能部222を発動
すると、まずstep331により図19のような文章
中の各々の語句の使用頻度リストが作成される。
When the word count function unit 222 is activated, first, at step 331, a usage frequency list of each phrase in the sentence as shown in FIG. 19 is created.

【0081】step232で語句“a”に対して処理
が行われることとなる。使用頻度リストはまだ終了しな
いのでstep233からstep235に処理は移
る。
In step 232, the processing is performed on the word “a”. Since the usage frequency list has not been completed yet, the process moves from step 233 to step 235.

【0082】図20は本実施例における類義語辞書デー
タベースの内容である。step235で“a”が類義
語辞書中にあるか否かを判定すると否となり、step
236で“a”は使用頻度リストから除外される。処理
はstep232に戻り、以下使用頻度リスト中の各語
句に対して同様の処理が行われる。使用頻度リストが終
了するとstep234で図21のような結果を出力し
て処理を終了する。
FIG. 20 shows the contents of the synonym dictionary database in this embodiment. If it is determined in step 235 whether "a" is in the synonym dictionary, the result is NO, and
At 236, “a” is excluded from the usage frequency list. The process returns to step 232, and the same process is performed for each word in the usage frequency list. When the usage frequency list is completed, the result as shown in FIG. 21 is output at step 234 and the process is completed.

【0083】以上のようにして本実施例装置では、ワー
ドカウント機能でリストアップされた語句は全て類義語
辞書機能に入力させることが可能となり、より円滑な操
作を実現させることができる。
As described above, in the apparatus of this embodiment, all the words and phrases listed by the word count function can be input to the synonym dictionary function, and a smoother operation can be realized.

【0084】(実施例4)図22は本発明を電子タイプ
ライターに適用した場合の第4の実施例の構成を表すブ
ロック図である。
(Embodiment 4) FIG. 22 is a block diagram showing the configuration of a fourth embodiment when the present invention is applied to an electronic typewriter.

【0085】301はキーボード・マウス等の入力装
置、302は装置全体を包括的に制御する制御装置であ
る。303は各種情報を格納する磁気ディスク・メモリ
ーカード・ROM等の外部記憶装置であり、304はC
RT・液晶ディスプレイ・プラズマディスプレイ等の表
示装置、305は感熱式プリンタ・レーザービームプリ
ンタ・インクジェット式プリンタ等の印刷装置である。
Reference numeral 301 is an input device such as a keyboard / mouse, and 302 is a control device for comprehensively controlling the entire device. Reference numeral 303 is an external storage device such as a magnetic disk, a memory card, or a ROM that stores various information, and 304 is a C
A display device such as an RT, a liquid crystal display, and a plasma display, and a printing device 305 such as a thermal printer, a laser beam printer, and an inkjet printer.

【0086】表示装置304は、制御装置302の制御
で文書、イメージ、もしくは複数項目からなる書式設定
画面等の表示イメージを表示する。印刷装置305は作
成された文書、イメージ等を設定された書式に従い用紙
上に印刷出力する。外部記憶装置303は入力・編集済
の文書・イメージ等を記憶媒体に保存したり、このよう
にして保存した文書、イメージ等を記憶媒体から読み出
す。入力装置301は、文書作成等に必要な入力情報を
制御装置302に入力する。
The display device 304 displays a display image such as a document, an image, or a formatting screen including a plurality of items under the control of the control device 302. The printing device 305 prints out the created document, image, etc. on paper according to the set format. The external storage device 303 saves the input / edited document / image, etc. in the storage medium, and reads the document, image, etc. saved in this way from the storage medium. The input device 301 inputs input information necessary for creating a document or the like to the control device 302.

【0087】図23は制御装置302の構成を示すブロ
ック図である。
FIG. 23 is a block diagram showing the configuration of the control device 302.

【0088】入力部311は制御部312によって制御
され、入力装置301により入力されたデータを読み込
み、必要に応じて一時記憶部316に格納する。表示部
314は制御部312によって制御され、一時記憶部3
16から必要なデータを読み出して表示装置304に表
示する。印刷部315は制御部312によって制御さ
れ、一時記憶部316から必要なデータを読み出して印
刷装置305に出力する。外部記憶部313は制御部3
12によって制御され、必要に応じて一時記憶部316
との間でデータをやりとりする。
The input unit 311 is controlled by the control unit 312, reads the data input by the input device 301, and stores it in the temporary storage unit 316 as necessary. The display unit 314 is controlled by the control unit 312, and the temporary storage unit 3
The necessary data is read from 16 and displayed on the display device 304. The printing unit 315 is controlled by the control unit 312, reads out necessary data from the temporary storage unit 316, and outputs it to the printing device 305. The external storage unit 313 is the control unit 3
12 and the temporary storage unit 316 as necessary.
Exchange data with.

【0089】類義語辞書機能部317は制御部312に
よって制御され、与えられた見出し語句を用いて検索手
段320により類義語辞書データベース321を検索す
る。さらに判定手段319により類義語候補語句の有無
を確認し、出力手段318を用いて制御部312に結果
を出力する。
The synonym dictionary function unit 317 is controlled by the control unit 312, and the synonym dictionary database 321 is searched by the search means 320 using the given headword. Further, the determination unit 319 confirms the presence / absence of synonym candidate phrases, and the output unit 318 is used to output the result to the control unit 312.

【0090】ワードカウント機能部322は制御部31
2によって制御される。メモリー残量検出手段325は
改良版ワードカウント機能部322のために設けられた
メモリーの残量を検出する手段である。ここでワードカ
ウント機能部322はメモリー残量検出手段325によ
り随時未使用のメモリーを確認しつつ、与えられたテキ
ストを構成する各々の単語の使用頻度をワードカウント
手段326によって算出される。メモリー残量検出手段
325がメモリーフルを検出した場合にはワードカウン
ト手段326を中止し、除外手段324により類義語辞
書中に存在しない語句を随時除外しつつワードカウント
手段326を再実行する。最後に出力手段323を用い
て制御部312に結果を出力する。ここで除外手段32
4は判定手段319により対象語句を除外すべきか否か
の判定を行うものとする。また、除外手段324にはワ
ードカウント手段326を実行中随時文章中の語句に対
して判定手段319を発動し除外作業を行う方式と、ワ
ードカウント手段326が完遂後作成されたリストに対
して判定手段319を発動し除外作業を行う方式の2通
りが考えられるが、本実施例ではメモリーの節約を意図
し前者を採用するものとする。以下、図24に示した処
理の流れ図を参照しながらワードカウント機能部322
の詳細について説明する。
The word count function unit 322 is the control unit 31.
Controlled by two. The memory remaining amount detecting unit 325 is a unit for detecting the remaining amount of the memory provided for the improved word count function unit 322. Here, the word count function unit 322 calculates the use frequency of each word forming the given text by the word count unit 326 while checking the unused memory by the remaining memory amount detection unit 325 as needed. When the memory remaining amount detecting unit 325 detects that the memory is full, the word counting unit 326 is stopped, and the excluding unit 324 reexecutes the word counting unit 326 while excluding words that do not exist in the synonym dictionary. Finally, the output means 323 is used to output the result to the control unit 312. Exclusion means 32 here
In step 4, the determination means 319 determines whether or not the target phrase should be excluded. In addition, the exclusion unit 324 executes the word counting unit 326 and activates the determination unit 319 for the phrase in the sentence at any time to perform the exclusion work, and the word counting unit 326 makes a determination for the list created after completion. There are two possible methods of activating the means 319 to perform the exclusion work, but in the present embodiment, the former is adopted in order to save memory. The word count function unit 322 will be described below with reference to the flow chart of the processing shown in FIG.
Will be described in detail.

【0091】ワードカウント機能部322は起動される
と、step331でメモリー残量検出手段325によ
り改良版ワードカウント機能部322のために設けられ
たエモリーの残量を検出する。未使用のメモリーが検出
された場合にはstep332からstep333に進
み、ユーザーから与えられた文章中で処理対象となる語
句のポインタを1つ進める。step334でワードカ
ウント手段326を用いて該ポインタの示す語句の使用
頻度情報を該メモリーに記憶する。step335で該
文章の終了が判定された場合はstep336に進み出
力手段323を用いて結果を出力し、ワードカウント機
能部322の動作を終了する。step335で該文章
の終了が判定されなかった場合はstep331に戻
る。
When the word count function unit 322 is activated, the remaining memory amount detecting means 325 detects the remaining amount of the emory provided for the improved word count function unit 322 in step 331. When an unused memory is detected, the process proceeds from step 332 to step 333, and the pointer of the word to be processed in the sentence given by the user is incremented by one. In step 334, the word count means 326 is used to store the use frequency information of the word or phrase indicated by the pointer in the memory. If the end of the sentence is determined in step 335, the process proceeds to step 336, the result is output using the output means 323, and the operation of the word count function unit 322 is ended. If the end of the sentence is not determined in step 335, the process returns to step 331.

【0092】step331でメモリーフルが検出され
た場合はstep332からstep337に進み、該
メモリーを初期化し該ポインタを文章の先頭に戻す。s
tep337で該ポインタを1つ進め、step339
でワードカウント手段326を用いて該ポインタの示す
語句の使用頻度情報を該メモリーに記憶する。step
340で判定手段319を用いて類義語辞書データベー
ス中に該語句が存在するか否かの判定を行い、存在して
いたならばstep342に進む。存在しない場合はs
tep341に進み該メモリーから該語句の使用頻度情
報を除外しstep342に進む。step340、3
41の処理を総称して除外手段324の実行とする。
When the memory full is detected in step 331, the process proceeds from step 332 to step 337 to initialize the memory and return the pointer to the beginning of the sentence. s
In step 337, the pointer is advanced by 1 and step 339
Then, the word count means 326 is used to store the use frequency information of the word or phrase indicated by the pointer in the memory. step
At 340, it is determined whether or not the phrase is present in the synonym dictionary database using the determination means 319, and if it is present, the process proceeds to step 342. S if not present
The process proceeds to step 341, and the usage frequency information of the word is excluded from the memory, and the process proceeds to step 342. step340, 3
The processing of 41 is collectively referred to as the execution of the excluding means 324.

【0093】step342で該文章の終了が判定され
た場合はstep336に進む。終了が判定されなかっ
た場合はstep338に戻る。
If it is determined in step 342 that the sentence is finished, the process proceeds to step 336. If the end is not determined, the process returns to step 338.

【0094】以上の処理について図25〜図32を用い
て説明する。
The above processing will be described with reference to FIGS.

【0095】図25は本実施例におけるワードカウント
機能部322のために設けられたメモリーであり、語句
10個分の情報を格納できる容量を持っている。図26
はユーザーの入力した文章の一例であり、文章が該メモ
リーの処理容量に対して充分に小さい場合を示してい
る。
FIG. 25 shows a memory provided for the word count function unit 322 in this embodiment, and has a capacity capable of storing information for 10 words / phrases. FIG. 26
Is an example of a sentence input by the user, and shows the case where the sentence is sufficiently small with respect to the processing capacity of the memory.

【0096】ここでワードカウント機能部322を発動
すると、まずstep331によりメモリー残量を検出
する。未使用のメモリーが検出され、step332か
らstep333に進み、ユーザーから与えられた文章
中で処理対象となる語句のポインタを1つ進める。すな
わち語句“that”が処理の対象となる。step3
34でワードカウント手段326を用いて“that”
の使用頻度情報“1”を該メモリーに記憶する。ste
p35に進み、文章の終了が判定されないためstep
331に戻る。これらの処理を語句“animal”ま
で繰り返し、最後はstep336に進み出力手段32
3を用いて結果を出力し、ワードカウント機能部322
の動作を終了する。図27はワードカウント機能部32
2終了時の該メモリーの内容を示している。
When the word count function unit 322 is activated here, the remaining memory amount is first detected by step 331. When an unused memory is detected, the process proceeds from step 332 to step 333, and the pointer of the word to be processed in the sentence provided by the user is advanced by one. That is, the phrase “that” is the target of processing. step3
At 34, the word count means 326 is used to "that".
The usage frequency information “1” is stored in the memory. ste
The process proceeds to p35 and the end of the sentence is not determined, so step
Return to 331. These processes are repeated until the phrase "animal" is reached, and finally the process proceeds to step 336 and the output means 32
3 is used to output the result, and the word count function unit 322
Ends the operation. FIG. 27 shows the word count function unit 32.
2 shows the contents of the memory at the end.

【0097】図28はユーザーの入力した文章の一例で
あり、文章が該メモリーの処理容量に対して過大である
場合を示している。
FIG. 28 is an example of a sentence input by the user, and shows a case where the sentence is excessive in processing capacity of the memory.

【0098】ここでワードカウント機能部322を発動
すると、まずstep331によりメモリー残量を検出
する。未使用のメモリーが検出され、step332か
らstep333に進み、ユーザーから与えられた文章
中で処理対象となる語句のポインタを1つ進める。すな
わち語句“that”が処理の対象となる。step3
34でワードカウント手段326を用いて“that”
の使用頻度情報“1”を該メモリーに記憶する。ste
p335に進み、文章の終了が判定されないためste
p331に戻る。これらの処理を語句“said”まで
繰り返す。図29はここまでに処理された語句を下線で
示したものであり、この時の該メモリーの内容は図30
のようになっている。
When the word count function unit 322 is activated, the remaining memory amount is first detected by step 331. When an unused memory is detected, the process proceeds from step 332 to step 333, and the pointer of the word to be processed in the sentence given by the user is advanced by one. That is, the phrase “that” is the target of processing. step3
At 34, the word count means 326 is used to "that".
The usage frequency information “1” is stored in the memory. ste
The process proceeds to p335 and the end of the sentence is not determined, so ste
Return to p331. These processes are repeated until the phrase "said". FIG. 29 shows underlined words processed up to this point, and the contents of the memory at this time are shown in FIG.
It looks like.

【0099】ここでstep331に戻るとメモリーフ
ルが検出される。従ってstep332からstep3
37に進み、該メモリーを初期化し該ポインタを文章の
先頭に戻す。step338で該ポインタを1つ進め
る。すなわち語句“that”が処理の対象となる。s
tep339でワードカウント手段326を用いて“t
hat”の使用頻度情報“1”を該メモリーに記憶す
る。図31は本実施例における類義語辞書データベース
の内容である。step340で判定手段319を用い
て類義語辞書データベース中に“that”が存在する
か否かの判定を行うと存在しないと判定されるため、s
tep341に進み該メモリーから“that”の使用
頻度情報を除外しstep342に進む。以下、これら
の処理を該文章の終了が判定されるまで繰り返す。“a
nimal”等の類義語辞書データベース上に存在する
語句が処理対象となった場合はstep341がキャン
セルされ、該語句の使用頻度情報は該メモリー上に残る
こととなる。最後はstep342からstep336
に進み出力手段323を用いて結果を出力し、改良版ワ
ードカウント機能部322を終了する。図32は改良版
ワードカウント機能部322終了時の該メモリーの内容
を示している。
Here, returning to step 331, the memory full is detected. Therefore, step332 to step3
In step 37, the memory is initialized and the pointer is returned to the beginning of the sentence. At step 338, the pointer is incremented by one. That is, the phrase “that” is the target of processing. s
In step 339, the word count means 326 is used to perform "t
The usage frequency information "1" of "hat" is stored in the memory. Fig. 31 shows the contents of the synonym dictionary database in the present embodiment. In step 340, "that" exists in the synonym dictionary database using the determination means 319. If it is determined whether or not it is determined that it does not exist, s
The process proceeds to step 341, and the use frequency information of “that” is excluded from the memory, and the process proceeds to step 342. Hereinafter, these processes are repeated until the end of the sentence is determined. "A
When a word or phrase existing in the synonym dictionary database such as “nimal” is to be processed, step 341 is canceled and the usage frequency information of the word or phrase remains in the memory. Finally, step 342 to step 336.
Then, the output means 323 is used to output the result, and the improved word count function unit 322 is terminated. FIG. 32 shows the contents of the memory at the end of the improved word count function unit 322.

【0100】以上のようにして本実施例装置では、入力
された文章の大きさに対してワードカウント方法を自動
的に変化させてやることにより、各々の条件で望みうる
最も情報量の多い使用頻度情報を提供することが可能と
なり、メモリーの節約とより円滑な操作を実現させるこ
とができる。
As described above, in the apparatus of this embodiment, the word count method is automatically changed according to the size of the input sentence, so that the use with the largest amount of information that can be obtained under each condition is used. It becomes possible to provide the frequency information, which saves memory and realizes smooth operation.

【0101】[0101]

【発明の効果】以上説明したように本発明によれば、よ
り適切なワードカウント結果が得られる。
As described above, according to the present invention, a more appropriate word count result can be obtained.

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

【図1】本発明を電子タイプライターに適用した場合の
第1の実施例の構成を表すブロック図である。
FIG. 1 is a block diagram showing a configuration of a first embodiment when the present invention is applied to an electronic typewriter.

【図2】制御装置の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a control device.

【図3】本発明のワードカウント機能部の処理を示した
流れ図である。
FIG. 3 is a flowchart showing a process of a word count function unit of the present invention.

【図4】ユーザーの入力した文章例を示す図である。FIG. 4 is a diagram showing an example of a sentence input by a user.

【図5】類義語辞書データベースの内容例を示す図であ
る。
FIG. 5 is a diagram showing an example of contents of a synonym dictionary database.

【図6】従来のワードカウント機能によって算出した各
々の単語の使用頻度を示す図である。
FIG. 6 is a diagram showing a usage frequency of each word calculated by a conventional word count function.

【図7】本発明のワードカウント機能によって算出した
各々の語句の使用頻度を示す図である。
FIG. 7 is a diagram showing the usage frequency of each word / phrase calculated by the word count function of the present invention.

【図8】本発明を電子タイプライターに適用した場合の
第2の実施例の構成を表すブロック図である。
FIG. 8 is a block diagram showing a configuration of a second embodiment when the present invention is applied to an electronic typewriter.

【図9】制御装置の構成を示すブロック図である。FIG. 9 is a block diagram showing a configuration of a control device.

【図10】本発明のワードカウント機能部の処理を示し
た流れ図である。
FIG. 10 is a flowchart showing the processing of the word count function unit of the present invention.

【図11】ユーザーの入力した文章例を示す図である。FIG. 11 is a diagram showing an example of a sentence input by a user.

【図12】類義語辞書データベースの内容例を示す図で
ある。
FIG. 12 is a diagram showing an example of contents of a synonym dictionary database.

【図13】従来のワードカウント機能によって算出した
各々の単語の使用頻度を示す図である。
FIG. 13 is a diagram showing the usage frequency of each word calculated by a conventional word count function.

【図14】本発明のワードカウント機能によって算出し
た各々の語句の使用頻度を示す図である。
FIG. 14 is a diagram showing the usage frequency of each word / phrase calculated by the word count function of the present invention.

【図15】本発明を電子タイプライターに適用した場合
の第3の実施例の構成を表すブロック図である。
FIG. 15 is a block diagram showing a configuration of a third exemplary embodiment when the present invention is applied to an electronic typewriter.

【図16】制御装置の構成を示すブロック図である。FIG. 16 is a block diagram showing a configuration of a control device.

【図17】類義語辞書機能部の処理を示した流れ図であ
る。
FIG. 17 is a flowchart showing processing of a synonym dictionary function unit.

【図18】ユーザーが作成した文章の一例を示す図であ
る。
FIG. 18 is a diagram showing an example of a sentence created by a user.

【図19】従来の単なるワードカウント機能により作成
された語句の使用頻度リストを示す図である。
FIG. 19 is a diagram showing a usage frequency list of words created by a conventional simple word count function.

【図20】同実施例装置における類義語辞書データベー
スの内容を示す図である。
FIG. 20 is a diagram showing contents of a synonym dictionary database in the apparatus of the embodiment.

【図21】同実施例装置におけるワードカウント機能に
より提供されたリストを示す図である。
FIG. 21 is a diagram showing a list provided by a word count function in the apparatus of the embodiment.

【図22】本発明を電子タイプライターに適用した場合
の第4の実施例の構成を表すブロック図である。
FIG. 22 is a block diagram showing the configuration of a fourth exemplary embodiment when the present invention is applied to an electronic typewriter.

【図23】制御装置の構成を示すブロック図である。FIG. 23 is a block diagram showing a configuration of a control device.

【図24】類義語辞書機能部の処理を示した流れ図であ
る。
FIG. 24 is a flowchart showing processing of a synonym dictionary function unit.

【図25】同実施例装置におけるワードカウント機能の
ために設けられたメモリーの内容を示す図である。
FIG. 25 is a diagram showing the contents of a memory provided for the word count function in the apparatus of the embodiment.

【図26】ユーザーが作成した文章の一例を示す図であ
る。
FIG. 26 is a diagram showing an example of a sentence created by a user.

【図27】同実施例装置におけるワードカウント機能の
ために設けられたメモリーの内容を示す図である。
FIG. 27 is a diagram showing the contents of a memory provided for the word count function in the device of the embodiment.

【図28】ユーザーが作成した文章の一例を示す図であ
る。
FIG. 28 is a diagram showing an example of a sentence created by a user.

【図29】ユーザーが作成した文章で処理の終了した語
句を下線で示した図である。
FIG. 29 is a diagram in which a word or phrase that has been processed in a sentence created by a user is underlined.

【図30】同実施例装置におけるワードカウント機能の
ために設けられたメモリーの内容を示す図である。
FIG. 30 is a diagram showing the contents of a memory provided for the word count function in the device of the embodiment.

【図31】同実施例装置における類義語辞書データベー
スの内容を示す図である。
FIG. 31 is a diagram showing contents of a synonym dictionary database in the apparatus of the embodiment.

【図32】同実施例装置におけるワードカウント機能の
ために設けられたメモリーの内容を示す図である。
FIG. 32 is a diagram showing the contents of a memory provided for the word count function in the device of the embodiment.

【符号の説明】[Explanation of symbols]

1 入力装置 2 制御装置 3 外部記憶装置 4 表示装置 5 印刷装置 101 入力装置 102 制御装置 103 外部記憶装置 104 表示装置 105 印刷装置 1 Input Device 2 Control Device 3 External Storage Device 4 Display Device 5 Printing Device 101 Input Device 102 Control Device 103 External Storage Device 104 Display Device 105 Printing Device

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 類義語辞書と、文書中の各語句に対応す
る候補語句を前記類義語辞書を検索して求める候補語句
検索手段と、該候補語句検索手段により候補語句が得ら
れたか否かを判定する判定手段と、文書中の各語句の使
用頻度を算出するワードカウント手段と、前記判定手段
により前記類義語辞書中に存在しないことが判明した語
句をワードカウント手段のカウント対象から除外する除
外手段とを具備したことを特徴とする文書処理装置。
1. A synonym dictionary, a candidate word search means for finding a candidate word corresponding to each word in a document by searching the synonym dictionary, and determining whether or not a candidate word is obtained by the candidate word search means. Determining means, word counting means for calculating the frequency of use of each word in the document, and excluding means for excluding words found by the judging means that do not exist in the synonym dictionary from count targets of the word counting means. A document processing apparatus comprising:
【請求項2】 請求項1に記載の文書処理装置におい
て、ワードカウント手段が必要とするメモリーがフルに
なったときのみ前記除外手段を発動させる手段を具備し
たことを特徴とする文書処理装置。
2. The document processing apparatus according to claim 1, further comprising means for activating the excluding means only when the memory required by the word counting means becomes full.
【請求項3】 類義語辞書と、文章内における任意の複
数単語で構成される組み合わせが前記類義語辞書中に熟
語として存在するか否かを判定する判定手段と、該判定
手段により熟語として判定された組み合わせを構成する
複数単語においては使用頻度算出を行わず該熟語の使用
頻度を算出し、該複数単語以外の単語においてはそのま
ま各々の使用頻度を算出するワードカウント手段とを具
えたことを特徴とする文書処理装置。
3. A synonym dictionary and a determination unit that determines whether or not a combination composed of an arbitrary plurality of words in a sentence exists in the synonym dictionary as a phrase, and the determination unit determines that the phrase is a phrase. In a plurality of words forming a combination, the use frequency is not calculated, the use frequency of the idiom is calculated, and in words other than the plurality of words, the word count means for calculating each use frequency is provided. Document processing device.
【請求項4】 請求項3に記載の文書処理装置におい
て、前記判定手段は、文章内において隣接する2単語で
構成される組み合わせが前記類義語辞書中に熟語として
存在するか否かを判定することを特徴とする文書処理装
置。
4. The document processing apparatus according to claim 3, wherein the determination means determines whether or not a combination of two words adjacent to each other in a sentence exists as a compound word in the synonym dictionary. A document processing device characterized by:
【請求項5】 請求項3に記載の文書処理装置におい
て、前記判定手段は、前記類義語辞書の特性に従ってあ
らかじめ指定された単語を文章内において検出する検出
手段と、該検出手段により検出された単語が存在する分
を対象に、該単語を含む任意の組み合わせが前記類義語
辞書中に熟語として存在するか否かを判定する手段とを
有することを特徴とする文書処理装置。
5. The document processing apparatus according to claim 3, wherein the determination unit detects a word specified in advance in the sentence according to the characteristics of the synonym dictionary, and a word detected by the detection unit. And a means for determining whether or not an arbitrary combination including the word is present as a compound word in the synonym dictionary.
JP4182344A 1992-06-24 1992-07-09 Word processor Pending JPH0628340A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4182344A JPH0628340A (en) 1992-07-09 1992-07-09 Word processor
US08/691,433 US5742834A (en) 1992-06-24 1996-08-02 Document processing apparatus using a synonym dictionary

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4182344A JPH0628340A (en) 1992-07-09 1992-07-09 Word processor

Publications (1)

Publication Number Publication Date
JPH0628340A true JPH0628340A (en) 1994-02-04

Family

ID=16116670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4182344A Pending JPH0628340A (en) 1992-06-24 1992-07-09 Word processor

Country Status (1)

Country Link
JP (1) JPH0628340A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5975619A (en) * 1996-09-04 1999-11-02 Daimlerchrysler Ag Folding top for vehicles

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5975619A (en) * 1996-09-04 1999-11-02 Daimlerchrysler Ag Folding top for vehicles

Similar Documents

Publication Publication Date Title
US8364673B2 (en) System and method for dynamically and interactively searching media data
US7802305B1 (en) Methods and apparatus for automated redaction of content in a document
EP0530993B1 (en) An iterative technique for phrase query formation and an information retrieval system employing same
US5873660A (en) Morphological search and replace
US5257186A (en) Digital computing apparatus for preparing document text
JP5280566B2 (en) Method, system, computer program product (restart point or reprint range determination for reprinting a print job)
US20060106767A1 (en) System and method for identifying query-relevant keywords in documents with latent semantic analysis
US20070074102A1 (en) Automatically determining topical regions in a document
JPH077408B2 (en) Method and system for changing emphasis characteristics
JPH07175825A (en) Document retrieving/displaying method
JPH0628340A (en) Word processor
JP2007286742A (en) Document retrieval device
JP3623998B2 (en) Image processing method and image processing apparatus
JP2002073681A (en) Method and device for retrieving similar documents and storage medium with program stored therein for the retrieval method
JPS62249270A (en) Document processor
KR100922693B1 (en) System and method for searching person
JPH0628341A (en) Word processing method and device therefor
JP2003108582A (en) Synonym extracting method and document retrieving device
JP3147245B2 (en) Document processing apparatus and document processing method
JP2007025756A (en) Search formula generation support device, program, and information retrieval system
JP2005327023A (en) Retrieval system of full-text search using hit number expectancy
JP2000330841A (en) Device and method for managing file
JPH06119335A (en) Structured document processor
JP3313490B2 (en) Keyword creation device
JPH04280359A (en) Document processor