JPS6351291B2 - - Google Patents
Info
- Publication number
- JPS6351291B2 JPS6351291B2 JP58136506A JP13650683A JPS6351291B2 JP S6351291 B2 JPS6351291 B2 JP S6351291B2 JP 58136506 A JP58136506 A JP 58136506A JP 13650683 A JP13650683 A JP 13650683A JP S6351291 B2 JPS6351291 B2 JP S6351291B2
- Authority
- JP
- Japan
- Prior art keywords
- name
- group
- tag
- keyword
- name tag
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】
(1) 発明の技術分野
本発明はプログラムにおける名標の生成方式に
係り、特に、名標の機能を表わす文章から所望の
名標を自動的に生成する方式に関する。DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a method for generating a name tag in a program, and more particularly to a method for automatically generating a desired name tag from a sentence expressing the function of the name tag.
(2) 従来技術と問題点
従来、プログラムにおける名標はプログラマが
適当に判断して作成していた。該従来方式ではプ
ログラマの判断力等により名標が適当に作成され
るため、名標が正しく命名規約に従つている保証
はなく、また重複して定義されている名標の発見
がプログラムの翻訳時又は、結合編集時になり、
修正に多大な労力と費用が掛るという欠点があつ
た。(2) Prior Art and Problems Conventionally, names in programs have been created by programmers based on their own judgment. In this conventional method, name tags are created appropriately based on the programmer's judgment, so there is no guarantee that the name tags follow the naming conventions correctly, and the discovery of duplicately defined name tags can be difficult to translate into programs. or at the time of combined editing,
The drawback was that it required a great deal of effort and expense to correct it.
(3) 発明の目的
本発明は、名標の機能を表わす文章から、キー
ワード群を自動的に抽出し、該キーワード群から
命名規約に則り、重複のない最適な名標を自動生
成する方式を提供することを目的とする。(3) Purpose of the Invention The present invention provides a method for automatically extracting a group of keywords from a text expressing the function of a name tag, and automatically generating an optimal name name without duplication from the keyword group in accordance with a naming convention. The purpose is to provide.
(4) 発明の構成
該目的は名標の機能を表わす文章を解析してキ
ーワード群を抽出するキーワード抽出装置と、該
キーワード群より名標候補群を生成する名標生成
装置と、該名標候補群から現時点で使用可能な名
標群を選択する名標検証装置と、該使用可能な名
標群から、ユーザの指示に従い所望の名標を選択
し、格納する名標格納装置からなることを特徴と
する名標生成システムにより達成される。(4) Structure of the invention The object is to provide a keyword extraction device that extracts a group of keywords by analyzing a sentence expressing the function of a name tag, a name generation device that generates a group of name candidate candidates from the keyword group, and a name generator that generates a group of name candidate candidates from the keyword group. Consisting of a name verification device that selects a group of name names that are currently available from a group of candidates, and a name storage device that selects and stores a desired name name from the group of available name names according to user instructions. This is achieved by a name generation system featuring the following.
(5) 発明の実施例
以下図面を参照しつつ本発明を詳細に説明す
る。(5) Embodiments of the invention The present invention will be described in detail below with reference to the drawings.
第1図は本発明の一実施例を示す全体ブロツク
図である。 FIG. 1 is an overall block diagram showing one embodiment of the present invention.
図において、1は文章(作成の対象となる名標
の機能を表わす。)、2は名標の属性データ、3は
キーワード抽出装置、4はキーワード群、5は名
標生成装置、6は名標候補群、7は名標検証装
置、8は使用可能名標群、9は名標管理装置、1
0はユーザ指令、11はキーワード−略記号対応
表、12はプロジエクト命名規約格納装置、13
はプログラミング言語命名規約格納装置、14は
名標格納装置である。 In the figure, 1 is a text (representing the function of the name tag to be created), 2 is attribute data of the name name, 3 is a keyword extractor, 4 is a keyword group, 5 is a name generator, and 6 is a name 7 is a name tag verification device; 8 is a usable name tag group; 9 is a name management device; 1
0 is a user command, 11 is a keyword-abbreviation symbol correspondence table, 12 is a project naming convention storage device, 13
1 is a programming language naming convention storage device, and 14 is a name tag storage device.
第2図は本発明の一実施例を示すキーワード−
略記号対応表の説明図である。 FIG. 2 is a keyword showing an embodiment of the present invention.
It is an explanatory diagram of an abbreviation symbol correspondence table.
図において、15はキーワード欄、16は属性
情報欄、17は略記号およびその記号表欄であ
る。 In the figure, 15 is a keyword field, 16 is an attribute information field, and 17 is an abbreviation and symbol table field.
次に第1図を用いて本発明の動作を説明する。
先ず文章1が入力されると、キーワード抽出装置
3が動作し、入力文章1を解析し、キーワード−
略記号対応表11に登録されているキーワードを
文中から抽出し、キーワード群4を出力する。 Next, the operation of the present invention will be explained using FIG.
First, when sentence 1 is input, the keyword extraction device 3 operates, analyzes input sentence 1, and extracts the keyword -
Keywords registered in the abbreviation correspondence table 11 are extracted from the text, and a keyword group 4 is output.
次に名標生成装置5が動作し、キーワード群4
とキーワード−略記号対応表11をもとに、可能
な略記号の組み合わせにより構成される名標候補
群6を生成する。その際、可能な略記号の組み合
わせと、その配列順序は名標属性データ2および
プロジエクト命名規約格納装置12に貯えられた
プロジエクト命名規約データにより定められる。 Next, the name tag generation device 5 operates, and the keyword group 4
Based on the keyword-abbreviation correspondence table 11, a name candidate group 6 made up of possible combinations of abbreviations is generated. At this time, possible combinations of abbreviations and their arrangement order are determined by the name attribute data 2 and the project naming convention data stored in the project naming convention storage device 12.
名標候補群6が生成されると、名標検証装置7
が動作し、名標候補群6の中から、現時点で実際
に使用可能な名標群8を選別する。ある名標が実
際に使用可能か否かは、その名標がプログラム上
で他の名標と弁別可能か否かに依存する。弁別可
能か否かは名標の属性、名標の属性から定まる名
標の有効範囲およびプログラミング言語の命名規
約から定まる。従つて名標検証装置7は使用可能
名標群8の選別に際して、名標属性データ2、プ
ログラミング言語命名規約格納装置13に貯えら
れたプログラミング言語命名規約データおよび名
標格納装置14に貯えられている現時点でプログ
ラム上で使用中の既使用名標のデータを参照す
る。 When the name mark candidate group 6 is generated, the name name verification device 7
operates to select a group of name tags 8 that can actually be used at the present time from the group of name tag candidates 6. Whether or not a given name can actually be used depends on whether the name can be distinguished from other names on the program. Whether or not it is distinguishable is determined by the attributes of the name, the valid range of the name determined from the attributes of the name, and the naming convention of the programming language. Therefore, when selecting the usable name name group 8, the name name verification device 7 uses the name attribute data 2, the programming language naming convention data stored in the programming language naming convention storage device 13, and the name tag storage device 14. Refer to the data of used names currently being used in the program.
上記過程を通して得られた使用可能名標群8は
名標管理装置9によりプログラマに提示され、プ
ログラマは提示された使用可能名標群の中から実
際に使用する名標を1つ選択する。選択結果はユ
ーザ指令10により名標管理装置9に通知され、
名標管理装置9は選択された名標をその属性デー
タ2と共に名標格納装置14に貯える。この貯え
られる名標が本実施例により最終的に生成された
名標となる。 The usable name name group 8 obtained through the above process is presented to the programmer by the name name management device 9, and the programmer selects one name name to actually use from the presented usable name name group. The selection result is notified to the name tag management device 9 by the user command 10,
The name tag management device 9 stores the selected name tag together with its attribute data 2 in the name tag storage device 14. This stored name mark becomes the name name finally generated by this embodiment.
(6) 発明の効果
以上説明した様に、本発明によれば、名標の機
能を表わす文章と名標の属性データを与えるだけ
で、プロジエクト命名規約およびプログラミング
言語命名規約に従つた名標を迅速且つ容易に生成
でき、且つ、名標の重複のチエツクや、命名規約
に従つているか否かのチエツクに関するプログラ
マの負担を完全になくすことができる。また、プ
ロジエクト命名規約とプログラミング言語命名規
約の管理を分離したことにより、規約の他プロジ
エクトとの共有が容易になる効果がある。(6) Effects of the Invention As explained above, according to the present invention, a name can be created in accordance with project naming conventions and programming language naming conventions by simply providing text expressing the function of the name and attribute data of the name. It can be generated quickly and easily, and completely eliminates the burden on the programmer of checking for duplicate names and checking whether naming conventions are followed. Furthermore, separating the management of project naming conventions and programming language naming conventions has the effect of making it easier to share conventions with other projects.
第1図は本発明の一実施例を示す全体ブロツク
図である。第2図は本発明の一実施例を示すキー
ワード−略記号対応表の説明図である。
記号の説明、1は文章(作成の対象となる名標
の機能を表わす。)、2は名標の属性データ、3は
キーワード抽出装置、4はキーワード群、5は名
標生成装置、6は名標候補群、7は名標検証装
置、8は名標群、9は名標管理装置、10はユー
ザ指令、11はキーワード−略記号対応表、12
はプロジエクト命名規約格納装置、13はプログ
ラミング言語命名規約格納装置、14は名標格納
装置。
FIG. 1 is an overall block diagram showing one embodiment of the present invention. FIG. 2 is an explanatory diagram of a keyword-abbreviation symbol correspondence table showing one embodiment of the present invention. Explanation of the symbol, 1 is a text (representing the function of the name tag to be created), 2 is attribute data of the name tag, 3 is a keyword extractor, 4 is a keyword group, 5 is a name generator, 6 is a name generator Name candidate group, 7 is name verification device, 8 is name group, 9 is name management device, 10 is user command, 11 is keyword-abbreviation symbol correspondence table, 12
1 is a project naming convention storage device, 13 is a programming language naming convention storage device, and 14 is a name tag storage device.
Claims (1)
ド群を抽出するキーワード抽出装置と、該キーワ
ード群より名標候補群を生成する名標生成装置
と、該名標候補群から現時点で使用可能な名標群
を選択する名標検証装置と、該使用可能な名標群
から、ユーザの指示に従い所望の名標を選択し、
格納する名標格納装置からなることを特徴とする
名標生成システム。1. A keyword extraction device that analyzes sentences expressing the function of a name tag and extracts a group of keywords, a name generation device that generates a group of name tag candidates from the keyword group, and a name tag generation device that generates a group of name tag candidates from the group of name tag candidates. a name verification device that selects a group of name names; a name verification device that selects a desired name name from the group of available name names according to instructions from a user;
A name tag generation system comprising a name tag storage device for storing name tags.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58136506A JPS6027941A (en) | 1983-07-26 | 1983-07-26 | Identifier generation system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58136506A JPS6027941A (en) | 1983-07-26 | 1983-07-26 | Identifier generation system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6027941A JPS6027941A (en) | 1985-02-13 |
| JPS6351291B2 true JPS6351291B2 (en) | 1988-10-13 |
Family
ID=15176752
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58136506A Granted JPS6027941A (en) | 1983-07-26 | 1983-07-26 | Identifier generation system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6027941A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06332682A (en) * | 1993-05-21 | 1994-12-02 | Nec Corp | Definition name nomenclature system |
| JP5137024B2 (en) * | 2008-06-20 | 2013-02-06 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Development support apparatus, method, and program |
| JP5968186B2 (en) * | 2012-10-15 | 2016-08-10 | 三菱電機株式会社 | Program creation support apparatus and program |
-
1983
- 1983-07-26 JP JP58136506A patent/JPS6027941A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6027941A (en) | 1985-02-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2180906C (en) | Information management apparatus providing efficient management of multimedia titles in a client-server network | |
| CN116243914A (en) | Internationalized software development method, internationalized software development system and server | |
| JPS6351291B2 (en) | ||
| CN109947711A (en) | A kind of multilingual file automating management method in pair of IOS project development process | |
| CN109254774A (en) | The management method and device of code in software development system | |
| CN116955393B (en) | A data processing method, apparatus, electronic device, and storage medium | |
| EA004243B1 (en) | A method for translation of information and device for the realization of it | |
| JPH0528088A (en) | Method for automatically generating hardware constitution information | |
| CN120653789B (en) | A method, apparatus, device, and storage medium for generating game guides | |
| KR100321706B1 (en) | Method for ducument composition using object linking and embedding scheme | |
| JPH11154093A (en) | Program Compiler and Recording Medium Recording Compiler Program | |
| JP2946509B2 (en) | Control method of interactive manual | |
| JPH04248624A (en) | Program conversion processor | |
| JP2723886B2 (en) | Machine translation apparatus and translation rule creation method | |
| JPH0752391B2 (en) | Translation method of source program including multiple database descriptions | |
| CN121680846A (en) | Graphical user interface generation method and device, storage medium and electronic equipment | |
| JPH0561906A (en) | Language conversion system | |
| JPS63140339A (en) | Reserved word managing system for version identification | |
| JPH10161914A (en) | Embedded SQL automatic generation method | |
| CN115794065A (en) | Visual intelligent programming method based on AI voice interaction | |
| JPH032923A (en) | Automatic programming system | |
| JPS62282364A (en) | Character string retrieval system | |
| JPH0511998A (en) | Variable propagation analyzing method | |
| JPH022465A (en) | Lsi design system | |
| JPH04213725A (en) | Automatic generating system for test program |