Catalogue
1. Why does Natural Language generate Diagram
2. Example: Natural language Auto Modeling
3. Operation Demo
4. Postscript
1. Why does Natural Language Generate Diagram
Natural language is the most used by people to describe things. Natural language comes from the description of the ontological world, which abstracts things in the real world into various concepts, uses specific vocabulary, and describes them in the form of text symbols that are easy to write. The reader needs to identify the information in a Natural Language Based description, and then mentally construct the logical relationships of the concepts in question. The more complex the description of a system or business, the more complex the process of identifying information -> constructing conceptual logical relations, and the more brain-burning the conceptual relations constructed.
It is clear that anyone who reads in Natural Language needs a method or even a Tool that can help people improve their ability to construct logical views from text. To this end, we built a method to automate the construction of logical views from Natural Language text and developed the corresponding Tools.
The following, using the scenario description of a use case as an example, introduces Auto text-to-graph Modeling.
2. Example: Natural Language Auto Modeling
Whether in industrial control or business Management , use case scenarios are an effective way to describe functional Requirements. To this end, we provide support for Auto Modeling capabilities ranging from text descriptions of use case scenarios to diagrams. Use case scenarios can generate three types of diagrams: activity diagrams, executor responsibility diagrams, and sequence diagrams.
The following takes "Use Case: Motor Control" as an example to explain what the three Diagram generated Based on the scene description text have and what they look like.
First of all, use case diagrams are established and the scenarios of each use case are described in words. The following is a use case diagram of the motor monitoring system.
For the Use Case: Control motor, the basic scenario is described as follows:
Use case name |
Control motor |
Basic Scene? |
1. User - Select motor
2. User - issue control command - control command
3. Host computer - forward instruction - control instruction
4. Controller - Receive instructions
5. Controller - Perform calculations
6. Controller - start motor - start signal
7. Motor - start - motor status
8. Controller - boot result judgment
9. Controller - Report motor information - motor information
10. Host computer - receive motor information
11. Upper computer - Display boot result - operation result
12. User - View the boot result |
Then use an Auto Modeling Tool "Text -> Graph Generator" to automatically generate the graph Based on the scene description text above.
|