CN110083822A - It is a kind of from demand text conversion to the conversion method of SysML demand figure - Google Patents

It is a kind of from demand text conversion to the conversion method of SysML demand figure Download PDF

Info

Publication number
CN110083822A
CN110083822A CN201910167920.5A CN201910167920A CN110083822A CN 110083822 A CN110083822 A CN 110083822A CN 201910167920 A CN201910167920 A CN 201910167920A CN 110083822 A CN110083822 A CN 110083822A
Authority
CN
China
Prior art keywords
demand
noun
relationship
undetermined
sub
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.)
Granted
Application number
CN201910167920.5A
Other languages
Chinese (zh)
Other versions
CN110083822B (en
Inventor
褚长勇
孙安程
任雨扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201910167920.5A priority Critical patent/CN110083822B/en
Publication of CN110083822A publication Critical patent/CN110083822A/en
Application granted granted Critical
Publication of CN110083822B publication Critical patent/CN110083822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/211Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Machine Translation (AREA)

Abstract

The invention discloses a kind of from demand text conversion to the conversion method of SysML demand figure.There is great change on modeling language, modeling approach, modeling tool based on the system engineering of model, it is the subversiveness technology of system engineering that opposite legacy system engineering, which there are many irreplaceable advantages,.The present invention is as follows: one, being SD expression formula by the demand text conversion based on product.Two, SD expression formula obtained by step 1 is converted into ROM expression formula.Three, the ROM expression formula that step 2 obtains is converted into SysML demand pel element.Four, the SysML demand pel element that step 3 obtains is integrated into SysML demand figure.Demand text can be mapped to recurrence object model automatically by the present invention, re-map SysML demand graph model, can intuitively indicate the main contents of the demand text, conversion process is increasingly automated, high conversion efficiency.

Description

It is a kind of from demand text conversion to the conversion method of SysML demand figure
Technical field
The invention belongs to model conversion technical fields, and in particular to a kind of from demand text conversion to SysML demand figure Conversion method.
Background technique
Product design is a treatment process by abstract concept to concrete image, passes through the modes such as text or image The product demand that we plan is shown, the form of product design finally stated is referred to as product demand document.Product Requirement documents are that the one kind for stating out by the demand concrete image of product programming and design shows form, are mainly used for product Interface and research and development use.
As the engineering system that people are developed becomes increasingly complex, legacy system engineering (TSE) be increasingly difficult to cope with, with This is also rapidly developing, therefore under demand pull and promoting technology simultaneously with the information technology for being modeled as representing, and is based on mould The system engineering (MBSE) of type is come into being.Based on the system engineering of model on modeling language, modeling approach, modeling tool There is great change, it is the subversiveness technology of system engineering that opposite legacy system engineering, which there are many irreplaceable advantages,.
In the demand model and demand that the product demand of the natural language description of user is converted to driving product design For model into the mapping process of functional mode, the support of product scope knowledge is essential.Therefore research and development demand is retouched The conversion method of-demand model-functional mode mapping is stated for realizing Product Conceptual Design forward direction requirements capture, eliminates design discrimination Justice, model automatization driving have very great meaning.
Summary of the invention
The purpose of the present invention is to provide a kind of from demand text conversion to the conversion method of SysML demand figure.
The present invention is specific as follows:
Step 1: parsing to the natural language on demand text, the corresponding SD expression formula of demand text is obtained.
Step 2: SD expression formula obtained by step 1 is converted into ROM expression formula.
Step 3: the ROM expression formula that step 2 obtains is converted into SysML demand pel element.
3-1. is noun and verb according to part of speech to each syntactic constituent in demand text.
Verb is divided into following six class:
(1) derived class verb (Vj): the meaning of such verb expression is " succession ", including " succession ", " receiving ";
(2) class verb (V is verifiedy): the meaning of such verb expression is " verifying ", including " verifying ", " research ";
(3) improve class verb (Vg): the meaning of such verb expression is " improvement ", including " improvement ", " raising ";
(4) meet class verb (Vm): the meaning of such verb expression is " satisfaction ", including " satisfaction ", " realization ";
It (5) include class verb (Vb): the meaning of such verb expression is "comprising", including "comprising" " comprising ".
(6) other class verbs (Vq): such verb is the verb other than the above five classes verb.
Demand in SysML demand figure is divided into three classes by 3-2.: " major demands ", " functional requirement " and " sub- demand ".With There are that most nouns of the quantity of relationship to be used as " major demands " with other syntactic constituents in ROM expression formula.
If there is " including class verb " in 3-3. one sentence containing " major demands ", and exist and " major demands " Relationship is the noun of " Constraint ", then the relationship using this with " major demands " is the noun of " Constraint " as " function Energy demand ".
If there is " derived class verb " in 3-4. one sentence containing " functional requirement ", and exist and " functional requirement " Relationship is the noun of " Constraint ", then should with noun that the relationship of " functional requirement " is " Constraint " as first to Name word.If only having first noun undetermined in a sentence, which is used as " sub- demand ".If a sentence There are the multiple first nouns undetermined in son, then judge the relationship of each first noun undetermined between any two in the sentence respectively, will be with The first noun undetermined that other first nouns undetermined have " Connection " relationship in the sentence is used as " sub- demand ".
If there is " improving class verb " in 3-5. one sentence containing " sub- demand ", and there is the relationship with " sub- demand " For the noun of " Constraint ", then should with noun that the relationship of " sub- demand " is " Constraint " as second wait name Word.If one " sub- demand " only corresponds to second noun undetermined, which is used as " use-case ".If " a son Demand " is corresponding with the multiple second nouns undetermined, then judgement is somebody's turn to do " sub- demand " corresponding each second noun undetermined between any two respectively Relationship, regard the second noun undetermined that there are " Connection " relationships with other second nouns undetermined as " use-case ".
If there is " meeting class verb " in 3-6. one sentence containing " sub- demand ", and there is the relationship with " sub- demand " For the noun of " Constraint ", then should wait naming as third with the noun that the relationship of " sub- demand " is " Constraint " Word.If only corresponding to a third noun undetermined in one " sub- demand ", third noun undetermined is used as " module ".If a son Demand corresponds to multiple thirds noun undetermined, then judgement should the pass of " sub- demand " corresponding each third noun undetermined between any two respectively System regard the third noun undetermined that there is " Connection " relationship with other second nouns undetermined as " module ".
If there is " verifying class verb " in 3-7. one sentence containing " functional requirement ", and exist and " functional requirement " Relationship is the noun of " Constraint ", then should be undetermined as the 4th for the noun of " Constraint " with the relationship of functional requirement Noun.If only having the 4th noun undetermined in a sentence, the 4th noun undetermined is used as " test cases ".If a sentence There are multiple 4th nouns undetermined in son, then the relationship of each 4th noun undetermined between any two in the sentence is judged, it will be with other The 4th noun undetermined that 4th noun undetermined has " Connection " relationship is used as " test cases ".
Step 4: the SysML demand pel element that step 3 obtains is integrated into SysML demand figure.
Each SysML demand pel element that 4-1. obtains step 3 is respectively put into frame.It will be each " functional requirement " and " main Demand " is connected with cross-hair.
4-2. will each " functional requirement " it is connected with straight line with the arrow respectively with corresponding " sub- demand ", and " function need to owning Ask " and " sub- demand " between straight line with the arrow on mark " deriveReqt ".
Each " functional requirement " is connected with straight line with the arrow by 4-3. respectively with corresponding " test cases ", and in all " functions " verify " is marked on straight line with the arrow between demand " and " test cases ".
4-4. will each " sub- demand " it is connected with straight line with the arrow respectively with corresponding " use-case ", and in all " sub- demands " and " refine " is marked on straight line with the arrow between " use-case ".
4-5. will each " sub- demand " it is connected with straight line with the arrow respectively with corresponding " module ", and in all " sub- demands " and " satisfy " is marked on straight line with the arrow between " module ".
Further, in step 1, the mode for obtaining SD expression formula is real by Stanford Parser syntax analytical tool It is existing.
Further, in step 2, the mapping ruler collection of SD expression formula to ROM expression formula is as follows: in SD expression formula Amod, nmod:of, compound, auxpass, acomp, ccomp, neg, cop, npadvmod relationship are mapped as ROM expression The Constraint relationship of formula;Cc in SD expression formula, conj, nn, parataxis, number, cordmod, preconj are closed System is mapped as the Connection relationship of ROM expression formula;Csubj, iobj, num, attr in SD expression formula, Csubjpass, dep relationship are mapped as the Predicate relationship of ROM expression formula.
Further, in step 4-1, cross-hair is that an end hasThe straight line of symbol,Symbol is located at The junction of cross-hair and " major demands ".
The invention has the advantages that:
Demand text can be mapped to recurrence object model automatically by the present invention, re-map SysML demand graph model, can Intuitively to indicate the main contents of the demand text, conversion process is increasingly automated, high conversion efficiency, is suitable for complexity Product design demand analysis.In addition, the present invention constructs SD expression formula to the mapping ruler collection of ROM expression formula, SD table is realized It is mapped up to formula to the high-efficient automatic of ROM expression formula.
Detailed description of the invention
Fig. 1 is flow chart of the invention;
Fig. 2 is the connection schematic diagram of " major demands " and " functional requirement " in step 4 in the present invention;
Fig. 3 is the connection schematic diagram of " functional requirement " and " sub- demand " in step 4 in the present invention;
Fig. 4 is the connection schematic diagram of " major demands " and " use-case " and " module " in step 4 in the present invention.
Specific embodiment
Below in conjunction with attached drawing, the invention will be further described.
As shown in Figure 1, it is a kind of from demand text conversion to the conversion method of SysML demand figure, specific as follows:
Step 1: being SD expression formula by the demand text conversion based on product.
After obtaining the demand text based on product, using Stanford Parser syntax analytical tool, to natural language into Row Preliminary Analysis matches grammer corresponding with the structure of demand text in Stanford Parser syntax analytical tool.Later Demand text is converted construction syntax tree by Stanford Parser syntax analytical tool, and obtains the corresponding SD of demand text Expression formula.Contain in demand text in every each sentence in SD expression formula, a mutual relationship (i.e. sentence for each syntactic constituent All there is relationship between any two " word " in son, and belong between " word " of two different sentences that there is no relationships).
Step 2: establishing SD expression formula to ROM expression formula by the way that SD relationship and ROM relationship are compared and are analyzed Mapping ruler collection is as shown in table 1.Later, according to the mapping ruler collection of SD expression formula to ROM expression formula, by SD table obtained by step 1 ROM expression formula (i.e. recurrence object model) is converted into up to formula;
Mapping ruler collection table 1 of the SD expression formula to ROM expression formula
Mapping relations are mutually of with the ROM expression formula of a line and SD expression formula in table 1.Such as, the SD of two level syntaxes Expression formula is " amod ", then the ROM expression formula of two level syntaxes is Constraint.
Recurrence object model (ROM) is a kind of graphical language in industrial design demand analysis field.ROM is with mathematics Based on, derived from the axiomatic theory to design a model, formed in conjunction with the language construction of English.ROM by object and be related to this two Part forms.Object includes basic object and composite object, and it is the constraint relationship, connection relationship and meaning respectively that relationship, which includes three kinds, Word relationship.The constraint relationship is descriptive between an object and another object, restrictive or particularity relationship.Even The relationship of connecing is that there is no limit relationships between two objects, is the relationship of equality.Predicate relationship is that another is right for an object factory The behavior of elephant, or the relationship of the state of another object is described.
Step 3: establishing mapping ruler.The ROM expression formula that step 2 is formed is converted into SysML need according to mapping ruler Ask pel plain;
3-1. is noun and verb according to part of speech to each syntactic constituent in demand text.Noun is divided into following three classes:
(1) " mankind " noun (Nh): the class noun describes the identity of the mankind, including " administrator ", " designer ", " operation Person ".
(2) non-demand noun (Nn): the class noun is the noun that can not be defined as demand or module, is abstract noun Or the noun in expression orientation will ignore this class noun, including " justice ", " distant place " or " a left side when generating demand pel element It is right ".
(3) regular noun (Nr): the noun other than " mankind " noun and non-demand noun.
Verb is divided into following seven class:
(1) derived class verb (Vj): the meaning of such verb expression is " succession ", including " succession ", " receiving ";
(2) class verb (V is verifiedy): the meaning of such verb expression is " verifying ", including " verifying ", " research ";
(3) improve class verb (Vg): the meaning of such verb expression is " improvement ", including " improvement ", " raising ";
(4) meet class verb (Vm): the meaning of such verb expression is " satisfaction ", including " satisfaction ", " realization ";
(5) class verb (V is trackedz): the meaning of such verb expression is " tracking ", including " tracking ", " offer ";
It (6) include class verb (Vb): the meaning of such verb expression is "comprising", including "comprising" " comprising ".
(7) other class verbs (Vq): such verb is the verb other than the above six classes verb, is occurred in use very It is few, it is general negligible.
3-2. establishes part of speech and the mapping table of demand figure element type is as shown in table 2.
The mapping table table 2 of part of speech and demand figure element type
Demand in SysML demand figure is divided into three classes: " major demands ", " functional requirement " and " sub- demand ".Mainly need Total demand of Seeking Truth product design;Functional requirement is the demand of the function to be realized of the product;Sub- demand is to realize The demand of each piecemeal required for functional requirement.
There are that most nouns of the quantity of relationship as " major demands " with other syntactic constituents using in ROM expression formula (syntactic constituent present in different sentences, relationship quantity are the summation of relationship quantity in each sentence.Such as judge noun " A " Relationship quantity when, just calculate in the sentence in demand text where each noun " A ", the syntactic constituent in addition to noun " A " Quantity, the method composition quantity are exactly relationship quantity of the noun " A " in the sentence.By each containing noun " A " in noun " A " sentence Relationship quantity be added, be exactly the total relationship quantity of noun " A ".
Whether 3-3. judges to whether there is in each sentence containing " major demands " " comprising class verb " and deposit respectively It is being the noun of " Constraint (constraint) " with the relationship of " major demands ".If being deposited in a sentence containing " major demands " " including class verb ", and there is the noun with the relationship of " major demands " for " Constraint (constraint) ", then with this and " master Want demand " relationship be " Constraint (constraint) " noun conduct " functional requirement ".Functional requirement there may be multiple, and At most only has a functional requirement in each sentence.
Whether 3-4. judges to whether there is " derived class verb " in each sentence containing " functional requirement " respectively and deposit It is being the noun of " Constraint (constraint) " with the relationship of " functional requirement ".If being deposited in a sentence containing " functional requirement " At " derived class verb ", and exist and the relationship of " functional requirement " is the noun of " Constraint (constraint) ", then this and " function The relationship of demand " is the noun of " Constraint (constraint) " as the first noun undetermined.If only having one the in a sentence One noun undetermined, then first noun undetermined is used as " sub- demand ".If dividing in a sentence there are the multiple first nouns undetermined The relationship of each first noun undetermined between any two in the sentence is not judged, will be existed with other the first nouns undetermined First noun undetermined of " Connection (connection) " relationship is used as " sub- demand ".Not with any other first noun undetermined In the presence of " Connection (connection) " relationship the first noun undetermined not as sub- demand.
3-5. judges to whether there is " improving class verb " in each sentence containing " sub- demand " respectively and whether there is Relationship with " sub- demand " is the noun of " Constraint (constraint) "." change if existing in a sentence containing " sub- demand " Good people's verb ", and there is the noun with the relationship of " sub- demand " for " Constraint (constraint) ", then it is somebody's turn to do the pass with " sub- demand " System is the noun of " Constraint (constraint) " as the second noun undetermined.If one " sub- demand " only correspond to one it is second undetermined Noun, then second noun undetermined is used as " use-case ".If one " sub- demand " is corresponding with the multiple second nouns undetermined, sentence respectively It is disconnected to be somebody's turn to do the relationship of " sub- demand " corresponding each second noun undetermined between any two, will exist with other the second nouns undetermined Second noun undetermined of " Connection (connection) " relationship is used as " use-case ".It is not deposited with any other second noun undetermined " Connection (connection) " relationship the first noun undetermined not as " use-case ".
3-6. judges to whether there is " meeting class verb " in each sentence containing " sub- demand " respectively and whether there is Relationship with sub- demand is the noun of " Constraint (constraint) "." meet if existing in a sentence containing " sub- demand " Class verb ", and there is the noun with the relationship of " sub- demand " for " Constraint (constraint) ", then it is somebody's turn to do the relationship with " sub- demand " For " Constraint (constraint) " noun as third noun undetermined.If it is undetermined only to correspond to a third in one " sub- demand " Noun, then third noun undetermined is used as " module ".If a sub- demand corresponds to multiple thirds noun undetermined, judgement should respectively The relationship of " sub- demand " corresponding each third noun undetermined between any two will exist with other the second nouns undetermined The third noun undetermined of " Connection (connection) " relationship is used as " module ".It is not deposited with any other third noun undetermined " Connection (connection) " relationship the first noun undetermined not as " module ".
Whether 3-7. judges to whether there is " verifying class verb " in each sentence containing " functional requirement " respectively and deposit It is being the noun of " Constraint (constraint) " with the relationship of " functional requirement ".If being deposited in a sentence containing " functional requirement " In " verifying class verb ", and exist and the relationship of " functional requirement " is the noun of " Constraint (constraint) ", then this and function The relationship of demand is the noun of " Constraint (constraint) " as the 4th noun undetermined.If only having one the 4th in a sentence Noun undetermined, then the 4th noun undetermined is used as " test cases ".If sentencing in a sentence there are multiple 4th nouns undetermined Break the relationship of each 4th noun undetermined between any two in the sentence, will there is that " Connection is (even with other the 4th nouns undetermined Connect) " the 4th noun undetermined of relationship is used as " test cases ".It is not present with any other first noun undetermined First noun undetermined of " Connection (connection) " relationship is not as " test cases ".
Step 4: the SysML demand pel element that step 3 obtains is integrated into SysML demand figure.Specifically Eclipse is soft The creation at the interface SysML is carried out in part using Java programming language.
4-1. is as shown in Fig. 2, each SysML demand pel element that step 3 is obtained is put into frame.It will respectively " functional requirement " Being connected with " major demands " with cross-hair, (cross-hair is that an end hasThe straight line of symbol,Sign bit In the junction of cross-hair and " major demands ").
4-2. is as shown in figure 3, by each " functional requirement " with corresponding " sub- demand " respectively with connected (the arrow court of straight line with the arrow To " functional requirement "), and " deriveReqt " is marked on the straight line with the arrow between all " functional requirements " and " sub- demand ".
4-3. is by each " functional requirement " with corresponding " test cases " respectively with the connected (arrow direction " function of straight line with the arrow Demand "), and " verify " is marked on the straight line with the arrow between all " functional requirements " and " test cases ".
4-4. is as shown in figure 4, by each " sub- demand " with corresponding " use-case " respectively with connected (the arrow direction of straight line with the arrow " sub- demand "), and " refine " is marked on the straight line with the arrow between all " sub- demands " and " use-case ".
4-5. is as shown in figure 4, by each " sub- demand " with corresponding " module " respectively with connected (the arrow direction of straight line with the arrow " sub- demand "), and " satisfy " is marked on the straight line with the arrow between all " sub- demands " and " module ".

Claims (4)

1. a kind of from demand text conversion to the conversion method of SysML demand figure, it is characterised in that: Step 1: to demand text On natural language parsed, obtain the corresponding SD expression formula of demand text;
Step 2: SD expression formula obtained by step 1 is converted into ROM expression formula;
Step 3: the ROM expression formula that step 2 obtains is converted into SysML demand pel element;
3-1. is noun and verb according to part of speech to each syntactic constituent in demand text;
Verb is divided into following six class:
(1) derived class verb (Vj): the meaning of such verb expression is " succession ", including " succession ", " receiving ";
(2) class verb (V is verifiedy): the meaning of such verb expression is " verifying ", including " verifying ", " research ";
(3) improve class verb (Vg): the meaning of such verb expression is " improvement ", including " improvement ", " raising ";
(4) meet class verb (Vm): the meaning of such verb expression is " satisfaction ", including " satisfaction ", " realization ";
It (5) include class verb (Vb): the meaning of such verb expression is "comprising", including "comprising" " comprising ";
(6) other class verbs (Vq): such verb is the verb other than the above five classes verb;
Demand in SysML demand figure is divided into three classes by 3-2.: " major demands ", " functional requirement " and " sub- demand ";With ROM table Up in formula, there are that most nouns of the quantity of relationship to be used as " major demands " with other syntactic constituents;
If there is " including class verb " in 3-3. one sentence containing " major demands ", and there is the relationship with " major demands " For the noun of " Constraint ", then the relationship using this with " major demands " is the noun of " Constraint " as " function needs It asks ";
If there is " derived class verb " in 3-4. one sentence containing " functional requirement ", and there is the relationship with " functional requirement " For the noun of " Constraint ", then should with noun that the relationship of " functional requirement " is " Constraint " as first wait name Word;If only having first noun undetermined in a sentence, which is used as " sub- demand ";If in a sentence There are the multiple first nouns undetermined, then judge the relationship of each first noun undetermined between any two in the sentence respectively, will be with the sentence The first noun undetermined that the noun undetermined of other in son first has " Connection " relationship is used as " sub- demand ";
If there is " improving class verb " in 3-5. one sentence containing " sub- demand ", and exists and be with the relationship of " sub- demand " The noun of " Constraint " should be then the noun of " Constraint " as the second noun undetermined with the relationship of " sub- demand "; If one " sub- demand " only corresponds to second noun undetermined, which is used as " use-case ";If one " son needs Ask " be corresponding with the multiple second nouns undetermined, then respectively judgement should " sub- demand " corresponding each second noun undetermined between any two Relationship regard the second noun undetermined that there is " Connection " relationship with other the second nouns undetermined as " use-case ";
If there is " meeting class verb " in 3-6. one sentence containing " sub- demand ", and exists and be with the relationship of " sub- demand " The noun of " Constraint " should be then the noun of " Constraint " as third noun undetermined with the relationship of " sub- demand "; If only corresponding to a third noun undetermined in one " sub- demand ", third noun undetermined is used as " module ";If a son needs Corresponding multiple third nouns undetermined are sought, then judgement should the pass of " sub- demand " corresponding each third noun undetermined between any two respectively System regard the third noun undetermined that there is " Connection " relationship with other second nouns undetermined as " module ";
If there is " verifying class verb " in 3-7. one sentence containing " functional requirement ", and there is the relationship with " functional requirement " For the noun of " Constraint ", then should with noun that the relationship of functional requirement is " Constraint " as the 4th wait name Word;If only having the 4th noun undetermined in a sentence, the 4th noun undetermined is used as " test cases ";If a sentence In there are multiple 4th nouns undetermined, then judge the relationship of each 4th noun undetermined between any two in the sentence, will with other The 4th noun undetermined that four nouns undetermined have " Connection " relationship is used as " test cases ";
Step 4: the SysML demand pel element that step 3 obtains is integrated into SysML demand figure;
Each SysML demand pel element that 4-1. obtains step 3 is respectively put into frame;It will be each " functional requirement " and " main to need Ask " it is connected with cross-hair;
4-2. will each " functional requirement " it is connected with straight line with the arrow respectively with corresponding " sub- demand ", and at all " functional requirements " and " deriveReqt " is marked on straight line with the arrow between " sub- demand ";
Each " functional requirement " is connected with straight line with the arrow by 4-3. respectively with corresponding " test cases ", and at all " functional requirements " " verify " is marked on straight line with the arrow between " test cases ";
Each " sub- demand " is connected with straight line with the arrow by 4-4. respectively with corresponding " use-case ", and in all " sub- demands " and " use-case " Between straight line with the arrow on mark " refine ";
Each " sub- demand " is connected with straight line with the arrow by 4-5. respectively with corresponding " module ", and in all " sub- demands " and " module " Between straight line with the arrow on mark " satisfy ".
2. according to claim 1 a kind of from demand text conversion to the conversion method of SysML demand figure, feature exists In: in step 1, the mode for obtaining SD expression formula is realized by Stanford Parser syntax analytical tool.
3. according to claim 1 a kind of from demand text conversion to the conversion method of SysML demand figure, feature exists In: in step 2, the mapping ruler collection of SD expression formula to ROM expression formula is as follows: amod, nmod:of in SD expression formula, Compound, auxpass, acomp, ccomp, neg, cop, npadvmod relationship are mapped as ROM expression formula Constraint relationship;Cc in SD expression formula, conj, nn, parataxis, number, cordmod, preconj relationship are equal It is mapped as the Connection relationship of ROM expression formula;Csubj in SD expression formula, iobj, num, attr, csubjpass, dep Relationship is mapped as the Predicate relationship of ROM expression formula.
4. according to claim 1 a kind of from demand text conversion to the conversion method of SysML demand figure, feature exists In: in step 4-1, cross-hair is that an end hasThe straight line of symbol,Symbol is located at cross-hair and " master Want demand " junction.
CN201910167920.5A 2019-03-06 2019-03-06 Conversion method for converting requirement text into SysML requirement diagram Active CN110083822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910167920.5A CN110083822B (en) 2019-03-06 2019-03-06 Conversion method for converting requirement text into SysML requirement diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910167920.5A CN110083822B (en) 2019-03-06 2019-03-06 Conversion method for converting requirement text into SysML requirement diagram

Publications (2)

Publication Number Publication Date
CN110083822A true CN110083822A (en) 2019-08-02
CN110083822B CN110083822B (en) 2022-11-15

Family

ID=67413113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910167920.5A Active CN110083822B (en) 2019-03-06 2019-03-06 Conversion method for converting requirement text into SysML requirement diagram

Country Status (1)

Country Link
CN (1) CN110083822B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112733370A (en) * 2021-01-13 2021-04-30 北京航空航天大学 Unified modeling method based on image-text conversion

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009176168A (en) * 2008-01-25 2009-08-06 Nippon Telegr & Teleph Corp <Ntt> Language processor, language processing method, language processing program, and recording medium recording same program
CN109241538A (en) * 2018-09-26 2019-01-18 上海德拓信息技术股份有限公司 Based on the interdependent Chinese entity relation extraction method of keyword and verb
CN109376202A (en) * 2018-10-30 2019-02-22 青岛理工大学 A kind of supply relationship based on NLP extracts analysis method automatically

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009176168A (en) * 2008-01-25 2009-08-06 Nippon Telegr & Teleph Corp <Ntt> Language processor, language processing method, language processing program, and recording medium recording same program
CN109241538A (en) * 2018-09-26 2019-01-18 上海德拓信息技术股份有限公司 Based on the interdependent Chinese entity relation extraction method of keyword and verb
CN109376202A (en) * 2018-10-30 2019-02-22 青岛理工大学 A kind of supply relationship based on NLP extracts analysis method automatically

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112733370A (en) * 2021-01-13 2021-04-30 北京航空航天大学 Unified modeling method based on image-text conversion

Also Published As

Publication number Publication date
CN110083822B (en) 2022-11-15

Similar Documents

Publication Publication Date Title
Stone et al. Microplanning with communicative intentions: The SPUD system
Jiménez-Ruiz et al. Safe and economic re-use of ontologies: A logic-based methodology and tool support
de Rijke Extending modal logic
Brockmans et al. Semantic Alignment of Business Processes.
Blevins Syntactic complexity: Evidence for discontinuity and multidomination
Konrad et al. Facilitating the construction of specification pattern-based properties
Llitjós et al. A framework for interactive and automatic refinement of transfer-based machine translation
CN106663101A (en) Ontology mapping method and apparatus
WO2003046754A1 (en) Digital right management data dictionary
CN110162297A (en) A kind of source code fragment natural language description automatic generation method and system
Roshandel et al. Understanding tradeoffs among different architectural modeling approaches
Schorlemmer et al. Institutionalising ontology-based semantic integration
Reuer Error recognition and feedback with lexical functional grammar
CN110083822A (en) It is a kind of from demand text conversion to the conversion method of SysML demand figure
Delisle et al. Interactive semantic analysis of technical texts
Štuikys et al. Open PROMOL: an experimental language for target program modification
Jansen et al. The Language of SysML v2 under the Magnifying Glass.
Bottoni et al. On the definition of visual languages and their editors
Foxvog et al. Ontologizing EDI semantics
US7890911B2 (en) Skeleton generation apparatus and method
Wong et al. Machine translation using constraint-based synchronous grammar
Wang et al. Building application ontologies from descriptions of semantic web services
Li et al. Research of the verification in workflow process modeling on the application of Petri nets
Hui Understanding the in-depth AI Big Data Analysis application through Diversified Integration and Development of Functional Linguistics
Lee A new formal and analytical process to product modeling (PPM) method and its application to the precast concrete industry

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant