JPS60157662A - Language processing system - Google Patents

Language processing system

Info

Publication number
JPS60157662A
JPS60157662A JP59013127A JP1312784A JPS60157662A JP S60157662 A JPS60157662 A JP S60157662A JP 59013127 A JP59013127 A JP 59013127A JP 1312784 A JP1312784 A JP 1312784A JP S60157662 A JPS60157662 A JP S60157662A
Authority
JP
Japan
Prior art keywords
word
synonym
antonym
pointer
dictionary
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
JP59013127A
Other languages
Japanese (ja)
Inventor
Yoshizo Saito
齋藤 佳三
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP59013127A priority Critical patent/JPS60157662A/en
Publication of JPS60157662A publication Critical patent/JPS60157662A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/232Orthographic correction, e.g. spell checking or vowelisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Abstract

PURPOSE:To obtain information of plural words with regard to plural meanings or one meaning per one word, and to edit and proofread quickly a sentence by providing a means for replacing a specified word in the sentence with a synonym or an antonym of the specified word concerned. CONSTITUTION:An input device 1 inputs a word into a system, and simultaneously, instructs and inputs a spelling check and a synonym or antonym replacement, and it is provided with a synonym key, an antonym key, an NEXT key and an ENTER key. Character information inputted from the device 1 is saved in a storage device 2, and the character information concerned is displayed on a display of an output device 3. A dictionary for inspecting a spelling of an input character is stored in a spelling checking dictionary 4, and a synonym and an antonym of a word are registered in a synonym and antonym dictionary 5. In this way, plural information can be obtained with regard to plural meanings or one meaning per one word.

Description

【発明の詳細な説明】 く技術分野〉 本発明はワードプロセッサー等の言語処理システムに関
するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a language processing system such as a word processor.

〈従来技術〉 従来のワードプロセッサー等の言語処理システムにおい
ては、作成した文章の中のある単語が文章全体の意味に
合わない場合や1作成した文章の中のある単語がその長
さゆえに文章のバランスを損ねたりする場合や、作成し
ようとする文章の中のある単語の綴りが不明な場合等に
、オペレータは自らの手で辞書を引いて単語の置換を行
なわねばならなかった。
<Prior art> In conventional language processing systems such as word processors, there are cases in which a word in a created sentence does not fit the meaning of the entire sentence, or a word in a created sentence does not match the balance of the sentence due to its length. In some cases, such as when the operator loses a word or the spelling of a word in a sentence to be created is unknown, the operator has to manually look up a dictionary and replace the word.

〈発明の目的〉 そこで本発明においては、単語を該単語の同意語、反意
語に電子的に置換することができるようにした言語処理
システムを提供することを目的とする。
<Objective of the Invention> Therefore, an object of the present invention is to provide a language processing system that can electronically replace a word with a synonym or antonym of the word.

〈実施例〉 以下、図面を用いて本発明の構成を述べる。<Example> Hereinafter, the configuration of the present invention will be described using the drawings.

第1図に本発明の実施例に係る言語処理システムのブロ
ック構成図を載せる。
FIG. 1 shows a block diagram of a language processing system according to an embodiment of the present invention.

同図において、1は入力装置、2は記憶装置、3は出力
装置、4はスペルチェック用辞書、5は同意語9反意語
用辞書及び6は制御装置である。
In the figure, 1 is an input device, 2 is a storage device, 3 is an output device, 4 is a spell check dictionary, 5 is a dictionary for synonyms 9 and antonyms, and 6 is a control device.

上記入力装置1は単語をシステム内に入力するためのも
ので、それと同時にスペルチェック及び同意語若しくは
反意語置換を指示入力するためのものでもある。そして
、該入力装置1には特別にその機能については後述する
The input device 1 is for inputting words into the system, and at the same time for inputting instructions for spell checking and synonym or antonym substitution. The functions of the input device 1 will be described later.

又、上記記憶装置2には前記入力装置から入力された文
字情報が保存されており、該文字情報は前記出力装置3
のディスプレイに表示される。。
Further, the storage device 2 stores character information input from the input device, and the character information is stored in the storage device 2.
displayed on the display. .

そして、上記スペルチェック用辞書4は入力文字の綴り
を検査するだめの辞書がメモリされており、又、上記同
意語・反意語辞書5には単語の同意語1反意語が登録さ
れている。
The spell check dictionary 4 stores a dictionary for checking the spelling of input characters, and the synonym and antonym dictionary 5 stores synonyms and antonyms of words.

上記のスペルチェック用辞書4の構成は次の通すである
The structure of the spell check dictionary 4 described above is as follows.

即ち、収録する全単語を綴り文字数別に分類して、その
綴り文字数の同じ単語を頭文字A、B・・・Z順に細分
割する。そうすると、第2図(alの様なインデックス
が作成される。
That is, all the recorded words are classified according to the number of spelling letters, and words having the same number of spelling letters are subdivided into initial letters A, B, . . . , Z. Then, an index as shown in Figure 2 (al) is created.

同図(alにおいて上段第1行目は1文字単語インデッ
クス、第2行目は2文字単語インデックス・・・、第n
行目はn文字単語インデックスを表わしている。
In the same figure (al, the first line at the top is a one-letter word index, the second line is a two-letter word index..., nth
The row represents an n-character word index.

そして、メモリには同図(blに示す通り、各単語の頭
文字以降の文字が格納される。同図fblのLlは2文
字単語群、L2は3文字単語群である。
As shown in bl in the same figure, the characters after the initial letter of each word are stored in the memory.L1 in fbl in the figure is a two-letter word group, and L2 is a three-letter word group.

本実施例では1文字を5ビツトで表現することにした。In this embodiment, one character is expressed using 5 bits.

即ち、下記第1表の通りである。That is, as shown in Table 1 below.

第 1 表 具体的に下記第2表の様な8個の単語を登録する例によ
って説明を進める。
Table 1 The explanation will be specifically explained using an example of registering eight words as shown in Table 2 below.

第2表 単語[AMJはrMJを 単語jANJは「N」を 単語1”ALLJは[LLJを 単語「ARMJは「RM」を 単語「PLANJは[LANJを 単語[PLAYJは[LAYJを 単語[DELICATEJは[ELICATEJを単語
[DELIVERYJは[ELIVERYJを記憶する
ことになる。
Table 2 Words [AMJ is rMJ is word jANJ is “N” is word 1” ALLJ is [LLJ is word “ARMJ is “RM” is word “PLANJ is [LANJ is word [PLAYJ is [LAYJ is word [DELICATEJ is word] [ELICATEJ the word [DELIVERYJ will remember [ELIVERYJ].

そして1文字当たり5ビツトで記憶するため実際にメモ
リする際には文字列の後にバイト単位に合わせるため意
味のないデータX(“1″若しくは゛0′″)を追加す
る。
Then, since each character is stored in 5 bits, when actually stored in memory, meaningless data X ("1" or "0'") is added after the character string in order to match the character string in byte units.

即ち。That is.

rMJ→01101xxx −+58H: I(exadecimal :以下同様
)rNJ→0IIIOXXX →70H 「LL」→0110001100xxxxxx→630
0H [RMJ→1001001101××××××→934
0 H 「LAN」→011000000101110x→60
5CH 「LAY」→0I100OOOOII100IX→60
72H [E L I CATE J→00101011000
1001000110000110100 00101××××× →2B1230DOAOH [ELIVERYJ→001010110001001
101100010110010 11001xxxxx →2B1362CB20)( とするのである。
rMJ→01101xxx -+58H: I (exadecimal: the same applies below) rNJ→0IIIOXXX →70H "LL"→0110001100xxxxxx→630
0H [RMJ→1001001101×××××→934
0 H "LAN" → 011000000101110x → 60
5CH "LAY" → 0I100OOOOII100IX → 60
72H [E L I CATE J → 00101011000
1001000110000110100 00101××××× →2B1230DOAOH [ELIVERYJ→001010110001001
101100010110010 11001xxxxxx →2B1362CB20)(

上記のインデックスは第3図の通りとなり、データは第
4図の様に記憶される。
The above index is as shown in FIG. 3, and the data is stored as shown in FIG.

上記の辞書データから入力単語が正しいと判明すれば、
該入力単語の辞書収納データポインター及び登録番号に
より固有の情報が得られ、該固有の情報により検索すべ
き該当同意語9反意語が取り出される。
If the input word is found to be correct from the dictionary data above,
Unique information is obtained from the dictionary storage data pointer and registration number of the input word, and the corresponding synonyms and antonyms to be searched are extracted using the unique information.

同意語1反意語の辞書は1単語につき同義語の集団と反
意語の集団というように2つの集団に分別してあり、同
義語集団であっても同一単語で2つ以上の違う意味があ
る場合は各意味ごとに単語がブロック化さり、且つ、同
じ意味で複数単語がある場合はその複数単語が登録され
る。このことは反意語集団でも同じである。
In the synonym 1 antonym dictionary, each word is divided into two groups: a synonym group and an antonym group. Even in a synonym group, if the same word has two or more different meanings, each word is divided into two groups. Words are divided into blocks for each meaning, and if there are multiple words with the same meaning, the multiple words are registered. The same is true for antonym groups.

具体例をあげれば、第5図の様に、単語[5harpJ
には、 第1同義語集団として単語「keenJ。
To give a specific example, as shown in Figure 5, the word [5harpJ
has the word "keenJ" as the first synonym group.

[honedJ及び[whettedJ第2同義語集団
として単語[clearJ。
[honedJ and [whettedJ as a second synonym group the word [clearJ.

[distinctJ 、[unambiguousJ
[distinctJ, [unambiguousJ
.

[unequivocal J及び[unmistak
ableJ第3同義語集団として単語[cleverJ
第4同義語集団として単語「acutej第5同義語集
団として単語r Ca n n y J。
[unequivocal J and [unmistak
As the third synonym group for ableJ, the word [cleverJ
The fourth synonym group is the word "acutej. The fifth synonym group is the word r Can ny J.

[cleyerJ、icunningJ、[5hift
yJ。
[clayerJ, icunningJ, [5hift
yJ.

[5lickJ9口11yJ及びl”wilyJ第6同
義語集団として単語「fas 1onabl e J第
7同義語集団として単語1’−acuteJ。
[5lickJ9口11yJ and l"wilyJ as the sixth synonym group the word 'fas 1onable e J as the seventh synonym group the word 1'-acuteJ.

[gnawingJJknifelikeJ汀1anc
inatingJ、lpieringJ、「5hoot
io J。
[gnawingJJknifelikeJ汀1anc
inatingJ, lpieringJ, “5hoot
io J.

及び「stabbingJ 第8同義語集団として単語「1ncisiveJ第9同
義語集団として単語[pointed J第10同義語
集団として単語「pungestJがあり、又、 反意語集団として単語「bluntJ及び「dullJ
が存在する。
and "stabbingJ", the eighth synonym group is the word "1ncisiveJ, the ninth synonym group is the word "pointed J", the tenth synonym group is the word "pungestJ", and the antonym group is the word "bluntJ" and "dullJ".
exists.

そして、上記の単語[5harpJの同義語及び反意語
のデータ格納は、第6図に示す様に、第1に同義語集団
の登録単語数即ち第1同義語集団は3個、第2同義語集
団は5個、第3同義語集団は1個、第4同義語集団は1
個、第5同義語集団は7個、第6同義語集団は1個、第
7同義語集団は7個、第8同義語集団は1個、第8同義
語集団は1個、第9同義語集団は1個、第10同義語集
団は1個が入力され、記号「本」で区別して引き続いて
、反意語集団の登録単語数即ち2個が入力されるのであ
る。
The data storage of synonyms and antonyms of the above word [5harpJ is as shown in Figure 6. First, the number of registered words in the synonym group, that is, the first synonym group is 3, and the second synonym group is 3. is 5, the 3rd synonym group is 1, and the 4th synonym group is 1
5th synonym group has 7 items, 6th synonym group has 1 item, 7th synonym group has 7 items, 8th synonym group has 1 item, 8th synonym group has 1 item, 9th synonym group has 1 item, One word group and one tenth synonym group are input, and the number of registered words of the antonym group, that is, two, is input after distinguishing them by the symbol "book."

その後に記号「/」で各単語の格納している場所を示す
情報を収納する。図中の■〜0は下記の情報である。
After that, the symbol "/" is used to store information indicating the location where each word is stored. ■ to 0 in the figure are the following information.

■:単語「keenJのポインタ− 0二単語[honedJのポインタ− 0二単語「whettedJノボインター■:単語1’
−clearJのポインタ−0二単語[distinc
tJのポインター■二単語「unombiguousJ
のポインタ−0二単語1unequivocal Jの
ポインター■二単語1−unmistakableJの
ポインタ−0二単語[cleverJのポインター[相
]:単語「acuteJのポインタ−0二単語[can
nyJのポインター 0:単語「cleverJのポインター0:単語「cu
nni ng 」(2)ポインター0:単語[5hif
LyJのポインタ−0二単語「S目ckJのポインター [相]:単語[5lyJのポインター 0:単語[wilyJのポインター [相]:単語[fashionable J(7)ポイ
ンター[相]:単語「awLeJのポインター[相]:
単語[gnawingJのポインター@:単語[kni
fel 1keJ(7)ポインター@:単語[1anc
inatingJのポインター[相]:単語[pier
cingJのポインタ−0二単語[shootingJ
のポインター[相]:単語[stabbingJのポイ
ンター[相]:単語「1ncisiveJのポインター
[相]:単語[pointedJのポインター[相]:
単語[pungesLJのポインター[相]:単語「b
luntJのポインター[相]:単語「duIIJのポ
インタ一本実施例の言語処理システムによる実際の処理
u1作につき記述する。
■: Word "keenJ pointer - 02 words [honedJ pointer - 02 words" whettedJ nobointer ■: Word 1'
-pointer of clearJ -0 two words [distinc
tJ pointer ■Two words “unbiguousJ”
Pointer of - 0 two words 1 pointer of unequivocal J ■ Two words 1 - pointer of unmistakable J - 0 two words [pointer of cleverJ [phase]: word "pointer of acute J - 0 two words [can
Pointer 0 of nyJ: word "clever" Pointer 0 of nyJ: word "cu"
nni ng” (2) Pointer 0: Word [5hif
LyJ pointer - 0 two words "Sth ckJ pointer [phase]: word [5lyJ pointer 0: word [wilyJ pointer [phase]: word [fashionable J (7) pointer [phase]: word "awLeJ pointer [phase]:
word [gnawingJ pointer @: word [kni
fel 1keJ (7) pointer @: word [1anc
inatingJ pointer [phase]: word [pier
cingJ pointer-0 two words [shootingJ
pointer [phase] of word [stabbingJ pointer [phase]: word "1ncisiveJ pointer [phase]: word [pointedJ pointer [phase]:
word [pungesLJ pointer [phase]: word “b
luntJ pointer [phase]: word "duIIJ pointer" This describes the actual processing u1 by the language processing system of this embodiment.

第7図の如く、ディスプレイ上に表示されている文章の
特定単語[5harpJの位置にカーソルを移w1させ
ロロ匹ロキーを押圧すると、該当単語の同義語群データ
が制御装置によって辞書より呼び出されマルチウィンド
ウ機能によりカーソル位置及び呼び出したデータ量から
判断して画面の適切な位置に前記データを表示する。第
8図に示す通りである。
As shown in Fig. 7, when you move the cursor to the position of a specific word [5harpJ] in the sentence displayed on the display and press the Rororo key, the synonym group data for the corresponding word is called up from the dictionary by the control device, and The window function displays the data at an appropriate position on the screen based on the cursor position and the amount of data retrieved. As shown in FIG.

新たに表示された内容は、複数行にわたる異なる同義語
集団であり、各行の先頭には該同義語集団の中に登録さ
れた単語数である。そして、同義語集団の巾で現在表示
されてない他の単語を表示させたい場合、カーソルを該
行に移動させQキーを押して前記同義語集団の次の 単語を表示させる。すると、第9図の様になる。
The newly displayed content is a different synonym group spanning multiple lines, and at the beginning of each line is the number of words registered in the synonym group. If it is desired to display another word that is not currently displayed within the synonym group, move the cursor to the line and press the Q key to display the next word in the synonym group. The result will be as shown in Figure 9.

こうした手順を経て5選択された単語が表示されたらカ
ーソルを当該場所へ移動させ「下工Iロキーを押圧すれ
ばその単語かもLの文章の該当単語と置換される。
After completing these steps, when the selected word is displayed, move the cursor to the relevant location and press the ``Steak I'' key to replace that word with the corresponding word in the sentence L.

上述したのは同義語置換処理であるが、反意語置換処理
も同様に行なえる。これに際しては101月キーを使用
する。その場合、反意語集団は第10図の様に表示され
る。
What has been described above is synonym replacement processing, but antonym replacement processing can also be performed in the same way. In this case, use the October key. In that case, the antonym group is displayed as shown in FIG.

第11図に同義語[cleverJを選択した例を示し
、第12図にもとの文章の単語「5barpJを叫起単
語[cleverJに代替した例を示す。
FIG. 11 shows an example in which the synonym "cleverJ" is selected, and FIG. 12 shows an example in which the word "5barpJ" in the original sentence is replaced with the exclamation word "cleverJ".

く効 果〉 以上の様に本発明の言語処理システムによれば1単語に
つき複数意味若しくは一つの意味につき複数語の情報を
得ることができるから、正確且つ迅速な文章編集校正処
理を行うことができ的確な文章表現の一助となる。
Effects> As described above, according to the language processing system of the present invention, information on multiple meanings for one word or multiple words for one meaning can be obtained, so accurate and quick text editing and proofreading processing can be performed. This will help you express your writing accurately.

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

第1図は本発明の言語処理システムのブロック構成図、
第2図(al 、 (blは前記言語処理システムの辞
書構成図、第3図は具体的な単語による辞書構成図、第
4図は前記辞書のメモリ構成図、第5図は特定単語の同
意語1反意語の説明に供する図、第6図は前記特定単語
の同意語9反意語のメモリ図、第7図、第8図、第9図
、第10図、第11図及び第12図は前記言語処理シス
テムによる処理過程を表示にて示す図である。
FIG. 1 is a block diagram of the language processing system of the present invention.
Figure 2 (al, (bl) is a dictionary configuration diagram of the language processing system, Figure 3 is a dictionary configuration diagram with specific words, Figure 4 is a memory configuration diagram of the dictionary, and Figure 5 is a dictionary configuration diagram of specific words. Figure 6 is a memory diagram of synonyms 9 and antonyms of the specific word; Figures 7, 8, 9, 10, 11, and 12 are diagrams for explaining word 1 antonyms; It is a diagram showing a processing process by a language processing system in a display.

Claims (1)

【特許請求の範囲】[Claims] 1 文章中の特定単語を該特定単語の同意語若しくは反
意語に置換する手段を有することを特徴とする言語処理
システム。
1. A language processing system characterized by having means for replacing a specific word in a sentence with a synonym or antonym of the specific word.
JP59013127A 1984-01-26 1984-01-26 Language processing system Pending JPS60157662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59013127A JPS60157662A (en) 1984-01-26 1984-01-26 Language processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59013127A JPS60157662A (en) 1984-01-26 1984-01-26 Language processing system

Publications (1)

Publication Number Publication Date
JPS60157662A true JPS60157662A (en) 1985-08-17

Family

ID=11824490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59013127A Pending JPS60157662A (en) 1984-01-26 1984-01-26 Language processing system

Country Status (1)

Country Link
JP (1) JPS60157662A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63657A (en) * 1986-06-20 1988-01-05 Brother Ind Ltd Japanese language word processor
US4783758A (en) * 1985-02-05 1988-11-08 Houghton Mifflin Company Automated word substitution using numerical rankings of structural disparity between misspelled words & candidate substitution words
JPH07152762A (en) * 1994-09-19 1995-06-16 Canon Inc Document processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4783758A (en) * 1985-02-05 1988-11-08 Houghton Mifflin Company Automated word substitution using numerical rankings of structural disparity between misspelled words & candidate substitution words
JPS63657A (en) * 1986-06-20 1988-01-05 Brother Ind Ltd Japanese language word processor
JPH07152762A (en) * 1994-09-19 1995-06-16 Canon Inc Document processing method

Similar Documents

Publication Publication Date Title
US5119296A (en) Method and apparatus for inputting radical-encoded chinese characters
JPS60157662A (en) Language processing system
JP2701350B2 (en) Document reading device
JPH0612548B2 (en) Document processor
JPS61265633A (en) Dictionary retrieval processing system by phonetic symbol
JPH0232634B2 (en)
JP2634926B2 (en) Kana-Kanji conversion device
JP2002358301A (en) Electronic dictionary
JP2834840B2 (en) Display method of information processing device
JPH02291048A (en) Word processor with dictionary function
KR20000033994A (en) System for and method of automatically constructing clause database of electrolied document
JPH0623973B2 (en) Character processor frequency change method
JPS63184864A (en) Documentation device
JPH0721189A (en) Translation assisting system
de Normalisation Doc Type: Working Group Document Title: Preliminary proposal for encoding the Imperial Aramaic script in the SMP of the UCS Source: Michael Everson Status: Individual Contribution Action: For consideration by JTC1/SC2/WG2 and UTC
JPS61100834A (en) Word processor
JPH03222060A (en) Japanese reading system
JPH01321554A (en) Document preparing device
JPS60222952A (en) Kana-kanji converting device with editing function
JPS61117656A (en) Japanese language processing system of data processing system
JPH0418663A (en) Display system for word processor
JPS61184674A (en) Kana/kanji conversion system
JP2004191776A (en) Language learning support system
JPS63174164A (en) Sentence forming support system
KR20030068011A (en) The Hangul phrase processing system for memorizing a phone number