CA3139543A1 - Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language - Google Patents
Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language Download PDFInfo
- Publication number
- CA3139543A1 CA3139543A1 CA3139543A CA3139543A CA3139543A1 CA 3139543 A1 CA3139543 A1 CA 3139543A1 CA 3139543 A CA3139543 A CA 3139543A CA 3139543 A CA3139543 A CA 3139543A CA 3139543 A1 CA3139543 A1 CA 3139543A1
- Authority
- CA
- Canada
- Prior art keywords
- case
- stage
- verb
- functional
- documents
- 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
- 238000000034 method Methods 0.000 title claims abstract description 110
- 238000004458 analytical method Methods 0.000 title claims abstract description 93
- 230000008569 process Effects 0.000 title claims description 51
- 238000013461 design Methods 0.000 claims abstract description 123
- 230000015654 memory Effects 0.000 claims description 119
- 238000010586 diagram Methods 0.000 claims description 89
- 230000009471 action Effects 0.000 claims description 68
- 230000014509 gene expression Effects 0.000 claims description 27
- 230000000295 complement effect Effects 0.000 claims description 14
- 238000004364 calculation method Methods 0.000 claims description 12
- 238000012790 confirmation Methods 0.000 claims description 11
- 230000002123 temporal effect Effects 0.000 claims description 10
- 230000006399 behavior Effects 0.000 claims description 8
- 238000003860 storage Methods 0.000 claims description 8
- 238000010200 validation analysis Methods 0.000 claims description 6
- 238000005304 joining Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 3
- 238000010230 functional analysis Methods 0.000 claims 1
- 239000000284 extract Substances 0.000 abstract 1
- 230000003068 static effect Effects 0.000 description 24
- 238000012545 processing Methods 0.000 description 20
- 238000004422 calculation algorithm Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 15
- 238000010276 construction Methods 0.000 description 9
- 239000011159 matrix material Substances 0.000 description 8
- 230000033001 locomotion Effects 0.000 description 7
- 239000000203 mixture Substances 0.000 description 7
- 238000013519 translation Methods 0.000 description 6
- 230000014616 translation Effects 0.000 description 6
- 230000000007 visual effect Effects 0.000 description 6
- 239000000470 constituent Substances 0.000 description 5
- 230000001419 dependent effect Effects 0.000 description 5
- 238000009472 formulation Methods 0.000 description 5
- 238000005259 measurement Methods 0.000 description 5
- 230000009466 transformation Effects 0.000 description 5
- 238000007373 indentation Methods 0.000 description 4
- 235000013399 edible fruits Nutrition 0.000 description 3
- 241001580947 Adscita statices Species 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 150000001875 compounds Chemical class 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000010426 hand crafting Methods 0.000 description 2
- TTWJBBZEZQICBI-UHFFFAOYSA-N metoclopramide Chemical compound CCN(CC)CCNC(=O)C1=CC(Cl)=C(N)C=C1OC TTWJBBZEZQICBI-UHFFFAOYSA-N 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 230000029305 taxis Effects 0.000 description 2
- 206010002383 Angina Pectoris Diseases 0.000 description 1
- 241000282693 Cercopithecidae Species 0.000 description 1
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 241000282412 Homo Species 0.000 description 1
- 241000282414 Homo sapiens Species 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 230000001427 coherent effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000021615 conjugation Effects 0.000 description 1
- 235000014510 cooky Nutrition 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/10—Requirements analysis; Specification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Machine Translation (AREA)
- Stored Programmes (AREA)
Abstract
The present invention is a computer-implemented system and method for automatic generation of Functional Architecture, business, analysis and software design documents based on phrases expressed in natural language. Specifically, the present invention receives the description of the case in natural language, through an input/output device. The processor automatically analyses the description, automatically extracts the functional and mathematical components from its morphosyntactic structure and automatically generates functional architecture documents for use in industry. Based on the mathematical components of the text, the processor automatically generates design components in order to produce business, analysis, and software design specification documents.
Description
2 PROCESS AND SYSTEM FOR AUTOMATIC GENERATION OF
FUNCTIONAL ARCHITECTURE DOCUMENTS AND SOFTWARE DESIGN
AND ANALYSIS SPECIFICATION DOCUMENTS FROM NATURAL
LANGUAGE
1. Cross-reference to related applications This application claims the benefits of the filing date of provisional patent application U.S. N 62/154,093 titled "Proceso pan generar documentos de especificacion de analisis y de diseilo" (Process for generating analysis and design specification documents), which was filed 28 April 2015, by the same inventor of this application.
The aforementioned provisional application is incorporated herein as reference, as if it were divulged in the present document.
2. Field of the Invention The present invention relates in general to the process of modeling reasoning by means of a formal logic analogous to the abstract thought with which human beings process natural language. It specifically relates to deriving process models from case specifications based on natural language.
FUNCTIONAL ARCHITECTURE DOCUMENTS AND SOFTWARE DESIGN
AND ANALYSIS SPECIFICATION DOCUMENTS FROM NATURAL
LANGUAGE
1. Cross-reference to related applications This application claims the benefits of the filing date of provisional patent application U.S. N 62/154,093 titled "Proceso pan generar documentos de especificacion de analisis y de diseilo" (Process for generating analysis and design specification documents), which was filed 28 April 2015, by the same inventor of this application.
The aforementioned provisional application is incorporated herein as reference, as if it were divulged in the present document.
2. Field of the Invention The present invention relates in general to the process of modeling reasoning by means of a formal logic analogous to the abstract thought with which human beings process natural language. It specifically relates to deriving process models from case specifications based on natural language.
3. Background of the invention The prior art discloses devices for automatic generation of software design documents from requirements expressed in phrases that are stored in knowledge bases, based on which they model 'Classes' (in the context of Object-Oriented Programming) that are subsequently visualized as UML diagrams. It also discloses systems and methods for formalizing natural language in such a way that the resulting language can be processed by a computer.
U.S. 2013/0097583 discloses a system and method that provides an automation support tool to guide/help software engineers in creating software products. The system includes input/output, storage, processing and communication devices. The system aids software engineers in identifying and graphically representing the use cases derived from the requirements, actors or entities, systems and subsystems by means of one or more phrases that describe the requirements and the actors or entities involved, as well as 5 generating a domain model and a UML class diagram to visualize the domain model.
The system also allows for creation of expanded use cases, creation of an object interaction model, creation of sequence diagrams, and creation of a design class diagram. Based on the design class diagram, software engineers can produce high-quality computer programs. The system may include or may connect to a diagram 10 generator in order to automatically generate UML (Unified Modeling Language) class diagrams. Unlike the present invention, the inputs of said patent are software requirements written in natural language. Our invention consists of natural language sentences that describe the business "case". The input of said patent is one of the specific cases that our invention can solve. The parser (word recognition technique) is 15 traditional; it is based on a dictionary. The parser in our invention is automatic and based on rules that do not employ a dictionary. The present invention increases accuracy in a much shorter processing time. U.S. 2013/0097583, in order to achieve complete software design, requires the involvement of a software engineer to design and develop code, supported by the diagrams generated by the invention of the patent. In the present 20 invention, the resulting design is complete and automatic, comprising 100% of the design stated in the descriptive text. The abstraction of the conceptual domain model in the present invention is formal. That is, the design always responds to the same rules and thus, produces predictable results. In U.S. 2013/0097583, the conceptual model is 20% hand-made and case dependent.
U.S. 2011/0239183 discloses a method in which one or more process models are derived from natural language use case models. For example, use of a processor and access to a memory-stored use case model, obtained from natural language text information described using a limited list of predefined words with preassigned meaning, can thereby transform the memory-stored model into a process model according to a predetermined modeling notation. In the present invention, the design is carried out at a functional Architecture Document level, based on unlimited natural language, from which the different types of software design diagrams can be obtained.
Every industry faces the challenge of improving its construction process, the main error factor thereof being the difference between the requester's description ("the case") and what the industry produces (the solution).
Currently, someone who wants to describe "the case" in order to construct a solution based on said description needs:
-An industry analyst to interpret and document. This documentation is performed by the analyst taking notes about the requester's comments regarding "the case".
The analyst then analyzes the documentation and creates some diagrams by applying one of the industry's well-known techniques. When the documents have been sufficiently reviewed, they are submitted to the "case" design stage.
The content of these diagrams depends exclusively on the expert's interpretation and his ability to translate into the aforementioned diagrams specific to each industry.
- An industry designer to design the desired solution based on the analysis and the aforementioned documentation about the described "case." The designer obtains the analysis diagrams and meets with the analyst to seek an explanation that allows him to maximize his correct understanding of the diagrams, based on which he can then design a solution for "the case?' This design is carried out by creating other diagrams, also industry dependent. These diagrams represent new translations of the logic described by the requester into the technical language necessary to build the solution for "the case."
Both the analyst and the designer are professionals that have been trained with the goal of understanding the description of the case and translating it into technical analysis and design languages that can then be interpreted by those who build the solution.
That is to say that several languages are used from the description of "the case" until the beginning of the construction of the related solution (see FIG. 4 The industrial design 30 process):
A_ The language that describes "the case" (intervening role: the requester, who poses the requirements): natural language.
U.S. 2013/0097583 discloses a system and method that provides an automation support tool to guide/help software engineers in creating software products. The system includes input/output, storage, processing and communication devices. The system aids software engineers in identifying and graphically representing the use cases derived from the requirements, actors or entities, systems and subsystems by means of one or more phrases that describe the requirements and the actors or entities involved, as well as 5 generating a domain model and a UML class diagram to visualize the domain model.
The system also allows for creation of expanded use cases, creation of an object interaction model, creation of sequence diagrams, and creation of a design class diagram. Based on the design class diagram, software engineers can produce high-quality computer programs. The system may include or may connect to a diagram 10 generator in order to automatically generate UML (Unified Modeling Language) class diagrams. Unlike the present invention, the inputs of said patent are software requirements written in natural language. Our invention consists of natural language sentences that describe the business "case". The input of said patent is one of the specific cases that our invention can solve. The parser (word recognition technique) is 15 traditional; it is based on a dictionary. The parser in our invention is automatic and based on rules that do not employ a dictionary. The present invention increases accuracy in a much shorter processing time. U.S. 2013/0097583, in order to achieve complete software design, requires the involvement of a software engineer to design and develop code, supported by the diagrams generated by the invention of the patent. In the present 20 invention, the resulting design is complete and automatic, comprising 100% of the design stated in the descriptive text. The abstraction of the conceptual domain model in the present invention is formal. That is, the design always responds to the same rules and thus, produces predictable results. In U.S. 2013/0097583, the conceptual model is 20% hand-made and case dependent.
U.S. 2011/0239183 discloses a method in which one or more process models are derived from natural language use case models. For example, use of a processor and access to a memory-stored use case model, obtained from natural language text information described using a limited list of predefined words with preassigned meaning, can thereby transform the memory-stored model into a process model according to a predetermined modeling notation. In the present invention, the design is carried out at a functional Architecture Document level, based on unlimited natural language, from which the different types of software design diagrams can be obtained.
Every industry faces the challenge of improving its construction process, the main error factor thereof being the difference between the requester's description ("the case") and what the industry produces (the solution).
Currently, someone who wants to describe "the case" in order to construct a solution based on said description needs:
-An industry analyst to interpret and document. This documentation is performed by the analyst taking notes about the requester's comments regarding "the case".
The analyst then analyzes the documentation and creates some diagrams by applying one of the industry's well-known techniques. When the documents have been sufficiently reviewed, they are submitted to the "case" design stage.
The content of these diagrams depends exclusively on the expert's interpretation and his ability to translate into the aforementioned diagrams specific to each industry.
- An industry designer to design the desired solution based on the analysis and the aforementioned documentation about the described "case." The designer obtains the analysis diagrams and meets with the analyst to seek an explanation that allows him to maximize his correct understanding of the diagrams, based on which he can then design a solution for "the case?' This design is carried out by creating other diagrams, also industry dependent. These diagrams represent new translations of the logic described by the requester into the technical language necessary to build the solution for "the case."
Both the analyst and the designer are professionals that have been trained with the goal of understanding the description of the case and translating it into technical analysis and design languages that can then be interpreted by those who build the solution.
That is to say that several languages are used from the description of "the case" until the beginning of the construction of the related solution (see FIG. 4 The industrial design 30 process):
A_ The language that describes "the case" (intervening role: the requester, who poses the requirements): natural language.
4 B. The analysis language of "the case" (intervening role: the industry analyst, who interprets the request and translates it into analysis diagrams): figures that use standard industry notation, handmade drafts, with complementary descriptions expressed in natural language with a design-oriented focus.
5 C. The design language of "the case" (intervening role:
the designer, the architect who interprets the analyst% work and translates it into design diagrams):
architectural figures, plans, and diagrams specific to the industry of use, which represent the design of the solution.
The person who requires that a certain solution be designed (the requester) is usually not an expert designer of the specific industry, and thus, would not be able to construct the solution on his own. He needs the industry analyst and the industry designer to properly interpret his requirements and capture them in the solution design for 'The case." It so happens that this is impossible in practice because the requester does not understand the design language (architect, civil engineer, book designer, software designer, among other applications), and thus does not have control over the resulting design in order to ensure that a solution for "the case" he described will be constructed. Herein lies the greatest sham of the deviation from the description ("the case") and the actual construction (the solution), because there is normally a distortion in the conception of the meaning due to the change in languages, as shown in FIG. 1. As a consequence, the requester receives a design and a resulting product (a house, a piece of software, a piece of furniture, a book, etc.) that are not perfectly adjusted to his needs.
The industry is constantly making an effort to increase the degree of convergence between the solutions and the requesters' descriptions of their needs. These efforts are focused on improving current methods, by training experts or improving the tools used in their work, without replacing their participation in the handcrafted process of interpreting and structuring the aforementioned descriptions.
This approach to handling the technical problem necessarily produces multiple interpretations of the requirements, because the translation of the language used by the requester (natural language) into the language used by the analysts and designers (technical languages) entails a transformation resulting in a loss of knowledge, which nobody can control precisely.
In the present invention, in order to completely describe "the case," it is enough to use sentences structured in natural language. It is not necessary to translate the aforementioned sentences by hand into diagrams with technical graphical notation to enable comprehension and transmission of the knowledge contained in the description.
5 These diagrams are generated automatically from natural language by the tool.
The differences between what currently exists and the invention are shown in the following table (FIG. 4 The industrial design process) Stage Substage What currently exists The invention Language Method Language Method Intellectual Natural Requester's Natural Requester's Interpretation Language interpretation of the Language interpretation and (1,8) Semantics reality of the problem_ analysis of the reality of the problem.
Description in Natural Requester's formulation Natural Industry analyst's Natural Language and/or description of Language formulation and/or Language Grammar and the problem.
Syntax description of the (1.10) problem.
Intellectual Natural Industry analyst's Interpretation language interpretation of the (1.11) Semantics analysis of the problem, based on the previous description.
Intellectual Semantics and Industry analyst's Stage solved automatically by the Analysis Semiotics of analysis and graphical machine.
(1.13) Industrial and/or textual Language based representation of the on the industry's result.
2 RI analysis standards.
Intellectual Semantics of Industry designer's Natural Direct and Creation of Natural creation of a Language automatic the conceptual Language and conceptual design. This inference design semiotics of the design represents the performed by the (1.15.) conceptual meaning of the conceptual design design. analysis.
machine (1.21.) based on the description in natural Language (1.10).
Intellectual Semantics and Industry designer's Natural Direct and Creation of Semiotics of creation of an industrial Language automatic the conceptual Industrial design, based on the inference design Language based conceptual design, performed by the (1.17.) on the industry's using the standard industrial design design symbols defined by the machine (1.22.) standards, industry of use. based on the z tar) description in rfl tr-,' natural Language (1.10).
the designer, the architect who interprets the analyst% work and translates it into design diagrams):
architectural figures, plans, and diagrams specific to the industry of use, which represent the design of the solution.
The person who requires that a certain solution be designed (the requester) is usually not an expert designer of the specific industry, and thus, would not be able to construct the solution on his own. He needs the industry analyst and the industry designer to properly interpret his requirements and capture them in the solution design for 'The case." It so happens that this is impossible in practice because the requester does not understand the design language (architect, civil engineer, book designer, software designer, among other applications), and thus does not have control over the resulting design in order to ensure that a solution for "the case" he described will be constructed. Herein lies the greatest sham of the deviation from the description ("the case") and the actual construction (the solution), because there is normally a distortion in the conception of the meaning due to the change in languages, as shown in FIG. 1. As a consequence, the requester receives a design and a resulting product (a house, a piece of software, a piece of furniture, a book, etc.) that are not perfectly adjusted to his needs.
The industry is constantly making an effort to increase the degree of convergence between the solutions and the requesters' descriptions of their needs. These efforts are focused on improving current methods, by training experts or improving the tools used in their work, without replacing their participation in the handcrafted process of interpreting and structuring the aforementioned descriptions.
This approach to handling the technical problem necessarily produces multiple interpretations of the requirements, because the translation of the language used by the requester (natural language) into the language used by the analysts and designers (technical languages) entails a transformation resulting in a loss of knowledge, which nobody can control precisely.
In the present invention, in order to completely describe "the case," it is enough to use sentences structured in natural language. It is not necessary to translate the aforementioned sentences by hand into diagrams with technical graphical notation to enable comprehension and transmission of the knowledge contained in the description.
5 These diagrams are generated automatically from natural language by the tool.
The differences between what currently exists and the invention are shown in the following table (FIG. 4 The industrial design process) Stage Substage What currently exists The invention Language Method Language Method Intellectual Natural Requester's Natural Requester's Interpretation Language interpretation of the Language interpretation and (1,8) Semantics reality of the problem_ analysis of the reality of the problem.
Description in Natural Requester's formulation Natural Industry analyst's Natural Language and/or description of Language formulation and/or Language Grammar and the problem.
Syntax description of the (1.10) problem.
Intellectual Natural Industry analyst's Interpretation language interpretation of the (1.11) Semantics analysis of the problem, based on the previous description.
Intellectual Semantics and Industry analyst's Stage solved automatically by the Analysis Semiotics of analysis and graphical machine.
(1.13) Industrial and/or textual Language based representation of the on the industry's result.
2 RI analysis standards.
Intellectual Semantics of Industry designer's Natural Direct and Creation of Natural creation of a Language automatic the conceptual Language and conceptual design. This inference design semiotics of the design represents the performed by the (1.15.) conceptual meaning of the conceptual design design. analysis.
machine (1.21.) based on the description in natural Language (1.10).
Intellectual Semantics and Industry designer's Natural Direct and Creation of Semiotics of creation of an industrial Language automatic the conceptual Industrial design, based on the inference design Language based conceptual design, performed by the (1.17.) on the industry's using the standard industrial design design symbols defined by the machine (1.22.) standards, industry of use. based on the z tar) description in rfl tr-,' natural Language (1.10).
6 Given a description of the reality for which a specific industrial design is desired, based on what said description represents, the system structures the natural language descriptions, thereby guaranteeing the storage of the entirety of the linguistic components of "the case" in an interconnected and coherent way from a semantic perspective. It also automatically constructs Functional Architecture Documents that are useful in multiple industrial applications.
The present invention demonstrates the use of Functional Architecture Documents and their components to construct Software Design applications.
In the present invention, mentions of "the case" refer to a reality problem for which we want to build a software application that allows a computer to process its logic. Thus, the software industry of "the case" faces the challenge of improving software construction projects, the main error factor thereof being the difference between the requester's description (the problem) and what "the case" solves (the solution).
15 Currently, someone who wants to describe "the case" based on which to build a software solution needs:
- a systems analyst to interpret and document. This documentation is produced by the analyst taking gathering notes about the client's comments regarding the "the case". The analyst then analyzes the documentation and creates some diagrams by applying one of the industry's well-known techniques (UNIL diagrams, flow diagrams, process diagrams). When the documents have been sufficiently reviewed, they are submitted for the "case" design stage. The content of these diagrams depends exclusively on the analyst's interpretation and his ability to translate into the aforementioned diagrams.
- A software designer to design said software, which must allow for automated capture of data generated throughout the described "case". The designer obtains the analysis diagrams and meets with the analyst to seek an explanation that allows him to maximize his correct understanding of the diagrams, based on which he can then design "the case". This design is carried out by creating other diagrams, such as database diagrams (to store the system data), screen diagrams (where data uploads, searches and processing will be performed), functional logic diagrams of "the case"
The present invention demonstrates the use of Functional Architecture Documents and their components to construct Software Design applications.
In the present invention, mentions of "the case" refer to a reality problem for which we want to build a software application that allows a computer to process its logic. Thus, the software industry of "the case" faces the challenge of improving software construction projects, the main error factor thereof being the difference between the requester's description (the problem) and what "the case" solves (the solution).
15 Currently, someone who wants to describe "the case" based on which to build a software solution needs:
- a systems analyst to interpret and document. This documentation is produced by the analyst taking gathering notes about the client's comments regarding the "the case". The analyst then analyzes the documentation and creates some diagrams by applying one of the industry's well-known techniques (UNIL diagrams, flow diagrams, process diagrams). When the documents have been sufficiently reviewed, they are submitted for the "case" design stage. The content of these diagrams depends exclusively on the analyst's interpretation and his ability to translate into the aforementioned diagrams.
- A software designer to design said software, which must allow for automated capture of data generated throughout the described "case". The designer obtains the analysis diagrams and meets with the analyst to seek an explanation that allows him to maximize his correct understanding of the diagrams, based on which he can then design "the case". This design is carried out by creating other diagrams, such as database diagrams (to store the system data), screen diagrams (where data uploads, searches and processing will be performed), functional logic diagrams of "the case"
7 (which represent the logic of the problem to be solved), architecture diagrams (which define the internal organization of "the case" in order to function effectively, reliably and sustainably: client-server, SOA: Services Oriented Architecture, among others). These diagrams represent new translations of the logic described by the requester into the technical language necessary to build the solution for "the case".
Both the analyst and the designer are professionals that have been trained with the goal of understanding the description of the case and translating it into technical analysis and design languages that can then be interpreted by those who develop the application.
FIG. 1 shows a diagram comparing the prior art and the present invention, regarding the language used in each of the stages of "case" understanding and translation from the beginning of its description until software design. In the prior art, the following languages are used:
A. The language that describes "the case" (intervening role: the user, who poses the requirements): natural language B. The analysis language of "the case" (intervening role: the systems analyst, who interprets the user's request and translates it into analysis diagrams): data flow charts, analysis use cases, along with the complementary descriptions expressed in natural language with a design-oriented focus.
C. The design language of "the case" (intervening role: the designer, the architect who interprets the analyst's work and translates it into design diagrams):
diagrams (currently mostly in UML) which represent the functional design of the application; database diagrams that represent the design of the database that will store user data; architectural diagrams that represent the layered architecture of the application to be built The type of user that needs designed custom-made software is ordinarily not a software designer nor a software development engineer, and thus, would not be able to build it on his own. He needs the analyst and the designer to properly interpret his requirements and capture them into the resulting design of "the case".
Both the analyst and the designer are professionals that have been trained with the goal of understanding the description of the case and translating it into technical analysis and design languages that can then be interpreted by those who develop the application.
FIG. 1 shows a diagram comparing the prior art and the present invention, regarding the language used in each of the stages of "case" understanding and translation from the beginning of its description until software design. In the prior art, the following languages are used:
A. The language that describes "the case" (intervening role: the user, who poses the requirements): natural language B. The analysis language of "the case" (intervening role: the systems analyst, who interprets the user's request and translates it into analysis diagrams): data flow charts, analysis use cases, along with the complementary descriptions expressed in natural language with a design-oriented focus.
C. The design language of "the case" (intervening role: the designer, the architect who interprets the analyst's work and translates it into design diagrams):
diagrams (currently mostly in UML) which represent the functional design of the application; database diagrams that represent the design of the database that will store user data; architectural diagrams that represent the layered architecture of the application to be built The type of user that needs designed custom-made software is ordinarily not a software designer nor a software development engineer, and thus, would not be able to build it on his own. He needs the analyst and the designer to properly interpret his requirements and capture them into the resulting design of "the case".
8 It so happens that this is impossible in practice because the requester does not understand the design language, because of which he does not have control over the resulting design in order to ensure that "the case" he requested will be constructed.
5 Herein lies the greatest share of deviation between the request (the problem) and the actual construction (the solution). That is, consequently, the requester would receive a design and a resulting product (a piece of software) that is not usually adjusted perfectly to his requirements, modifications or subsequent changes (which in some cases can take more time or be more complex and more expensive than had been initially expected).
The industry is making an important effort to reach a solution to this problem with CASE (Computer Aided Software Engineering) Tools. However, these tools do not function with natural language, and thus present several of the previously described limitations.
This approach to handling the technical problem necessarily produces multiple interpretations of the problem, because the translation between the language used by the user or client familiar with the process (natural language) and the language used by analysts and designers (technical languages) entails a transformation resulting in a loss of knowledge, which nobody can control precisely.
The present invention employs natural language as the only language for the description, analysis and design of the software solution, thereby minimizing a loss of knowledge that would lead to a distortion in the result.
25 Unlike the prior art, the present invention allows for complete description of "the case"
using simple sentences in natural language. Unlike the prior art, the present invention does not require the translation of said sentences into diagrams with technical graphical notation in order to understand and transmit the knowledge of the process.
Instead, said diagrams are generated automatically by the present invention based on natural 30 language, using a single deterministic model that identifies the conceptual components of language, by applying analytical rules that implement the functional logic of said model.
5 Herein lies the greatest share of deviation between the request (the problem) and the actual construction (the solution). That is, consequently, the requester would receive a design and a resulting product (a piece of software) that is not usually adjusted perfectly to his requirements, modifications or subsequent changes (which in some cases can take more time or be more complex and more expensive than had been initially expected).
The industry is making an important effort to reach a solution to this problem with CASE (Computer Aided Software Engineering) Tools. However, these tools do not function with natural language, and thus present several of the previously described limitations.
This approach to handling the technical problem necessarily produces multiple interpretations of the problem, because the translation between the language used by the user or client familiar with the process (natural language) and the language used by analysts and designers (technical languages) entails a transformation resulting in a loss of knowledge, which nobody can control precisely.
The present invention employs natural language as the only language for the description, analysis and design of the software solution, thereby minimizing a loss of knowledge that would lead to a distortion in the result.
25 Unlike the prior art, the present invention allows for complete description of "the case"
using simple sentences in natural language. Unlike the prior art, the present invention does not require the translation of said sentences into diagrams with technical graphical notation in order to understand and transmit the knowledge of the process.
Instead, said diagrams are generated automatically by the present invention based on natural 30 language, using a single deterministic model that identifies the conceptual components of language, by applying analytical rules that implement the functional logic of said model.
9 Structuring the description in simple sentences, based on a predefined hierarchy of concepts, ensures the completeness of said description and enables high-quality software designs to be inferred automatically.
With the aim of facilitating understanding of the present invention and enabling easy distinction between the present invention and what is available in the prior art, the following comparison table is presented:
Prior art Present invention Stage Language Method Language Method e Formulation induced to achieve Natural Language Analysts free Natural Language completeness and la {14 formulation quality through use -c act of questions so I) Ci so Requirements Induced Analysis, formulation Interpretation and Flow Diagrams, through precise handcrafting at the G/5 UML Diagrams Natural Language prompts in order to analyst's discretion (analysis use identify the SC.) = ea* cases), requirements es Process Diagrams Database Diagrams, Direct and UML Diagrams automatic (state diagrams, Interpretation and inference of the a class diagrams, free handcrafting "case" designs implementation at the designer's Natural Language Q.) based on the Piz use cases), discretion Screen Diagrams, components of the Architectural step sentences Diagrams rID
Current prior art states that software is designed by hand or partially by hand, which by its nature poses the following problems:
Ambiguity in interpreting system requirements, high cost of fixing design errors, difficulties in design scaling and development, and outdated documentation, among others. The present invention overcomes these difficulties by being based on a totally automated and industrializable process, thereby achieving conceptual precision, producing scalable evolving designs, producing automatically updated documentation, and reducing software design costs significantly.
4. Glossary Sentence: the smallest possible syntactic formation, capable of conveying a statement or expressing the content of a logical proposition.
Simple sentence: That which contains a single verb.
Complete simple sentence: from the point of view of the invention: a sentence that explicitly answers all the stated questions.
Natural language: Natural language is what we call the spoken or written language used by humans for general communication purposes.
Functional requirement: As defined in requirements engineering, functional requirements determine the system's behavior. A Global functional requirement groups other more detailed functional requirements related to the behavior of the system itself Class diagram: Diagrams which show the different classes that comprise a system and the relationships between each other. They also show the classes, along with their methods and attributes, as well as their interrelationships.
Universe of the case: The collection of definitions and concepts surrounding "the ease".
Compound nouns: Nouns that are made up of more than one word. For example:
price list, document number.
+: in the present document, it means "to concatenate", to join or add text.
Eligible language: Since different languages can be used to describe "the case," it is possible to state each of them with their respective syntactic and grammatical structures.
Concatenate: Given one or more words, concatenation means joining them into a single 5 phrase, separated by spaces. Example: "the," "house." Concatenation of the two words yields: "the house."
Base Rule: in the present invention, a base rule is a behavioral structure defined by a question, the purpose of which is to describe the morphosyntactic sequence of the words
With the aim of facilitating understanding of the present invention and enabling easy distinction between the present invention and what is available in the prior art, the following comparison table is presented:
Prior art Present invention Stage Language Method Language Method e Formulation induced to achieve Natural Language Analysts free Natural Language completeness and la {14 formulation quality through use -c act of questions so I) Ci so Requirements Induced Analysis, formulation Interpretation and Flow Diagrams, through precise handcrafting at the G/5 UML Diagrams Natural Language prompts in order to analyst's discretion (analysis use identify the SC.) = ea* cases), requirements es Process Diagrams Database Diagrams, Direct and UML Diagrams automatic (state diagrams, Interpretation and inference of the a class diagrams, free handcrafting "case" designs implementation at the designer's Natural Language Q.) based on the Piz use cases), discretion Screen Diagrams, components of the Architectural step sentences Diagrams rID
Current prior art states that software is designed by hand or partially by hand, which by its nature poses the following problems:
Ambiguity in interpreting system requirements, high cost of fixing design errors, difficulties in design scaling and development, and outdated documentation, among others. The present invention overcomes these difficulties by being based on a totally automated and industrializable process, thereby achieving conceptual precision, producing scalable evolving designs, producing automatically updated documentation, and reducing software design costs significantly.
4. Glossary Sentence: the smallest possible syntactic formation, capable of conveying a statement or expressing the content of a logical proposition.
Simple sentence: That which contains a single verb.
Complete simple sentence: from the point of view of the invention: a sentence that explicitly answers all the stated questions.
Natural language: Natural language is what we call the spoken or written language used by humans for general communication purposes.
Functional requirement: As defined in requirements engineering, functional requirements determine the system's behavior. A Global functional requirement groups other more detailed functional requirements related to the behavior of the system itself Class diagram: Diagrams which show the different classes that comprise a system and the relationships between each other. They also show the classes, along with their methods and attributes, as well as their interrelationships.
Universe of the case: The collection of definitions and concepts surrounding "the ease".
Compound nouns: Nouns that are made up of more than one word. For example:
price list, document number.
+: in the present document, it means "to concatenate", to join or add text.
Eligible language: Since different languages can be used to describe "the case," it is possible to state each of them with their respective syntactic and grammatical structures.
Concatenate: Given one or more words, concatenation means joining them into a single 5 phrase, separated by spaces. Example: "the," "house." Concatenation of the two words yields: "the house."
Base Rule: in the present invention, a base rule is a behavioral structure defined by a question, the purpose of which is to describe the morphosyntactic sequence of the words
10 that comprise the answer to said question.
DO: means direct object. In the present invention, it refers to the noun words that appear in What questions and follow a transitive verb.
15 5. Brief description of the figures FIG. 1 Shows the process of natural language transformation of the present invention.
FIG. 2 Shows the stages of the process of the present invention, in order to obtain Functional Architecture Documents.
20 FIG. 3 Shows the system of the present invention.
FIG. 4 Shows the stages of the process of the present invention, in order to obtain Software Design Documents.
FIG. 44. Shows stage A.
FIG. 4A1. Shows MAS metamodel.
25 FIG. 4A2. Shows a Morphosyntactic Rule.
FIG. 4A3. Shows a case of MAS Metamodel application.
FIG. 4B. Shows stage B.
FIG. 4C. Shows stage C.
FIG. 4D. Shows stage D.
30 FIG. 4E. Shows stage E.
FIG. 4E1. Shows the ftmctional logic of the Processor 150, configured as an Automatic Sentence Analyzer 151.
FIG. 4F. Shows stage F.
FIG. 4F1. Shows a Functional Architecture diagram.
FIG. 46. Shows stage G.
FIG. 4G1. Shows the functional logic of the Processor 150, configured as an Automatic 5 Software Designer 152.
FIG. 462. Shows stage 4G2 FIG. 4G2A. Shows the example of the FX step FIG. 462B. Shows the example of the CC step FIG. 4G3. Shows stage 4G3 10 FIG. 4G3A. Shows the example of the QS step FIG. 4H. Shows stage H.
FIG. 41. Shows stage I.
FIG. 411. Shows a software design diagram.
FIG. 412. Shows the structure of a business document.
15 FIG. 413. Shows the structure of an analysis document.
FIG. 5. Shows the example of class design.
FIG. 6 Refers to the graphical notation that is to be used in the Functional Architecture diagrams.
FIG. 7 Refers to the graphical notation for software design documents.
6. Detailed description of the invention The present invention provides a solution to the previously cited problems, by means of a method, implemented by a computer and a visual device, for generation of software design specification documents from requirements expressed in natural language phrases that describe a case, which are stored in knowledge bases. These phrases allow for modeling design components that are subsequently transformed and visualized as class diagrams for software design. The device can be adapted to interact with a processor.
Initially, as described in FIG. 4, the process begins with the description of "the case" in natural language. In order to perform said description in the present invention, it is necessary to establish beforehand which language will be used in the description, including its grammatical and syntactic features, such as the adjectival sequence that describes whether the adjective is located before or after the noun, and the list of words that comprise the language's articles, among others.
In order to describe "the case" in any language that possesses defmed syntactic structure and grammar rules, a system such as the one described in FIG. 3 is used to input the description of "the case" in natural language by means of an Input/Output Device120.
The input texts are transferred into the main memory for later use by the Processor 150.
The processor is configured to analyze, design and generate documents automatically.
The results of each processing function are stored in the Database Memory 130.
The components of the system 100 from FIG. 3 are described below:
1. Input/Output device 120: the device through which the natural language texts are captured. It allows a processor to employ display media (screens, projectors, televisions, printers, monitors, mobile devices, among others) to show structures in which the user can enter "the case" description data and display the resulting documents, using the following configurations:
a. Language User Interface 121: a visual structure that allows the user to choose the language and upload its grammatical and syntactical features, which are then stored in the Database Memory 130.
b. Case User Interface 122: a visual structure that allows the user to upload the simple sentences that describe "the case," which are then stored in the Database Memory 130. This structure also allows the user to interact with the functions of the Processor 150 configured as an Automatic Sentence Analyzer 151 and as an Automatic Software Designer 152.
c. Formats, Graphical Notation and STD Sentences User Interface 123: in one embodiment of the invention, the user is presented with this visual structure, which allows him to add or modify the formats, graphical notations and STD sentences available in the Static Database Memory 160, for the preparation of business, analysis and design documents built by the Processor 150 configured as an Automatic Document Generator 153.
d. Document Display User Interface 124: a structure that allows the user to access the documents generated by the Processor 150 configured as an 5 Automatic Document Generator 153.
2. CPU 110: the processing device of the system 100. This device is designed to carry out all of the natural language processing functions for automatic design generation and contains the main memory that allows for exchange between said functions and the other components of the system.
a. Main Memory 140: volatile storage device used to exchange information between the input/output device, the database memory and the processor.
It carries out the following functions according to its configuration:
i. Diagrams 141: the configuration of the Main Memory that enables document processing by the Processor 150 configured as an Automatic Document Generator 153, by using the Formats, Graphical Notations and STD Sentences 163 stored in the Static Database Memory 160.
ii. Sentence Matrix 142: the configuration of the Main Memory that enables processing of simple sentences by the Processor 150 configured as an Automatic Sentence Analyzer 151, by using the MAS Metamodel 161, the Languages, Words and Morphosyntactic Rules 162 stored in the Static Database Memory 160.
FC Matrix 143: the configuration of the Main Memory that enables processing of the functional components by the Processor 150 configured as an Automatic Sentence Analyzer 151, by using the MAS Metamodel 161, the Lang _______________________________________________________________________________ _______ ages, Words and Morphosyntactic Rules 162 stored in the Static Database Memory 160.
iv. DC Matrix 144: the configuration of the Main Memory that enables processing of the design components by the Processor 150 configured as an Automatic Software Designer 152, by using the MAS Metamodel 161, the Languages, Words and Morphosyntactic Rules 162 stored in the Static Database Memory 160.
b. Processor 150: the device in which processing and exchange tasks are carried out. It carries out the following functions depending on its configuration:
i. Automatic Sentence Analyzer 151: the configuration of the Processor that is mainly tasked with automatically generating the functional components from the simple sentences, and sending 10 them to the Dynamic Database Memory 170 for storage.
ii. Automatic Software Designer 152: the configuration of the Processor that is mainly tasked with automatically generating the design components from the simple sentences, and sending them to the Dynamic Database Memory 170 for storage.
iii. Document Generator 153: the configuration of the Processor that is mainly tasked with automatically generating the design components from the simple sentences, and sending them to the Dynamic Database Memory 170 for storage.
3. Database Memory 130: a permanent memory that stores the data uploaded by the user and generated by the Processor 150 in its various configurations. This memory possesses two storage configurations: one static configuration and one dynamic configuration. The static configuration stores the necessary fixed data that are uploaded for one-time processing and are not specific to "the case."
The dynamic configuration stores the data specific to "the case" that are uploaded for 25 each case.
a. Static Database Memory 160:
i. MAS Metamodel 161: the configuration of the Database Memory 130 that contains the rules of formal logic at a high level of abstraction that give rise to the Morphosyntactic Rules that are stored in the Languages, Words and Morphosyntactic Rules structure 162 of the Database Memory 130.
ii. Languages, Words and Morphosyntactic Rules 162: the configuration of the Database Memory 130 that contains the features of the eligible languages, the special words of each eligible language and its Morphosyntactic Rules.
iii. Formats, Graphical Notations and STD Sentences 163: the configuration of the Database Memory 130 that contains the Formats that apply to the documents, the graphical notation that applies to the diagrams and the STD Sentences necessary for the preparation of analysis documents.
10 b. Dynamic Database Memory 170:
i. Simple Sentences Questions 171: the configuration of the Database Memory 130 that contains the Simple Sentences uploaded by the user and the answers to the questions When, Who, What, How and Where that correspond to each Simple 15 Sentence.
ii. Functional Components 172: the configuration of the Database Memory 130 that contains the Functional Components generated automatically by the Processor 150 configured as an Automatic Sentence Analyzer 151.
iii. Design Components 173: the configuration of the Database Memory 130 that contains the Design Components generated automatically by the Processor 150 configured as an Automatic Software Designer 152.
In using the system described above, the present invention carries out the sequence of stages described in FIG. 4 and also below:
Stage A.
Using the Input/Output Device 120 to upload the MAS Metamodel 161 into the logical structure of the MAS metamodel 161 of the Static Database Memory 30 160.
Stage B. Using the Language User Interface 121 of the display device 120 to enter the eligible languages, the grammatical and syntactical features of each eligible language and to store those data in the logical structure of Languages, Words and Morphosyntactic Rules 162 of the Static Database Memory 160;
5 Stage C. Using the Case User Interface 122 of the display device 120 to enter the description of the case" as text in one of the natural languages selected from the list of eligible languages from Stage B. Identifying the steps of "the case" and then storing them in the logical structure of Simple Sentences and Questions 171 of the Dynamic Database Memory 170;
10 Stage D. Identifying the simple sentences and the mathematical moments of "the case" that correspond to the steps based on Stage C and using the Case User Interface 122 of the display device 120 to upload them and then storing them in the logical structure of Simple Sentences and Questions 171 of the Dynamic Database Memory 170.
15 Stage E. Automatically identifying the functional and mathematical components (it should be understood that a functional component corresponds to each word of the sentence extracted and automatically characterized by the Processor 150) of the simple sentences based on Stage D, with a Processor 150 configured as an Automatic Sentence Analyzer 151 that functions according to the logical structure in the MAS
Metamodel 20 161 uploaded in Stage A. The Processor 150 continues to store said functional components temporarily in the logical structure of the FC Matrix 143 of the Main Memory 140. These components are finally stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170;
Stage F. Automatically identifying the design components of "the case" based on 25 the functional and mathematical components from Stage E. It should be understood that a design component refers to each software design model that corresponds to a functional and mathematical component generated automatically by the Processor 150.
The design components are created using a Processor 150 configured as an Automatic Software Designer 152, which in one embodiment of the invention functions according 30 to the logical structure in the MAS Metamodel 161 uploaded in Stage A.
The Processor 150 continues to store said design components temporarily in the logical structure of the DC Matrix 144 of the Main Memory 140. These components are finally stored in the logical structure of Design Components 173 of the Dynamic Database Memory 170;
Stage G. Using the Formats, Graphical Notations and Si]) Sentences User Interface (of the display device 120) to enter the output formats of the business, analysis 5 and design documents, the parameters of standard sentences for the requirements and the graphical notation for design diagrams, and storing them in the logical structure of Formats, Graphical Notations and Si]) Sentences 163 of the Static Database Memory 160;
Stage H. Automatically generating the business documents (a business document 10 is understood to be a step-by-step description, in natural language, of the problem to be solved) from the simple sentences from Stage D, the analysis documents (an analysis document is understood to be a description of the functional requirements of the software to be constructed) based on the functional and mathematical components from Stage E, and the design documents (a design document is understood to be a document 15 that contains the instructions for constructing the software) based on the design components from Stage F, by means of a Processor 150 configured as a Document Generator 163, using the Formats, Graphical Notations and STD Sentences defined in Stage G;
Stage I. Automatically generating the Functional Architecture documents (a 20 functional architecture document is understood to be a graphical diagram that structures the meaning of the natural language text in summary form by representing the essential concepts of the meaning) based on the functional and mathematical components from Stage E, by means of a Processor 150 configured as a Document Generator 163, using the graphical notation defined specifically for this type of Document.
The stages of the process are described in detail below:
Stage A. Uploading the MAS Metamodel In this stage, the INAS Metamodel and its axiomatic principles are described in detail.
This Metamodel is used to establish the behavior of the Processor 150 in its configuration as an Automatic Sentence Analyzer 151.
FIG. 4A1 shows a class model, according to the Object-Oriented paradigm, that represents the rules that this Metamodel defines in order to model the logic for interpretation of natural language. These rules are used as the base Morphosyntactic Rules that the Processor 150, configured as an Automatic Sentence Analyzer 151, used 5 to generate the functional components in Stage D.
In this stage, the MAS Metamodel is created by the following substages (FIG.
4A):
Substage Al. Storing MAS Metamodel In this substage, the logic of the MAS Metamodel 161 is uploaded to the Static 10 Database Memory 160.
This logic establishes that every word contained in a natural language description is a Word 161-1. When the word is a transitive verb, two new words are automatically defined: a Performer Word 161-2, the name of which is the transitive verb plus the agentive suffix "ER" and a Performable Word 161-3, the name of which is the transitive 15 verb plus the suffix "BLE". The transitive verb is a Performance Word 161-4 which has a relationship 161-5 with the Performer Word 161-2 and another relationship 161-3 with the Performable Word 161-3.
The Words 161-1 are related to each other in such a way that a word that is not a transitive verb can establish an inheritance relationship 161-9 with a Performer Word 20 161-2 and/or an inheritance relationship 161-8 with a Performable Word 161-3.
Each Word 161-1 can define an inheritance relationship 161-0 with another Word 1. Each Word 161-1 can define an association relationship 161-7 with another Word 161-1.
The use of the options offered by the MAS Metamodel depends on the morphosyntax of 25 the sentence being processed in Stage D.
In this way, all words in a description, as a whole, can be represented by this metamodel, which defines an axiomatic rule for the language, given that it is fulfilled in all cases and represents the basis on which to model any morphosyntactic rule of any 30 language.
Substage A2. Storing the MAS logic for Morphosyntactic rules.
In this substage, the logic of the MAILS Metamodel is uploaded to the Static Database Memory 161. Said logic defines a method for characterizing natural language words in order to determine their meaning in different functional application contexts.
The 5 structures that deal with the form and syntax of natural language are called morphosyntactic structures.
In the present invention, a collection of guidelines for handling natural language is considered a Morphosyntactic rule. Such a rule is composed of the guidelines for 10 handling text that define: a) Question logic: to which question (When, Who, What, How, Where) the word within a simple sentence belongs, b) Step type logic:
what type of verb comprises the What question (FX, CC, QS, L, F) and c) Word logic: what type of word it is. The type of a word is determined by its grammatical characterization as verb (VERB), noun (NOUN), preposition (PREP), article (ART), conjunction (CONJ), 15 adverb (ADV).
An identifier is defined for each Morphosyntactic rule. The identifier of a Morphosyntactic rule is composed by concatenating the types of the words that make up the sentence, except for types Performer, Performable and Performance. It may be, for 20 example, ART-NOUN-VERB-ART-PREP-NOUN, for a sentence that is made up of a sequence of words with the following types: article, noun, verb, article, preposition, noun. These types of words can be handled in general, or can refer to specific words of its type. For example, the Rule VERB(is)-PREP-NOUN indicates that the sentence that this rule applies to contains a verb, and specifically the word "is" within the word type VERB, followed by any preposition PREP and then any noun NOUN. This rule would apply to the following sentences: is a monkey, is a moon.
That is to say that for every simple sentence there is a Morphosyntactic Rule that defines its structure as a function of the types of words that comprise it.
Given a simple sentence, before the corresponding Morphosyntactic Rule identifier is composed, the Processor 150 configured as an Automatic Sentence Analyzer 151, excludes the special words uploaded in Substage B2, articles conjunctions and prepositions, from the sentence. It then searches the Static Database Memory 160 for the Morphosyntactic rules within the Languages, Words and Morphosyntactic Rules 162 configuration. Once the rule with its corresponding identifier is located, if there is more than one rule with the same corresponding identifier, it searches within this collection for matches for the specific words from the types of words that were excluded during the composition of the rule identifier of the sentence. If there is a match, it assigns the rule that matches the specific excluded word(s). If there is no match, it assigns the general rule.
The MAS Metamodel defines the following base rules from which specific rules for different cases are derived.
Base Rules There are two base rules, with their respective specialties, associated with the What question:
- VERB-NOUN Rule:
o General case: VERB-NOUN Rule 161-12: allows for modeling sentences that have a verb, noun, noun structure.
o Specific case: VERB(is)-NOUN Rule 161-10: allows for modeling sentences that have a verb, noun structure, in which the verb is the verb "to be". This verb is a special verb from the point of view of MAS
Metamodel application.
- VERB-NOUN-PREP-NOUN Rule:
o General case: VERB-NOUN-PREP-NOUN Rule 161-11: allows for modeling sentences that have a verb, noun, preposition, noun structure.
o Specific case: VERB(hold responsible)-NOUN-PREP-NOUN Rule 161-13: allows for modeling sentences that have a verb, noun structure, in which the verb is the verb "to hold responsible". This verb is a special verb from the point of view of MAS Metamodel application.
o Specific case: VERB(link)-NOUN-PREP-NOUN Rule 161-14: allows for modeling sentences that have a verb, noun structure, in which the verb is the verb "to link". This verb is a special verb from the point of view of MAS Metamodel application.
Similarly, there is a base rule to model the Who within the simple sentence:
- NOUN Rule: it is present in all simple sentences and allows for modeling the 5 behavior of the main noun that refers to the subject.
For When, How and Where questions, which do not require mandatory completion, the types of words that appear in the answer are identified and the necessary rule identifiers are generated.
In one embodiment of the invention, the user can add base rules and Morphosyntactic rules, always dependent on the logic of the MAS Metamodel.
Given a simple sentence in natural language, and once the Morphosyntactic rule is located, the Processor 150, configured as an Automatic Sentence Analyzer 151, generates the functional components by applying the guidelines for handling text defined by said rule: a) Questions logic; b) Step type logic and c) Word logic, as shown in FIG. 4A2.
(a) Questions Logic: Determines the belonging question of the words to which the rule is applied It must be noted that a description is a collection of simple sentences that describe a process. Each step of such process is corresponded with one simple sentence derived from the answer to the questions Who, What, Where, How, When.
Step Type Logic: Determines the belonging step type of the words to which the rule is applied Each step can be classified under a Step Type. The Step Type is determined in a rule, by the specific word associated with the Verb within the What question. Every Morphosyntactic Rule is based on the MAS Metamodel, and depending on the specific verb linked to the What question, it can be classified under the following types:
Check/Confirm; Query/Search;
Calculation; Relationship; Functional;
Notification/Alert.
CC Step: (Step that determines the checking/confirmation actions) 5 These are steps in which the verb defines checking or confirmation actions, such as:
check, confirm, restrict, and the like. In this case, the verb is transitive and the noun that follows it is always coupled to a sentence that represents a mathematical logic for the system.
This step type is assigned a VERB-NOUN Morphosyntactic Rule identifier and it adds 10 the mathematical description of the checking/confirmation logic.
Some examples of this type of sentence are: check that the items have a positive inventory (VERB-NOUN; "have positive inventory" is the mathematical logic of confirmation), confirm that the client has a tax ID number (VERB-NOUN; "has a tax ID
number" is the mathematical logic of confirmation), restrict the intake of expired 15 merchandise (VERB-NOUN; "expired merchandise" is the mathematical logic of confirmation).
OS Step (Step that includes query/search actions) These are steps in which the verb defines query or search actions, such as:
search, 20 locate, select, query, indicate, display, show, and the like. In this case, the verb is transitive and the noun that follows it indicates the object of the search/query.
This step type is assigned a VERB-NOUN Morphosyntactic Rule identifier, in which the noun describes the object of the search, which means that the verb applies to a collection of instances of the noun.
25 Some examples of this type of sentence are: query the items (VERB-NOUN), show the balances (VERB-NOUN), display the data (VERB-NOUN), show the results (VERB-NOUN), search the items (VERB-NOUN), locate the spare parts (VERB-NOUN), select the clients (VERB-NOUN).
30 FX Step (Step that includes explicit calculation actions) They are steps in which the verb explicitly defines calculation actions, such as:
calculate, group, average, add, and the like. In this case, the verb is always coupled to a sentence that represents a mathematical logic for the system.
This step type is assigned a VERB-NOUN Morphosyntactic Rule identifier, in which 5 the noun describes the logic of the calculation that the verb denotes.
Some examples of this type of sentence are: calculate the total sales (VERB-NOUN), group the items by color (VERB-NOUN), average last month's cost (VERB-NOUN).
L Step (Step that contains linking actions) They are steps in which the verb defines the linking actions, such as: relate, link, associate, compose, and the like. In this case, the verb is followed by at least two nouns.
The verb can represent any of the following models:
Model 1:
15 This step type is assigned a VERB(link)-NOUN-PREP-NOUN Morphosyntactic Rule identifier, in which the specific verb can be 'link' or any synonym and the preposition, generally 'with', though it may vary.
Some examples of this type of sentence are:
link the items with the prices (VERB(link)-NOUN-PREP-NOUN), link the equipment 20 with the spare parts (VERB(link)-NOUN-PREP-NOUN), associate the taxes with the shares (VERB(link)-NOUN-PREP-NOUN), compose the product with the inputs (VERB(link)-NOUN-PREP-NOUN).
Model 2:
25 This step type is assigned a VERB(hold responsible)-NOUN-PREP-NOUN
Morphosyntactic Rule identifier, in which the specific verb can be "hold responsible" or any synonym and the preposition, generally "for", though it may vary.
Some examples of this type of sentence are: hold the client responsible for the payment (VERB(hold responsible)-NOUN-PREP-NOUN), hold the employee responsible for 30 inventory control (VERB(hold responsible)-NOUN-PREP-NOUN).
Model 3:
This step type is assigned a VERB-NOUN-PREP(a)-NOUN Morphosyntactic Rule identifier, in which the specific preposition can be a, an, or any other preposition.
Some examples of this type of sentence are: measure the item with a unit of measurement (VERB-NOUN-PREP(a)-NOUN), value the item with a list of prices 5 (VERB-NOUN-PREP(a)-NOUN).
F Step (Step that does not correspond to any of the previous types) They are steps in which the verb does not correspond to any of the previous types 10 because it refers to an action that is specific to "the case".
The verb can present any of the following models:
Model 1:
This step type is assigned a VERB-NOUN Morphosyntactic Rule identifier and is used 15 for all of the verbs that are not listed as a specific word in the CC, QS or FX step types, nor in any of the models of this same type.
Transitive verb followed by one or more nouns. For example: Buy an item (VERB-NOUN), Sell fruits (VERB-NOUN), Fix the tools (VERB-NOUN), Solve problems (VERB-NOUN).
Model 2:
This step type is assigned a VERB(is)-NOUN Morphosyntactic Rule identifier, in which the specific verb is "to be". This is a very special verb that describes the nature of the noun.
Some examples of this type of sentence are: is fruit (VERB(is)-NOUN), is a company (VERB(is)-NOUN).
(c) Words Logic: Determines the belonging word type structure of the analyzed sentence and question The Processor 150, configured as an Automatic Sentence Analyzer 151 (FIG.
4E1), carries out the following actions in order to obtain the associated functional components 5 from the words of each simple sentence:
- For the language of "the case" and from the logical structure of the Languages, Words and Morphosyntactic Rules 162 of the Static Database Memory 160, it takes the verb endings (VE) and the list of special words (SW), within which are the list of grouping words (GRW) and the list of excluded words (EXW). It also takes the Moiphosyntactic 10 rules that define the guidelines to be applied from logical structure.
- It takes the simple sentences of "the case", structured in the corresponding questions, from logical structure of the Simple Sentences and Questions 171 of the Dynamic Database Memory 170.
- It assigns a sequential number to each simple sentence of "the case".
15 - For each simple sentence of "the case", and for each question, it takes the words one by one and characterizes them according to word type as follows:
. if the question is How, it compares the endings of each word in the question to the verb endings VE in order to identify the verbs. Once the verbs are identified, it compares the remaining words to the list of special words SW in order to identify prepositions, 20 articles, conjunctions and adverbs. The words that follow the verbs and are not SW are nouns. The words that follow the nouns can be SWs that are members of the grouping words GRW list, in which case the GRW plus the words that immediately precede and follow it constitute a grouped noun. The remaining words That are not SWs are adjectives.
25 . if the question is What, the first word is a verb. Once the verbs are identified, it compares the remaining words to the list of special words in order to identify prepositions, articles, conjunctions and adverbs. If the verb is transitive, the word that follows the verb is not a SW; it is a noun that behaves as a direct object (DO). The words that follow the nouns can be SWs that are members of the grouping words GRW
30 list, in which case the GRW plus the words that immediately precede and follow it constitute a grouped noun. The remaining words that are not SWs are adjectives.
. if the question is Who, it compares the remaining words to the list of special words in order to identify prepositions, articles and conjunctions. The words that follow the nouns can be SWs that are members of the grouping words GRW list, in which case the GRW plus the words that immediately precede and follow it constitute a grouped noun.
5 The remaining words that are not SWs are adjectives.
The IVIAS Metamodel and the Morphosyntactic Rules structure is applied in Substage E4 to identify the fimctional components that are useful in creating Functional Architecture documents, in Substage G6 to generate the software design components, and in Substage H4 to define the graphical notation associated with the software design 10 MAS Metamodel. These substages represent preferred embodiments of the invention in which the transitive verbs of the text of "the case" are handled as defined in Substage Al.
Stage B. Entering the features and the structure of the language 15 In this stage (FIG. 4B), the languages that will be used to describe "the case" in natural language and its morphosyntactic features are defined by means of the following substages:
Substage BL Defining the order of adjectives 20 The order of adjectives refers to the placement of adjectives relative to the noun of a language.
In the input/output device 120, configured as a Language User Interface 121, the appropriate order of adjectives of the language is defined, from the list of available orders of adjectives: Order 1: noun + adjective; Order 2: adjective + noun;
Order 3:
25 modified adjective + modified noun, Order 4: adjective + modified noun, Order 5:
modified adjective + noun. For example, for the English language, the appropriate order of adjectives is adjective + noun.
Substage B2. Uploading the special words In the input/output device 120, configured as a Language User Interface 121, the special 30 words of the language defined in substage B1 are uploaded. The special words are used by the Processor 150, configured as an Automatic Sentence Analyzer 151, to determine which words are to be excluded from the sentence analysis. In the context of the present invention, articles (ART), prepositions (PREP), conjunctions (CONJ) and adverbs (ADV) are considered to be the special words of languages. In the English language, "a"
and "the" are examples of articles, "for" and "with" are examples or prepositions, "and"
and "or" are examples of conjunctions, and "how" and "where" are examples of adverbs.
Substage B3. Uploading the grouping words In the input/output device 120, configured as a Language User Interface 121, the grouping words of the language defined in substage B1 are uploaded. In the present invention, grouping words are special words from those defined in Substage B2 that can link two other words to make a compound word. Such is the case of the word "list of prices", grouped with the word "of'.
Substage B4. Uploading the verb endings In the input/output device 120, configured as a Language User Interface 121, the appropriate verb endings of the !angina I e from Substage B1, that correspond to the fmal syllable of regular verb endings, are uploaded. The verb ending "-ing" is an example for the English language.
Stage C. Entering the description of "the case"
In this stage (FIG. 4C), the case is described in natural language by the following substages:
Substage Cl. Selecting the language for the description of the case In the input/output device 120, configured as a Case User Interface 122, the language in which "the case" will be described is selected. The language is chosen from the list of eligible languages uploaded in Stage B.
Substage C2. Identifying the components that structure the context of "the case"
In one embodiment of the invention, the components that structure the context of "the case" are identified.
This stage deals with the Static Vision and the temporal Dynamic Vision of the Universe of "the case". In Static Vision, the conceptual structure of "the case" is observed from a global perspective, without taking into account what happens as time passes, dividing the concepts into dimensions or major aspects that compose it: layers 5 and resources. In Dynamic Vision, it is observed from the perspective of the events that occur as time passes (temporal activities) and in the order that they occur:
processes, moments and steps.
To structure the description of "the case" in a suggested embodiment of the invention, 10 the layers, resources, processes, subprocesses and moments are identified.
(a) Identifring the layers of "the case"
A layer is understood to be a hierarchy of information that takes part in a process and could be handled independent from the others, which could function in isolation with 15 well differentiated inputs and outputs. For example, these two layers are identified: the data layer (where the input data of a process are structured and accessed) and the calculation layer (where calculations are carried out using said data).
(b) Identifying the resources used in "the case"
20 Resources are the components That are subject to transformation throughout the process and allow for access to other resources, such as the result of the transformation process.
For example, inventory items are resources that are subjected to the sale process.
(c) identifring the processes within "the case"
25 Processes are actions or groups of actions that transfomi the resources.
For example, the process of "marketing inventory items".
(d) Identifying the subprocesses ofeach process of "the case"
Subprocesses are parts of a process that allow for analysis of the process by fragments.
30 For example, "providing a quote" and "sale" can be subprocesses included in the process of "marketing inventory items".
(e) Identifring the Moments of "the case"
In the present invention, moments are partitions of a subprocess that announce the occurrence of an event that is relevant to the subprocess. Fr example, "When the client is interested" is a moment that occurs within the subprocess of "providing a quote".
Substage C3. Identifying the Steps of "the case"
Steps are activities that are carried out at any given moment. Example: the activities at the moment "When the person enters the testing office" might be: Asking for his identification document, Recording the data from said identification document, Performing a search of his 10 family group, Inquiring about his current job.
In order to ensure that the description of "the case" is complete, all of The steps, even those that are generally omitted because they seem obvious, must be included.
Since steps are sentences and their verb determines the action to be performed, they can be classified according to the type of action that the verb denotes and by analyzing the 15 nouns that follow the verb (not including the special words defined in Substage 82:
articles, conjunctions, propositions, and prepositions).
The guidelines for classifying the sentences by Step Type is called the Step Type Logic, as a part of the Morphosyntactic Rules defined in Substage A2 and described below:
CC Step: (Step that contains checking/confirmation actions) 20 These are steps in which the verb defines checking or confirmation actions, such as: Check, Confirm, Restrict, and the like. In this case, the veib is always coupled to a sentence that represents a mathematical logic for the system. Some examples of this type of sentence are:
Check that the items have a positive inventory, Confirm that the client has a tax ID number, Restrict the intake of expired merchandise.
QS Step (Step that includes query/search actions) These are steps in which the verb defines query or search actions, such as:
Search, Locate, Select, Query, Indicate, Display, Show, and the like. In this case, the verb is always followed by a noun or a direct object. Some examples of this type of sentence are: Query the items, Show the balances, Display the data, Show the results, Search the items, Locate the spare pans, Select the clients.
FX Step (Step that includes explicit calculation actions) These are steps in which the verb specifically defines calculation actions, such as:
Calculate, Group, Average, Add, and the like. In this case, the verb is always coupled to a sentence that represents a mathematical logic for the system. Some examples of this type of sentence are: Calculate total sales, Group the items by color, Average last 5 month's cost.
L Step (Step that includes linking actions) These are steps in which the verb defines linking actions, such as: Relate, Link, Associate, Compose, and the like. In this case, the verb is followed by at least two nouns. Some examples of this type of sentence are: Link the items with the prices, Link 10 the equipment with the spare parts, Associate the taxes with the shares, Compose the product with the inputs F Step (Step that does not correspond to any of the previous types) These are steps in which the verb does not correspond to any of the previous types because it refers to an action that is specific to "the case". The verb can represent any of 15 the following models: Model 1: Verb followed by one or more nouns. For example: Buy an item, Sell fruits, Fix the tools, Solve problems. Model 2: A verb that is not followed by a noun. For example: Enter, Exit.
The steps are generally described in the following order 1) F Step, 2) CC
Step, 3) QS
Step, 4) FX Step, 5) L Step.
Stage D. Identifying and storing the simple sentences and the mathematical moments of "the case"
In this stage, the simple sentences of "the case" are listed, taking each paragraph of the description of "the case" and extracting the sentences with only one verb, in order to 25 upload them into the Case User Interface 122 of the Input/Output Device 120. For example, if the descriptive paragraph is: "The item is an inventory item. The person measures the item in a unit of measurement and places the Order, for which he is responsible, and links it to an Order Type", the corresponding simple sentences are:
"'The person measures the item in a unit of measurement", "The person places the 30 Order", "The organization holds the person responsible for the Order", "The item is an inventory item", "The person links the Order to an Order Type."
In freely written texts, there are sentences with implicit subjects, generally separated by conjunctions, within the same paragraph. In that case, the subject is exposed in order to form a complete sentence, with the purpose of converting sentences with implicit subjects into simple sentences with explicit subjects. For example, there is an implied subject in the following sentence separated by the conjunction "and": "The person measures the item in a unit of measurement and places the Order", and is turned into two simple sentences: "The person measures the item in a unit of measurement", "The person places the Order".
In this step, it must be noted that a description is a collection of simple sentences that describe "the case". One simple sentence that is derived from the answer to the questions Who, What, Where, Flow and When corresponds to each step of the process.
Regarding the mathematical components, the present invention is able to identify the mathematical functionality of the text entered, the present method identifies the sentences for each of the components of the required functionality. That is, each mathematical functionality is broken down into several simple sentences. As shown in FIG. 4G2, simple sentences are identified for a mathematical functionality using the five simple questions sentences. For example: the mathematical functionality that allows the calculation of tax withholding in payments, consists of 5 simple sentences.
Once the simple sentences are identified and those with implicit subjects are completed, they are uploaded into the Case User Interface 122 of the Input/Output Device 120.
In this stage (FIG. 4D), the simple sentences of "the case" are identified by the following substages:
Substage Dl. Answering the questions for each step of "the case" for steps of the kind L and F
In this stage, each simple sentence of "the case" is used to answer the questions When, Where, What, How and When.
For each simple sentence stored in the Simple Sentences and Questions Dynamic Database Memory 171, the Processor 150 displays each sentence in the Case User Interface 122 of the Input/Output Device 120, asking the questions Who, What, Where, How and When. For each sentence shown, the user enters the answer, while ensuring that each answer is a constituent part of the meaning of the sentence. In some cases, it may not be possible to answer one or several of the questions.
5 The answers to the aforementioned questions make explicit every part of the simple sentence, which, in a preferred embodiment of the present invention, must be written in the present tense.
The guidelines for classifying the sentences by question type is called the Questions Logic, as a part of the Morphosyntactic Rules defined in Substage A2.
10 Substage D2. Concatenating the answers from each step of the kind L and F
Once the answers to the questions am uploaded, each answer is concatenated in the following order: When, Who, What, How, Where. In this way, the texts of the answers are joined as one simple sentence and stored in the logical structure of the Simple 15 Sentences and Questions 171 of the Dynamic Database Memory 170.
The answers to the aforementioned questions make explicit every part of the simple sentence, which must be written in the present tense.
For example, for the incomplete sentence: "Ask for his identification document", if the 20 previously described method is applied, the result is a simple sentence:
When the person enters, the system operator records the number of the identification document.
Substage DI Identify the mathematical moments of the case With the aim to structure the conceptual mathematical logic of the description of the 25 case, this stage identifies the mathematical components of the phrase used in the case.
For example:
Moment: calculate the tax withholding.
Step 1: Check payments (type QA) 30 Step 2: Add the paid amounts (type FX) Step 3: Consult aliquot (type QS) Step 4: Calculate tax (FX type) Step 5: Validate results (type CC) FIG. 4G2 and FIG. 4G3 show the structure of each step and how the User Interface Case 122 is presented for each type of step.
Substage D4. Answer the questions for each step of "the case" for steps of the kind QS, FX and CC
At this stage, the method of the present invention takes each simple sentence corresponding to a Mathematical Moment of "the case", and the questions When, Who, What, How and Where should be answered for the cases that refer to these types of steps.
For each simple sentence stored in the Simple Sentences and Questions Dynamic Database Memory 171. Processor 150 displays each sentence in the Case User Interface 122 of the Input/Output Device 120, asking the questions Who, What, Where, How and When. For each sentence shown, the user enters the answer, while ensuring that each answer is a constituent part of the meaning of the sentence according to the mathematical content of the step. In some cases, it is possible that one or more of the questions cannot be answered.
When the aforementioned questions are answered, all parts of the simple sentence are made explicit, which, in a preferred embodiment of the present invention, must be written in present tense. In addition to the answer to each question, for mathematical cases, the required specification in each question must be completed for each type of step. This specification links the meaning of each answer to each question with the functional components created from the previous steps, so that when Substeps G2 and G3 are executed, the functional models associated to the mathematical steps have all the necessary elements for the automatic creation of the classes formulaft and dominiocbc.
In the User Interface Case 122-1, simple sentences are entered for the EX step type.
In the User Interface Case 122-2, simple sentences are entered for the CC step type.
In the User Interface Case 122-3, the simple sentences are entered for the QS
step type.
As an example for each type of step QS, FX and CC, the following cases are described below:
5 Example of QS step type:
In this example, each sentence in the Case User Interface 122 is described, for the type of step QS, according to the representation of FIG. 4G3 and details of FIG.
4G3a.
When: Anytime For steps of the type QS, "At any time" refers to the description of when the action will be executed.
Who: The system For steps of the type QS, "The system" is a description of who will execute the action. In all cases, the queries are executed by the system.
What: Check The verb is "Check"
payments "Payments" (OD) is a class created through the step type F.
(date, concept, amount) are attributes of the "payments" class.
In User Case Interface 122-3, in the user interface component 122-31 the user defines the mathematical specificity of what.
The Input/Output device 120 automatically exposes the User interface Case 122, the interface component 122-35 by means of the identification of the "Payment" class, in order to allow the selection of the existing attributes in the "payment" class and their related classes. The words that are in parentheses next to the noun are (number of attributes 8c}.
In this example, the user chooses the following attributes:
date, concept, amount. See Figure FIG. 4G3a How:
Current and Valid" and "non-exempt", both words constitute a description non-exempt of the filter conditions of the query.
For this type of QS step, the "how" represents the conditions of the query.
In the User Interface Case 122-3, in the User Interface Component 122-32, the user defines the mathematical specificity of the "how." Automatically, the Input/Output device 120, from the identification of the class "Payments"
(referenced in the "what"), exposes in the user interface Case 122, the interface component 122-36 to allow the selection of existing attributes in the payments class, its related classes and the mathematical operators needed to specify the description condition in the "How."
In this example, the use choses the following attributes: date, concept, amount. See FIG. 4G3a Where: Payments "Payments that apply" (NOUN) is the name of the class that apply where the results of the query will be stored. That class can exist or not, if it does not exist, it will be created automatically during the execution of Sub-step G3.
In User Interface Case 122-3, in the User Interface Component 122-33, the user defines the mathematical specificity of "where." The infoimation entered in this interface will be automatically solved by the word logic. The Processor 150 will interpret that the words that are in parentheses after the name of the class are existing attributes or attributes that need to be created if they do not exist which belong to an (enumeration of attributes &).
In this example, the Processor 150 will create the following attributes: date, concept, amount. See FIG. 4G3a.
For this kind of step QS, the "when" represents the place where the result will be stored.
Type of result: The kind of value indicates whether the expected result after A value executing the operation will be a single value, or a set of A set of values values.
In the User Interface Case 122-3, in the User Interface Component 122-34, the user defines the type of expected result.
Example of the FX step In this example, each sentence in the Case User Interface 122 is described, for the type of step FX, according to the representation of FIG. 4G2.
When: When saving For steps of the type FX, "When saving" refers to the description of when the action will be executed.
In User Interface Case 122-1, in the User Interface Component 122-11, the user defines the specificity of 'When."
The Input/Output device 120 automatically exposes the User interface Case 122, the interface component 122-15 to allow the selection of one of the available events.
In this example, the user chooses the "when saving" option.
See Figure FIG. 4G2a Who: The system For steps of the type FX, "The system" is a description of who will execute the action. In all cases, the queries are executed by the system.
What: Calculates The verb is "Calculate"
the total "Total taxed" (OD) is a class created through the step type F.
taxed In User Case Interface 122-1, in the user interface component 122-12 the user defines the mathematical specificity of "What." The user enters the name of the class with its attributes in parentheses. This class, pm-existing or not, will receive the value resulting from the total taxed. In this example, the user defines that the invoice. In the taxed amount attribute, the user will receive the result of the calculation. See Figure FIG. 4G2a How: Adding the "Adding the payments that apply,"
is a description of the payments mathematical operation that is executed.
that apply For this type of FX step, the how represents the mathematical action that describes the formula necessary to solve the what.
In User Interface Case 122-1, in the user interface component 122-13 the user defines the mathematical specificity of the how. Automatically the Input/Output device 120, from the class identification Payments that apply, exposes in the User Interface Case 122, the interface component 122-16 to allow the selection of existing attributes and the use of mathematical operators to calculate the total taxed.
In this example, the user chooses to add the amount attribute.
See Figure FIG. 4G2a Type of result: The kind of value indicates whether the expected result after A value executing the operation will be a single value, or a set of A set of values values.
Example of the CC step In this example, each sentence in the Case User Interface 122 is described, for the type of step CC, according to the representation of FIG. 4G2.
When: When saving For steps of the type CC, "When saving" refers to the description of when the action will be executed.
In User Interface Case 122-2, in the User Interface Component 122-21, the user defines the specificity of "When."
The Input/Output device 120 automatically exposes the User interface Case 122, the interface component 122-25 to allow the selection of one of the available events.
In this example, the user chooses the "when saving" option, See Figure FIG. 4G2b Who: The system For steps of the type CC, "The system" is a description of who will execute the action. In all cases, the queries are executed by the system.
What: Validate the The verb is "Validate"
result "Result" (OD) is a class created through the step type F
previously defined or not created at this stage.
In User Case Interface 122-2, the user defines the mathematical specificity of the "What."
The user enters the name of the class with its attributes in parentheses. This class, pre-existing or not, will receive the value resulting from the validation. In this example, the user defines that the resulting class, in the checkvalid attribute, will receive the result of the validation.
See Figure FIG. 4G2b How: Comparing "Comparing the tax with the taxed amount" constitute a the tax with description of the mathematical operation that is executed.
the taxed For this type of step CC, the "how" represents the amount mathematical action that describes the formula necescary to solve the validation.
In the User Interface Case 122-2, in the User Interface Component 122-23, the user defines the mathematical specificity of the "how." Automatically, the Input/Output device 120, from the identification of the nouns of the sentence, exposes in the User Interface Case 122, the interface component 122-27 with the classes with the classes that contain some of those nouns in their name or names of their attributes, to allow the selection of the existing attributes and the use of mathematical operators to detail the comparison of the validation.
In this example, the user chooses to compare Invoice (tax amount) with Total payments (taxed amount). See Figure FIG. 4G2b Type of message In User Interface Case 122-2, in the user interface component 122-28 the user defines the type of message, selecting an option in the user interface component 122-25.
Condition of the In User Interface Case 122-2, in the user interface component message 122-29 the user defmes whether the mese-age will be presented when the result of the validation is true or false.
Message In User Interface Case 122-2, in the user interface component 122-2o the user defines the text of the message that will be presented when the message condition is met.
The guidelines for classifying sentences by question, are called "Question Logics", as part of the Morphosyntactic Rules defined in Sub-Step A2.
5 Substage D5.
Concatenate the responses of each step of the type QS, FX and CC
Once the answers are loaded to the questions, each answer is concatenated in the following order: When, Who, What, How, Where. In this way, the texts of the answers are concatenated in a simple sentence and stored in the Simple Sentences and Questions 10 171 logic structure in the Dynamic Database Memory 170.
Through the answer to the aforementioned questions, all the parts of the simple sentence are explicitly exposed, which must be written in the present tense.
In the case of steps of the type QS, FX and CC, each simple sentence adds a series of 15 additional words to the concatenation, in order to provide sense to each sentence. An example of such competition is illustrated in bold as follows:
The construction of the Simple Sentence for the step QS type cases is:
The system checks payments (date, concept, amount), with the condition in force and non-exempt and stores them in payments that apply (date, concept, amount).
5 The construction of the Simple Sentence for the step FX type cases is:
The system calculates the tax, adding the amounts that apply and stores the result in invoice (tax amount).
The construction of the Simple Sentence for the step CC type cases is:
The system validates the result, comparing invoice with total payments and stores the result in attribute RdoValido (checkvalid).
Stage E.
Identifying and storing the functional and mathematical components.
In the context of the present invention, it must be understood that a functional component corresponds to each of the words of the sentence that were automatically extracted and classified by the Processor 150, according to the grammatical and syntactic structure of the language in which it was expressed.
In this stage (FIG. 4E), the substages for identifying the functional components of the sentence am described.
25 Substage El.
Deconstructing the simple sentence into words and identifying them The functional components generated by the Processor 150 are divided into the following types:
= Noun functional components 30 o Identified in the What -> Noun - Direct Object (DO) o Identified in the Who -> Noun - Person (PER) o Identified in the When -> Noun (NOUN) o Identified in the How -> Noun (NOUN) = Adjective functional components o Identified in any of the questions -> Adjective (AIM) = Verb functional components 5 o Identified in the What -> Verb (VERB) o Identified in the How -> Verb (VERB) = Adverbial functional components o Identified in the How -> Adverb (ADV) 10 The guidelines for structuring the words is called the Words Logic, as a part of the Morphosyntactic Rules defined in Substage A2 and described below:
In this substage, the Processor 150, configured as an Automatic Sentence Analyzer 151, carries out the following actions for each simple sentence of "the case":
15 (a) Listing words.
For every sentence, list each of its words.
(b) identifying the words to be excluded Exclude from functional component selection those words to be excluded as defined in 20 Substage B2; except in the case when such words are part of grouped nouns, such as:
list of prices, box of cookies.
(c) Identiffing the verbs.
Identify verbs by comparing the ending of each word to the list of verb endings defined in Substage B4 or as the first word of the answer to the question What in the simple 25 sentence.
(d) idennfring nouns.
Identify as nouns the words that are not verbs and were not excluded.
30 (e) Tagging nouns as &attribute Some nouns behave like &attributes. An &attribute is understood to be the name of a feature of another noun, which is not an adjective. Regarding the list of identified nouns, the &attributes are selected manually in one embodiment of the invention. In another embodiment, the processor recognizes them automatically when the nouns are listed within parentheses in the text. Example: in the sentence "upload the document number of the client", 'document number' is an &attribute of 'client'.
02 Identifying grouped nouns.
Identify as nouns the grouped nouns when there are two consecutive nouns with a special word in between them that acts as a link.
(g) Mena:6417g the functional components based on the words.
From the list of classified words, the nouns and verbs are identified as functional components and classified as VERB, DO, NOUN, PERSON accordingly, (h) Checking for the previous existence ofeach functional component one by one.
When a new functional component of any type is identified, check if it previously exists. If not, it is created. If if exists, it continues.
Associating the functional components with the question that they answer.
Classify the functional components by type based on the question to which the word belongs:
i. If it belongs to When: the words grouped with a verb are adverbial functional components (ADV).
If it belongs to What: the nouns that follow the verb are functional components of the direct object (DO) type.
iii. If it belongs to Who: the first noun is a person (PERS) functional component.
The Processor 150, configured as an Automatic Sentence Analyzer 151, carries out the following actions, as shown in FI(i 4E1, in order to obtain the associated functional components from the words of each simple sentence:
- For the language of "the case", it takes the verb endings WE), the list of special words (SW), within which are the list of grouping words (GRW), the list of excluded words (EXW), from the logical structure of the Languages, Words and Morphosyntactic Rules 162 of the Static Database Memory 160.
- It takes the simple sentences of "the case", structured in the corresponding questions, from the logical structure of the Simple Sentences and Questions 171 of the Dynamic Database Memory 170.
- It assigns a sequential number to each simple sentence of "the case".
5 - For each simple sentence of "the case", for each question, it takes the words one by one and characterizes them according to word type as follows:
. lithe question is How, it compares the endings of each word in the question to the verb endings VE in order to identify the verbs. Once the verbs are identified, it compares the remaining words to the list of special words SW in order to identify prepositions, 10 articles, conjunctions and adverbs. The words that follow the verbs and are not SW are nouns. The words that follow the nouns can be SWs that are members of the grouping words GRW list, in which case the GRW plus the words that immediately precede and follow it constitute a grouped noun. The remaining words That are not SWs are adjectives.
15 . if the question is What, the first word is a verb. Once the verbs are identified, it compares the remaining words to the list of special words in order to identify prepositions, articles, conjunctions and adverbs. If the verb is transitive, the word that follows the verb is not a SW; it is a noun that behaves as a direct object (DO). The words That follow the nouns can be SWs that are members of the grouping words GRW
20 list, in which case the GRW plus the words that immediately precede and follow it constitute a grouped noun. The remaining words that are not SWs are adjectives.
. if the question is Who, it compares the remaining words to the list of special words in order to identify prepositions, articles and conjunctions. The words that follow the nouns can be SWs that are members of the grouping words GRW list, in which case the 25 GRW plus the words that immediately precede and follow it constitute a grouped noun.
The remaining words that are not SWs are adjectives.
Substage E2. Adding functional components not included in the description.
30 In one embodiment of the invention, a user adds functional components that are not present in the list of automatically identified functional components.
Proceeding with the same example:
= The number of the identification document is an &attribute detected automatically from the sentence.
= The person's age is an &attnbute added by the user.
In one embodiment of the invention, the corresponding step and simple sentence are 5 created automatically for each functional component that is added.
Substage E3. Identifying the functional components associated to the types of the steps FX, CC and QS.
10 From the mathematical moments and steps indicated in Substages 93, D4 and D5, the Processor 150, configured as an Automatic Sentence Analyzer 151, identifies the complementary functional components corresponding to the types of the steps FX, CC
and QS, as follows:
15 Substage E3.a ¨ Mathematical components of sentences corresponding to FX
steps types a. Applies the word logic to the text entered in the Interface Component 122-12, to identify the NOUN (Invoice) and the attributes in parentheses (taxedamount).
These attributes constitute an {enumeration of attributes&}.
20 b. Defines that the content of 122-13, is a fiuictional component {fx expression}, linked to the NOUN (Invoice), attribute (taxedamount) identified in substage E3.a, item a.
Substages E3.13 - Mathematical components of the sentences corresponding to CC
steps types 25 a. Applies the words logic to the text entered in the interface component 122-22, to identify the NOUN (Result) and the attributes in parentheses (validcheek).
These attributes constitute an {enumeration of attributes&}.
b. Defines that the content of 122-23, is a functional component {fx expression), linked to the NOUN (Result), attribute (valideheek) identified in sub-step E3.b, item a.
Substage E3.c - Mathematical components of the sentences corresponding to QS
step types a. Applies the word logic to the text entered in the interface component 122-31, to identify the NOUN (payments) and the attributes in parentheses (date, concept, amount). These attributes constitute an (enumeration of attributes &).
b. Defines that the content of 122-32, is a functional component {fx expression}, linked 5 to the NOUN (Payments that Apply), attributes (date, concept, amount) identified in substage E3 .b, item c.
c. Applies the words logic to the text entered in the interfac,e component 122-33, to identify the NOUN (Payments that Apply) and the attributes in parentheses (date, concept, amount). These attributes constitute an {enumeration of attributes &}.
Substage E4. Applying Morphosyntactic rules to functional components In one embodiment of the invention, the user can enable the use of Morphosyntactic rules, so that the Processor 150 complies with the logic defined in Substage A2.
In this embodiment, each word of a simple sentence is classified as a Word 161-15 according to the MAS Metamodel from FIG. 4A1, and is assigned one of the following Word types: VERB, NOUN, ART, CONJ, ADJ. Performer 161-2 and Performable 161-3 Words are also created, assigning the Performance 161-4 class to transitive verbs. All of the Words 161-1, classified by type, are the functional components. As shown in FIG. 4D, once each functional component is created, it is linked to the sentence from 20 which it derives, to the question it belongs to, the corresponding word type, and to the Morphosyntactic Rule identifier that represents the sequence of word types that make up the question, as indicated in Substage A2.
During functional component selection, the special words defined in Substage B2, 25 except in the cases that the corresponding Morphosyntactic Rule marks it as a specific word.
In this embodiment, the Processor 150 creates two new functional components for each transitive verb. A functional component named as the verb plus the agentive suffix "ER"
30 (Performer 161-2) and a functional component named as the verb plus the suffix "BLE"
(Performable 161-3). The transitive verb is the Performance 161-4 Word. For the noun that carries out the transitive verb, the Processor 150 creates a verb "is"
that is associated with the ER of the verb. For the target noun (the direct object of the sentence), the processor creates a verb "is" that is associated with the BLE
of the verb.
Stage F. Generating the Functional Architecture documents 5 In this stage (FIG. 4F), the Processor 150, configured as a Document Generator 153, generates the Functional Architecture documents, using the formats and notations stored in the logical structure of Formats, Graphical Notations and Si]) Sentences 163 of the Static Database Memory 160 and displays them in the Document Display User Interface 124 of the Input/Output Device 120.
In this stage (FIG. 4F), the Functional Architecture documents are generated by the following substages:
Substage F1. Establishing Morphosyntactic Rules for Functional Architecture As established in Stage A, for each transitive verb followed by a prepositions "to" or "to the", the processor creates the following for the noun that carries out the verb: a syntactic component, the name of which is the verb plus the agentive suffix "er"
(hereinafter called the ER of the verb), and it creates the following for the noun that 20 receives the action of the verb: a syntactic component, the name of which is the verb plus the suffix "ble" (hereinafter called the BLE of the verb). The processor creates a new noun called "Performance of the verb" between the source noun and the ER
of the verb. For the source noun, the processor creates a verb "is" that is associated with the BLE of the verb. For the target noun, the processor creates a verb "is" that is associated 25 with the ER of the verb.
Substage F2. Defining the graphical notation to be used in the Functional Architecture document In this stage, using the Formats, Graphical Notation, and STD Sentences User Interface 30 123 of the Input/Output Device 120, the graphical notation that is to be used in the Functional Architecture diagrams is defined, indicating the graphical component to be used in the diagram for each functional and mathematical component, according to the corresponding word type. Storing the defined graphical notations in the Database Memory 130. In this way, the user enters the graphical notations in the visual grid that is displayed by the Formats, Graphical Notation, and STD Sentences User Interface 123, as that shown in FIG. 6.
Substage F3. Generating the Functional Architecture documents The Processor 150, configured as a Document Generator 153, takes the functional and mathematical components stored in the Functional Components logical configuration 172 of the Dynamic Database Memory 170, and constructs a Functional Architecture document, using the notation defined in Substage F2, applying the MAS
Metamodel that is in the MAS Metamodel 161 logical structure of the Static Database Memory 160. In order to generate the Functional architecture diagram, the processor scans the list of functional components and applies the following rules until it produces a diagram such as that shown in FIG. 4F1:
Rule 1: For each NOUN-type functional component, draw a FNOUN graphical element with a FC label within it.
Rule 2: For each VERB-type functional component, draw a line between the NOUN
that precedes and the NOUN that follows the VERB, taking into account: i) if the VERB is "to be or any of its conjugations", draw a FTOBE graphical element from the NOUN that precedes the VERB to the NOUN that immediately follows the VERB; ii) if the VERB is any other transitive verb, draw a FERBLE graphical element from the NOUN that precedes the VERB to the NOUN that immediately follows the VERB;
iii) if the VERB is not transitive, draw a FVERB graphical element from the NOUN
that precedes the VERB to that same NOUN.
Rule 3: For each PREP-type functional component, but only for the prepositions "of' and "of the", draw a FPREP graphical element between the NOUN that precedes the preposition and the NOUN that follows the preposition.
Rule 4: For each transitive verb, draw the graphical components that correspond to the words created based on the MAS Metamodel defined in Substage Al: a FERBLE
graphical element for the Performer word, a FERBLE for the Performable word, and a FPERF for the Performance word.
The Processor 150 displays the Functional Architecture documents on the Input/Output Device 120.
Stage G. Identifying and storing the design components.
In the present invention, a design document of "the case" is composed of the following diagrams: Conceptual design diagrams, Use case diagrams, Class diagrams, Entity relationship diagrams, Screen design diagrams, and Report design diagrams.
Each design document of "the case" displays graphics. Specifically, Class diagrams are used in the present invention. Each graphical element that is part of the class diagram according to the Object Orientation (00) paradigm will be called a design component (DC). Example: class relationship, attribute, method.
For the purposes of the present invention, it should be understood that class, attribute, relationship and method are design components as defined in the Object Orientation (00) paradigm.
In this stage (FIG. 4G), the Processor 150, configured as an Automatic Software Designer 152, automatically designs the software by means of the following substages:
Substage Gl. Group functional and mathematical components, create their classes and inheritance relationships.
In this substage, the Processor 150, configured as an Automatic Software Designer 152, creates the classes and inheritance relationships, based on the similarity of their attributes, carrying out the following actions:
(a) Selecting functional components It takes the list of functional and mathematical components created in Stage E, which are stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170, except for the functional components tagged as "Is attribute"
and those of the VERB Word Type.
It deletes the functional and mathematical components that have very similar names (for example, 90% similarity using the Levenshtein Distance algorithm), as is the case for the words 'person' and 'persons,' in which Person' is considered a single functional component.
(b) Grouping similar functional components It groups the functional components included in the previous step using (list of &attributes}, by placing functional components that have the same (list of &attributes}
in the same group. It takes those groups that have more than one functional component 10 and assigns them a word name, for example, Word01, Word02.
(c) Creating classes by group It creates a class for each Group that has more than one functional component, indicating each element of the (list of &attributes} as an attribute, and assigning to the 15 class the name of the word that corresponds to the group.
(d) Creating inheritance relationships for groups For those functional components that belong to the groups with more than one element, it creates an inheritance relationship between each class that the functional component 20 belongs to and its respective group class, depending on the (list of &attributes} group to which it belongs. That is, the inheritance relationship exists between classes that have the same (list of &attributes} generalized in the same group class from the previous step.
25 Substage G2. Creating formula classes based on FX- and CC-Type Steps In this substage, the Processor 150, configured as an Automatic Software Designer 152, performs the following actions on the simple sentences of "the case", divided by question type:
30 (a) Listing VERB and DO functional components that belong to EX and CC steps It lists all VERB- and DO-type functional components and identifies their corresponding step type, as defined in Substage C3.
(b) Creating classes for KY- and CC-type steps Based on the functional and mathematical components that belong to FX- and CC-type steps, it creates classes with behavior defined by the VERB. For each VERB, it creates a class and adds a method, called formula, which is responsible for computing the expression indicated by ffx expression), identified in the Substage E3.a and Substage E3.b.
For each class created in the previous step, it performs the following actions:
a. If the DO "Is Attribute", it creates an attribute called DO in the class.
b. If the DO "Is Attribute", it creates a relationship between the class from the previous step and the class that contains DO as its attribute (called Targetaass). It names this relationship TargetClass_Movement.
Substage G3. Creating domain classes based on QS-type Steps In this substage, the Processor 150, configured as an Automatic Software Designer 152, performs the following actions:
(a) Listing VERB and DO functional components that belong to QS steps It lists all VERB- and DO-type functional components and identifies their corresponding step type, as defined in Substage C3.
(b) Creating classes for QS-type steps Based on the functional components that belong to the QS-type steps, it creates classes with behavior defmed by the VERB. For each VERB, it creates a class called VERB+DO, and adds a method called fxdomain, which is responsible for searching for data as defined by {fx expression}, identified in the Substage E3.c. It creates a class called "Domain"+VERB+DO with the &attributes indicated in {list of &attributes}. If the list of &attributes matches the &attributes of one of the classes created previously, it creates an inheritance relationship between them in the corresponding direction.
The fxdomain method calls upon the "Domain"+VERB+DO.
Substage G4. Creating domain classes based on L-type Steps In this substage, the Processor 150, configured as an Automatic Software Designer 152, carries out the following actions:
5 (a) Listing VERB and DO functional components that belong to L-type steps It lists all VERB- and DO-type functional components and identifies their corresponding step type, as defined in Substage C3.
(b) Creating classes for L step types 10 Bawd on the L-type functional components, it creates a relationship between DO and NOUN called DO + "for" + NOUN.
Substage G5. Creating operation classes based on F-type Steps In this substage, Pmcessor 150, configured as an Automatic Software Designer 152, 15 carries out the following actions:
(a) Listing VERB and DO functional components that belong to F steps It lists all VERB- and DO-type functional components and identifies their corresponding step type, as defined in Substage C3.
(b) Creating classes for F-type steps Based on the F-type functional components, it creates the following classes depending on whether or not the DO "Is Attribute":
25 a. If the DO "Is Attribute": it does not create a class.
b. If the DO "Is Attribute":
i. it creates a class called: VERB + DO, which will be called Class Cab ii. The DO class from the F-type step will be called Class_Rec 30 iii. It creates a 1 to n relationship between the Class_cab and the Class rec. It names the relationship "Movement"-EDO.
Substage G6. Applying Morphosyntactic rules to design components In one embodiment of the invention, the user can enable the use of Morphosyntactic rules, so that the Processor 150 complies with the logic defined in Substage A2.
Based on the Morphosyntactic Rules defined in Substage A2 and stored in the logical 5 structure of Languages, Words, and Morphosyntactic Rules 162 of the Static Database Memory 160, the Processor 150 determines which software design components (DC) are derived from each functional component (FC) stored in the Functional Components logical structure 172 of the Dynamic Database Memory 172.
10 It lists the questions, and creates the rule identifier for each question based on the types of words that make up the answer. It then searches for said rule identifier in the logical structure of Languages, Words, and Morphosyntactic Rules 162 of the Static Database Memory 160, and locates the Base Rule by matching the identifier. There may be more than one Morphosyntactic rule with the same Base Rule identifier, in which case the 15 rule that matches the Question, the F step type and the specific word(s) found in the text and indicated in the Morphosyntactic rule is selected. In the case that the identifier does not match any base rule, the Processor 150 ignores the question.
In this embodiment, for each transitive VERB identified in the previous substages and 20 as defined in Substage Al, the Processor 150 creates a Word 161-4 associated with the verb and the Performer 161-2 and Performable 161-3 words.
For the case of an L-type step, the user can create a Morphosyntactic rule dependent on the Base Rule VERB-NOUN-PREP-NOUN, in which the verb "to link", for example, is 25 treated as a specific word. In this case the step type would be L and the Processor 150 would create a relationship between DO and NOUN called DO + "for" + NOUN.
For the cases of the FX type steps, the Processor 150 creates for each mathematical component identified in the Substage E3 a, a word of the type formula& with the {fx 30 expression } entered in the interface 122-13, linked to the attribute (taxedamount) identified in sub-step E3.a, item a.
For the case of steps type CC, the Processor 150 creates for each mathematical component identified in Sub-step E3.b, a word of type formula& with the {fx expression } entered in the interface 122-23, linked to the attribute (validcheck) identified in sub-step E3.b, subparagraph a.
For the case of steps type QS, the Processor 150 creates for each mathematical component identified in Sub-step E3.c, a word of type &domain with the {fx expression} entered in the interface 122-32, and a word of the type &formula linked to the previous fxdomain. This formula ft is linked to (enumeration of attributes&} (date, concept, amount) identified in sub-step E3.b, subparagraph c.
FIG. 4A3 shows a software design class model with an application example that describes the Morphosyntactic Rules for Software design based on the IVIAS
Metamodel 161. These Morphosyntactic rules give rise to the modeling of the sentences of "the case". In order to design software from natural language, Morphosyntactic Rules for Software design are defined for each of the questions that describe a simple sentence (When, Who, What, How, Where). These rules, stored in the Words, Rules and Morphosyntactic Rules Static Database Memory 162, are compared with the rule identifier computed for each simple sentence, as indicated in Substage 2A, and based on matching, the logic used by the Processor 150, configured as an Automatic Software Designer 152, to generate software design components, is defined.
Stage H. Defining formats, graphical notation and STD sentences In this stage (FIG. 4H), formats for the Business, Analysis and Design documents, and the parameters necessary to generate them, are defined by means of the following steps:
Substage Hl. Defining the output formats for the documents In this substage, using the Formats, Graphical Notation and STD Sentences User Interface 123 of the Input/Output Device 120, the display or printing formats for the business documents, analysis documents, and design documents are defined.
These definitions include defining margins, fonts, and the sequence sort order in which the content of each document will be displayed.
For the business documents, the presentation order and the sequence of the layers, 5 resources, processes, subprocesses, moments and steps are defined.
For the analysis documents, the presentation order and the sequence of the global and detailed requirements are defined.
10 In one embodiment of the invention, it is possible for a user to modify the formats, graphical notations and standard sentences uploaded in Substages F!, F2, F3 and F4, using the Formats, Graphical Notation and 5113 Sentences User Interface 123 of the Input/Output Device 120.
15 Substage H2. Defining the standard sentences for the requirements In this substage, using the Formats, Graphical Notation and 5113 Sentences User Interface 123 of the Input/Output Device 120, the standard sentences for describing requirements are entered, written in the language or languages that will be used to generate the requirements, and they are stored in the logical structure of Languages, 20 Words and Morphosyntactic Rules 162 of the Input/Output Device 160. The standard sentences necessary to generate the requirements are described below: These sentences must be translated and stored in each of the languages for which document requirement generation is desired.
25 (a) Standard sentences for global requirements:
To generate the Global Requirements, the following standard sentences are defined, which apply to the English language:
OracionSTD_abm_Sust: "Create, Read, Update and Delete"
30 OracionSTD abm Pers: "Create, Read, Update and Delete Entities with role"
OracionSTD verbo F: "Create transaction record"
OracionSTD verbo R: "Create rule that"
OracionSTD verbo conector R: "with"
OracionSTD_verbo: "Create rule that"
(b) Standard sentences for detailed requirements for NOUN and DO components To generate the detailed requirements for NOUN and DO functional components, the following standard sentences are defined, which apply to the English language:
OracionSTD Crear: "Create a new element"
OracionSTD_Agregar Atributos: OracionSTD_Agregar Atributos OracionSTD_Agregar Controles: "Perform the following controls when an element is created"
OracionSTD Baja: "Exclude a"
OracionSTD Edicion: "Update a"
OracionSTD Consulta: "Search the transaction records of' OracionSTD complemento control: "performing the following controls"
OracionSTD_complemento busqueda: "performing the following searches"
OracionSTD crear atributo: "Create the attribute"
OracionSTD validacion atributo: "Perform the following controls when the datum is completed"
(c) Standard sentences for detailed requirements for PERSON components To generate the detailed requirements for PERSON functional components, the following standard sentences are defined, which apply to the English language:
OracionSTD_permitirque: "Allow"
OracionSTD acciones Persona: "to perform the following actions"
OracionSTD afectacion Persona: "to be subject to the following actions"
OracionSTD responsabilidad_Persona: "to be performed under the responsibility of' (d) Standard sentences for detailed requirements for VERB components To generate the detailed requirements for VERB functional components associated with CC-type steps or FX-type steps, the following standard sentences are defined, which 5 apply to the English language:
OracionSTD crear Fx: "Create a formula for"
OracionSTD argumentos: "using the following data as arguments"
OracionSTD expresion: "in the following expression"
OracionSTD _ msj _error_Fx: "If the formula returns an error, display the 10 following message"
OracionSTD msj_ok_Fx: "If the formula returns a valid result, display the following message"
OracionSTD msj adveitencia Fx: "If the formula returns a warning, display the following message"
To generate the detailed requirements for VERB functional components associated with QS-type steps, the following standard sentences are defined, which apply to the English language:
OracionSTD crear busqueda: "Create a rule for"
20 OracionSTD exponer atributos: "displaying the following data"
OracionSTD definir brisqueda: "Allow searching for the data of' OracionSTD conector orden: "by"
OracionSTD definir filtro: "Allow filtering the data of' OracionSTD definir_orden: "Allow sorting the data of"
25 OracionSTD definir agruparniento: "Allow grouping for the data of' OracionSTD definer total: "Display the following summarized data"
To generate the detailed requirements for VERB functional components associated with L-type steps, the following standard sentences are defined, which apply to the English 30 language:
OracionSTD crear regla: "Create a rule that"
OracionSTD condicion: "as long as the following condition is met"
OracionSTD vincular: "Link"
OracionSTD conector vincular: "with"
OracionSTD complement control: "performing the following controls"
5 OracionSTD des vincular: "Unlink"
OracionSTD consultar: "Search"
OracionSTD complement relacionar: "in a relationship with"
OracionSTD complement criteriobusqueda: "using the following search criteria"
To generate the detailed requirements for VERB functional components associated with F-type steps, the following standard sentences are defined, which apply to the English language:
15 OracionSTD_pennitir: "Allow"
OracionSTD habilitar_persona: "Enable"
OracionSTD complemento_accionpersona: "to decide on the action"
OracionSTD movimientos: "Allow the movements of' OracionSTD complemento_acargode: "to affect"
20 OracionSTD control nuevo: "Perform the following controls when creating a new transaction record of' OracionSTD control eliminar: "Perform the following controls when deleting the transaction record of' OracionSTD_control_modificar: "Perform the following controls when updating 25 the transaction record of' OracionSTD_precedencia: "based on the following existing records:"
OracionSTD nuevo movimiento: "Record n movements of' OracionSTD control_nuevo_movimiento: "Perform the following controls when creating a new movement of' 30 OracionSTD control eliminar movimiento: "Perform the following controls when deleting the movement of' OracionSTD control modificar movimiento: "Perform the following controls when updating the movement of' OracionSTD buscar elemento: "Search for the elements of"
OracionSTD complement buscarelemento: "to create a movement, performing 5 the following searches"
Substage H3. Defining the graphical notation to be used in the Software design In this stage, the graphical notation to be used in the software design diagrams is defined, using the Formats, Graphical Notation and STD Sentences User Interface 123 of the Input/Output Device 120.
The design diagrams can be displayed in various graphical notations, one of them being 15 UML notation, but it is possible to define graphical elements to represent the design documents.
Substage H4. Defining the graphical notation associated with the MAS Metamodel 20 Indicating the graphical component to be used in the Software design diagram for each element of the MAS Metamodel defined in Substage Al. In this way, the user enters the graphical notations in the visual grid that is displayed by the Formats, Graphical Notation, and STD Sentences User Interface 123.
25 The design diagrams can be displayed in various graphical notations, one of them being UML notation, but it is possible to define graphical elements to represent the design documents, as that shown in FIG. 7.
Stage I. Automatically generating business, analysis and design documents In this stage (FIG. 41), the Processor 150, configured as a Document Generator 153, generates the business, analysis and design documents, using the formats and notations stored in the Formats, Graphical Notations and STD Sentences 163 of the Static Database Memory 160, and displays them in the Document Display User Interface of the Input/Output Device 120, by means of the following substages:
Substage IL Generating Business documents In this stage, the Processor 150, configured as a Document Generator 153, composes the text in a business document. In the present invention, a business document is an analysis document that shows the simple sentences stored in the logical structure of Simple 10 Sentences and Questions 171 of the Dynamic Database Memory 170, by performing the following actions:
a). Ordering dimensions, temporal activities and simple sentences It orders the texts hierarchically, with layers at the top of the hierarchy and steps at the 15 bottom of the hierarchy, as shown in FIG. 412, thus:
- Layers 310 contain resources 320 - Resources 320 contain processes 330 - Processes 330 contain subprocesses 340 - Subprocesses 340 contain moments 350 20 - Moments 350 contain steps 360 that can be of up to five types, as explained previously.
- Steps 360 contain simple sentences 370 with their corresponding completed questions.
25 b). Consecutively joining the previously ordered components In a preferred embodiment (FIG. 5), the simple sentence is obtained by joining the answers to each of the questions in the preferred order, thus: When, then Who, then What, then How, and lastly Where, which does not mean the order cannot be changed.
When all of the processes are described using this method, a complete and detailed 30 composition of "the case" expressed in natural language is achieved.
Substage 12. Generating Analysis documents In this stage, the Processor 150, configured as a Document Generator 153, structures the functional requirements and automatically generates Analysis documents. In the present invention, an Analysis document shows the Requirements obtained from the fitnctional 5 components stored in the logical structure of Simple Sentences and Questions 172 of the Dynamic Database Memory 170, by performing the following actions:
a) Assembling global functional requirements The functional global requirements of "the case" are those actions that describe the 10 process in the order in which they must be performed so that they can be interpreted and the action to be performed can be determined, from the point of view of the functional requirements needed to construct a software application.
The Processor 150 takes the functional components stored in the Functional 15 Components logical structure 172 of the Dynamic Database Memory 170, and selects only the following: NOUN, PERSON, DO and VERB. For each of the aforementioned functional components, it generates a global requirement that is part of the scope of "the case", defining the global requirements for NOUN components (NOUN, DO, PER) and defining global requirements for VERB components.
Global requirements for NOUN components The Global requirement is assembled for each noun ftmctional component (NOUN, PERSON and DO), as long as it is not an attribute, by creating a tagged and sequentially numbered sentence, such as the sentence shown in Table 1, using the standard sentences 25 defined in Substage F2.
Table 1 Functional Mode of assembly of Global requirement component PERSON "Create, Read, Update and Delete Entities with role" + PERSON
Example: Create, Read, Update and Delete Entities with role 'system operator' NOUN "Create, Read, Update and Delete" + NOUN
Example: Create, Read, Update and Delete + 'person registry' DO "Create, Read, Update and Delete" + DO
Example: Create, Read, Update and Delete 'document number' Global requirements for VERB components The Global requirement is assembled for each VERB functional component by creating a tagged and sequentially numbered sentence In this case, the sentence is generated for each step type, based on the VERB, and uses the DO and the NOUN that are coupled to it in the What question, as shown in Table 3, to compose it:
Table 2 Functional Step type Mode of assembly of Global requirement component VERB CC "Create rule that" + VERB
+ DO
VERB QS "Create rule that" + VERB
+ DO
VERB FX "Create rule that" + VERB
+ DO
VERB L "Create rule that" + VERB
+ DO + "with" + NOUN
VERB F "Create transaction record" + DO
A single Global requirement is written from different steps and through a single functional component. In this case, the Global requirement is written only once to avoid repetition and it is linked to the corresponding steps as much times as necessary.
b) Assembling detailed functional requirements In this stage, the detailed requirements of "the case" are described for each Global requirement: the explicit detailed requirements, which are those clearly denoted in the sentences, as well as the implicit detailed requirements, which are those that are known to be necessary, but are not described explicitly.
In the context of the present invention, the sentences shown in quotation marks are the preferred sentences, taken from the logical structure of Languages, Words and Morphosyntactic Rules 162 of the Static Database Memory 160. However, these sentences can be replaced by sentences that have equivalent meaning and are suitable for the language chosen for the case, in the embodiment presented in Substage F2.
For each type of functional component, based on the definition of its Global Requirement, the detailed requirements of "the case" are defined using the standard sentences defined in Substage F2, For a better understanding of the present invention, it should be noted that in order to generate the detailed requirements, the words are substituted in accordance with the following criteria:
- NOUN refers to the functional components of this type defined in Substage D2.
- PERSON refers to the functional components of this type defined in Substage D2.
- DO refers to the fmictional components of this type defined in Substage D2.
- VERB refers to the functional components of this type defined in Substage D2.
- list of &attributes): the list of &attributes that describe NOUN, made up of the NGUNs that were marked as &attributes in Substage D2, plus those added in Substage Di - (list of *attributes): part of the list of &attributes defined in Substage D2 that is used to search, filter, sort, group or add the results of a search or query.
- {list of DO &attributes}: the collection so &attributes from the list of &attributes defined in Substage D2, made up of the elements that are associated with the DO component through the detailed requirements created in Substage G3.
- (list of NOUN &attributes): the collection so &attributes from the list of &attributes defined in Substage D2, made up of the elements that are associated with the NOUN component through the detailed requirements created in Substage G3.
5 - {list of PERSON &attributes}: the collection so &attributes from the list of &attributes defined in Substage D2, made up of the elements that are associated with the PERSON component through the detailed requirements created in Substage G3.
- {list of CC-type global requirements): the collection of global requirements, 10 made up of the global requirements that were defined based on the NOUN
component or the DO component belonging to CC-type steps identified in Substage E2. This list contains from 0 to n global requirements. If the list contains 0 global requirements, the detailed requirements that refer to CC-type global requirements are not generated.
15 - {list of QS-type global requirements): a list of global requirements generated based on the QS-type steps identified in Substage E3. This list contains from to n global requirements. lithe list contains 0 global requirements, the detailed requirements that refer to QS-type global requirements are not generated.
- {list of F-type global requirements): a list of global requirements generated 20 based on the F-type steps identified in Substage E5. This list contains from 0 to n global requirement& If the list contains 0 global requirements, the detailed requirements that refer to F-type global requirements are not generated.
- (ix expression): the expression for the formula that takes the listed data as arguments and was identified in Substage D3 for some of the steps of the type 25 FX, CC or QS.
- {error message): the text of the message that is to be shown in the system if there is an error in executing the formula, which was defined in Substage D3 for any stage of the kind QS.
- fok mescagel: the text of the message that is to be shown in the system if the 30 result of a check or confirmation is correct, which was defined in Substage D3 for any stage of the kind QS.
- (warning message): the text of the message that is to be shown in the system if the result of a check or confirmation is NOT correct, which was defined in Substage D3 for any stage of the kind QS.
5 Defining detailed requirements for NOUN components Based on the NOUN-type functional components stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170, and their respective Global requirement, the following detailed requirements are generated:
Functional Component Global requirement NOUN "Create, Read, Update and Delete" + {NOUN) Detailed requirements:
For each NOUN-type functional component, the following sentences that constitute the detailed requirements are wriuen, if the NOUN is not marked as an attribute:
1. OracionSTD Crear+ NOUN + OracionSTD Agregar Atributos + (list of &attributes) 2. OracionSTD Agregar Controles+ NOUN + (list of CC-type global requirements) 3. OracionSTD_Baja+ NOUN + OracionSTD_complemento_control + (list of CC-type global requirements) 4. OracionSTD_Edicion + NOUN+ "Performing the following controls" + {list of CC-type global requirements) 5. OracionSTD Consulta + NOUN+ OracionSTD complemento_busqueda+{list of QS-type global requirements) If the NOUN is marked as an attribute, the following requirements are defined:
1. OracionSTD ¨ crear¨ atributo + NOUN
2. OracionSTD_validacion_atributo + NOUN+ {list of CC-type global requirements}
Defining detailed requirements for PERSON components Based on the PERSON-type functional components stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170, and their respective Global requirement, the following detailed requirements are generated:
Functional Component Global requirement PERSON "Create, Read, Update and Delete Entities with role" +
PERSON
Detailed requirements:
For each PERSON-type functional component, the following detailed requirements are written:
1. OracionSTD Crear + PERSON + OracionSTD Agregar_Atributos + (list of &attributes) 2. OracionSTD Agregar_Atributos + PERSON + (list of CC-type global requirements) 3. OracionSTD Baja + PERSON + OracionSTD complemento control + (list of CC-type global requirements) 4. OracionSTD_Edicion + PERSON + OracionSTD_complemento_control + (list of CC-type global requirements) 5. OracionSTD_permitirque + PERSON + OracionSTD_acciones_Persona + (list of F-type global requirements) 6. OracionSTD_pennitinque + PERSON + OracionSTD afectacion Persona + (list of F-type global requirements) 7. OracionSTD_pemiltirque + (list of F-type global requirements} +
OracionSTD responsabilidad Persona + PERSON
8. OracionSTD_Consulta + PERSON + OracionSTD_ complemento_criteriobusqueda:+
(list of QS-type global requirements) Defining detailed requirements for VERB components Based on the VERB-type functional components stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170, and their respective Global requirement, the following detailed requirements are generated:
Functional Component Global requirement VERB (CC step type) "Create rule that" +
VERB + DO
Detailed requirements:
For each VERB-type functional component that participates in a CC-type step, the following detailed requirements are defined:
1. OracionSTD_crear_Fx+ VERB + DO + OracionSTD_argumentos + {list of Smttributes} + OracionSTD_expresion + { fx expression) 2. OracionSTD_msj_error_Fx+ {error message) 3. OracionSTD_msj_ok_Fx + (ok message) 4. OracionSTD_ntsj_advertencia_Fx+ {warning message) VERB (QS step type) "Create rule that" +
VERB + DO
Detailed requirements:
For each VERB-type functional component (QS-type step), the following detailed requirements are defined:
1. OracionSTD_crear busqueth + VERB + DO + OracionSTD_exponer_atributos +
(list of &attributes) 2. OracionSTD_definir busqueda + DO + OracionSTD_conector orden+ (list of *attributes) 3. OracionSTD definir filtro+ DO + OracionSTD_conector orden+ {list of *attributes) 4. OracionSTD_definir orden+ DO + OracionSTD_conector orden+ (list of *attributes) 5. OracionSTD_definir agrupatniento+ DO + OracionSTD_conector_orden+ {list of *attributes) 6. OracionSTD definir total+ {list of *attributes) VERB (FX step type) "Create rule that" +
VERB + DO
Detailed requirements:
For each VERB-type functional component that participates in a CC-type step, the following detailed requirements are defined:
1. OracionSTD_crear Fx+ VERB + DO + OracionSTD_argumentos + {list of 8cattributes) + OracionSTD_expresion + {fx expression) 2. OracionSTD_msj_error_Fx+ {error message) 3. OracionSTD_msj_ok_Fx + (ok message) 4. OracionSTD_msj_advertencia_Fx+ (warning message) VERB (L step type) "Create rule that" +
VERB + DO + "with" + NOUN
Detailed requirements:
For each VERB-type functional component (L-type step), the following detailed requirements are defined:
1. OracionSTD_crear regla + VERB + DO + "with" + NOUN + OracionSTD_condicion + (list of DO &attributes) + {fx expression) + {list of NOUN &atributos) 2. OracionSTD_yincular + DO + OracionSTD_conector vincular + NOUN +
OracionSTD_complemento_control + (list of CC-type global requirements) OracionSTD_ desvincuLn+ DO + "with" + NOUN +
OracionSTD_complemento_control + (list of CC-type global requirements) 4. OracionSTD consultar+ DO + OracionSTD complement rclacionar+ NOUN +
OracionSTD_ complemento_criteriobusqueda+( list of QS-type global requirements) VERB (F step type) "Create transaction record" + DO
Detailed requirements:
For each VERB-type functional component (F-type step), the following detailed requirements are defined, if DO is not marked as an attribute:
For each VERB-type functional component (F-type step), the following detailed requirements are defined:
1. OracionSTD_permitir + VERB + DO + OracionSTD_Agreg,ar_Atributos + (list of &attributes) 2. OracionSTD_habilitar_persona+(list of PERSON) OracionSTD complement accionpersona+ VERB + DO
3. OracionSTD movimientos+DO + OracionSTD_complemento_acargode+ (list of PERSON) 4. OracionSTD_control_nuevo+ DO +": "+ (list of CC-type global requirements) 5. OracionSTD_control_eliminar+ DO +": "+ (list of CC-type global requirements) 6. OracionSTD control modificar + DO + OracionSTD complement control + (list of CC-type global requirements) 7. OracionSTD_pennitir + VERB + DO + OraeionSTD_preeedencia+{ list of F-type global requirements) 8. OracionSTD nuevo tnovimiento + DO
9. OracionSTD control nuevo movimiento + DO + {list of CC-type global requirements) 10. OracionSTD control eliminar movimiento+ DO + OracionSTD complement control + {list of CC-type global requirements) 1 L OracionSTD_control_modificar_movimiento DO
OracionSTD_complemento_control + {list of CC-type global requirements) 12. OracionSTD buscar element + DO + OracionSTD complement buscarelemento +flist of QS-type global requirements) Defining detailed requirements for DO components Based on the DO-type ftmetional components stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170, and their respective Global requirement, the following detailed requirements are generated:
Functional Component Global requirement DO "Create, Read, Update and Delete" + DO
Detailed requirements:
For each NOUN-type functional component, the following sentences that constitute the detailed requirements are written, if the NOUN is not marked as an attribute:
1. OracionSTD Crear+ NOUN + OracionSTD Agregar Atributos + (list of &attributes) 2. OracionSTD Agregar Atributos NOUN -F (list of CC-type global requirements) 3. OracionSTD_Baja+ NOUN + OracionSTD_complemento_control + (list of CC-type global requirements) 4. OracionSTD Edicion + NOUN + OracionSTD complement control + (list of CC-type global requirements) 5. OracionSTD Eclicion + NOUN + "Performing the following searches" + (list of QS-type global requirements) If the DO is marked as an attribute, the following requirements are defined:
1. OracionSTD _ erear_ atributo + DO
2. OracionSTD_validacion_aiributo + DO + (list of CC-type global requirements}
Substage 13. Generating Software Design documents As per the graphical notation defined in Substage F4, the Processor 150, configured as a 5 Document Generator 153, generates an XML file in which the name of each design component and its corresponding graphical notation code are stored between tags.
For the embodiment of the invention in which UML graphical notation is chosen, the xmi standard is used and the XML that represents the class diagram is generated.
The Processor 150, configured as a Document Generator 153, generates the design documents, taking the data stoked in the database memory that corresponds to the design, and exporting the content in a specific XML format, according to the definition of the graphical notation chosen in Substage F4.
7. Example of one application of the method.
Based on a description of a process in natural language, the system automatically produces Business documents, Analysis documents and Design documents of "the 20 case".
The components of the system are those that enable the production of the aforementioned documents (FIG. 3):
1. Input/Output device 120: the device through which the texts in natural language are entered, using the following configurations:
25 a. Language User Interface 121.
It Case User Interface 122.
c. Formats, Graphical Notations and STD Sentences User Interface123 d. Document Display User Interface 124 2. CPU 110: the processing device of the system 100, composed of a. Main Memory 140: It performs the following functions according to its configuration:
i. Diagrams 141.
5 ii. Sentence Matrix 142:
FC Matrix 143:
iv. DC Matrix 144:
b. Processor 150: It carries out the following functions depending its configuration:
10 i. Automatic Sentence Analyzer 151 ii. Automatic Software Designer 152 iii. Document Generator 153 3. Database Memory 130:
a. Static Database Memory 160:
15 1. MAS Metamodel 161.
ii. Languages, Words and Morphosyntactic Rules 162.
iii. Formats, Graphical Notations and STD Sentences 163.
b. Dynamic Database Memory 170 i. Simple Sentences Questions 171 20 ii. Functional Components 172 iii. Design Components 173 Input/Output Device This tool is made up of permanent memories that are capable of producing screens on a 25 monitor, with fields in which the user can enter data or perform actions.
Case User Interface 122 The Case User Interface allows the user to enter the requested data and perform actions to save them in the database memory.
In order for the tool to function, the user must enter data in natural language (layers, 30 resources, processes, subprocesses, moments, steps) as established by the method.
To that end, it presents this upload interface that allows the user to enter these fields and create relationships between them using the order established in the method, wherein each of the components (dimensions, temporal activities and simple sentences) require the following data fields to be uploaded:
- Name - Description 5 - Related dependent elements These data fields are displayed in the interface. Dimensions and Temporal Activities Upload Interface, in which the {text1} and {tex1.2} are replaced by the name of the corresponding component, as the user fills in the data fields in the established sequence:
- First, (text! }="Layer" and {text2}="Resource 10 - When the Edit action is executed, the interface. Dimensions and Temporal Activities Upload Interface is displayed again, but this time, {text1}="Resource"
and {text2}="Process"
o When the Edit action is executed, the interface. Dimensions and Temporal Activities Upload Interface is displayed again, but this time, 15 (text1)="Process" and (text2)="Subprocess"
= When the Edit action is executed, the interface. Dimensions and Temporal Activities Upload Interface is displayed again, but this time, {text' }="Subprocess" and {text2}="Moment"
When the Edit action is executed, the interface. Dimensions and Temporal Activities 20 Upload Interface is displayed again, but this time, {textl}="Moment" and Itext21="Step"
Once the step is completed, the interface. Sentence Interface is displayed, in which the user must answer the questions in order to create the complete, structured simple sentence structured as defined in the method. The user must also choose one of the 25 following options from the Step Type list:
- F: Functional - CC: Check/Control - QS: Query/Search - FX: Calculation 30 - L: Link As the user answers the questions, the tool completes the Sentence, concatenating the text entered in the questions, in the order that the interface displays them.
Once the data upload task is completed, the user can perform the following actions:
- Save: save the uploaded data in the Database Memory.
5 - Cancel: discard the uploaded data in the Database Memory.
Analysis Display The analysis display that is displayed on the monitor consists of screens that display the uploaded data organized in such a way that the user of the tool is able to read and comprehend "die case", guiding the user to perform an accurate analysis for proper generation of Global and Detailed functional requirements. These requirements are generated automatically by the tool, by prompting the user to confirm and select some data.
Word Analysis Disphry This interface presents the user with the simple sentences, in structured form (Word 15 Analysis Interface). Using this interface, the tool enables the user to execute the Analysis Processor and the Analysis Document Processor.
The user is presented with a table with the entirety of the uploaded simple sentences, and the user can execute the Analyze action for each of them. This action engages the Analysis Processor, which returns the list of words contained in the sentence as a result.
20 Each word is characterized by:
- Word: the word detected by the Analysis Processor.
- Word: the question to which the word belongs within the sentence: When, Who, What, How, Where.
- Component Type: the type that the Analysis Processor automatically assigns to 25 each word: NOUN, ADV, VERB, DO, ADJ
- In Scope: the column that allows the user of the tool to mark whether the word in question will be part of the scope of "the case" to be designed, if so desired.
The user can choose from among the following options: YES / NO
- Is Attribute: the column that allows the user of the tool to indicate whether the 30 word in question should behave like an &attribute, if so desired.
The user can choose from among the following options: YES / NO
Once the word analysis task is completed, the user can perform the following actions:
- Save: save the uploaded data in the Database Memory.
- Cancel: discard the uploaded data in the Database Memory.
In this interface, it is possible to execute the Analyze action for each word identified by the Analysis Processor. In such case, the Analysis Document Processor is executed and 5 then the Requirement Analysis Display is displayed.
Requirement Analysis Display This interface (Requirement Analysis Display) presents the user with the Global and Detailed requirements generated by the Analysis Document Processor.
The user is presented with a table with the totality of the generated Global requirements, and a nested table with the Detailed Requirements that correspond to each Global Requirement.
Each global requirement is characterized by:
- Word: the word detected by the Analysis Processor.
- Component Type: the type that the Analysis Processor automatically assigns to 15 each word: NOUN, ADV, VERB, DO, ADJ
- Step Type: the value chosen in the upload interface by the user.
- GlobalReqNum: a correlative number generated by the tool.
- Global Requirement: the sentence, produced by the Analysis Processor, that corresponds to the global requirement.
20 Each detailed requirement is characterized by:
- DetReqNum: a correlative number generated by the tool.
- Detailed Requirement: the sentence, produced by the Analysis Processor, that corresponds to the detailed requirement.
- &Attributes: the list of &attributes that describe the Word. They must be chosen 25 by the user from a list produced by:
o Manual user entry o Automatic generation, for words flagged as "Is Attribute" by the user.
- Message- the list of messages that the user wishes to specify as responses to error, correct action and incorrect action situations as a result of requirement 30 execution. This list can be generated by:
o Manual entry by the user.
- Expression: the expression to be calculated that the user specifies for Step Types = CC or FX.
- Associated GlobalReq: the list of global requirements that allow the user to reference a GlobalReq from this list and associate it with a detailed requirement.
5 This occurs when the description of the scope does not include the description of some feature of this kind (which prevents the system from generating the relationship automatically), in which case, the user adds it.
Once the word analysis task is completed, the user can perform the following actions:
- Save: save the uploaded data in the Database Memory.
10 - Cancel: discard the uploaded data in the Database Memory.
Design Display This interface presents the user with the words detected by the Analysis Processor, to enable the design of "the case" based on the results of the analysis.
The user is presented with a table with the totality of the analyzed words, each of which 15 has a nested table containing its related words based on the Associated Requirements.
Each word is characterized by the following data derived from the analysis phase:
- Word: a word that is included in the scope to be designed.
- Word: the question to which the word belongs within the sentence: When, Who, What, How, Where.
20 - Component Type: the type that the Analysis Processor assigns to each word:
NOUN, ADV, VERB, DO, ADJ
- Step Type: the value chosen in the upload interface by the user.
- Is &attribute: feature indicated by the user in the analysis phase; it can be YES
or NO.
25 In this interface, it is possible to execute the Design action for each of the listed words.
In such case, the Design Processor is executed and then the design display, with the list of classes generated for the word and its related words, is displayed.
Each class is characterized by:
- Class: Name of the class designed by the Design Processor.
30 - ClassType: It can be L or NonL.
- &Attributes: The list of &attributes assigned to the class. They belong to the list of &attributes states in the analysis phase, in all cases.
- Methods: The list of methods assigned to the class. These methods are generated by the Design Processor.
Once the classes are designed, it is possible to execute the See Diagram action, which will present the class diagram. Example class diagram, on the screen.
5 Once the word analysis task is completed, the user can perform the following actions:
- Save: save the uploaded data in the Database Memory.
- Cancel: discard the uploaded data in the Database Memory.
Main Memory Processor 10 In order to automatically produce the analysis and design documents of "the case", the tool provides a processor with three functionalities: analysis processing that executes the analysis action, design processing that executes the design action, and document processing that produces the resulting documents.
Automatic Sentence Analyzer 15 The Analysis Processor takes the collection of complete simple sentences uploaded to the Database Memory by the user. Based on said sentences, it executes three algorithms:
- The algoritlun (FIG. 4E1) that identifies the words relevant to the construction of "the case", a constituent method of the present invention described in Stage E.
- The algorithm that generates the global requirements of "the case", a constituent 20 method of the present invention described in Stage F. Substage 1.
- The algorithm that generates the detailed requirements of "the case", a constituent method of the present invention described in Stage F. Substage 2.
Word Algorithm This algorithm (FIG. 4E1) executes the described routine for each existing sentence and 25 requires that the following two lists be uploaded into the database:
- GRW={grouping words} The collection of words that establish a grouping, for example: the word "of' is a grouping word when it is present in "list of prices"
- PEX={excluded words} The collection of words that are to be excluded from the analysis. It is nonnally composed of the prepositions, conjunctions and articles.
30 Once this algorithm is executed, all of the words will have been converted into functional components of "the case" and classified by component type and interrelated by way of the question.
The component type describes:
- NOUN: NOUN
- PER: PERSON NOUN
- ADV: ADVERBIAL CONSTRUCTION
5 - VERB: VERB
- DO DIRECT OBJECT NOUN
- ADJ: ADJECTIVE
Global Requirement Algorithm This algorithm executes the described routine for each word identified in the scope and requires that the following list be uploaded into the database:
- reqgl_abm_Sust: the sentence that will be used to compose the global requirement each time a NOUN component is identified in the scope. The method suggests something similar to: "Create, Read, Update and Delete" +
15 {NounWord) - reqgl_abm_Pers: the sentence that will be used to compose the global requirement each time a PER component is identified in the scope. The method suggests something similar to: "Create, Read, Update and Delete Entities with role" + {PersonWorci}
- reqgl verboF: the sentence that will be used to compose the global requirement each time a VERB linked to an F-type step is identified in the scope. The method suggests something similar to: "Create transaction record" +
(VerbWord) + {DOWord) - reqgl verboF: the sentence that will be used to compose the global requirement each time a VERB linked to an L-type step is identified in the scope. The method suggests something similar to: "Create rule that" + {VerbWord} +
{DOWord} "with" + {NounWord }
- reqgl_verbo: the sentence that will be used to compose the global requirement each time a VERB linked to a non-F- or non-L-type step is identified in the scope. The method suggests something similar to:
"Create rule that" +
(VerbWord) + {DOWord) Once this algorithm is executed, all of the global requirements of "the case"
are stored in the database.
De/of/cc/Requirement Algorithm This algorithm executes the described routine for each word identified in the scope and 5 requires that the standard sentences in the language chosen for the description of the case be uploaded into the database:
Design processing The Design Processor takes the collection of fitnctional components and the complements that were added in the analysis phase:
10 - Attributes - Messages - Expressions - Associated Regis All of which are linked to the functional components that are part of the scope of "the 15 case".
The Design Processor Algoritlun (FIG. 4G1), which implements Stage G. and automatically generates the classes and relationships that make up the resulting design diagram of "the case", is executed.
Document processing 20 The tool is made up of permanent memories that are capable of automatically producing documents that are shown on a monitor, with fields in which the user can view the data that come from the upload memories.
Business document processing The Business Document Generator takes the data uploaded in the Upload interface, 25 which are stored in the Database, and applies the following algorithm to generate the Business document (FIG. 412):
a) It takes the entirety of the stored uploaded data in the order indicated by the method accessing the database with the following columns and the number rows uploaded by the user: Layer, Resource, Process, Subprocess, Moment, Step, 30 When, Who, What, How, Where, Sentence.
b) It concatenates Layer&Resource&Process in the Tide variable c) It concatenates Subprocess&Moment in the Subtitle variable d) It presents each step with a larger indentation c) It presents each sentence with a larger indentation It names the resulting document Business Document (FIG. 412) and the tool allows the user to store it in the Document File, print it using printing devices (printers, plotters, 5 etc) and display it using display devices (monitors, screens, projectors, etc) Analysis document processing The Analysis Document Processor takes all of the Uploaded Data and generated Requirements, global as well as detailed, and applies the following algorithm to generate the Analysis document (FIG. 413):
10 a) It uses the same algorithm as that of the Business document to generate Title, Subtitle and step b) It presents each Global Requirement associated with the step, with an indentation larger than that of the previous step c) It presents each Detailed Requirement associated with the Global Requirement, 15 with an indentation larger than that of the previous Global Requirement.
It names the resulting document Analysis Document (FIG. 413) and the tool allows the user to store it in the Document File, print it using printing devices (printers, plotters, etc.) and display it using display devices (monitors, screens, projectors, etc.) Design doctunent processing 20 The Document Processor takes the data of the classes identified by the Design Processor and creates an XML file using the xini standard for reading UML diagrams.
It names the resulting document Class Design Document (FIG. 5).
This resulting document is stored in the Document File Database Memory 25 The tool is made up of permanent memories that are capable of storing the results produced by the tool:
Database The database in which uploaded, analysis and design data produced by the tool are stored. It is managed by a database engine.
30 Document File The database in which the generated documents are stored. It is a structure set up on a hard disk managed by the file server of the operating system.
DO: means direct object. In the present invention, it refers to the noun words that appear in What questions and follow a transitive verb.
15 5. Brief description of the figures FIG. 1 Shows the process of natural language transformation of the present invention.
FIG. 2 Shows the stages of the process of the present invention, in order to obtain Functional Architecture Documents.
20 FIG. 3 Shows the system of the present invention.
FIG. 4 Shows the stages of the process of the present invention, in order to obtain Software Design Documents.
FIG. 44. Shows stage A.
FIG. 4A1. Shows MAS metamodel.
25 FIG. 4A2. Shows a Morphosyntactic Rule.
FIG. 4A3. Shows a case of MAS Metamodel application.
FIG. 4B. Shows stage B.
FIG. 4C. Shows stage C.
FIG. 4D. Shows stage D.
30 FIG. 4E. Shows stage E.
FIG. 4E1. Shows the ftmctional logic of the Processor 150, configured as an Automatic Sentence Analyzer 151.
FIG. 4F. Shows stage F.
FIG. 4F1. Shows a Functional Architecture diagram.
FIG. 46. Shows stage G.
FIG. 4G1. Shows the functional logic of the Processor 150, configured as an Automatic 5 Software Designer 152.
FIG. 462. Shows stage 4G2 FIG. 4G2A. Shows the example of the FX step FIG. 462B. Shows the example of the CC step FIG. 4G3. Shows stage 4G3 10 FIG. 4G3A. Shows the example of the QS step FIG. 4H. Shows stage H.
FIG. 41. Shows stage I.
FIG. 411. Shows a software design diagram.
FIG. 412. Shows the structure of a business document.
15 FIG. 413. Shows the structure of an analysis document.
FIG. 5. Shows the example of class design.
FIG. 6 Refers to the graphical notation that is to be used in the Functional Architecture diagrams.
FIG. 7 Refers to the graphical notation for software design documents.
6. Detailed description of the invention The present invention provides a solution to the previously cited problems, by means of a method, implemented by a computer and a visual device, for generation of software design specification documents from requirements expressed in natural language phrases that describe a case, which are stored in knowledge bases. These phrases allow for modeling design components that are subsequently transformed and visualized as class diagrams for software design. The device can be adapted to interact with a processor.
Initially, as described in FIG. 4, the process begins with the description of "the case" in natural language. In order to perform said description in the present invention, it is necessary to establish beforehand which language will be used in the description, including its grammatical and syntactic features, such as the adjectival sequence that describes whether the adjective is located before or after the noun, and the list of words that comprise the language's articles, among others.
In order to describe "the case" in any language that possesses defmed syntactic structure and grammar rules, a system such as the one described in FIG. 3 is used to input the description of "the case" in natural language by means of an Input/Output Device120.
The input texts are transferred into the main memory for later use by the Processor 150.
The processor is configured to analyze, design and generate documents automatically.
The results of each processing function are stored in the Database Memory 130.
The components of the system 100 from FIG. 3 are described below:
1. Input/Output device 120: the device through which the natural language texts are captured. It allows a processor to employ display media (screens, projectors, televisions, printers, monitors, mobile devices, among others) to show structures in which the user can enter "the case" description data and display the resulting documents, using the following configurations:
a. Language User Interface 121: a visual structure that allows the user to choose the language and upload its grammatical and syntactical features, which are then stored in the Database Memory 130.
b. Case User Interface 122: a visual structure that allows the user to upload the simple sentences that describe "the case," which are then stored in the Database Memory 130. This structure also allows the user to interact with the functions of the Processor 150 configured as an Automatic Sentence Analyzer 151 and as an Automatic Software Designer 152.
c. Formats, Graphical Notation and STD Sentences User Interface 123: in one embodiment of the invention, the user is presented with this visual structure, which allows him to add or modify the formats, graphical notations and STD sentences available in the Static Database Memory 160, for the preparation of business, analysis and design documents built by the Processor 150 configured as an Automatic Document Generator 153.
d. Document Display User Interface 124: a structure that allows the user to access the documents generated by the Processor 150 configured as an 5 Automatic Document Generator 153.
2. CPU 110: the processing device of the system 100. This device is designed to carry out all of the natural language processing functions for automatic design generation and contains the main memory that allows for exchange between said functions and the other components of the system.
a. Main Memory 140: volatile storage device used to exchange information between the input/output device, the database memory and the processor.
It carries out the following functions according to its configuration:
i. Diagrams 141: the configuration of the Main Memory that enables document processing by the Processor 150 configured as an Automatic Document Generator 153, by using the Formats, Graphical Notations and STD Sentences 163 stored in the Static Database Memory 160.
ii. Sentence Matrix 142: the configuration of the Main Memory that enables processing of simple sentences by the Processor 150 configured as an Automatic Sentence Analyzer 151, by using the MAS Metamodel 161, the Languages, Words and Morphosyntactic Rules 162 stored in the Static Database Memory 160.
FC Matrix 143: the configuration of the Main Memory that enables processing of the functional components by the Processor 150 configured as an Automatic Sentence Analyzer 151, by using the MAS Metamodel 161, the Lang _______________________________________________________________________________ _______ ages, Words and Morphosyntactic Rules 162 stored in the Static Database Memory 160.
iv. DC Matrix 144: the configuration of the Main Memory that enables processing of the design components by the Processor 150 configured as an Automatic Software Designer 152, by using the MAS Metamodel 161, the Languages, Words and Morphosyntactic Rules 162 stored in the Static Database Memory 160.
b. Processor 150: the device in which processing and exchange tasks are carried out. It carries out the following functions depending on its configuration:
i. Automatic Sentence Analyzer 151: the configuration of the Processor that is mainly tasked with automatically generating the functional components from the simple sentences, and sending 10 them to the Dynamic Database Memory 170 for storage.
ii. Automatic Software Designer 152: the configuration of the Processor that is mainly tasked with automatically generating the design components from the simple sentences, and sending them to the Dynamic Database Memory 170 for storage.
iii. Document Generator 153: the configuration of the Processor that is mainly tasked with automatically generating the design components from the simple sentences, and sending them to the Dynamic Database Memory 170 for storage.
3. Database Memory 130: a permanent memory that stores the data uploaded by the user and generated by the Processor 150 in its various configurations. This memory possesses two storage configurations: one static configuration and one dynamic configuration. The static configuration stores the necessary fixed data that are uploaded for one-time processing and are not specific to "the case."
The dynamic configuration stores the data specific to "the case" that are uploaded for 25 each case.
a. Static Database Memory 160:
i. MAS Metamodel 161: the configuration of the Database Memory 130 that contains the rules of formal logic at a high level of abstraction that give rise to the Morphosyntactic Rules that are stored in the Languages, Words and Morphosyntactic Rules structure 162 of the Database Memory 130.
ii. Languages, Words and Morphosyntactic Rules 162: the configuration of the Database Memory 130 that contains the features of the eligible languages, the special words of each eligible language and its Morphosyntactic Rules.
iii. Formats, Graphical Notations and STD Sentences 163: the configuration of the Database Memory 130 that contains the Formats that apply to the documents, the graphical notation that applies to the diagrams and the STD Sentences necessary for the preparation of analysis documents.
10 b. Dynamic Database Memory 170:
i. Simple Sentences Questions 171: the configuration of the Database Memory 130 that contains the Simple Sentences uploaded by the user and the answers to the questions When, Who, What, How and Where that correspond to each Simple 15 Sentence.
ii. Functional Components 172: the configuration of the Database Memory 130 that contains the Functional Components generated automatically by the Processor 150 configured as an Automatic Sentence Analyzer 151.
iii. Design Components 173: the configuration of the Database Memory 130 that contains the Design Components generated automatically by the Processor 150 configured as an Automatic Software Designer 152.
In using the system described above, the present invention carries out the sequence of stages described in FIG. 4 and also below:
Stage A.
Using the Input/Output Device 120 to upload the MAS Metamodel 161 into the logical structure of the MAS metamodel 161 of the Static Database Memory 30 160.
Stage B. Using the Language User Interface 121 of the display device 120 to enter the eligible languages, the grammatical and syntactical features of each eligible language and to store those data in the logical structure of Languages, Words and Morphosyntactic Rules 162 of the Static Database Memory 160;
5 Stage C. Using the Case User Interface 122 of the display device 120 to enter the description of the case" as text in one of the natural languages selected from the list of eligible languages from Stage B. Identifying the steps of "the case" and then storing them in the logical structure of Simple Sentences and Questions 171 of the Dynamic Database Memory 170;
10 Stage D. Identifying the simple sentences and the mathematical moments of "the case" that correspond to the steps based on Stage C and using the Case User Interface 122 of the display device 120 to upload them and then storing them in the logical structure of Simple Sentences and Questions 171 of the Dynamic Database Memory 170.
15 Stage E. Automatically identifying the functional and mathematical components (it should be understood that a functional component corresponds to each word of the sentence extracted and automatically characterized by the Processor 150) of the simple sentences based on Stage D, with a Processor 150 configured as an Automatic Sentence Analyzer 151 that functions according to the logical structure in the MAS
Metamodel 20 161 uploaded in Stage A. The Processor 150 continues to store said functional components temporarily in the logical structure of the FC Matrix 143 of the Main Memory 140. These components are finally stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170;
Stage F. Automatically identifying the design components of "the case" based on 25 the functional and mathematical components from Stage E. It should be understood that a design component refers to each software design model that corresponds to a functional and mathematical component generated automatically by the Processor 150.
The design components are created using a Processor 150 configured as an Automatic Software Designer 152, which in one embodiment of the invention functions according 30 to the logical structure in the MAS Metamodel 161 uploaded in Stage A.
The Processor 150 continues to store said design components temporarily in the logical structure of the DC Matrix 144 of the Main Memory 140. These components are finally stored in the logical structure of Design Components 173 of the Dynamic Database Memory 170;
Stage G. Using the Formats, Graphical Notations and Si]) Sentences User Interface (of the display device 120) to enter the output formats of the business, analysis 5 and design documents, the parameters of standard sentences for the requirements and the graphical notation for design diagrams, and storing them in the logical structure of Formats, Graphical Notations and Si]) Sentences 163 of the Static Database Memory 160;
Stage H. Automatically generating the business documents (a business document 10 is understood to be a step-by-step description, in natural language, of the problem to be solved) from the simple sentences from Stage D, the analysis documents (an analysis document is understood to be a description of the functional requirements of the software to be constructed) based on the functional and mathematical components from Stage E, and the design documents (a design document is understood to be a document 15 that contains the instructions for constructing the software) based on the design components from Stage F, by means of a Processor 150 configured as a Document Generator 163, using the Formats, Graphical Notations and STD Sentences defined in Stage G;
Stage I. Automatically generating the Functional Architecture documents (a 20 functional architecture document is understood to be a graphical diagram that structures the meaning of the natural language text in summary form by representing the essential concepts of the meaning) based on the functional and mathematical components from Stage E, by means of a Processor 150 configured as a Document Generator 163, using the graphical notation defined specifically for this type of Document.
The stages of the process are described in detail below:
Stage A. Uploading the MAS Metamodel In this stage, the INAS Metamodel and its axiomatic principles are described in detail.
This Metamodel is used to establish the behavior of the Processor 150 in its configuration as an Automatic Sentence Analyzer 151.
FIG. 4A1 shows a class model, according to the Object-Oriented paradigm, that represents the rules that this Metamodel defines in order to model the logic for interpretation of natural language. These rules are used as the base Morphosyntactic Rules that the Processor 150, configured as an Automatic Sentence Analyzer 151, used 5 to generate the functional components in Stage D.
In this stage, the MAS Metamodel is created by the following substages (FIG.
4A):
Substage Al. Storing MAS Metamodel In this substage, the logic of the MAS Metamodel 161 is uploaded to the Static 10 Database Memory 160.
This logic establishes that every word contained in a natural language description is a Word 161-1. When the word is a transitive verb, two new words are automatically defined: a Performer Word 161-2, the name of which is the transitive verb plus the agentive suffix "ER" and a Performable Word 161-3, the name of which is the transitive 15 verb plus the suffix "BLE". The transitive verb is a Performance Word 161-4 which has a relationship 161-5 with the Performer Word 161-2 and another relationship 161-3 with the Performable Word 161-3.
The Words 161-1 are related to each other in such a way that a word that is not a transitive verb can establish an inheritance relationship 161-9 with a Performer Word 20 161-2 and/or an inheritance relationship 161-8 with a Performable Word 161-3.
Each Word 161-1 can define an inheritance relationship 161-0 with another Word 1. Each Word 161-1 can define an association relationship 161-7 with another Word 161-1.
The use of the options offered by the MAS Metamodel depends on the morphosyntax of 25 the sentence being processed in Stage D.
In this way, all words in a description, as a whole, can be represented by this metamodel, which defines an axiomatic rule for the language, given that it is fulfilled in all cases and represents the basis on which to model any morphosyntactic rule of any 30 language.
Substage A2. Storing the MAS logic for Morphosyntactic rules.
In this substage, the logic of the MAILS Metamodel is uploaded to the Static Database Memory 161. Said logic defines a method for characterizing natural language words in order to determine their meaning in different functional application contexts.
The 5 structures that deal with the form and syntax of natural language are called morphosyntactic structures.
In the present invention, a collection of guidelines for handling natural language is considered a Morphosyntactic rule. Such a rule is composed of the guidelines for 10 handling text that define: a) Question logic: to which question (When, Who, What, How, Where) the word within a simple sentence belongs, b) Step type logic:
what type of verb comprises the What question (FX, CC, QS, L, F) and c) Word logic: what type of word it is. The type of a word is determined by its grammatical characterization as verb (VERB), noun (NOUN), preposition (PREP), article (ART), conjunction (CONJ), 15 adverb (ADV).
An identifier is defined for each Morphosyntactic rule. The identifier of a Morphosyntactic rule is composed by concatenating the types of the words that make up the sentence, except for types Performer, Performable and Performance. It may be, for 20 example, ART-NOUN-VERB-ART-PREP-NOUN, for a sentence that is made up of a sequence of words with the following types: article, noun, verb, article, preposition, noun. These types of words can be handled in general, or can refer to specific words of its type. For example, the Rule VERB(is)-PREP-NOUN indicates that the sentence that this rule applies to contains a verb, and specifically the word "is" within the word type VERB, followed by any preposition PREP and then any noun NOUN. This rule would apply to the following sentences: is a monkey, is a moon.
That is to say that for every simple sentence there is a Morphosyntactic Rule that defines its structure as a function of the types of words that comprise it.
Given a simple sentence, before the corresponding Morphosyntactic Rule identifier is composed, the Processor 150 configured as an Automatic Sentence Analyzer 151, excludes the special words uploaded in Substage B2, articles conjunctions and prepositions, from the sentence. It then searches the Static Database Memory 160 for the Morphosyntactic rules within the Languages, Words and Morphosyntactic Rules 162 configuration. Once the rule with its corresponding identifier is located, if there is more than one rule with the same corresponding identifier, it searches within this collection for matches for the specific words from the types of words that were excluded during the composition of the rule identifier of the sentence. If there is a match, it assigns the rule that matches the specific excluded word(s). If there is no match, it assigns the general rule.
The MAS Metamodel defines the following base rules from which specific rules for different cases are derived.
Base Rules There are two base rules, with their respective specialties, associated with the What question:
- VERB-NOUN Rule:
o General case: VERB-NOUN Rule 161-12: allows for modeling sentences that have a verb, noun, noun structure.
o Specific case: VERB(is)-NOUN Rule 161-10: allows for modeling sentences that have a verb, noun structure, in which the verb is the verb "to be". This verb is a special verb from the point of view of MAS
Metamodel application.
- VERB-NOUN-PREP-NOUN Rule:
o General case: VERB-NOUN-PREP-NOUN Rule 161-11: allows for modeling sentences that have a verb, noun, preposition, noun structure.
o Specific case: VERB(hold responsible)-NOUN-PREP-NOUN Rule 161-13: allows for modeling sentences that have a verb, noun structure, in which the verb is the verb "to hold responsible". This verb is a special verb from the point of view of MAS Metamodel application.
o Specific case: VERB(link)-NOUN-PREP-NOUN Rule 161-14: allows for modeling sentences that have a verb, noun structure, in which the verb is the verb "to link". This verb is a special verb from the point of view of MAS Metamodel application.
Similarly, there is a base rule to model the Who within the simple sentence:
- NOUN Rule: it is present in all simple sentences and allows for modeling the 5 behavior of the main noun that refers to the subject.
For When, How and Where questions, which do not require mandatory completion, the types of words that appear in the answer are identified and the necessary rule identifiers are generated.
In one embodiment of the invention, the user can add base rules and Morphosyntactic rules, always dependent on the logic of the MAS Metamodel.
Given a simple sentence in natural language, and once the Morphosyntactic rule is located, the Processor 150, configured as an Automatic Sentence Analyzer 151, generates the functional components by applying the guidelines for handling text defined by said rule: a) Questions logic; b) Step type logic and c) Word logic, as shown in FIG. 4A2.
(a) Questions Logic: Determines the belonging question of the words to which the rule is applied It must be noted that a description is a collection of simple sentences that describe a process. Each step of such process is corresponded with one simple sentence derived from the answer to the questions Who, What, Where, How, When.
Step Type Logic: Determines the belonging step type of the words to which the rule is applied Each step can be classified under a Step Type. The Step Type is determined in a rule, by the specific word associated with the Verb within the What question. Every Morphosyntactic Rule is based on the MAS Metamodel, and depending on the specific verb linked to the What question, it can be classified under the following types:
Check/Confirm; Query/Search;
Calculation; Relationship; Functional;
Notification/Alert.
CC Step: (Step that determines the checking/confirmation actions) 5 These are steps in which the verb defines checking or confirmation actions, such as:
check, confirm, restrict, and the like. In this case, the verb is transitive and the noun that follows it is always coupled to a sentence that represents a mathematical logic for the system.
This step type is assigned a VERB-NOUN Morphosyntactic Rule identifier and it adds 10 the mathematical description of the checking/confirmation logic.
Some examples of this type of sentence are: check that the items have a positive inventory (VERB-NOUN; "have positive inventory" is the mathematical logic of confirmation), confirm that the client has a tax ID number (VERB-NOUN; "has a tax ID
number" is the mathematical logic of confirmation), restrict the intake of expired 15 merchandise (VERB-NOUN; "expired merchandise" is the mathematical logic of confirmation).
OS Step (Step that includes query/search actions) These are steps in which the verb defines query or search actions, such as:
search, 20 locate, select, query, indicate, display, show, and the like. In this case, the verb is transitive and the noun that follows it indicates the object of the search/query.
This step type is assigned a VERB-NOUN Morphosyntactic Rule identifier, in which the noun describes the object of the search, which means that the verb applies to a collection of instances of the noun.
25 Some examples of this type of sentence are: query the items (VERB-NOUN), show the balances (VERB-NOUN), display the data (VERB-NOUN), show the results (VERB-NOUN), search the items (VERB-NOUN), locate the spare parts (VERB-NOUN), select the clients (VERB-NOUN).
30 FX Step (Step that includes explicit calculation actions) They are steps in which the verb explicitly defines calculation actions, such as:
calculate, group, average, add, and the like. In this case, the verb is always coupled to a sentence that represents a mathematical logic for the system.
This step type is assigned a VERB-NOUN Morphosyntactic Rule identifier, in which 5 the noun describes the logic of the calculation that the verb denotes.
Some examples of this type of sentence are: calculate the total sales (VERB-NOUN), group the items by color (VERB-NOUN), average last month's cost (VERB-NOUN).
L Step (Step that contains linking actions) They are steps in which the verb defines the linking actions, such as: relate, link, associate, compose, and the like. In this case, the verb is followed by at least two nouns.
The verb can represent any of the following models:
Model 1:
15 This step type is assigned a VERB(link)-NOUN-PREP-NOUN Morphosyntactic Rule identifier, in which the specific verb can be 'link' or any synonym and the preposition, generally 'with', though it may vary.
Some examples of this type of sentence are:
link the items with the prices (VERB(link)-NOUN-PREP-NOUN), link the equipment 20 with the spare parts (VERB(link)-NOUN-PREP-NOUN), associate the taxes with the shares (VERB(link)-NOUN-PREP-NOUN), compose the product with the inputs (VERB(link)-NOUN-PREP-NOUN).
Model 2:
25 This step type is assigned a VERB(hold responsible)-NOUN-PREP-NOUN
Morphosyntactic Rule identifier, in which the specific verb can be "hold responsible" or any synonym and the preposition, generally "for", though it may vary.
Some examples of this type of sentence are: hold the client responsible for the payment (VERB(hold responsible)-NOUN-PREP-NOUN), hold the employee responsible for 30 inventory control (VERB(hold responsible)-NOUN-PREP-NOUN).
Model 3:
This step type is assigned a VERB-NOUN-PREP(a)-NOUN Morphosyntactic Rule identifier, in which the specific preposition can be a, an, or any other preposition.
Some examples of this type of sentence are: measure the item with a unit of measurement (VERB-NOUN-PREP(a)-NOUN), value the item with a list of prices 5 (VERB-NOUN-PREP(a)-NOUN).
F Step (Step that does not correspond to any of the previous types) They are steps in which the verb does not correspond to any of the previous types 10 because it refers to an action that is specific to "the case".
The verb can present any of the following models:
Model 1:
This step type is assigned a VERB-NOUN Morphosyntactic Rule identifier and is used 15 for all of the verbs that are not listed as a specific word in the CC, QS or FX step types, nor in any of the models of this same type.
Transitive verb followed by one or more nouns. For example: Buy an item (VERB-NOUN), Sell fruits (VERB-NOUN), Fix the tools (VERB-NOUN), Solve problems (VERB-NOUN).
Model 2:
This step type is assigned a VERB(is)-NOUN Morphosyntactic Rule identifier, in which the specific verb is "to be". This is a very special verb that describes the nature of the noun.
Some examples of this type of sentence are: is fruit (VERB(is)-NOUN), is a company (VERB(is)-NOUN).
(c) Words Logic: Determines the belonging word type structure of the analyzed sentence and question The Processor 150, configured as an Automatic Sentence Analyzer 151 (FIG.
4E1), carries out the following actions in order to obtain the associated functional components 5 from the words of each simple sentence:
- For the language of "the case" and from the logical structure of the Languages, Words and Morphosyntactic Rules 162 of the Static Database Memory 160, it takes the verb endings (VE) and the list of special words (SW), within which are the list of grouping words (GRW) and the list of excluded words (EXW). It also takes the Moiphosyntactic 10 rules that define the guidelines to be applied from logical structure.
- It takes the simple sentences of "the case", structured in the corresponding questions, from logical structure of the Simple Sentences and Questions 171 of the Dynamic Database Memory 170.
- It assigns a sequential number to each simple sentence of "the case".
15 - For each simple sentence of "the case", and for each question, it takes the words one by one and characterizes them according to word type as follows:
. if the question is How, it compares the endings of each word in the question to the verb endings VE in order to identify the verbs. Once the verbs are identified, it compares the remaining words to the list of special words SW in order to identify prepositions, 20 articles, conjunctions and adverbs. The words that follow the verbs and are not SW are nouns. The words that follow the nouns can be SWs that are members of the grouping words GRW list, in which case the GRW plus the words that immediately precede and follow it constitute a grouped noun. The remaining words That are not SWs are adjectives.
25 . if the question is What, the first word is a verb. Once the verbs are identified, it compares the remaining words to the list of special words in order to identify prepositions, articles, conjunctions and adverbs. If the verb is transitive, the word that follows the verb is not a SW; it is a noun that behaves as a direct object (DO). The words that follow the nouns can be SWs that are members of the grouping words GRW
30 list, in which case the GRW plus the words that immediately precede and follow it constitute a grouped noun. The remaining words that are not SWs are adjectives.
. if the question is Who, it compares the remaining words to the list of special words in order to identify prepositions, articles and conjunctions. The words that follow the nouns can be SWs that are members of the grouping words GRW list, in which case the GRW plus the words that immediately precede and follow it constitute a grouped noun.
5 The remaining words that are not SWs are adjectives.
The IVIAS Metamodel and the Morphosyntactic Rules structure is applied in Substage E4 to identify the fimctional components that are useful in creating Functional Architecture documents, in Substage G6 to generate the software design components, and in Substage H4 to define the graphical notation associated with the software design 10 MAS Metamodel. These substages represent preferred embodiments of the invention in which the transitive verbs of the text of "the case" are handled as defined in Substage Al.
Stage B. Entering the features and the structure of the language 15 In this stage (FIG. 4B), the languages that will be used to describe "the case" in natural language and its morphosyntactic features are defined by means of the following substages:
Substage BL Defining the order of adjectives 20 The order of adjectives refers to the placement of adjectives relative to the noun of a language.
In the input/output device 120, configured as a Language User Interface 121, the appropriate order of adjectives of the language is defined, from the list of available orders of adjectives: Order 1: noun + adjective; Order 2: adjective + noun;
Order 3:
25 modified adjective + modified noun, Order 4: adjective + modified noun, Order 5:
modified adjective + noun. For example, for the English language, the appropriate order of adjectives is adjective + noun.
Substage B2. Uploading the special words In the input/output device 120, configured as a Language User Interface 121, the special 30 words of the language defined in substage B1 are uploaded. The special words are used by the Processor 150, configured as an Automatic Sentence Analyzer 151, to determine which words are to be excluded from the sentence analysis. In the context of the present invention, articles (ART), prepositions (PREP), conjunctions (CONJ) and adverbs (ADV) are considered to be the special words of languages. In the English language, "a"
and "the" are examples of articles, "for" and "with" are examples or prepositions, "and"
and "or" are examples of conjunctions, and "how" and "where" are examples of adverbs.
Substage B3. Uploading the grouping words In the input/output device 120, configured as a Language User Interface 121, the grouping words of the language defined in substage B1 are uploaded. In the present invention, grouping words are special words from those defined in Substage B2 that can link two other words to make a compound word. Such is the case of the word "list of prices", grouped with the word "of'.
Substage B4. Uploading the verb endings In the input/output device 120, configured as a Language User Interface 121, the appropriate verb endings of the !angina I e from Substage B1, that correspond to the fmal syllable of regular verb endings, are uploaded. The verb ending "-ing" is an example for the English language.
Stage C. Entering the description of "the case"
In this stage (FIG. 4C), the case is described in natural language by the following substages:
Substage Cl. Selecting the language for the description of the case In the input/output device 120, configured as a Case User Interface 122, the language in which "the case" will be described is selected. The language is chosen from the list of eligible languages uploaded in Stage B.
Substage C2. Identifying the components that structure the context of "the case"
In one embodiment of the invention, the components that structure the context of "the case" are identified.
This stage deals with the Static Vision and the temporal Dynamic Vision of the Universe of "the case". In Static Vision, the conceptual structure of "the case" is observed from a global perspective, without taking into account what happens as time passes, dividing the concepts into dimensions or major aspects that compose it: layers 5 and resources. In Dynamic Vision, it is observed from the perspective of the events that occur as time passes (temporal activities) and in the order that they occur:
processes, moments and steps.
To structure the description of "the case" in a suggested embodiment of the invention, 10 the layers, resources, processes, subprocesses and moments are identified.
(a) Identifring the layers of "the case"
A layer is understood to be a hierarchy of information that takes part in a process and could be handled independent from the others, which could function in isolation with 15 well differentiated inputs and outputs. For example, these two layers are identified: the data layer (where the input data of a process are structured and accessed) and the calculation layer (where calculations are carried out using said data).
(b) Identifying the resources used in "the case"
20 Resources are the components That are subject to transformation throughout the process and allow for access to other resources, such as the result of the transformation process.
For example, inventory items are resources that are subjected to the sale process.
(c) identifring the processes within "the case"
25 Processes are actions or groups of actions that transfomi the resources.
For example, the process of "marketing inventory items".
(d) Identifying the subprocesses ofeach process of "the case"
Subprocesses are parts of a process that allow for analysis of the process by fragments.
30 For example, "providing a quote" and "sale" can be subprocesses included in the process of "marketing inventory items".
(e) Identifring the Moments of "the case"
In the present invention, moments are partitions of a subprocess that announce the occurrence of an event that is relevant to the subprocess. Fr example, "When the client is interested" is a moment that occurs within the subprocess of "providing a quote".
Substage C3. Identifying the Steps of "the case"
Steps are activities that are carried out at any given moment. Example: the activities at the moment "When the person enters the testing office" might be: Asking for his identification document, Recording the data from said identification document, Performing a search of his 10 family group, Inquiring about his current job.
In order to ensure that the description of "the case" is complete, all of The steps, even those that are generally omitted because they seem obvious, must be included.
Since steps are sentences and their verb determines the action to be performed, they can be classified according to the type of action that the verb denotes and by analyzing the 15 nouns that follow the verb (not including the special words defined in Substage 82:
articles, conjunctions, propositions, and prepositions).
The guidelines for classifying the sentences by Step Type is called the Step Type Logic, as a part of the Morphosyntactic Rules defined in Substage A2 and described below:
CC Step: (Step that contains checking/confirmation actions) 20 These are steps in which the verb defines checking or confirmation actions, such as: Check, Confirm, Restrict, and the like. In this case, the veib is always coupled to a sentence that represents a mathematical logic for the system. Some examples of this type of sentence are:
Check that the items have a positive inventory, Confirm that the client has a tax ID number, Restrict the intake of expired merchandise.
QS Step (Step that includes query/search actions) These are steps in which the verb defines query or search actions, such as:
Search, Locate, Select, Query, Indicate, Display, Show, and the like. In this case, the verb is always followed by a noun or a direct object. Some examples of this type of sentence are: Query the items, Show the balances, Display the data, Show the results, Search the items, Locate the spare pans, Select the clients.
FX Step (Step that includes explicit calculation actions) These are steps in which the verb specifically defines calculation actions, such as:
Calculate, Group, Average, Add, and the like. In this case, the verb is always coupled to a sentence that represents a mathematical logic for the system. Some examples of this type of sentence are: Calculate total sales, Group the items by color, Average last 5 month's cost.
L Step (Step that includes linking actions) These are steps in which the verb defines linking actions, such as: Relate, Link, Associate, Compose, and the like. In this case, the verb is followed by at least two nouns. Some examples of this type of sentence are: Link the items with the prices, Link 10 the equipment with the spare parts, Associate the taxes with the shares, Compose the product with the inputs F Step (Step that does not correspond to any of the previous types) These are steps in which the verb does not correspond to any of the previous types because it refers to an action that is specific to "the case". The verb can represent any of 15 the following models: Model 1: Verb followed by one or more nouns. For example: Buy an item, Sell fruits, Fix the tools, Solve problems. Model 2: A verb that is not followed by a noun. For example: Enter, Exit.
The steps are generally described in the following order 1) F Step, 2) CC
Step, 3) QS
Step, 4) FX Step, 5) L Step.
Stage D. Identifying and storing the simple sentences and the mathematical moments of "the case"
In this stage, the simple sentences of "the case" are listed, taking each paragraph of the description of "the case" and extracting the sentences with only one verb, in order to 25 upload them into the Case User Interface 122 of the Input/Output Device 120. For example, if the descriptive paragraph is: "The item is an inventory item. The person measures the item in a unit of measurement and places the Order, for which he is responsible, and links it to an Order Type", the corresponding simple sentences are:
"'The person measures the item in a unit of measurement", "The person places the 30 Order", "The organization holds the person responsible for the Order", "The item is an inventory item", "The person links the Order to an Order Type."
In freely written texts, there are sentences with implicit subjects, generally separated by conjunctions, within the same paragraph. In that case, the subject is exposed in order to form a complete sentence, with the purpose of converting sentences with implicit subjects into simple sentences with explicit subjects. For example, there is an implied subject in the following sentence separated by the conjunction "and": "The person measures the item in a unit of measurement and places the Order", and is turned into two simple sentences: "The person measures the item in a unit of measurement", "The person places the Order".
In this step, it must be noted that a description is a collection of simple sentences that describe "the case". One simple sentence that is derived from the answer to the questions Who, What, Where, Flow and When corresponds to each step of the process.
Regarding the mathematical components, the present invention is able to identify the mathematical functionality of the text entered, the present method identifies the sentences for each of the components of the required functionality. That is, each mathematical functionality is broken down into several simple sentences. As shown in FIG. 4G2, simple sentences are identified for a mathematical functionality using the five simple questions sentences. For example: the mathematical functionality that allows the calculation of tax withholding in payments, consists of 5 simple sentences.
Once the simple sentences are identified and those with implicit subjects are completed, they are uploaded into the Case User Interface 122 of the Input/Output Device 120.
In this stage (FIG. 4D), the simple sentences of "the case" are identified by the following substages:
Substage Dl. Answering the questions for each step of "the case" for steps of the kind L and F
In this stage, each simple sentence of "the case" is used to answer the questions When, Where, What, How and When.
For each simple sentence stored in the Simple Sentences and Questions Dynamic Database Memory 171, the Processor 150 displays each sentence in the Case User Interface 122 of the Input/Output Device 120, asking the questions Who, What, Where, How and When. For each sentence shown, the user enters the answer, while ensuring that each answer is a constituent part of the meaning of the sentence. In some cases, it may not be possible to answer one or several of the questions.
5 The answers to the aforementioned questions make explicit every part of the simple sentence, which, in a preferred embodiment of the present invention, must be written in the present tense.
The guidelines for classifying the sentences by question type is called the Questions Logic, as a part of the Morphosyntactic Rules defined in Substage A2.
10 Substage D2. Concatenating the answers from each step of the kind L and F
Once the answers to the questions am uploaded, each answer is concatenated in the following order: When, Who, What, How, Where. In this way, the texts of the answers are joined as one simple sentence and stored in the logical structure of the Simple 15 Sentences and Questions 171 of the Dynamic Database Memory 170.
The answers to the aforementioned questions make explicit every part of the simple sentence, which must be written in the present tense.
For example, for the incomplete sentence: "Ask for his identification document", if the 20 previously described method is applied, the result is a simple sentence:
When the person enters, the system operator records the number of the identification document.
Substage DI Identify the mathematical moments of the case With the aim to structure the conceptual mathematical logic of the description of the 25 case, this stage identifies the mathematical components of the phrase used in the case.
For example:
Moment: calculate the tax withholding.
Step 1: Check payments (type QA) 30 Step 2: Add the paid amounts (type FX) Step 3: Consult aliquot (type QS) Step 4: Calculate tax (FX type) Step 5: Validate results (type CC) FIG. 4G2 and FIG. 4G3 show the structure of each step and how the User Interface Case 122 is presented for each type of step.
Substage D4. Answer the questions for each step of "the case" for steps of the kind QS, FX and CC
At this stage, the method of the present invention takes each simple sentence corresponding to a Mathematical Moment of "the case", and the questions When, Who, What, How and Where should be answered for the cases that refer to these types of steps.
For each simple sentence stored in the Simple Sentences and Questions Dynamic Database Memory 171. Processor 150 displays each sentence in the Case User Interface 122 of the Input/Output Device 120, asking the questions Who, What, Where, How and When. For each sentence shown, the user enters the answer, while ensuring that each answer is a constituent part of the meaning of the sentence according to the mathematical content of the step. In some cases, it is possible that one or more of the questions cannot be answered.
When the aforementioned questions are answered, all parts of the simple sentence are made explicit, which, in a preferred embodiment of the present invention, must be written in present tense. In addition to the answer to each question, for mathematical cases, the required specification in each question must be completed for each type of step. This specification links the meaning of each answer to each question with the functional components created from the previous steps, so that when Substeps G2 and G3 are executed, the functional models associated to the mathematical steps have all the necessary elements for the automatic creation of the classes formulaft and dominiocbc.
In the User Interface Case 122-1, simple sentences are entered for the EX step type.
In the User Interface Case 122-2, simple sentences are entered for the CC step type.
In the User Interface Case 122-3, the simple sentences are entered for the QS
step type.
As an example for each type of step QS, FX and CC, the following cases are described below:
5 Example of QS step type:
In this example, each sentence in the Case User Interface 122 is described, for the type of step QS, according to the representation of FIG. 4G3 and details of FIG.
4G3a.
When: Anytime For steps of the type QS, "At any time" refers to the description of when the action will be executed.
Who: The system For steps of the type QS, "The system" is a description of who will execute the action. In all cases, the queries are executed by the system.
What: Check The verb is "Check"
payments "Payments" (OD) is a class created through the step type F.
(date, concept, amount) are attributes of the "payments" class.
In User Case Interface 122-3, in the user interface component 122-31 the user defines the mathematical specificity of what.
The Input/Output device 120 automatically exposes the User interface Case 122, the interface component 122-35 by means of the identification of the "Payment" class, in order to allow the selection of the existing attributes in the "payment" class and their related classes. The words that are in parentheses next to the noun are (number of attributes 8c}.
In this example, the user chooses the following attributes:
date, concept, amount. See Figure FIG. 4G3a How:
Current and Valid" and "non-exempt", both words constitute a description non-exempt of the filter conditions of the query.
For this type of QS step, the "how" represents the conditions of the query.
In the User Interface Case 122-3, in the User Interface Component 122-32, the user defines the mathematical specificity of the "how." Automatically, the Input/Output device 120, from the identification of the class "Payments"
(referenced in the "what"), exposes in the user interface Case 122, the interface component 122-36 to allow the selection of existing attributes in the payments class, its related classes and the mathematical operators needed to specify the description condition in the "How."
In this example, the use choses the following attributes: date, concept, amount. See FIG. 4G3a Where: Payments "Payments that apply" (NOUN) is the name of the class that apply where the results of the query will be stored. That class can exist or not, if it does not exist, it will be created automatically during the execution of Sub-step G3.
In User Interface Case 122-3, in the User Interface Component 122-33, the user defines the mathematical specificity of "where." The infoimation entered in this interface will be automatically solved by the word logic. The Processor 150 will interpret that the words that are in parentheses after the name of the class are existing attributes or attributes that need to be created if they do not exist which belong to an (enumeration of attributes &).
In this example, the Processor 150 will create the following attributes: date, concept, amount. See FIG. 4G3a.
For this kind of step QS, the "when" represents the place where the result will be stored.
Type of result: The kind of value indicates whether the expected result after A value executing the operation will be a single value, or a set of A set of values values.
In the User Interface Case 122-3, in the User Interface Component 122-34, the user defines the type of expected result.
Example of the FX step In this example, each sentence in the Case User Interface 122 is described, for the type of step FX, according to the representation of FIG. 4G2.
When: When saving For steps of the type FX, "When saving" refers to the description of when the action will be executed.
In User Interface Case 122-1, in the User Interface Component 122-11, the user defines the specificity of 'When."
The Input/Output device 120 automatically exposes the User interface Case 122, the interface component 122-15 to allow the selection of one of the available events.
In this example, the user chooses the "when saving" option.
See Figure FIG. 4G2a Who: The system For steps of the type FX, "The system" is a description of who will execute the action. In all cases, the queries are executed by the system.
What: Calculates The verb is "Calculate"
the total "Total taxed" (OD) is a class created through the step type F.
taxed In User Case Interface 122-1, in the user interface component 122-12 the user defines the mathematical specificity of "What." The user enters the name of the class with its attributes in parentheses. This class, pm-existing or not, will receive the value resulting from the total taxed. In this example, the user defines that the invoice. In the taxed amount attribute, the user will receive the result of the calculation. See Figure FIG. 4G2a How: Adding the "Adding the payments that apply,"
is a description of the payments mathematical operation that is executed.
that apply For this type of FX step, the how represents the mathematical action that describes the formula necessary to solve the what.
In User Interface Case 122-1, in the user interface component 122-13 the user defines the mathematical specificity of the how. Automatically the Input/Output device 120, from the class identification Payments that apply, exposes in the User Interface Case 122, the interface component 122-16 to allow the selection of existing attributes and the use of mathematical operators to calculate the total taxed.
In this example, the user chooses to add the amount attribute.
See Figure FIG. 4G2a Type of result: The kind of value indicates whether the expected result after A value executing the operation will be a single value, or a set of A set of values values.
Example of the CC step In this example, each sentence in the Case User Interface 122 is described, for the type of step CC, according to the representation of FIG. 4G2.
When: When saving For steps of the type CC, "When saving" refers to the description of when the action will be executed.
In User Interface Case 122-2, in the User Interface Component 122-21, the user defines the specificity of "When."
The Input/Output device 120 automatically exposes the User interface Case 122, the interface component 122-25 to allow the selection of one of the available events.
In this example, the user chooses the "when saving" option, See Figure FIG. 4G2b Who: The system For steps of the type CC, "The system" is a description of who will execute the action. In all cases, the queries are executed by the system.
What: Validate the The verb is "Validate"
result "Result" (OD) is a class created through the step type F
previously defined or not created at this stage.
In User Case Interface 122-2, the user defines the mathematical specificity of the "What."
The user enters the name of the class with its attributes in parentheses. This class, pre-existing or not, will receive the value resulting from the validation. In this example, the user defines that the resulting class, in the checkvalid attribute, will receive the result of the validation.
See Figure FIG. 4G2b How: Comparing "Comparing the tax with the taxed amount" constitute a the tax with description of the mathematical operation that is executed.
the taxed For this type of step CC, the "how" represents the amount mathematical action that describes the formula necescary to solve the validation.
In the User Interface Case 122-2, in the User Interface Component 122-23, the user defines the mathematical specificity of the "how." Automatically, the Input/Output device 120, from the identification of the nouns of the sentence, exposes in the User Interface Case 122, the interface component 122-27 with the classes with the classes that contain some of those nouns in their name or names of their attributes, to allow the selection of the existing attributes and the use of mathematical operators to detail the comparison of the validation.
In this example, the user chooses to compare Invoice (tax amount) with Total payments (taxed amount). See Figure FIG. 4G2b Type of message In User Interface Case 122-2, in the user interface component 122-28 the user defines the type of message, selecting an option in the user interface component 122-25.
Condition of the In User Interface Case 122-2, in the user interface component message 122-29 the user defmes whether the mese-age will be presented when the result of the validation is true or false.
Message In User Interface Case 122-2, in the user interface component 122-2o the user defines the text of the message that will be presented when the message condition is met.
The guidelines for classifying sentences by question, are called "Question Logics", as part of the Morphosyntactic Rules defined in Sub-Step A2.
5 Substage D5.
Concatenate the responses of each step of the type QS, FX and CC
Once the answers are loaded to the questions, each answer is concatenated in the following order: When, Who, What, How, Where. In this way, the texts of the answers are concatenated in a simple sentence and stored in the Simple Sentences and Questions 10 171 logic structure in the Dynamic Database Memory 170.
Through the answer to the aforementioned questions, all the parts of the simple sentence are explicitly exposed, which must be written in the present tense.
In the case of steps of the type QS, FX and CC, each simple sentence adds a series of 15 additional words to the concatenation, in order to provide sense to each sentence. An example of such competition is illustrated in bold as follows:
The construction of the Simple Sentence for the step QS type cases is:
The system checks payments (date, concept, amount), with the condition in force and non-exempt and stores them in payments that apply (date, concept, amount).
5 The construction of the Simple Sentence for the step FX type cases is:
The system calculates the tax, adding the amounts that apply and stores the result in invoice (tax amount).
The construction of the Simple Sentence for the step CC type cases is:
The system validates the result, comparing invoice with total payments and stores the result in attribute RdoValido (checkvalid).
Stage E.
Identifying and storing the functional and mathematical components.
In the context of the present invention, it must be understood that a functional component corresponds to each of the words of the sentence that were automatically extracted and classified by the Processor 150, according to the grammatical and syntactic structure of the language in which it was expressed.
In this stage (FIG. 4E), the substages for identifying the functional components of the sentence am described.
25 Substage El.
Deconstructing the simple sentence into words and identifying them The functional components generated by the Processor 150 are divided into the following types:
= Noun functional components 30 o Identified in the What -> Noun - Direct Object (DO) o Identified in the Who -> Noun - Person (PER) o Identified in the When -> Noun (NOUN) o Identified in the How -> Noun (NOUN) = Adjective functional components o Identified in any of the questions -> Adjective (AIM) = Verb functional components 5 o Identified in the What -> Verb (VERB) o Identified in the How -> Verb (VERB) = Adverbial functional components o Identified in the How -> Adverb (ADV) 10 The guidelines for structuring the words is called the Words Logic, as a part of the Morphosyntactic Rules defined in Substage A2 and described below:
In this substage, the Processor 150, configured as an Automatic Sentence Analyzer 151, carries out the following actions for each simple sentence of "the case":
15 (a) Listing words.
For every sentence, list each of its words.
(b) identifying the words to be excluded Exclude from functional component selection those words to be excluded as defined in 20 Substage B2; except in the case when such words are part of grouped nouns, such as:
list of prices, box of cookies.
(c) Identiffing the verbs.
Identify verbs by comparing the ending of each word to the list of verb endings defined in Substage B4 or as the first word of the answer to the question What in the simple 25 sentence.
(d) idennfring nouns.
Identify as nouns the words that are not verbs and were not excluded.
30 (e) Tagging nouns as &attribute Some nouns behave like &attributes. An &attribute is understood to be the name of a feature of another noun, which is not an adjective. Regarding the list of identified nouns, the &attributes are selected manually in one embodiment of the invention. In another embodiment, the processor recognizes them automatically when the nouns are listed within parentheses in the text. Example: in the sentence "upload the document number of the client", 'document number' is an &attribute of 'client'.
02 Identifying grouped nouns.
Identify as nouns the grouped nouns when there are two consecutive nouns with a special word in between them that acts as a link.
(g) Mena:6417g the functional components based on the words.
From the list of classified words, the nouns and verbs are identified as functional components and classified as VERB, DO, NOUN, PERSON accordingly, (h) Checking for the previous existence ofeach functional component one by one.
When a new functional component of any type is identified, check if it previously exists. If not, it is created. If if exists, it continues.
Associating the functional components with the question that they answer.
Classify the functional components by type based on the question to which the word belongs:
i. If it belongs to When: the words grouped with a verb are adverbial functional components (ADV).
If it belongs to What: the nouns that follow the verb are functional components of the direct object (DO) type.
iii. If it belongs to Who: the first noun is a person (PERS) functional component.
The Processor 150, configured as an Automatic Sentence Analyzer 151, carries out the following actions, as shown in FI(i 4E1, in order to obtain the associated functional components from the words of each simple sentence:
- For the language of "the case", it takes the verb endings WE), the list of special words (SW), within which are the list of grouping words (GRW), the list of excluded words (EXW), from the logical structure of the Languages, Words and Morphosyntactic Rules 162 of the Static Database Memory 160.
- It takes the simple sentences of "the case", structured in the corresponding questions, from the logical structure of the Simple Sentences and Questions 171 of the Dynamic Database Memory 170.
- It assigns a sequential number to each simple sentence of "the case".
5 - For each simple sentence of "the case", for each question, it takes the words one by one and characterizes them according to word type as follows:
. lithe question is How, it compares the endings of each word in the question to the verb endings VE in order to identify the verbs. Once the verbs are identified, it compares the remaining words to the list of special words SW in order to identify prepositions, 10 articles, conjunctions and adverbs. The words that follow the verbs and are not SW are nouns. The words that follow the nouns can be SWs that are members of the grouping words GRW list, in which case the GRW plus the words that immediately precede and follow it constitute a grouped noun. The remaining words That are not SWs are adjectives.
15 . if the question is What, the first word is a verb. Once the verbs are identified, it compares the remaining words to the list of special words in order to identify prepositions, articles, conjunctions and adverbs. If the verb is transitive, the word that follows the verb is not a SW; it is a noun that behaves as a direct object (DO). The words That follow the nouns can be SWs that are members of the grouping words GRW
20 list, in which case the GRW plus the words that immediately precede and follow it constitute a grouped noun. The remaining words that are not SWs are adjectives.
. if the question is Who, it compares the remaining words to the list of special words in order to identify prepositions, articles and conjunctions. The words that follow the nouns can be SWs that are members of the grouping words GRW list, in which case the 25 GRW plus the words that immediately precede and follow it constitute a grouped noun.
The remaining words that are not SWs are adjectives.
Substage E2. Adding functional components not included in the description.
30 In one embodiment of the invention, a user adds functional components that are not present in the list of automatically identified functional components.
Proceeding with the same example:
= The number of the identification document is an &attribute detected automatically from the sentence.
= The person's age is an &attnbute added by the user.
In one embodiment of the invention, the corresponding step and simple sentence are 5 created automatically for each functional component that is added.
Substage E3. Identifying the functional components associated to the types of the steps FX, CC and QS.
10 From the mathematical moments and steps indicated in Substages 93, D4 and D5, the Processor 150, configured as an Automatic Sentence Analyzer 151, identifies the complementary functional components corresponding to the types of the steps FX, CC
and QS, as follows:
15 Substage E3.a ¨ Mathematical components of sentences corresponding to FX
steps types a. Applies the word logic to the text entered in the Interface Component 122-12, to identify the NOUN (Invoice) and the attributes in parentheses (taxedamount).
These attributes constitute an {enumeration of attributes&}.
20 b. Defines that the content of 122-13, is a fiuictional component {fx expression}, linked to the NOUN (Invoice), attribute (taxedamount) identified in substage E3.a, item a.
Substages E3.13 - Mathematical components of the sentences corresponding to CC
steps types 25 a. Applies the words logic to the text entered in the interface component 122-22, to identify the NOUN (Result) and the attributes in parentheses (validcheek).
These attributes constitute an {enumeration of attributes&}.
b. Defines that the content of 122-23, is a functional component {fx expression), linked to the NOUN (Result), attribute (valideheek) identified in sub-step E3.b, item a.
Substage E3.c - Mathematical components of the sentences corresponding to QS
step types a. Applies the word logic to the text entered in the interface component 122-31, to identify the NOUN (payments) and the attributes in parentheses (date, concept, amount). These attributes constitute an (enumeration of attributes &).
b. Defines that the content of 122-32, is a functional component {fx expression}, linked 5 to the NOUN (Payments that Apply), attributes (date, concept, amount) identified in substage E3 .b, item c.
c. Applies the words logic to the text entered in the interfac,e component 122-33, to identify the NOUN (Payments that Apply) and the attributes in parentheses (date, concept, amount). These attributes constitute an {enumeration of attributes &}.
Substage E4. Applying Morphosyntactic rules to functional components In one embodiment of the invention, the user can enable the use of Morphosyntactic rules, so that the Processor 150 complies with the logic defined in Substage A2.
In this embodiment, each word of a simple sentence is classified as a Word 161-15 according to the MAS Metamodel from FIG. 4A1, and is assigned one of the following Word types: VERB, NOUN, ART, CONJ, ADJ. Performer 161-2 and Performable 161-3 Words are also created, assigning the Performance 161-4 class to transitive verbs. All of the Words 161-1, classified by type, are the functional components. As shown in FIG. 4D, once each functional component is created, it is linked to the sentence from 20 which it derives, to the question it belongs to, the corresponding word type, and to the Morphosyntactic Rule identifier that represents the sequence of word types that make up the question, as indicated in Substage A2.
During functional component selection, the special words defined in Substage B2, 25 except in the cases that the corresponding Morphosyntactic Rule marks it as a specific word.
In this embodiment, the Processor 150 creates two new functional components for each transitive verb. A functional component named as the verb plus the agentive suffix "ER"
30 (Performer 161-2) and a functional component named as the verb plus the suffix "BLE"
(Performable 161-3). The transitive verb is the Performance 161-4 Word. For the noun that carries out the transitive verb, the Processor 150 creates a verb "is"
that is associated with the ER of the verb. For the target noun (the direct object of the sentence), the processor creates a verb "is" that is associated with the BLE
of the verb.
Stage F. Generating the Functional Architecture documents 5 In this stage (FIG. 4F), the Processor 150, configured as a Document Generator 153, generates the Functional Architecture documents, using the formats and notations stored in the logical structure of Formats, Graphical Notations and Si]) Sentences 163 of the Static Database Memory 160 and displays them in the Document Display User Interface 124 of the Input/Output Device 120.
In this stage (FIG. 4F), the Functional Architecture documents are generated by the following substages:
Substage F1. Establishing Morphosyntactic Rules for Functional Architecture As established in Stage A, for each transitive verb followed by a prepositions "to" or "to the", the processor creates the following for the noun that carries out the verb: a syntactic component, the name of which is the verb plus the agentive suffix "er"
(hereinafter called the ER of the verb), and it creates the following for the noun that 20 receives the action of the verb: a syntactic component, the name of which is the verb plus the suffix "ble" (hereinafter called the BLE of the verb). The processor creates a new noun called "Performance of the verb" between the source noun and the ER
of the verb. For the source noun, the processor creates a verb "is" that is associated with the BLE of the verb. For the target noun, the processor creates a verb "is" that is associated 25 with the ER of the verb.
Substage F2. Defining the graphical notation to be used in the Functional Architecture document In this stage, using the Formats, Graphical Notation, and STD Sentences User Interface 30 123 of the Input/Output Device 120, the graphical notation that is to be used in the Functional Architecture diagrams is defined, indicating the graphical component to be used in the diagram for each functional and mathematical component, according to the corresponding word type. Storing the defined graphical notations in the Database Memory 130. In this way, the user enters the graphical notations in the visual grid that is displayed by the Formats, Graphical Notation, and STD Sentences User Interface 123, as that shown in FIG. 6.
Substage F3. Generating the Functional Architecture documents The Processor 150, configured as a Document Generator 153, takes the functional and mathematical components stored in the Functional Components logical configuration 172 of the Dynamic Database Memory 170, and constructs a Functional Architecture document, using the notation defined in Substage F2, applying the MAS
Metamodel that is in the MAS Metamodel 161 logical structure of the Static Database Memory 160. In order to generate the Functional architecture diagram, the processor scans the list of functional components and applies the following rules until it produces a diagram such as that shown in FIG. 4F1:
Rule 1: For each NOUN-type functional component, draw a FNOUN graphical element with a FC label within it.
Rule 2: For each VERB-type functional component, draw a line between the NOUN
that precedes and the NOUN that follows the VERB, taking into account: i) if the VERB is "to be or any of its conjugations", draw a FTOBE graphical element from the NOUN that precedes the VERB to the NOUN that immediately follows the VERB; ii) if the VERB is any other transitive verb, draw a FERBLE graphical element from the NOUN that precedes the VERB to the NOUN that immediately follows the VERB;
iii) if the VERB is not transitive, draw a FVERB graphical element from the NOUN
that precedes the VERB to that same NOUN.
Rule 3: For each PREP-type functional component, but only for the prepositions "of' and "of the", draw a FPREP graphical element between the NOUN that precedes the preposition and the NOUN that follows the preposition.
Rule 4: For each transitive verb, draw the graphical components that correspond to the words created based on the MAS Metamodel defined in Substage Al: a FERBLE
graphical element for the Performer word, a FERBLE for the Performable word, and a FPERF for the Performance word.
The Processor 150 displays the Functional Architecture documents on the Input/Output Device 120.
Stage G. Identifying and storing the design components.
In the present invention, a design document of "the case" is composed of the following diagrams: Conceptual design diagrams, Use case diagrams, Class diagrams, Entity relationship diagrams, Screen design diagrams, and Report design diagrams.
Each design document of "the case" displays graphics. Specifically, Class diagrams are used in the present invention. Each graphical element that is part of the class diagram according to the Object Orientation (00) paradigm will be called a design component (DC). Example: class relationship, attribute, method.
For the purposes of the present invention, it should be understood that class, attribute, relationship and method are design components as defined in the Object Orientation (00) paradigm.
In this stage (FIG. 4G), the Processor 150, configured as an Automatic Software Designer 152, automatically designs the software by means of the following substages:
Substage Gl. Group functional and mathematical components, create their classes and inheritance relationships.
In this substage, the Processor 150, configured as an Automatic Software Designer 152, creates the classes and inheritance relationships, based on the similarity of their attributes, carrying out the following actions:
(a) Selecting functional components It takes the list of functional and mathematical components created in Stage E, which are stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170, except for the functional components tagged as "Is attribute"
and those of the VERB Word Type.
It deletes the functional and mathematical components that have very similar names (for example, 90% similarity using the Levenshtein Distance algorithm), as is the case for the words 'person' and 'persons,' in which Person' is considered a single functional component.
(b) Grouping similar functional components It groups the functional components included in the previous step using (list of &attributes}, by placing functional components that have the same (list of &attributes}
in the same group. It takes those groups that have more than one functional component 10 and assigns them a word name, for example, Word01, Word02.
(c) Creating classes by group It creates a class for each Group that has more than one functional component, indicating each element of the (list of &attributes} as an attribute, and assigning to the 15 class the name of the word that corresponds to the group.
(d) Creating inheritance relationships for groups For those functional components that belong to the groups with more than one element, it creates an inheritance relationship between each class that the functional component 20 belongs to and its respective group class, depending on the (list of &attributes} group to which it belongs. That is, the inheritance relationship exists between classes that have the same (list of &attributes} generalized in the same group class from the previous step.
25 Substage G2. Creating formula classes based on FX- and CC-Type Steps In this substage, the Processor 150, configured as an Automatic Software Designer 152, performs the following actions on the simple sentences of "the case", divided by question type:
30 (a) Listing VERB and DO functional components that belong to EX and CC steps It lists all VERB- and DO-type functional components and identifies their corresponding step type, as defined in Substage C3.
(b) Creating classes for KY- and CC-type steps Based on the functional and mathematical components that belong to FX- and CC-type steps, it creates classes with behavior defined by the VERB. For each VERB, it creates a class and adds a method, called formula, which is responsible for computing the expression indicated by ffx expression), identified in the Substage E3.a and Substage E3.b.
For each class created in the previous step, it performs the following actions:
a. If the DO "Is Attribute", it creates an attribute called DO in the class.
b. If the DO "Is Attribute", it creates a relationship between the class from the previous step and the class that contains DO as its attribute (called Targetaass). It names this relationship TargetClass_Movement.
Substage G3. Creating domain classes based on QS-type Steps In this substage, the Processor 150, configured as an Automatic Software Designer 152, performs the following actions:
(a) Listing VERB and DO functional components that belong to QS steps It lists all VERB- and DO-type functional components and identifies their corresponding step type, as defined in Substage C3.
(b) Creating classes for QS-type steps Based on the functional components that belong to the QS-type steps, it creates classes with behavior defmed by the VERB. For each VERB, it creates a class called VERB+DO, and adds a method called fxdomain, which is responsible for searching for data as defined by {fx expression}, identified in the Substage E3.c. It creates a class called "Domain"+VERB+DO with the &attributes indicated in {list of &attributes}. If the list of &attributes matches the &attributes of one of the classes created previously, it creates an inheritance relationship between them in the corresponding direction.
The fxdomain method calls upon the "Domain"+VERB+DO.
Substage G4. Creating domain classes based on L-type Steps In this substage, the Processor 150, configured as an Automatic Software Designer 152, carries out the following actions:
5 (a) Listing VERB and DO functional components that belong to L-type steps It lists all VERB- and DO-type functional components and identifies their corresponding step type, as defined in Substage C3.
(b) Creating classes for L step types 10 Bawd on the L-type functional components, it creates a relationship between DO and NOUN called DO + "for" + NOUN.
Substage G5. Creating operation classes based on F-type Steps In this substage, Pmcessor 150, configured as an Automatic Software Designer 152, 15 carries out the following actions:
(a) Listing VERB and DO functional components that belong to F steps It lists all VERB- and DO-type functional components and identifies their corresponding step type, as defined in Substage C3.
(b) Creating classes for F-type steps Based on the F-type functional components, it creates the following classes depending on whether or not the DO "Is Attribute":
25 a. If the DO "Is Attribute": it does not create a class.
b. If the DO "Is Attribute":
i. it creates a class called: VERB + DO, which will be called Class Cab ii. The DO class from the F-type step will be called Class_Rec 30 iii. It creates a 1 to n relationship between the Class_cab and the Class rec. It names the relationship "Movement"-EDO.
Substage G6. Applying Morphosyntactic rules to design components In one embodiment of the invention, the user can enable the use of Morphosyntactic rules, so that the Processor 150 complies with the logic defined in Substage A2.
Based on the Morphosyntactic Rules defined in Substage A2 and stored in the logical 5 structure of Languages, Words, and Morphosyntactic Rules 162 of the Static Database Memory 160, the Processor 150 determines which software design components (DC) are derived from each functional component (FC) stored in the Functional Components logical structure 172 of the Dynamic Database Memory 172.
10 It lists the questions, and creates the rule identifier for each question based on the types of words that make up the answer. It then searches for said rule identifier in the logical structure of Languages, Words, and Morphosyntactic Rules 162 of the Static Database Memory 160, and locates the Base Rule by matching the identifier. There may be more than one Morphosyntactic rule with the same Base Rule identifier, in which case the 15 rule that matches the Question, the F step type and the specific word(s) found in the text and indicated in the Morphosyntactic rule is selected. In the case that the identifier does not match any base rule, the Processor 150 ignores the question.
In this embodiment, for each transitive VERB identified in the previous substages and 20 as defined in Substage Al, the Processor 150 creates a Word 161-4 associated with the verb and the Performer 161-2 and Performable 161-3 words.
For the case of an L-type step, the user can create a Morphosyntactic rule dependent on the Base Rule VERB-NOUN-PREP-NOUN, in which the verb "to link", for example, is 25 treated as a specific word. In this case the step type would be L and the Processor 150 would create a relationship between DO and NOUN called DO + "for" + NOUN.
For the cases of the FX type steps, the Processor 150 creates for each mathematical component identified in the Substage E3 a, a word of the type formula& with the {fx 30 expression } entered in the interface 122-13, linked to the attribute (taxedamount) identified in sub-step E3.a, item a.
For the case of steps type CC, the Processor 150 creates for each mathematical component identified in Sub-step E3.b, a word of type formula& with the {fx expression } entered in the interface 122-23, linked to the attribute (validcheck) identified in sub-step E3.b, subparagraph a.
For the case of steps type QS, the Processor 150 creates for each mathematical component identified in Sub-step E3.c, a word of type &domain with the {fx expression} entered in the interface 122-32, and a word of the type &formula linked to the previous fxdomain. This formula ft is linked to (enumeration of attributes&} (date, concept, amount) identified in sub-step E3.b, subparagraph c.
FIG. 4A3 shows a software design class model with an application example that describes the Morphosyntactic Rules for Software design based on the IVIAS
Metamodel 161. These Morphosyntactic rules give rise to the modeling of the sentences of "the case". In order to design software from natural language, Morphosyntactic Rules for Software design are defined for each of the questions that describe a simple sentence (When, Who, What, How, Where). These rules, stored in the Words, Rules and Morphosyntactic Rules Static Database Memory 162, are compared with the rule identifier computed for each simple sentence, as indicated in Substage 2A, and based on matching, the logic used by the Processor 150, configured as an Automatic Software Designer 152, to generate software design components, is defined.
Stage H. Defining formats, graphical notation and STD sentences In this stage (FIG. 4H), formats for the Business, Analysis and Design documents, and the parameters necessary to generate them, are defined by means of the following steps:
Substage Hl. Defining the output formats for the documents In this substage, using the Formats, Graphical Notation and STD Sentences User Interface 123 of the Input/Output Device 120, the display or printing formats for the business documents, analysis documents, and design documents are defined.
These definitions include defining margins, fonts, and the sequence sort order in which the content of each document will be displayed.
For the business documents, the presentation order and the sequence of the layers, 5 resources, processes, subprocesses, moments and steps are defined.
For the analysis documents, the presentation order and the sequence of the global and detailed requirements are defined.
10 In one embodiment of the invention, it is possible for a user to modify the formats, graphical notations and standard sentences uploaded in Substages F!, F2, F3 and F4, using the Formats, Graphical Notation and 5113 Sentences User Interface 123 of the Input/Output Device 120.
15 Substage H2. Defining the standard sentences for the requirements In this substage, using the Formats, Graphical Notation and 5113 Sentences User Interface 123 of the Input/Output Device 120, the standard sentences for describing requirements are entered, written in the language or languages that will be used to generate the requirements, and they are stored in the logical structure of Languages, 20 Words and Morphosyntactic Rules 162 of the Input/Output Device 160. The standard sentences necessary to generate the requirements are described below: These sentences must be translated and stored in each of the languages for which document requirement generation is desired.
25 (a) Standard sentences for global requirements:
To generate the Global Requirements, the following standard sentences are defined, which apply to the English language:
OracionSTD_abm_Sust: "Create, Read, Update and Delete"
30 OracionSTD abm Pers: "Create, Read, Update and Delete Entities with role"
OracionSTD verbo F: "Create transaction record"
OracionSTD verbo R: "Create rule that"
OracionSTD verbo conector R: "with"
OracionSTD_verbo: "Create rule that"
(b) Standard sentences for detailed requirements for NOUN and DO components To generate the detailed requirements for NOUN and DO functional components, the following standard sentences are defined, which apply to the English language:
OracionSTD Crear: "Create a new element"
OracionSTD_Agregar Atributos: OracionSTD_Agregar Atributos OracionSTD_Agregar Controles: "Perform the following controls when an element is created"
OracionSTD Baja: "Exclude a"
OracionSTD Edicion: "Update a"
OracionSTD Consulta: "Search the transaction records of' OracionSTD complemento control: "performing the following controls"
OracionSTD_complemento busqueda: "performing the following searches"
OracionSTD crear atributo: "Create the attribute"
OracionSTD validacion atributo: "Perform the following controls when the datum is completed"
(c) Standard sentences for detailed requirements for PERSON components To generate the detailed requirements for PERSON functional components, the following standard sentences are defined, which apply to the English language:
OracionSTD_permitirque: "Allow"
OracionSTD acciones Persona: "to perform the following actions"
OracionSTD afectacion Persona: "to be subject to the following actions"
OracionSTD responsabilidad_Persona: "to be performed under the responsibility of' (d) Standard sentences for detailed requirements for VERB components To generate the detailed requirements for VERB functional components associated with CC-type steps or FX-type steps, the following standard sentences are defined, which 5 apply to the English language:
OracionSTD crear Fx: "Create a formula for"
OracionSTD argumentos: "using the following data as arguments"
OracionSTD expresion: "in the following expression"
OracionSTD _ msj _error_Fx: "If the formula returns an error, display the 10 following message"
OracionSTD msj_ok_Fx: "If the formula returns a valid result, display the following message"
OracionSTD msj adveitencia Fx: "If the formula returns a warning, display the following message"
To generate the detailed requirements for VERB functional components associated with QS-type steps, the following standard sentences are defined, which apply to the English language:
OracionSTD crear busqueda: "Create a rule for"
20 OracionSTD exponer atributos: "displaying the following data"
OracionSTD definir brisqueda: "Allow searching for the data of' OracionSTD conector orden: "by"
OracionSTD definir filtro: "Allow filtering the data of' OracionSTD definir_orden: "Allow sorting the data of"
25 OracionSTD definir agruparniento: "Allow grouping for the data of' OracionSTD definer total: "Display the following summarized data"
To generate the detailed requirements for VERB functional components associated with L-type steps, the following standard sentences are defined, which apply to the English 30 language:
OracionSTD crear regla: "Create a rule that"
OracionSTD condicion: "as long as the following condition is met"
OracionSTD vincular: "Link"
OracionSTD conector vincular: "with"
OracionSTD complement control: "performing the following controls"
5 OracionSTD des vincular: "Unlink"
OracionSTD consultar: "Search"
OracionSTD complement relacionar: "in a relationship with"
OracionSTD complement criteriobusqueda: "using the following search criteria"
To generate the detailed requirements for VERB functional components associated with F-type steps, the following standard sentences are defined, which apply to the English language:
15 OracionSTD_pennitir: "Allow"
OracionSTD habilitar_persona: "Enable"
OracionSTD complemento_accionpersona: "to decide on the action"
OracionSTD movimientos: "Allow the movements of' OracionSTD complemento_acargode: "to affect"
20 OracionSTD control nuevo: "Perform the following controls when creating a new transaction record of' OracionSTD control eliminar: "Perform the following controls when deleting the transaction record of' OracionSTD_control_modificar: "Perform the following controls when updating 25 the transaction record of' OracionSTD_precedencia: "based on the following existing records:"
OracionSTD nuevo movimiento: "Record n movements of' OracionSTD control_nuevo_movimiento: "Perform the following controls when creating a new movement of' 30 OracionSTD control eliminar movimiento: "Perform the following controls when deleting the movement of' OracionSTD control modificar movimiento: "Perform the following controls when updating the movement of' OracionSTD buscar elemento: "Search for the elements of"
OracionSTD complement buscarelemento: "to create a movement, performing 5 the following searches"
Substage H3. Defining the graphical notation to be used in the Software design In this stage, the graphical notation to be used in the software design diagrams is defined, using the Formats, Graphical Notation and STD Sentences User Interface 123 of the Input/Output Device 120.
The design diagrams can be displayed in various graphical notations, one of them being 15 UML notation, but it is possible to define graphical elements to represent the design documents.
Substage H4. Defining the graphical notation associated with the MAS Metamodel 20 Indicating the graphical component to be used in the Software design diagram for each element of the MAS Metamodel defined in Substage Al. In this way, the user enters the graphical notations in the visual grid that is displayed by the Formats, Graphical Notation, and STD Sentences User Interface 123.
25 The design diagrams can be displayed in various graphical notations, one of them being UML notation, but it is possible to define graphical elements to represent the design documents, as that shown in FIG. 7.
Stage I. Automatically generating business, analysis and design documents In this stage (FIG. 41), the Processor 150, configured as a Document Generator 153, generates the business, analysis and design documents, using the formats and notations stored in the Formats, Graphical Notations and STD Sentences 163 of the Static Database Memory 160, and displays them in the Document Display User Interface of the Input/Output Device 120, by means of the following substages:
Substage IL Generating Business documents In this stage, the Processor 150, configured as a Document Generator 153, composes the text in a business document. In the present invention, a business document is an analysis document that shows the simple sentences stored in the logical structure of Simple 10 Sentences and Questions 171 of the Dynamic Database Memory 170, by performing the following actions:
a). Ordering dimensions, temporal activities and simple sentences It orders the texts hierarchically, with layers at the top of the hierarchy and steps at the 15 bottom of the hierarchy, as shown in FIG. 412, thus:
- Layers 310 contain resources 320 - Resources 320 contain processes 330 - Processes 330 contain subprocesses 340 - Subprocesses 340 contain moments 350 20 - Moments 350 contain steps 360 that can be of up to five types, as explained previously.
- Steps 360 contain simple sentences 370 with their corresponding completed questions.
25 b). Consecutively joining the previously ordered components In a preferred embodiment (FIG. 5), the simple sentence is obtained by joining the answers to each of the questions in the preferred order, thus: When, then Who, then What, then How, and lastly Where, which does not mean the order cannot be changed.
When all of the processes are described using this method, a complete and detailed 30 composition of "the case" expressed in natural language is achieved.
Substage 12. Generating Analysis documents In this stage, the Processor 150, configured as a Document Generator 153, structures the functional requirements and automatically generates Analysis documents. In the present invention, an Analysis document shows the Requirements obtained from the fitnctional 5 components stored in the logical structure of Simple Sentences and Questions 172 of the Dynamic Database Memory 170, by performing the following actions:
a) Assembling global functional requirements The functional global requirements of "the case" are those actions that describe the 10 process in the order in which they must be performed so that they can be interpreted and the action to be performed can be determined, from the point of view of the functional requirements needed to construct a software application.
The Processor 150 takes the functional components stored in the Functional 15 Components logical structure 172 of the Dynamic Database Memory 170, and selects only the following: NOUN, PERSON, DO and VERB. For each of the aforementioned functional components, it generates a global requirement that is part of the scope of "the case", defining the global requirements for NOUN components (NOUN, DO, PER) and defining global requirements for VERB components.
Global requirements for NOUN components The Global requirement is assembled for each noun ftmctional component (NOUN, PERSON and DO), as long as it is not an attribute, by creating a tagged and sequentially numbered sentence, such as the sentence shown in Table 1, using the standard sentences 25 defined in Substage F2.
Table 1 Functional Mode of assembly of Global requirement component PERSON "Create, Read, Update and Delete Entities with role" + PERSON
Example: Create, Read, Update and Delete Entities with role 'system operator' NOUN "Create, Read, Update and Delete" + NOUN
Example: Create, Read, Update and Delete + 'person registry' DO "Create, Read, Update and Delete" + DO
Example: Create, Read, Update and Delete 'document number' Global requirements for VERB components The Global requirement is assembled for each VERB functional component by creating a tagged and sequentially numbered sentence In this case, the sentence is generated for each step type, based on the VERB, and uses the DO and the NOUN that are coupled to it in the What question, as shown in Table 3, to compose it:
Table 2 Functional Step type Mode of assembly of Global requirement component VERB CC "Create rule that" + VERB
+ DO
VERB QS "Create rule that" + VERB
+ DO
VERB FX "Create rule that" + VERB
+ DO
VERB L "Create rule that" + VERB
+ DO + "with" + NOUN
VERB F "Create transaction record" + DO
A single Global requirement is written from different steps and through a single functional component. In this case, the Global requirement is written only once to avoid repetition and it is linked to the corresponding steps as much times as necessary.
b) Assembling detailed functional requirements In this stage, the detailed requirements of "the case" are described for each Global requirement: the explicit detailed requirements, which are those clearly denoted in the sentences, as well as the implicit detailed requirements, which are those that are known to be necessary, but are not described explicitly.
In the context of the present invention, the sentences shown in quotation marks are the preferred sentences, taken from the logical structure of Languages, Words and Morphosyntactic Rules 162 of the Static Database Memory 160. However, these sentences can be replaced by sentences that have equivalent meaning and are suitable for the language chosen for the case, in the embodiment presented in Substage F2.
For each type of functional component, based on the definition of its Global Requirement, the detailed requirements of "the case" are defined using the standard sentences defined in Substage F2, For a better understanding of the present invention, it should be noted that in order to generate the detailed requirements, the words are substituted in accordance with the following criteria:
- NOUN refers to the functional components of this type defined in Substage D2.
- PERSON refers to the functional components of this type defined in Substage D2.
- DO refers to the fmictional components of this type defined in Substage D2.
- VERB refers to the functional components of this type defined in Substage D2.
- list of &attributes): the list of &attributes that describe NOUN, made up of the NGUNs that were marked as &attributes in Substage D2, plus those added in Substage Di - (list of *attributes): part of the list of &attributes defined in Substage D2 that is used to search, filter, sort, group or add the results of a search or query.
- {list of DO &attributes}: the collection so &attributes from the list of &attributes defined in Substage D2, made up of the elements that are associated with the DO component through the detailed requirements created in Substage G3.
- (list of NOUN &attributes): the collection so &attributes from the list of &attributes defined in Substage D2, made up of the elements that are associated with the NOUN component through the detailed requirements created in Substage G3.
5 - {list of PERSON &attributes}: the collection so &attributes from the list of &attributes defined in Substage D2, made up of the elements that are associated with the PERSON component through the detailed requirements created in Substage G3.
- {list of CC-type global requirements): the collection of global requirements, 10 made up of the global requirements that were defined based on the NOUN
component or the DO component belonging to CC-type steps identified in Substage E2. This list contains from 0 to n global requirements. If the list contains 0 global requirements, the detailed requirements that refer to CC-type global requirements are not generated.
15 - {list of QS-type global requirements): a list of global requirements generated based on the QS-type steps identified in Substage E3. This list contains from to n global requirements. lithe list contains 0 global requirements, the detailed requirements that refer to QS-type global requirements are not generated.
- {list of F-type global requirements): a list of global requirements generated 20 based on the F-type steps identified in Substage E5. This list contains from 0 to n global requirement& If the list contains 0 global requirements, the detailed requirements that refer to F-type global requirements are not generated.
- (ix expression): the expression for the formula that takes the listed data as arguments and was identified in Substage D3 for some of the steps of the type 25 FX, CC or QS.
- {error message): the text of the message that is to be shown in the system if there is an error in executing the formula, which was defined in Substage D3 for any stage of the kind QS.
- fok mescagel: the text of the message that is to be shown in the system if the 30 result of a check or confirmation is correct, which was defined in Substage D3 for any stage of the kind QS.
- (warning message): the text of the message that is to be shown in the system if the result of a check or confirmation is NOT correct, which was defined in Substage D3 for any stage of the kind QS.
5 Defining detailed requirements for NOUN components Based on the NOUN-type functional components stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170, and their respective Global requirement, the following detailed requirements are generated:
Functional Component Global requirement NOUN "Create, Read, Update and Delete" + {NOUN) Detailed requirements:
For each NOUN-type functional component, the following sentences that constitute the detailed requirements are wriuen, if the NOUN is not marked as an attribute:
1. OracionSTD Crear+ NOUN + OracionSTD Agregar Atributos + (list of &attributes) 2. OracionSTD Agregar Controles+ NOUN + (list of CC-type global requirements) 3. OracionSTD_Baja+ NOUN + OracionSTD_complemento_control + (list of CC-type global requirements) 4. OracionSTD_Edicion + NOUN+ "Performing the following controls" + {list of CC-type global requirements) 5. OracionSTD Consulta + NOUN+ OracionSTD complemento_busqueda+{list of QS-type global requirements) If the NOUN is marked as an attribute, the following requirements are defined:
1. OracionSTD ¨ crear¨ atributo + NOUN
2. OracionSTD_validacion_atributo + NOUN+ {list of CC-type global requirements}
Defining detailed requirements for PERSON components Based on the PERSON-type functional components stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170, and their respective Global requirement, the following detailed requirements are generated:
Functional Component Global requirement PERSON "Create, Read, Update and Delete Entities with role" +
PERSON
Detailed requirements:
For each PERSON-type functional component, the following detailed requirements are written:
1. OracionSTD Crear + PERSON + OracionSTD Agregar_Atributos + (list of &attributes) 2. OracionSTD Agregar_Atributos + PERSON + (list of CC-type global requirements) 3. OracionSTD Baja + PERSON + OracionSTD complemento control + (list of CC-type global requirements) 4. OracionSTD_Edicion + PERSON + OracionSTD_complemento_control + (list of CC-type global requirements) 5. OracionSTD_permitirque + PERSON + OracionSTD_acciones_Persona + (list of F-type global requirements) 6. OracionSTD_pennitinque + PERSON + OracionSTD afectacion Persona + (list of F-type global requirements) 7. OracionSTD_pemiltirque + (list of F-type global requirements} +
OracionSTD responsabilidad Persona + PERSON
8. OracionSTD_Consulta + PERSON + OracionSTD_ complemento_criteriobusqueda:+
(list of QS-type global requirements) Defining detailed requirements for VERB components Based on the VERB-type functional components stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170, and their respective Global requirement, the following detailed requirements are generated:
Functional Component Global requirement VERB (CC step type) "Create rule that" +
VERB + DO
Detailed requirements:
For each VERB-type functional component that participates in a CC-type step, the following detailed requirements are defined:
1. OracionSTD_crear_Fx+ VERB + DO + OracionSTD_argumentos + {list of Smttributes} + OracionSTD_expresion + { fx expression) 2. OracionSTD_msj_error_Fx+ {error message) 3. OracionSTD_msj_ok_Fx + (ok message) 4. OracionSTD_ntsj_advertencia_Fx+ {warning message) VERB (QS step type) "Create rule that" +
VERB + DO
Detailed requirements:
For each VERB-type functional component (QS-type step), the following detailed requirements are defined:
1. OracionSTD_crear busqueth + VERB + DO + OracionSTD_exponer_atributos +
(list of &attributes) 2. OracionSTD_definir busqueda + DO + OracionSTD_conector orden+ (list of *attributes) 3. OracionSTD definir filtro+ DO + OracionSTD_conector orden+ {list of *attributes) 4. OracionSTD_definir orden+ DO + OracionSTD_conector orden+ (list of *attributes) 5. OracionSTD_definir agrupatniento+ DO + OracionSTD_conector_orden+ {list of *attributes) 6. OracionSTD definir total+ {list of *attributes) VERB (FX step type) "Create rule that" +
VERB + DO
Detailed requirements:
For each VERB-type functional component that participates in a CC-type step, the following detailed requirements are defined:
1. OracionSTD_crear Fx+ VERB + DO + OracionSTD_argumentos + {list of 8cattributes) + OracionSTD_expresion + {fx expression) 2. OracionSTD_msj_error_Fx+ {error message) 3. OracionSTD_msj_ok_Fx + (ok message) 4. OracionSTD_msj_advertencia_Fx+ (warning message) VERB (L step type) "Create rule that" +
VERB + DO + "with" + NOUN
Detailed requirements:
For each VERB-type functional component (L-type step), the following detailed requirements are defined:
1. OracionSTD_crear regla + VERB + DO + "with" + NOUN + OracionSTD_condicion + (list of DO &attributes) + {fx expression) + {list of NOUN &atributos) 2. OracionSTD_yincular + DO + OracionSTD_conector vincular + NOUN +
OracionSTD_complemento_control + (list of CC-type global requirements) OracionSTD_ desvincuLn+ DO + "with" + NOUN +
OracionSTD_complemento_control + (list of CC-type global requirements) 4. OracionSTD consultar+ DO + OracionSTD complement rclacionar+ NOUN +
OracionSTD_ complemento_criteriobusqueda+( list of QS-type global requirements) VERB (F step type) "Create transaction record" + DO
Detailed requirements:
For each VERB-type functional component (F-type step), the following detailed requirements are defined, if DO is not marked as an attribute:
For each VERB-type functional component (F-type step), the following detailed requirements are defined:
1. OracionSTD_permitir + VERB + DO + OracionSTD_Agreg,ar_Atributos + (list of &attributes) 2. OracionSTD_habilitar_persona+(list of PERSON) OracionSTD complement accionpersona+ VERB + DO
3. OracionSTD movimientos+DO + OracionSTD_complemento_acargode+ (list of PERSON) 4. OracionSTD_control_nuevo+ DO +": "+ (list of CC-type global requirements) 5. OracionSTD_control_eliminar+ DO +": "+ (list of CC-type global requirements) 6. OracionSTD control modificar + DO + OracionSTD complement control + (list of CC-type global requirements) 7. OracionSTD_pennitir + VERB + DO + OraeionSTD_preeedencia+{ list of F-type global requirements) 8. OracionSTD nuevo tnovimiento + DO
9. OracionSTD control nuevo movimiento + DO + {list of CC-type global requirements) 10. OracionSTD control eliminar movimiento+ DO + OracionSTD complement control + {list of CC-type global requirements) 1 L OracionSTD_control_modificar_movimiento DO
OracionSTD_complemento_control + {list of CC-type global requirements) 12. OracionSTD buscar element + DO + OracionSTD complement buscarelemento +flist of QS-type global requirements) Defining detailed requirements for DO components Based on the DO-type ftmetional components stored in the logical structure of Functional Components 172 of the Dynamic Database Memory 170, and their respective Global requirement, the following detailed requirements are generated:
Functional Component Global requirement DO "Create, Read, Update and Delete" + DO
Detailed requirements:
For each NOUN-type functional component, the following sentences that constitute the detailed requirements are written, if the NOUN is not marked as an attribute:
1. OracionSTD Crear+ NOUN + OracionSTD Agregar Atributos + (list of &attributes) 2. OracionSTD Agregar Atributos NOUN -F (list of CC-type global requirements) 3. OracionSTD_Baja+ NOUN + OracionSTD_complemento_control + (list of CC-type global requirements) 4. OracionSTD Edicion + NOUN + OracionSTD complement control + (list of CC-type global requirements) 5. OracionSTD Eclicion + NOUN + "Performing the following searches" + (list of QS-type global requirements) If the DO is marked as an attribute, the following requirements are defined:
1. OracionSTD _ erear_ atributo + DO
2. OracionSTD_validacion_aiributo + DO + (list of CC-type global requirements}
Substage 13. Generating Software Design documents As per the graphical notation defined in Substage F4, the Processor 150, configured as a 5 Document Generator 153, generates an XML file in which the name of each design component and its corresponding graphical notation code are stored between tags.
For the embodiment of the invention in which UML graphical notation is chosen, the xmi standard is used and the XML that represents the class diagram is generated.
The Processor 150, configured as a Document Generator 153, generates the design documents, taking the data stoked in the database memory that corresponds to the design, and exporting the content in a specific XML format, according to the definition of the graphical notation chosen in Substage F4.
7. Example of one application of the method.
Based on a description of a process in natural language, the system automatically produces Business documents, Analysis documents and Design documents of "the 20 case".
The components of the system are those that enable the production of the aforementioned documents (FIG. 3):
1. Input/Output device 120: the device through which the texts in natural language are entered, using the following configurations:
25 a. Language User Interface 121.
It Case User Interface 122.
c. Formats, Graphical Notations and STD Sentences User Interface123 d. Document Display User Interface 124 2. CPU 110: the processing device of the system 100, composed of a. Main Memory 140: It performs the following functions according to its configuration:
i. Diagrams 141.
5 ii. Sentence Matrix 142:
FC Matrix 143:
iv. DC Matrix 144:
b. Processor 150: It carries out the following functions depending its configuration:
10 i. Automatic Sentence Analyzer 151 ii. Automatic Software Designer 152 iii. Document Generator 153 3. Database Memory 130:
a. Static Database Memory 160:
15 1. MAS Metamodel 161.
ii. Languages, Words and Morphosyntactic Rules 162.
iii. Formats, Graphical Notations and STD Sentences 163.
b. Dynamic Database Memory 170 i. Simple Sentences Questions 171 20 ii. Functional Components 172 iii. Design Components 173 Input/Output Device This tool is made up of permanent memories that are capable of producing screens on a 25 monitor, with fields in which the user can enter data or perform actions.
Case User Interface 122 The Case User Interface allows the user to enter the requested data and perform actions to save them in the database memory.
In order for the tool to function, the user must enter data in natural language (layers, 30 resources, processes, subprocesses, moments, steps) as established by the method.
To that end, it presents this upload interface that allows the user to enter these fields and create relationships between them using the order established in the method, wherein each of the components (dimensions, temporal activities and simple sentences) require the following data fields to be uploaded:
- Name - Description 5 - Related dependent elements These data fields are displayed in the interface. Dimensions and Temporal Activities Upload Interface, in which the {text1} and {tex1.2} are replaced by the name of the corresponding component, as the user fills in the data fields in the established sequence:
- First, (text! }="Layer" and {text2}="Resource 10 - When the Edit action is executed, the interface. Dimensions and Temporal Activities Upload Interface is displayed again, but this time, {text1}="Resource"
and {text2}="Process"
o When the Edit action is executed, the interface. Dimensions and Temporal Activities Upload Interface is displayed again, but this time, 15 (text1)="Process" and (text2)="Subprocess"
= When the Edit action is executed, the interface. Dimensions and Temporal Activities Upload Interface is displayed again, but this time, {text' }="Subprocess" and {text2}="Moment"
When the Edit action is executed, the interface. Dimensions and Temporal Activities 20 Upload Interface is displayed again, but this time, {textl}="Moment" and Itext21="Step"
Once the step is completed, the interface. Sentence Interface is displayed, in which the user must answer the questions in order to create the complete, structured simple sentence structured as defined in the method. The user must also choose one of the 25 following options from the Step Type list:
- F: Functional - CC: Check/Control - QS: Query/Search - FX: Calculation 30 - L: Link As the user answers the questions, the tool completes the Sentence, concatenating the text entered in the questions, in the order that the interface displays them.
Once the data upload task is completed, the user can perform the following actions:
- Save: save the uploaded data in the Database Memory.
5 - Cancel: discard the uploaded data in the Database Memory.
Analysis Display The analysis display that is displayed on the monitor consists of screens that display the uploaded data organized in such a way that the user of the tool is able to read and comprehend "die case", guiding the user to perform an accurate analysis for proper generation of Global and Detailed functional requirements. These requirements are generated automatically by the tool, by prompting the user to confirm and select some data.
Word Analysis Disphry This interface presents the user with the simple sentences, in structured form (Word 15 Analysis Interface). Using this interface, the tool enables the user to execute the Analysis Processor and the Analysis Document Processor.
The user is presented with a table with the entirety of the uploaded simple sentences, and the user can execute the Analyze action for each of them. This action engages the Analysis Processor, which returns the list of words contained in the sentence as a result.
20 Each word is characterized by:
- Word: the word detected by the Analysis Processor.
- Word: the question to which the word belongs within the sentence: When, Who, What, How, Where.
- Component Type: the type that the Analysis Processor automatically assigns to 25 each word: NOUN, ADV, VERB, DO, ADJ
- In Scope: the column that allows the user of the tool to mark whether the word in question will be part of the scope of "the case" to be designed, if so desired.
The user can choose from among the following options: YES / NO
- Is Attribute: the column that allows the user of the tool to indicate whether the 30 word in question should behave like an &attribute, if so desired.
The user can choose from among the following options: YES / NO
Once the word analysis task is completed, the user can perform the following actions:
- Save: save the uploaded data in the Database Memory.
- Cancel: discard the uploaded data in the Database Memory.
In this interface, it is possible to execute the Analyze action for each word identified by the Analysis Processor. In such case, the Analysis Document Processor is executed and 5 then the Requirement Analysis Display is displayed.
Requirement Analysis Display This interface (Requirement Analysis Display) presents the user with the Global and Detailed requirements generated by the Analysis Document Processor.
The user is presented with a table with the totality of the generated Global requirements, and a nested table with the Detailed Requirements that correspond to each Global Requirement.
Each global requirement is characterized by:
- Word: the word detected by the Analysis Processor.
- Component Type: the type that the Analysis Processor automatically assigns to 15 each word: NOUN, ADV, VERB, DO, ADJ
- Step Type: the value chosen in the upload interface by the user.
- GlobalReqNum: a correlative number generated by the tool.
- Global Requirement: the sentence, produced by the Analysis Processor, that corresponds to the global requirement.
20 Each detailed requirement is characterized by:
- DetReqNum: a correlative number generated by the tool.
- Detailed Requirement: the sentence, produced by the Analysis Processor, that corresponds to the detailed requirement.
- &Attributes: the list of &attributes that describe the Word. They must be chosen 25 by the user from a list produced by:
o Manual user entry o Automatic generation, for words flagged as "Is Attribute" by the user.
- Message- the list of messages that the user wishes to specify as responses to error, correct action and incorrect action situations as a result of requirement 30 execution. This list can be generated by:
o Manual entry by the user.
- Expression: the expression to be calculated that the user specifies for Step Types = CC or FX.
- Associated GlobalReq: the list of global requirements that allow the user to reference a GlobalReq from this list and associate it with a detailed requirement.
5 This occurs when the description of the scope does not include the description of some feature of this kind (which prevents the system from generating the relationship automatically), in which case, the user adds it.
Once the word analysis task is completed, the user can perform the following actions:
- Save: save the uploaded data in the Database Memory.
10 - Cancel: discard the uploaded data in the Database Memory.
Design Display This interface presents the user with the words detected by the Analysis Processor, to enable the design of "the case" based on the results of the analysis.
The user is presented with a table with the totality of the analyzed words, each of which 15 has a nested table containing its related words based on the Associated Requirements.
Each word is characterized by the following data derived from the analysis phase:
- Word: a word that is included in the scope to be designed.
- Word: the question to which the word belongs within the sentence: When, Who, What, How, Where.
20 - Component Type: the type that the Analysis Processor assigns to each word:
NOUN, ADV, VERB, DO, ADJ
- Step Type: the value chosen in the upload interface by the user.
- Is &attribute: feature indicated by the user in the analysis phase; it can be YES
or NO.
25 In this interface, it is possible to execute the Design action for each of the listed words.
In such case, the Design Processor is executed and then the design display, with the list of classes generated for the word and its related words, is displayed.
Each class is characterized by:
- Class: Name of the class designed by the Design Processor.
30 - ClassType: It can be L or NonL.
- &Attributes: The list of &attributes assigned to the class. They belong to the list of &attributes states in the analysis phase, in all cases.
- Methods: The list of methods assigned to the class. These methods are generated by the Design Processor.
Once the classes are designed, it is possible to execute the See Diagram action, which will present the class diagram. Example class diagram, on the screen.
5 Once the word analysis task is completed, the user can perform the following actions:
- Save: save the uploaded data in the Database Memory.
- Cancel: discard the uploaded data in the Database Memory.
Main Memory Processor 10 In order to automatically produce the analysis and design documents of "the case", the tool provides a processor with three functionalities: analysis processing that executes the analysis action, design processing that executes the design action, and document processing that produces the resulting documents.
Automatic Sentence Analyzer 15 The Analysis Processor takes the collection of complete simple sentences uploaded to the Database Memory by the user. Based on said sentences, it executes three algorithms:
- The algoritlun (FIG. 4E1) that identifies the words relevant to the construction of "the case", a constituent method of the present invention described in Stage E.
- The algorithm that generates the global requirements of "the case", a constituent 20 method of the present invention described in Stage F. Substage 1.
- The algorithm that generates the detailed requirements of "the case", a constituent method of the present invention described in Stage F. Substage 2.
Word Algorithm This algorithm (FIG. 4E1) executes the described routine for each existing sentence and 25 requires that the following two lists be uploaded into the database:
- GRW={grouping words} The collection of words that establish a grouping, for example: the word "of' is a grouping word when it is present in "list of prices"
- PEX={excluded words} The collection of words that are to be excluded from the analysis. It is nonnally composed of the prepositions, conjunctions and articles.
30 Once this algorithm is executed, all of the words will have been converted into functional components of "the case" and classified by component type and interrelated by way of the question.
The component type describes:
- NOUN: NOUN
- PER: PERSON NOUN
- ADV: ADVERBIAL CONSTRUCTION
5 - VERB: VERB
- DO DIRECT OBJECT NOUN
- ADJ: ADJECTIVE
Global Requirement Algorithm This algorithm executes the described routine for each word identified in the scope and requires that the following list be uploaded into the database:
- reqgl_abm_Sust: the sentence that will be used to compose the global requirement each time a NOUN component is identified in the scope. The method suggests something similar to: "Create, Read, Update and Delete" +
15 {NounWord) - reqgl_abm_Pers: the sentence that will be used to compose the global requirement each time a PER component is identified in the scope. The method suggests something similar to: "Create, Read, Update and Delete Entities with role" + {PersonWorci}
- reqgl verboF: the sentence that will be used to compose the global requirement each time a VERB linked to an F-type step is identified in the scope. The method suggests something similar to: "Create transaction record" +
(VerbWord) + {DOWord) - reqgl verboF: the sentence that will be used to compose the global requirement each time a VERB linked to an L-type step is identified in the scope. The method suggests something similar to: "Create rule that" + {VerbWord} +
{DOWord} "with" + {NounWord }
- reqgl_verbo: the sentence that will be used to compose the global requirement each time a VERB linked to a non-F- or non-L-type step is identified in the scope. The method suggests something similar to:
"Create rule that" +
(VerbWord) + {DOWord) Once this algorithm is executed, all of the global requirements of "the case"
are stored in the database.
De/of/cc/Requirement Algorithm This algorithm executes the described routine for each word identified in the scope and 5 requires that the standard sentences in the language chosen for the description of the case be uploaded into the database:
Design processing The Design Processor takes the collection of fitnctional components and the complements that were added in the analysis phase:
10 - Attributes - Messages - Expressions - Associated Regis All of which are linked to the functional components that are part of the scope of "the 15 case".
The Design Processor Algoritlun (FIG. 4G1), which implements Stage G. and automatically generates the classes and relationships that make up the resulting design diagram of "the case", is executed.
Document processing 20 The tool is made up of permanent memories that are capable of automatically producing documents that are shown on a monitor, with fields in which the user can view the data that come from the upload memories.
Business document processing The Business Document Generator takes the data uploaded in the Upload interface, 25 which are stored in the Database, and applies the following algorithm to generate the Business document (FIG. 412):
a) It takes the entirety of the stored uploaded data in the order indicated by the method accessing the database with the following columns and the number rows uploaded by the user: Layer, Resource, Process, Subprocess, Moment, Step, 30 When, Who, What, How, Where, Sentence.
b) It concatenates Layer&Resource&Process in the Tide variable c) It concatenates Subprocess&Moment in the Subtitle variable d) It presents each step with a larger indentation c) It presents each sentence with a larger indentation It names the resulting document Business Document (FIG. 412) and the tool allows the user to store it in the Document File, print it using printing devices (printers, plotters, 5 etc) and display it using display devices (monitors, screens, projectors, etc) Analysis document processing The Analysis Document Processor takes all of the Uploaded Data and generated Requirements, global as well as detailed, and applies the following algorithm to generate the Analysis document (FIG. 413):
10 a) It uses the same algorithm as that of the Business document to generate Title, Subtitle and step b) It presents each Global Requirement associated with the step, with an indentation larger than that of the previous step c) It presents each Detailed Requirement associated with the Global Requirement, 15 with an indentation larger than that of the previous Global Requirement.
It names the resulting document Analysis Document (FIG. 413) and the tool allows the user to store it in the Document File, print it using printing devices (printers, plotters, etc.) and display it using display devices (monitors, screens, projectors, etc.) Design doctunent processing 20 The Document Processor takes the data of the classes identified by the Design Processor and creates an XML file using the xini standard for reading UML diagrams.
It names the resulting document Class Design Document (FIG. 5).
This resulting document is stored in the Document File Database Memory 25 The tool is made up of permanent memories that are capable of storing the results produced by the tool:
Database The database in which uploaded, analysis and design data produced by the tool are stored. It is managed by a database engine.
30 Document File The database in which the generated documents are stored. It is a structure set up on a hard disk managed by the file server of the operating system.
Claims
811.
A computer-implemented method for generating functional architecture documents from phrases expressed in natural language and mathematical expressions that describes a case, which are stored in a database memory, comprising:
A.
uploading a logical structure named MAS metamodel through an input/output device, the MAS metamodel establishing axiomatic principles of the natural language and mathematical expressions and which determines the behavior of a processor that carries out the following fiinctions depending on its configuration:
automatic sentence analyzer, automatic software designer and document generator, according to morphosyntactic mles stored into the database memory, the MAS
metamodel comprises the following sub-stages:
A 1 . storing the MAS metamodel in the database memory, which defmes a logic that the processor configured as an automatic sentence analyzer will use to generate analysis and design documents, the logic includes an automatic generation of performer words, performable words and performance words, based on transitive verbs;
A2.
storing the logic of the MAS
metamodel for morphosyntacfic mles in the database memory, which establishes that every sentence in natural language and mathematical expressions can be structured based on a) questions logic:
that define to what question of the form "when," "who," "what," "how" and "where," named as WH questions, a word within the simple sentence belongs, b) a step type logic:
that defmes what type of verb comprises the WH question (explicit calculation (FX), SUBSTITUTE SHEET (RULE 26) checking/confirmation (CC), query/search (QS), linking (L), not specified (F)) and c) a words logic: it defines the type of word;
inputting through a language user interface (of the input/output device) a list of eligible languages, a grammatical and syntactic features of each eligible language and storing this data in the database memory;
C. inputting through a case user interthce (of the display device) to input a description of "the case" as text in one of the natural languages selected from the list of eligible languages from stage B and then storing said description in the database memory;
D. identifying the simple sentences and the mathematical moment of the case from Stage C, responding for each sentence to the WH questions and using the case user interface (of the input/output device) to upload them so they can then be stored in the database memory, the identification consists in the following substcps:
¨ answering questions who, what, where, how and when for each of the steps of "the case" identified in stage B and storing the answers as text in a database memory;
¨ answering questions who, what, where, how and when for each of the steps of "the case" identified in stage B and storing the answers as text in a database memory;
SUBSTITUTE SHEET (RULE 26) E. identifying functional and mathematical components on the simple sentences from stage D, through the processor configured as an automatic sentence analyzer, as is established in stage A, and storing them in the database memory;
F. automatically generating functional architecture documents based on functional and mathematical components from Stage E, through the processor configured as a document generator, using a graphical notation defmed specifically for this type of document, the generation of functional architecture comprises the following sub-stages:
F 1 . applying the morphosyntactic rules, based on which the processor configured as a document generator excludes from the functional components specific words stated, and creates new functional components in case of transitive verbs: a functional component, the name of which is a verb plus the agentive suffix "ER" and other functional component, the name of which is the verb plus the suffix "BLE;"
F2. defining the graphical notation that is to be used in functional architecture diagrams, using formats, graphical notation, and sentences user interface (STD) of the input/output device, indicating a graphical component to be used in the diagram for each functional component, according to a corresponding word type, and storing them in the database memory;
F3. generating the functional architecture documents using the processor, configured as a document generator, based on the fitnctional components stored in the database memory, using the notation defined in substage F2, and displaying them on the input/output device.
SUBSTITUTE SHEET (RULE 26) The method in accordance with Claim 1, characterized in that stage B consists of the following substages:
B1+ entering through the input/output device an order of adjectives of the chosen eligible language and storing it in the database memory;
B2. entenng through the input/output device special words of the chosen eligible language, which can be found on the text of the simple sentences from stage D and are to be excluded from the list of functional components, and storing them in the database memory;
B3. entering through the input/output device grouping words of the chosen eligible language, which are used to link functional components that contain more than one word and can be found in the text of the simple sentences from Stage D, and storing them in the database memory;
B4. entering through the input/output device verb endings of the infmitive verbs of the chosen eligible language, which can be found in the text of the simple sentences from stage D, and storing them in the database memory.
3. The method in accordance with Claim 1, characterized in that stage C consists of the following substages:
SUBSTITUTE SHEET (RULE 26) C1.
choosing the language in which the case is described, from the eligible languages defined in stage B, using the input/output device configured as a case user interface;
C3.
identifying the steps of the case by applying the substage A2 and storing them in the database memory.
4. The method in accordance with Claim 1, characterized in that stage C
consists of identifying components that stmcture the context of "the case", layers, resources, processes, subprocesses and moments, and storing them in the database memory.
5. The method in accordance with Claim 1, characterized in that stage E
consists of deconstmcting the simple sentences into words, characterizing them according to the chosen language, and identifying the functional components of the simple sentence and storing them in the database memory.
6. The method in accordance with Claim 1, characterized in that, in Stage E, a user adds functional components that are not present in the list of functional components identified automatically from simple sentences.
SUBSTITUTE SHEET (RULE 26) 7. The method in accordance with Claim 1, characterized in that Stage E, additionally comprises the step of identifying the functional components associated to the types of the steps FX, CC and QS;
S. The method in accordance with Claim 1, characterized in that, in Stage E, the user adds formula expressions that describe mathematical behavior of "the case" for all CC- and FX-type steps.
9. The method in accordance with Claim 1, characterized in that morphosyntactic rules defined in substage Al are applied in stage E, based on which the processor configured as an automatic sentence analyzer excludes specific words stated in a rule and cmates new functional components for the cases of transitive verbs: a functional component, the name of which is the verb plus the agentive suffix "ER" and a functional component, the name of which is the verb plus the suffix "BLE".
10. The method in accordance with any of the previous claims, characterized in that the stage D consists of the following substages:
Dl. answering the question for each step of the case for steps of the kind L
and F;
D2. concatenating the answers from each step of the kind L and F;
D3. identifying the mathematical moments of the case;
SUBSTITUTE SHEET (RULE 26) D4. answering the questions for each step of the case for steps of the kind QS, FX and CC; and D.5. concatenating the responses of each step of the type QS, FX and CC;
11. The method in accordance with Claim 1, characterized in that the method additionally comprises the steps of:
G. automatically identifying design components based on the functional components from stage E, through the processor configured as an automatic software designer and storing them in the database memory;
H. uploading through the formats, graphical notations and STD sentences user interface (of the display device) the output formats of the business, analysis and design documents, the parameters of standard sentences for the requirements and the graphical notation far design diagrams and staling them in the database memory;
I. automatically generating business documents based on the simple sentences from stage D, the analysis documents based on the functional components from stage E, and the design documents based on the design components from stage F, through the processor configured as a document generator, applying the Formats, Graphical Notations and STD Sentences defined in stage G.
12. The method in accordance with Claim 11, characterized in that stage G
consists of the following substages:
SUBSTITUTE SHEET (RULE 26) Gl. selecting and creating groups of functional components, their classes and inheritance relationships, and storing them in the database memory;
G2. creating formula classes based on FX- and CC-type steps and storing them in the database memory;
G3. creating domain classes based on QA-type steps and storing them in the database memory;
G4, creating relationship classes based on L-type steps and storing them in the database memory;
G5. creating operation classes based on F-type steps and storing them in the database memory.
13. The method in accordance with Claim 1, characterized in that, in stage E, a user adds error, validation and warning messages.
14. The method in accordance with Claim 11, characterized in that stage I
consists of the following substages:
IL generating business documents;
12. generating analysis documents;
13. generating software design documents.
SUBSTITUTE SHEET (RULE 26) 15. The method in accordance with Claim 12, characterized in that stage I 1 generates the business documents through the following actions:
a) ordering dimensions, temporal activities and simple sentences;
b) joining previously ordered components; and c) displaying the business documents on the input/output device.
16. The method in accordance with Claim 11, characterized in that Stage 12 generates the analysis documents through the following actions:
a) assembling global fitnetional requirements, defining global requirements for NOUN components and defining global requirements for VERB
components;
b) assembling detailed functional requirements, defining detailed requirements for NOUN, PERSON, VERB and DO components; and c) &splaying the analysis documents on the input/output device.
17. The method in accordance with Claim 11, characterized in that stage 13 generates the design documents and displays them on the input/output device.
SUBSTITUTE SHEET (RULE 26) 18. The method in accordance with Claim 11, characterized in that, in stage H, a user can use templates to compose the structure of the text of functional analysis documents of "the case", using the formats, graphical notation and STD
sentences user interface of the input/output device, to then store them in the database memory.
19. A system for generating functional architecture documents and business, analysis and software design specification documents from descriptions expressed in natural phrases and mathematical expression that describe a case, which are stored in a database, composed of the following:
an input/output device, configured as a language user interface, a case user interface, a formats, graphical notation and STD sentences user interface, and a document display user interface, to enter eligible languages and their stmcture, to enter a description of "the ease" in natural language and mathematical expressions, to enter formats and graphical notations for document generation, and to display ftmctional architecture documents and the business, analysis and software design specification documents;
a main memory connected to the input/output device, which interacts with a processor, configured for volatile storage of the description of the case, functional components, design components and the functional architecture documents and the business, analysis and software design specification documents;
SUBSTITUTE SHEET (RULE 26) the aforementioned processor configured to receive at least one description in natural language and mathematical expressions from the user, in which said description includes the case and identifies the description of the case;
the aforementioned processor, configured as an automatic sentence analyzer, for creating simple sentences that correspond to steps of the case and analyzing them to automatically generate functional components based on the simple sentences;
the aforementioned processor, configured as an automatic software designer, for identifying the design components of the case as well as complementary functional components corresponding to the types of FX, CC and QS based on the functional and mathematical components; and, the aforementioned processor, configured as a document generator, for generating functional architecture documents and business, analysis and software design specification documents based on the functional components and the design components;
a database memory connected to the pmcessor, configured to statically store a MAS metamodel, languages, words, mathematical expressions corresponding to FX
type expressions and morphosyntactic rules and formats, graphical notation and STD
sentences, and also configured to dynamically store simple sentences and questions, fimctional components and design components.
SUBSTITUTE SHEET (RULE 26)
A computer-implemented method for generating functional architecture documents from phrases expressed in natural language and mathematical expressions that describes a case, which are stored in a database memory, comprising:
A.
uploading a logical structure named MAS metamodel through an input/output device, the MAS metamodel establishing axiomatic principles of the natural language and mathematical expressions and which determines the behavior of a processor that carries out the following fiinctions depending on its configuration:
automatic sentence analyzer, automatic software designer and document generator, according to morphosyntactic mles stored into the database memory, the MAS
metamodel comprises the following sub-stages:
A 1 . storing the MAS metamodel in the database memory, which defmes a logic that the processor configured as an automatic sentence analyzer will use to generate analysis and design documents, the logic includes an automatic generation of performer words, performable words and performance words, based on transitive verbs;
A2.
storing the logic of the MAS
metamodel for morphosyntacfic mles in the database memory, which establishes that every sentence in natural language and mathematical expressions can be structured based on a) questions logic:
that define to what question of the form "when," "who," "what," "how" and "where," named as WH questions, a word within the simple sentence belongs, b) a step type logic:
that defmes what type of verb comprises the WH question (explicit calculation (FX), SUBSTITUTE SHEET (RULE 26) checking/confirmation (CC), query/search (QS), linking (L), not specified (F)) and c) a words logic: it defines the type of word;
inputting through a language user interface (of the input/output device) a list of eligible languages, a grammatical and syntactic features of each eligible language and storing this data in the database memory;
C. inputting through a case user interthce (of the display device) to input a description of "the case" as text in one of the natural languages selected from the list of eligible languages from stage B and then storing said description in the database memory;
D. identifying the simple sentences and the mathematical moment of the case from Stage C, responding for each sentence to the WH questions and using the case user interface (of the input/output device) to upload them so they can then be stored in the database memory, the identification consists in the following substcps:
¨ answering questions who, what, where, how and when for each of the steps of "the case" identified in stage B and storing the answers as text in a database memory;
¨ answering questions who, what, where, how and when for each of the steps of "the case" identified in stage B and storing the answers as text in a database memory;
SUBSTITUTE SHEET (RULE 26) E. identifying functional and mathematical components on the simple sentences from stage D, through the processor configured as an automatic sentence analyzer, as is established in stage A, and storing them in the database memory;
F. automatically generating functional architecture documents based on functional and mathematical components from Stage E, through the processor configured as a document generator, using a graphical notation defmed specifically for this type of document, the generation of functional architecture comprises the following sub-stages:
F 1 . applying the morphosyntactic rules, based on which the processor configured as a document generator excludes from the functional components specific words stated, and creates new functional components in case of transitive verbs: a functional component, the name of which is a verb plus the agentive suffix "ER" and other functional component, the name of which is the verb plus the suffix "BLE;"
F2. defining the graphical notation that is to be used in functional architecture diagrams, using formats, graphical notation, and sentences user interface (STD) of the input/output device, indicating a graphical component to be used in the diagram for each functional component, according to a corresponding word type, and storing them in the database memory;
F3. generating the functional architecture documents using the processor, configured as a document generator, based on the fitnctional components stored in the database memory, using the notation defined in substage F2, and displaying them on the input/output device.
SUBSTITUTE SHEET (RULE 26) The method in accordance with Claim 1, characterized in that stage B consists of the following substages:
B1+ entering through the input/output device an order of adjectives of the chosen eligible language and storing it in the database memory;
B2. entenng through the input/output device special words of the chosen eligible language, which can be found on the text of the simple sentences from stage D and are to be excluded from the list of functional components, and storing them in the database memory;
B3. entering through the input/output device grouping words of the chosen eligible language, which are used to link functional components that contain more than one word and can be found in the text of the simple sentences from Stage D, and storing them in the database memory;
B4. entering through the input/output device verb endings of the infmitive verbs of the chosen eligible language, which can be found in the text of the simple sentences from stage D, and storing them in the database memory.
3. The method in accordance with Claim 1, characterized in that stage C consists of the following substages:
SUBSTITUTE SHEET (RULE 26) C1.
choosing the language in which the case is described, from the eligible languages defined in stage B, using the input/output device configured as a case user interface;
C3.
identifying the steps of the case by applying the substage A2 and storing them in the database memory.
4. The method in accordance with Claim 1, characterized in that stage C
consists of identifying components that stmcture the context of "the case", layers, resources, processes, subprocesses and moments, and storing them in the database memory.
5. The method in accordance with Claim 1, characterized in that stage E
consists of deconstmcting the simple sentences into words, characterizing them according to the chosen language, and identifying the functional components of the simple sentence and storing them in the database memory.
6. The method in accordance with Claim 1, characterized in that, in Stage E, a user adds functional components that are not present in the list of functional components identified automatically from simple sentences.
SUBSTITUTE SHEET (RULE 26) 7. The method in accordance with Claim 1, characterized in that Stage E, additionally comprises the step of identifying the functional components associated to the types of the steps FX, CC and QS;
S. The method in accordance with Claim 1, characterized in that, in Stage E, the user adds formula expressions that describe mathematical behavior of "the case" for all CC- and FX-type steps.
9. The method in accordance with Claim 1, characterized in that morphosyntactic rules defined in substage Al are applied in stage E, based on which the processor configured as an automatic sentence analyzer excludes specific words stated in a rule and cmates new functional components for the cases of transitive verbs: a functional component, the name of which is the verb plus the agentive suffix "ER" and a functional component, the name of which is the verb plus the suffix "BLE".
10. The method in accordance with any of the previous claims, characterized in that the stage D consists of the following substages:
Dl. answering the question for each step of the case for steps of the kind L
and F;
D2. concatenating the answers from each step of the kind L and F;
D3. identifying the mathematical moments of the case;
SUBSTITUTE SHEET (RULE 26) D4. answering the questions for each step of the case for steps of the kind QS, FX and CC; and D.5. concatenating the responses of each step of the type QS, FX and CC;
11. The method in accordance with Claim 1, characterized in that the method additionally comprises the steps of:
G. automatically identifying design components based on the functional components from stage E, through the processor configured as an automatic software designer and storing them in the database memory;
H. uploading through the formats, graphical notations and STD sentences user interface (of the display device) the output formats of the business, analysis and design documents, the parameters of standard sentences for the requirements and the graphical notation far design diagrams and staling them in the database memory;
I. automatically generating business documents based on the simple sentences from stage D, the analysis documents based on the functional components from stage E, and the design documents based on the design components from stage F, through the processor configured as a document generator, applying the Formats, Graphical Notations and STD Sentences defined in stage G.
12. The method in accordance with Claim 11, characterized in that stage G
consists of the following substages:
SUBSTITUTE SHEET (RULE 26) Gl. selecting and creating groups of functional components, their classes and inheritance relationships, and storing them in the database memory;
G2. creating formula classes based on FX- and CC-type steps and storing them in the database memory;
G3. creating domain classes based on QA-type steps and storing them in the database memory;
G4, creating relationship classes based on L-type steps and storing them in the database memory;
G5. creating operation classes based on F-type steps and storing them in the database memory.
13. The method in accordance with Claim 1, characterized in that, in stage E, a user adds error, validation and warning messages.
14. The method in accordance with Claim 11, characterized in that stage I
consists of the following substages:
IL generating business documents;
12. generating analysis documents;
13. generating software design documents.
SUBSTITUTE SHEET (RULE 26) 15. The method in accordance with Claim 12, characterized in that stage I 1 generates the business documents through the following actions:
a) ordering dimensions, temporal activities and simple sentences;
b) joining previously ordered components; and c) displaying the business documents on the input/output device.
16. The method in accordance with Claim 11, characterized in that Stage 12 generates the analysis documents through the following actions:
a) assembling global fitnetional requirements, defining global requirements for NOUN components and defining global requirements for VERB
components;
b) assembling detailed functional requirements, defining detailed requirements for NOUN, PERSON, VERB and DO components; and c) &splaying the analysis documents on the input/output device.
17. The method in accordance with Claim 11, characterized in that stage 13 generates the design documents and displays them on the input/output device.
SUBSTITUTE SHEET (RULE 26) 18. The method in accordance with Claim 11, characterized in that, in stage H, a user can use templates to compose the structure of the text of functional analysis documents of "the case", using the formats, graphical notation and STD
sentences user interface of the input/output device, to then store them in the database memory.
19. A system for generating functional architecture documents and business, analysis and software design specification documents from descriptions expressed in natural phrases and mathematical expression that describe a case, which are stored in a database, composed of the following:
an input/output device, configured as a language user interface, a case user interface, a formats, graphical notation and STD sentences user interface, and a document display user interface, to enter eligible languages and their stmcture, to enter a description of "the ease" in natural language and mathematical expressions, to enter formats and graphical notations for document generation, and to display ftmctional architecture documents and the business, analysis and software design specification documents;
a main memory connected to the input/output device, which interacts with a processor, configured for volatile storage of the description of the case, functional components, design components and the functional architecture documents and the business, analysis and software design specification documents;
SUBSTITUTE SHEET (RULE 26) the aforementioned processor configured to receive at least one description in natural language and mathematical expressions from the user, in which said description includes the case and identifies the description of the case;
the aforementioned processor, configured as an automatic sentence analyzer, for creating simple sentences that correspond to steps of the case and analyzing them to automatically generate functional components based on the simple sentences;
the aforementioned processor, configured as an automatic software designer, for identifying the design components of the case as well as complementary functional components corresponding to the types of FX, CC and QS based on the functional and mathematical components; and, the aforementioned processor, configured as a document generator, for generating functional architecture documents and business, analysis and software design specification documents based on the functional components and the design components;
a database memory connected to the pmcessor, configured to statically store a MAS metamodel, languages, words, mathematical expressions corresponding to FX
type expressions and morphosyntactic rules and formats, graphical notation and STD
sentences, and also configured to dynamically store simple sentences and questions, fimctional components and design components.
SUBSTITUTE SHEET (RULE 26)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/424,400 | 2019-05-28 | ||
US16/424,400 US10831449B2 (en) | 2015-04-28 | 2019-05-28 | Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language |
PCT/IB2020/055096 WO2020240482A1 (en) | 2019-05-28 | 2020-05-28 | Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language |
Publications (1)
Publication Number | Publication Date |
---|---|
CA3139543A1 true CA3139543A1 (en) | 2020-12-03 |
Family
ID=71527828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA3139543A Pending CA3139543A1 (en) | 2019-05-28 | 2020-05-28 | Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language |
Country Status (9)
Country | Link |
---|---|
EP (1) | EP3977261A1 (en) |
JP (1) | JP2022534506A (en) |
CN (1) | CN114222971A (en) |
BR (1) | BR112021023790A2 (en) |
CA (1) | CA3139543A1 (en) |
CO (1) | CO2021015949A2 (en) |
IL (1) | IL288333A (en) |
MX (1) | MX2021014491A (en) |
WO (1) | WO2020240482A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113590453B (en) * | 2021-01-28 | 2024-07-23 | 腾讯科技(深圳)有限公司 | Method and device for generating test case and storage medium |
JP7503700B1 (en) | 2023-12-08 | 2024-06-20 | ジテラ プライベート リミテッド | Apparatus, method and program for creating technical documentation for software |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8949773B2 (en) | 2010-03-25 | 2015-02-03 | International Business Machines Corporation | Deriving process models from natural language use case models |
US20130097583A1 (en) | 2011-09-27 | 2013-04-18 | The University Of Texas System | Systems and Methods For Automating the Application of a Software Methodology |
US10303441B2 (en) * | 2015-04-28 | 2019-05-28 | Nadia Analía Huebra | Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language |
-
2020
- 2020-05-28 EP EP20737536.1A patent/EP3977261A1/en active Pending
- 2020-05-28 CA CA3139543A patent/CA3139543A1/en active Pending
- 2020-05-28 CN CN202080039372.9A patent/CN114222971A/en active Pending
- 2020-05-28 MX MX2021014491A patent/MX2021014491A/en unknown
- 2020-05-28 BR BR112021023790A patent/BR112021023790A2/en unknown
- 2020-05-28 JP JP2021570418A patent/JP2022534506A/en active Pending
- 2020-05-28 WO PCT/IB2020/055096 patent/WO2020240482A1/en unknown
-
2021
- 2021-11-23 IL IL288333A patent/IL288333A/en unknown
- 2021-11-25 CO CONC2021/0015949A patent/CO2021015949A2/en unknown
Also Published As
Publication number | Publication date |
---|---|
JP2022534506A (en) | 2022-08-01 |
MX2021014491A (en) | 2022-01-06 |
EP3977261A1 (en) | 2022-04-06 |
CO2021015949A2 (en) | 2021-11-30 |
CN114222971A (en) | 2022-03-22 |
BR112021023790A2 (en) | 2022-02-08 |
WO2020240482A1 (en) | 2020-12-03 |
IL288333A (en) | 2022-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10831449B2 (en) | Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language | |
CA2984488C (en) | Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language | |
Klievtsova et al. | Conversational process modelling: state of the art, applications, and implications in practice | |
Krogstie | Capturing enterprise data integration challenges using a semiotic data quality framework | |
CA3139543A1 (en) | Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language | |
Gurbuz et al. | Process ontology development using natural language processing: a multiple case study | |
Nistala et al. | Towards digitalization of requirements: generating context-sensitive user stories from diverse specifications | |
Wojszczyk et al. | The process of verifying the implementation of design patterns—used data models | |
Zhu-Tian et al. | CrossData: Leveraging Text-Data Connections for Authoring Data Documents | |
Chen | The integration of organization and information system modeling: a metasystem approach to the generation of group decision support systems and computer-aided software engineering | |
Aveiro et al. | Universal Enterprise Adaptive Object Model: A Semantic Web‐Based Implementation of Organizational Self‐Awareness | |
Shahzada | BPMN process model checking using traceability | |
Acke | Research on the applicability of language models for automated building code compliance checks | |
Warkotsch | Developing a graphical user interface for generating Wikipedia lists with Wikidata | |
NISTALA | Towards an Intelligent Systems/Software Process infrastructure for early SDLC | |
Kostis | Web-based Decision Policy Definition and Simulation Application for the Gorgias Argumentation Framework | |
Couto | Pattern based software development | |
Manto | Conversational access to structured knowledge exploiting large models | |
Henzgen et al. | Model-Driven Approach for Automatic Model Information Aggregation in Structured Documents | |
da Silva Pereira | Methodological Approaches and Techniques for Designing Ontologies in Information Systems Requirements Engineering | |
Weber et al. | AUTOMATIC GENERATION OF MODELING EXERCISES IN COMPUTER SCIENCE EDUCATION | |
BR112017023287B1 (en) | METHOD AND SYSTEM FOR AUTOMATIC GENERATION OF FUNCTIONAL ARCHITECTURE DOCUMENTS AND SOFTWARE DESIGN AND ANALYSIS SPECIFICATION DOCUMENTS FROM NATURAL LANGUAGE | |
Burd | Knowledge representation for intelligent accounting machines | |
Takahashi | Improvement in the translation process from natural language to system dynamics models | |
Worobetz | A computer-based management system for statistical models |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EEER | Examination request |
Effective date: 20240306 |