CN103677852A - Design method of extensible class natural language formula editor - Google Patents
Design method of extensible class natural language formula editor Download PDFInfo
- Publication number
- CN103677852A CN103677852A CN201310742750.1A CN201310742750A CN103677852A CN 103677852 A CN103677852 A CN 103677852A CN 201310742750 A CN201310742750 A CN 201310742750A CN 103677852 A CN103677852 A CN 103677852A
- Authority
- CN
- China
- Prior art keywords
- formula
- natural language
- equation editing
- program
- editing device
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a design method of an extensible class natural language formula editor. The method is characterized by comprising the following steps that (1), a formula editor definition program, a formula editor display program and a formula editor analysis program are edited; (2), the characteristics of a natural language formula are analyzed, and formula elements such as service terms, operative symbols and functions are identified; (3), the formula editor definition program is used for configuring the formula elements which are identified in the step (2); (4) the formula editor display program is used for displaying the configured formula elements in the step (3) and editing the class natural language formula; (5), when the formula editing is finished and the formula is stored, the formula editor analysis program is called automatically, the class natural language formula is converted into a computer language formula, and correctness checking is carried out at the same time. The design method is oriented to management and maintenance personnel of a software system and is a visual, simple, rapid and extensible class natural language formula editing mode.
Description
Technical field
The present invention relates to equation editing device method for designing, specifically, relate to a kind of method for designing of open-ended natural language equation editing device.
Background technology
In the analysis monitoring class computer system of using in all trades and professions, all need to use various formula, be used for defining various indexs or rule, thereby according to the judged result of the result of calculation of index or rule, determine the processing that follow-up needs carry out.Along with the development of social economy and enterprise itself, these formula all need constantly to adjust, attempt, optimize.And the actual formula of carrying out in computer system, it is all unusual technicalization, due to the restriction of programming language, be all database table name, field name, function name, variable name of english abbreviation form etc., the business personnel who is difficult to be formulated formula remembers, understands; Otherwise, if directly use the formula by the Chinese business terms form of business personnel's edit, cannot be resolved by computer system again, carry out.
Conventional way has two kinds at present, but has very large drawback.
Yi Shi enterprise cultivates specially to related service personnel voluntarily, makes it to understand computer programming, by these personnel, the formula in computer system is safeguarded.This mode difficulty is very large, and corresponding manpower and materials cost is also very high.
Entrust research company of Er Shiyou enterprise carries out formula maintenance, when needs are modified to formula, first contact the assignment techniques personnel of development company, business personnel's communication with enterprise, determine and need to how formula be modified, by exploitation formula technician, carry out concrete modification again, finally by enterprise and development company's calculation work amount and expense.Under this mode, revise the speed of formula, be subject to the restriction of development company's personnel placement, the possible modification cycle can be long; The accuracy of revising formula, is subject to the restriction of the effect of communication, if technician misunderstands to business personnel's description, may produce wrong result; The confidentiality of revising formula is on the hazard, even if signed confidentiality agreement, but relates to non-enterprise personnel, and the possibility of divulging a secret increases, and the difficulty of right-safeguarding is corresponding increase also.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method for designing of open-ended natural language equation editing device, realizes directly perceived, simple, quick, extendible natural language equation editing mode.
The present invention adopts following technical scheme to realize goal of the invention:
A method for designing for open-ended natural language equation editing device, is characterized in that, comprises the steps:
(1) write equation editing device define program, presentation program, analysis program;
(2) analyze natural language formula feature, identify business terms, sign of operation, function formula element wherein;
(3) use equation editing device define program, the formula element identifying in configuration previous step;
(4) use equation editing device presentation program, according to natural language display form, show the formula element configuring in previous step, carry out natural language equation editing;
(5), while completing equation editing and preserve, Automatically invoked equation editing device analysis program, is converted to computerese formula by natural language formula, carries out Correctness checking simultaneously.
As the further restriction to the technical program, the define program of described step (1) is every kind of formula element arrangements natural language display form, Computer Language Processing method.
As the further restriction to the technical program, presentation program in described step (1) shows all formula elements that current equation editing device is corresponding, and provide natural language equation editing interface, can select pre-configured formula element to add formula, also can directly to formula, edit.
As the further restriction to the technical program, the analysis program in described step (1) is converted to computerese formula by natural language formula, carries out Correctness checking simultaneously.
Compared with prior art, advantage of the present invention and good effect are: the present invention is the management maintenance personnel of software-oriented system, realize directly perceived, simple, quick, extendible natural language equation editing mode.The method is by being the formula elements such as business terms, sign of operation, function by Formula Parsing, configure respectively the mode of its natural language display form, Computer Language Processing method, make the computing machine can recognition category natural language formula, and by the mode of formula element arrangements, realize the expansion of formula content.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the enforcement of the preferred embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment, the present invention is further described in detail.
Referring to Fig. 1, the method for designing of open-ended natural language equation editing device of the present invention, comprises the steps:
(1) write equation editing device define program, presentation program, analysis program; The multiple formula elements such as described equation editing device supporting business term, sign of operation, function, support to use different formula elements to assemble multiple equation editing device.
(2) analyze natural language formula feature, identify business terms, sign of operation, function formula element wherein;
(3) use equation editing device define program, the formula element identifying in configuration previous step;
(4) use equation editing device presentation program, according to natural language display form, show the formula element configuring in previous step, carry out natural language equation editing;
(5), while completing equation editing and preserve, Automatically invoked equation editing device analysis program, is converted to computerese formula by natural language formula, carries out Correctness checking simultaneously.
The define program of described step (1) is every kind of formula element arrangements natural language display form, Computer Language Processing method.
Presentation program in described step (1) shows all formula elements that current equation editing device is corresponding, and natural language equation editing interface is provided, and can select pre-configured formula element to add formula, also can directly to formula, edit.
Analysis program in described step (1) is converted to computerese formula by natural language formula, carries out Correctness checking simultaneously.
Referring to Fig. 1, the present invention is directed to a collection of natural language formula that needs definition, advanced row manual analysis, identifies the formula elements such as business terms wherein, sign of operation, function; Then use equation editing device define program, by the formula element arrangements identifying in computer system; Then use equation editing device presentation program, according to natural language formula, at computer system inediting, go out the natural language formula that formula element forms; When completing equation editing and preserving, computer system can Automatically invoked equation editing device analysis program, and natural language formula is converted to computerese formula, carries out Correctness checking simultaneously.In this way, make the management maintenance personnel of software systems, can cast aside intricate computerese, with natural language, carry out equation editing, well solved the problem of prior art.
Use the method, concrete steps during enforcement are as follows:
1) the natural language formula to needs definition, carries out manual analysis, identifies the formula elements such as business terms wherein, sign of operation, function;
2) use equation editing device define program, by the new formula element arrangements identifying, in computer system, deploy content comprises natural language display form, Computer Language Processing method;
3) use equation editing device presentation program, according to natural language formula, at computer system inediting, go out the natural language formula that formula element forms;
4), while completing equation editing and preserve, computer system can Automatically invoked equation editing device analysis program, and natural language formula is converted to computerese formula, carries out Correctness checking simultaneously;
Take that to define a collection of financial formula be example below, the embodiment of this method is described.
First, analyze the formula that needs definition.This sentences " liquidity rate=floating assets/current liability " " current rate=(floating assets-stock)/current liability " is example, can find out, formula element wherein comprises: floating assets, stock, current liability, () ,/,-;
Then, use equation editing device define program to carry out formula element arrangements.The arithmetical operation symbol that addition subtraction multiplication and division and bracket etc. are basic, is the general element of formula, in computer system, has configured, and only needs configuration service term " floating assets, stock, current liability " herein.Take " floating assets " as example; its natural language display form is exactly that " floating assets ", Computer Language Processing method are defined as " from database, obtaining "; obtain manner is " sql statement ", obtains logic for " select amount from fs_balanceSheet where account='liquidAssets' ";
Then, use equation editing device presentation program to carry out equation editing.Define two formula, " liquidity rate " and " current rate ", in " liquidity rate " formula, directly inputs formula content for " floating assets/current liability ", in " current rate " formula, directly input formula content for " (floating assets-stock)/current liability ";
Finally preserve, computer system just can, according to definition before, resolve and check formula.
The present invention can pass through or adopt existing techniques in realizing without the technical characterictic of describing; do not repeat them here; certainly; above-mentioned explanation is not limitation of the present invention; the present invention is also not limited in above-mentioned giving an example; the variation that those skilled in the art make in essential scope of the present invention, remodeling, interpolation or replacement, also should belong to protection scope of the present invention.
Claims (4)
1. a method for designing for open-ended natural language equation editing device, is characterized in that, comprises the steps:
(1) write define program, presentation program, the analysis program of equation editing device;
(2) analyze natural language formula feature, identify business terms, sign of operation, function formula element wherein;
(3) use the define program of equation editing device, the formula element identifying in configuration previous step;
(4) use the presentation program of equation editing device, according to natural language display form, show and carry out natural language equation editing by the formula element configuring in previous step;
(5), while completing equation editing and preserve, the analysis program of Automatically invoked equation editing device, is converted to computerese formula by natural language formula, carries out Correctness checking simultaneously.
2. the method for designing of open-ended natural language equation editing device according to claim 1, is characterized in that, the define program of described step (1) is every kind of formula element arrangements natural language display form, Computer Language Processing method.
3. the method for designing of open-ended natural language equation editing device according to claim 1, it is characterized in that, presentation program in described step (1) shows all formula elements that current equation editing device is corresponding, and provide natural language equation editing interface, can select pre-configured formula element to add formula, also can directly to formula, edit.
4. the method for designing of open-ended natural language equation editing device according to claim 1, is characterized in that, the analysis program in described step (1) is converted to computerese formula by natural language formula, carries out Correctness checking simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310742750.1A CN103677852A (en) | 2013-12-30 | 2013-12-30 | Design method of extensible class natural language formula editor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310742750.1A CN103677852A (en) | 2013-12-30 | 2013-12-30 | Design method of extensible class natural language formula editor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103677852A true CN103677852A (en) | 2014-03-26 |
Family
ID=50315519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310742750.1A Pending CN103677852A (en) | 2013-12-30 | 2013-12-30 | Design method of extensible class natural language formula editor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103677852A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104484156A (en) * | 2014-12-16 | 2015-04-01 | 用友软件股份有限公司 | Editing method for multilingual formula, editing system for multilingual formula and editor for multilingual formula |
CN105630761A (en) * | 2016-03-04 | 2016-06-01 | 中国建设银行股份有限公司 | Method and device for manipulating formulas |
CN105718434A (en) * | 2014-12-23 | 2016-06-29 | 远光软件股份有限公司 | Natural language formula editing method and system |
CN108256925A (en) * | 2018-03-16 | 2018-07-06 | 北京星汇银通咨询服务有限责任公司 | Broad sense swapping |
CN111199140A (en) * | 2019-12-29 | 2020-05-26 | 南京云帐房网络科技有限公司 | Customizable fiscal and tax formula grammar escaping method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5933822A (en) * | 1997-07-22 | 1999-08-03 | Microsoft Corporation | Apparatus and methods for an information retrieval system that employs natural language processing of search results to improve overall precision |
CN1323005A (en) * | 2001-06-08 | 2001-11-21 | 清华大学 | Automatic conversion method from Chinese to braille |
US20060069696A1 (en) * | 2004-09-30 | 2006-03-30 | Microsoft Corporation | Method and implementation for referencing of dynamic data within spreadsheet formulas |
CN101963899A (en) * | 2009-07-24 | 2011-02-02 | 华中师范大学 | Logic cartoon platform system |
CN103299292A (en) * | 2010-12-02 | 2013-09-11 | Sk电信有限公司 | Natural language and mathematical formula processing method and device therefor |
-
2013
- 2013-12-30 CN CN201310742750.1A patent/CN103677852A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5933822A (en) * | 1997-07-22 | 1999-08-03 | Microsoft Corporation | Apparatus and methods for an information retrieval system that employs natural language processing of search results to improve overall precision |
CN1323005A (en) * | 2001-06-08 | 2001-11-21 | 清华大学 | Automatic conversion method from Chinese to braille |
US20060069696A1 (en) * | 2004-09-30 | 2006-03-30 | Microsoft Corporation | Method and implementation for referencing of dynamic data within spreadsheet formulas |
CN101963899A (en) * | 2009-07-24 | 2011-02-02 | 华中师范大学 | Logic cartoon platform system |
CN103299292A (en) * | 2010-12-02 | 2013-09-11 | Sk电信有限公司 | Natural language and mathematical formula processing method and device therefor |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104484156A (en) * | 2014-12-16 | 2015-04-01 | 用友软件股份有限公司 | Editing method for multilingual formula, editing system for multilingual formula and editor for multilingual formula |
CN104484156B (en) * | 2014-12-16 | 2017-04-05 | 用友网络科技股份有限公司 | The edit methods of multilingual formula, editing system and multilingual formula editors |
CN105718434A (en) * | 2014-12-23 | 2016-06-29 | 远光软件股份有限公司 | Natural language formula editing method and system |
CN105630761A (en) * | 2016-03-04 | 2016-06-01 | 中国建设银行股份有限公司 | Method and device for manipulating formulas |
CN105630761B (en) * | 2016-03-04 | 2019-03-12 | 中国建设银行股份有限公司 | Formula processing method and device |
CN108256925A (en) * | 2018-03-16 | 2018-07-06 | 北京星汇银通咨询服务有限责任公司 | Broad sense swapping |
CN111199140A (en) * | 2019-12-29 | 2020-05-26 | 南京云帐房网络科技有限公司 | Customizable fiscal and tax formula grammar escaping method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240078096A1 (en) | Systems and methods for code clustering analysis and transformation | |
CN106778288B (en) | A kind of method and system of data desensitization | |
US11726760B2 (en) | Systems and methods for entry point-based code analysis and transformation | |
US11436006B2 (en) | Systems and methods for code analysis heat map interfaces | |
US10402194B2 (en) | Systems and methods for extracting cross language dependencies and estimating code change impact in software | |
US9836502B2 (en) | Panel templates for visualization of data within an interactive dashboard | |
CN111177231A (en) | Report generation method and report generation device | |
CN107885499A (en) | A kind of interface document generation method and terminal device | |
CN109871311B (en) | Method and device for recommending test cases | |
CN103677852A (en) | Design method of extensible class natural language formula editor | |
US10282467B2 (en) | Mining product aspects from opinion text | |
CN104809106A (en) | System and method for excavating patent schemes | |
CN109241075B (en) | Index basic data processing method and equipment and computer readable storage medium | |
CN113419789A (en) | Method and device for generating data model script | |
CN103793653A (en) | Program dependence relationship analysis method and system based on tree optimization | |
US9507592B2 (en) | Analysis of data integration job | |
US10360208B2 (en) | Method and system of process reconstruction | |
CN116303461A (en) | Component library creation method and device, electronic equipment and storage medium | |
CN114860759A (en) | Data processing method, device and equipment and readable storage medium | |
CN113138760A (en) | Page generation method and device, electronic equipment and medium | |
US10445415B1 (en) | Graphical system for creating text classifier to match text in a document by combining existing classifiers | |
US10102197B2 (en) | Classifier designer—a graphical system for designing classifiers using visual representations of example content | |
CN111782208A (en) | Index early warning method and device, computer equipment and storage medium | |
CN104899018A (en) | Design method of business process application software | |
CN110309062A (en) | Case generation method, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140326 |
|
RJ01 | Rejection of invention patent application after publication |