CN110196670A - A kind of document creation method, equipment and computer readable storage medium - Google Patents

A kind of document creation method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN110196670A
CN110196670A CN201910472225.XA CN201910472225A CN110196670A CN 110196670 A CN110196670 A CN 110196670A CN 201910472225 A CN201910472225 A CN 201910472225A CN 110196670 A CN110196670 A CN 110196670A
Authority
CN
China
Prior art keywords
text
data model
master data
instruction
template
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
Application number
CN201910472225.XA
Other languages
Chinese (zh)
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.)
Digital Kun (beijing) Network Technology Co Ltd
Shukun Beijing Network Technology Co Ltd
Original Assignee
Digital Kun (beijing) Network Technology Co Ltd
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 Digital Kun (beijing) Network Technology Co Ltd filed Critical Digital Kun (beijing) Network Technology Co Ltd
Priority to CN201910472225.XA priority Critical patent/CN110196670A/en
Publication of CN110196670A publication Critical patent/CN110196670A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a kind of document creation method, equipment and computer readable storage mediums, comprising: receives text information instruction;The text information instruction is executed, by the first text of template text generation;Receive text housekeeping instruction;The text housekeeping instruction is executed, first text is arranged by master data model, obtains the second text corresponding with first text;Export second text.By this method can quickly generate with can be readability text.

Description

A kind of document creation method, equipment and computer readable storage medium
Technical field
The present invention relates to data processing field more particularly to a kind of document creation methods, equipment and computer-readable storage Medium.
Background technique
Report is a kind of text with formality, is commonly used for regular occasion, is reacted by rigorous literal expression The basic condition of something and present one's view or suggestion effect text.Common report includes enterprise development report, disease Sick diagnosis report, industry development report, quality inspection report, work summary report etc., surround its theme and are write.Such as doctor Diagnosis report, personal information including starting diagnosis organization information, previous history, checkup item, checkup item result, examines If stem portions such as disconnected situation, treatment method, the points for attention for diagnosing situation.Due to the complexity of disease event itself, doctor is past Toward needing to expend many energy on the tissue and polishing to report text, rather than only need to pay close attention to the lesion feelings of patient itself Condition.
Summary of the invention
The present invention provides a kind of document creation method, equipment and computer readable storage medium, has for quickly generating Detail and text that can be readability.
In order to achieve the above objectives, one aspect of the present invention provides a kind of document creation method, comprising: receives text information and refers to It enables;The text information instruction is executed, by the first text of template text generation;Receive text housekeeping instruction;Execute the text Housekeeping instruction arranges first text by master data model, obtains and first text corresponding second Text;Export second text.
In a kind of embodiment, before reception text information instruction, the method also includes: by described Master data model is obtained from by configuration text;Receive configuration-direct;The configuration-direct is executed, according to the configuration-direct pair All editing areas that are not configured in the free configuration text are configured, and are obtained all with the editing area postponed;Foundation The integration rules that the master data model provides, integration is described all with the editing area postponed, obtains the template text.
In a kind of embodiment, the method also includes: building master data model, the master data model are used In the generation and modification of the template text, the first text and/or the second text.
In a kind of embodiment, after the execution text housekeeping instruction, and the output described second Before text, the method also includes: receive text modification instruction;The text modification instruction is executed, to second text It modifies, obtains modified second text;Correspondingly, after the execution text modification instruction, it is described Method further include: the modification information of acquisition second text;By the modification information of second text to the basic number It modifies according to model;Obtain the modified master data model;Wherein, the modified master data model For generating the template text of subsequent time.
In a kind of embodiment, the modification information by second text to the master data model into Row modification, comprising: save the modification information of second text;Modification information according to second text determines the second text Modification information editing area;The modification information of second text is handled according to Weighted Rule, template is obtained and repairs Convert to breath;It is modified by editing area of the template modification information to the modification information of second text.
It is described to execute the text housekeeping instruction in a kind of embodiment, comprising: the volume of parsing first text Collect region;The editing area with same characteristic features is merged, the editing area after being merged;According to described basic The splicing of data model merges rule, and the editing area after splicing the merging and the editing area not merged obtain Obtain second text corresponding with first text.
Another aspect of the present invention provides a kind of text generation equipment, comprising: receiving module refers to for receiving text information It enables;Generation module, for executing the text information instruction, by the first text of template text generation;The receiving module, is also used In reception text housekeeping instruction;Execution module, for executing the text housekeeping instruction, by master data model to described One text is arranged, and the second text corresponding with first text is obtained;Output module, for exporting second text This.
In a kind of embodiment, further includes: module is obtained, for being obtained from by the master data model by matching Set text;The receiving module is also used to receive configuration-direct;The execution module is also used to execute the configuration-direct, according to All editing areas that are not configured in the free configuration text are configured according to the configuration-direct, are obtained all with postponing Editing area;Module is integrated, the integration rules for providing according to the master data model are integrated described all with postponing Editing area, obtain the template text.
In a kind of embodiment, further includes: building module, for constructing master data model, the master data Model is used for the generation and modification of the template text, the first text and/or the second text.
In a kind of embodiment, further includes: the receiving module is also used to receive text modification instruction;It is described to hold Row module is also used to execute the text modification instruction, modifies to second text, obtain modified described second Text;Acquisition module, for acquiring the modification information of second text;Modified module, for passing through second text Modification information modifies to the master data model, obtains the modified master data model;Wherein, the modification The master data model afterwards is used to generate the template text of subsequent time.
In a kind of embodiment, the modified module, comprising: save submodule, save repairing for second text Convert to breath;Determine submodule, the modification information according to second text determines the editing area of the modification information of the second text; Submodule is handled, the modification information of second text is handled according to Weighted Rule, obtains template modification information;Modification Submodule is modified by editing area of the template modification information to the modification information of second text.
In a kind of embodiment, the execution module, comprising: analyzing sub-module, for parsing first text Editing area;Merge submodule, the volume for that there will be the merging of the editing area of same characteristic features, after being merged Collect region;Splice submodule, merges rule for the splicing according to the master data model, it is described after splicing the merging Editing area and the editing area not merged obtain second text corresponding with first text.
Another aspect of the present invention provides a kind of computer readable storage medium, and being stored with computer in the storage medium can It executes instruction, when executed, for executing document creation method described in any one of above-mentioned embodiment.
A kind of document creation method, equipment and computer readable storage medium provided by the invention, are referred to by text information Input of the realization to report actual content is enabled, forms first text with detail, then pass through the realization pair of text housekeeping instruction The arrangement of Report Language statement and word segment, formation have the second text that can be readability, express without artificial deliberation language, The text that can quickly have detail and can be readability.Meanwhile by building master data model realization to text generation and Modification, and modified by user's habit to master data model, the intelligentized updating of master data model is realized, to obtain With more the second text that can be readability.
Detailed description of the invention
Fig. 1 shows a kind of flow diagram of document creation method of the embodiment of the present invention;
Fig. 2 shows the selection schematic diagrames of the first text of the embodiment of the present invention;
Fig. 3 shows a kind of flow diagram two of document creation method of the embodiment of the present invention;
Fig. 4 shows the selection schematic diagram of template text of the embodiment of the present invention;
Fig. 5 shows a kind of flow diagram three of document creation method of the embodiment of the present invention;
Fig. 6 shows a kind of flow diagram four of document creation method of the embodiment of the present invention;
Fig. 7 shows a kind of flow diagram five of document creation method of the embodiment of the present invention;
Fig. 8 shows a kind of flow diagram six of document creation method of the embodiment of the present invention;
Fig. 9 shows a kind of structural schematic diagram of text generation equipment of the embodiment of the present invention.
Specific embodiment
To keep the purpose of the present invention, feature, advantage more obvious and understandable, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is only a part of the embodiment of the present invention, and not all embodiments.Based on the embodiments of the present invention, those skilled in the art are not having Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of overall flow schematic diagram one of document creation method of the embodiment of the present invention.
Referring to Fig. 1, the embodiment of the present invention provides a kind of document creation method, comprising: step 101, receives text information and refers to It enables;Step 102, text information instruction is executed, by the first text of template text generation;Step 103, text housekeeping instruction is received; Step 104, text housekeeping instruction is executed, the first text is arranged by master data model, is obtained and the first text pair The second text answered;Step 105, the second text is exported.
The embodiment of the present invention is intended to provide a kind of method that can quickly generate text, reduces the manually text in text The time of formal tissue and polishing, so as to shorten the time of text generation.
It should be noted that the text of the embodiment of the present invention is preferably the text with duplicate format, such as all kinds of inspections Report, survey report, assessment report, Planning etc. can be used as the text that the embodiment of the present invention is referred to and generated.
Specifically, the embodiment of the present invention carry out text generation during, the master data model of the embodiment of the present invention with The text type for needing to generate is corresponding, for example, when the text for needing to generate is coronary lesions situation model, the present invention Master data model selected by embodiment is the master data model for constructing coronary lesions situation;When the text that needs generate When this is the Environmental Monitoring Report in somewhere, selected master data model is the master data of ground environmental monitoring variation Model;When the text for needing to generate is the production programming of certain product, selected master data model is the production of the product Plan the master data model of variation.
During the text generation of the embodiment of the present invention, text information instruction therein can be by artificial or third software It issues, is needed in text information instruction comprising the actual content in text, in this way, passing through solution in executing text information instruction Text information instruction is analysed, can get the actual content in text information instruction, can so be formed on the basis of template text real Border content is different from template text to generate first text with actual content property, and the first text has in reality Hold, the first text herein is the content text with specific information needed for report.Its tentatively formed have be directed to Property report, at this point, can also be used as report basis directly output.
Although thus obtained first text has required detailed information, lack reasonable connection on character express And polishing reinforces the reading experience of the first text to keep the first text more readable, the embodiment of the present invention can also be such that report connects This housekeeping instruction of message in-coming can arrange the first text, by executing text housekeeping instruction to obtain and the first text Corresponding second text of content, during the first text is organized into the second text, also according to master data model to Two texts are arranged.After being arranged by text, the second text can be same with the same content information of the first text representation When, compared to the first text with more readability, improve reading experience.
Specifically, needing the provided method for generating text through the embodiment of the present invention in a kind of scene embodiment Generate coronary artery blood vessel diagnosis report.Master data model is the master data mould for constructing coronary lesions situation diagnosis report Type.
In carrying out coronary lesions situation diagnosis report generating process, a tool is provided by master data model first After thering is the original template text of data framework and data constraint, user to select on template text, pass through master data model Template text can be formed the first text for meeting user's selection by data constraint.User's selection mode herein can be manual Selection, can also be by being attached, directly and template by software results with the software for carrying out the diagnosis of coronary lesions situation Text is combined, to obtain the first text.
For example, during generating the first text, " stenosis description " in interface display template text, in the description Including the different expression way of several description contents, such as " lumen is without narrow ", " lumen mild stenosis about 20% ", " light in lumen Spend narrow about 30% ", " lumen moderate stenosis about 65% " etc..User according to the actual situation, selects expression side in template text Formula, if actual conditions are " lumen moderate stenosis about 65% ", i.e. user chooses " lumen moderate stenosis about 65% " manually, this movement Formation text information instruction is sent to machine, will be in template text except " lumen moderate stenosis is about after parsing the instruction by machine Option other than 65% " is left out, and only retains " lumen moderate stenosis about 65% ", is formed for " lumen moderate stenosis about 65% " Report so repeats, and completes other text information instructions in relation to coronary lesions situation, that is, produces the first text.Or Template text is connect with detection machine, when detection machine obtains the conclusion of " lumen moderate stenosis about 65% ", detects machine Template text is sent a command to, to carry out choosing for " lumen moderate stenosis about 65% ".It completes to all actual contents After choosing, that is, form the first text.
For the first text being manually entered, simply adding the mode of choosing to fill in using drop-down menu be can be realized.Following Fig. 2 Shown, Fig. 2 shows the selection schematic diagrames of the first text of the embodiment of the present invention.Include " having no patch " in figure, " have no obvious It is narrow ", the contents such as " variation or postoperative option " can be particularly shown specific below content by the drop-down menu on selection right side When option, such as selection " variation or postoperative option ", there are " visible flesh bridge " and " visible bracket " two options, while before option Tick boxes are had, when choosing its a period of time, the report of the content containing one can be formed.Such as " visible bracket " is chosen, it is generating It in first text, include the content of " variation or postoperative visible bracket ".
After obtaining the first text, machine sending information housekeeping instruction is given by step 102, machine receives text arrangement and refers to After order, the order for arranging text can be obtained, at this point, recycling data, condition and constraint in master data model to first Text is arranged, i.e., the arrangement direction of the first text is obtained using master data model, to orderly be organized into the first text Corresponding second text, arranging direction can be with more readability.Such as similar lesion situation is merged, forms diagnosis knot Then fruit comes back in reports such as the top of diagnostic result insertion diagnosis organization information, patient informations, can also be inserted into summarized introduction It closes Deng the related and/or nothing with diagnostic result and chats part;Then diagnostic result lower section insertion it is related with diagnostic result and/or Unrelated knot chats part, and it is corresponding such as to describe the corresponding points for attention of every kind of diagnostic result, every kind of diagnostic result according to diagnostic result Popular explanation, knot, which chats part, can also be the wish information for wishing patient's early recovery.
So processing is only whole to the literal expression form progress of the first text to the arrangement that the first text carries out in machine Reason has more the second readability text to generate, may be output to user and used.
Under the constraint of master data model, truth is inputted by artificial and/or third party software, obtaining has reality First text of content, in the arrangement by carrying out written form part to the first text with actual content, to make the One text have can be readability, obtain have can it is readability and with consistent second text of actual content, by the second text carry out Output, actual content can be integrated into can readability text, save user and carrying out the time in text polishing, and due to base The constraint of notebook data model, user can guide user on template text during inputting actual content, from And improve user to the input efficiency of actual content, in conjunction with above-mentioned, using method provided by the embodiment of the present invention, can be realized Quickly generate the purpose of report.
Fig. 3 shows a kind of overall flow schematic diagram two of document creation method of the embodiment of the present invention.Referring to Fig. 3, at this In inventive embodiments, before step 101 receives text information instruction, method further include: step 201, pass through master data mould Type is obtained from by configuration text;Step 202, configuration-direct is received;Step 203, configuration-direct is executed, according to configuration-direct to certainly It is configured, is obtained all with the editing area postponed by all editing areas that are not configured in configuration text;Step 204, according to According to the integration rules that master data model provides, integration is all with the editing area postponed, obtains template text.
In the embodiment of the present invention, before step 101, since master data model is data abstraction, to master data mould During type carries out concrete application, need to form template text by master data model.In actual use master data model In the process, master data model is initially formed as free configuration text in the display interface, is different from the first text, freely configures Text is no true content text, is mainly used for determining the expression way of the true content inputted in the first text.For side Just configure, by free configuration text be divided into it is several editing area is not configured, for example, one of them be not configured editing area be A Color expression, when it is red for needing to express A, there may be have red A, A be shown in red, A for red, A=is red, Arpg=(Red255;Green0;A variety of expression ways such as Blue0);When A is blue, there may be have A, A of blue to show It is blue, A=blue, Arpg=(Red0 for blue, A;Green0;A variety of expression ways such as Blue255);When A is green, There may be viridescent A, A, and shown in green, A is green, A=green, Arpg=(Red0;Green255;Blue0) etc. more Kind expression way;And user passes through unrestricted choice habitually expression way, according to the user's choice, it is concurrent to form configuration-direct It send to machine, for example, " A=is red " is selected to embody mode as " expression A is red ".Machine is referred to by parsing configuration It enables, can get user's selection embodies mode, then according to the specific choice of user in configuration-direct to editor is not configured Region is obtained with the editing area postponed, for example, user selects " A=is red " as the side of embodying of " expression A is red " Formula after machine parses the instruction, by " A=is red " as with the editing area postponed, " is expressed when needing to express in the first text A is red " when, the first text forms the particular content of " A=is red ".As needed, user is in free configuration text by institute After the option and installment that editing area embody mode is not configured in some, template text can be obtained for generating the first text This, the position arrangement of editing area carries out position arrangement with the integration rules that master data model provides in template text.
For example, freely being configured in the free configuration text configuration process for carrying out coronary lesions situation diagnosis report Have respectively in text including " stenosis description ", " length of lesion description ", " description of patch situation ", " myocardial bridge is implanted into situation Description ", " coronary artery advantage type plays Source Description ", " coronary branches description order ", " report description blood vessel range ", " Left main artery is retouched State ", " three big branch description ", " diagonal branch, the description of blunt edge branch ", " blood vessel abbreviation indicates description ", " hemadostewnosis extent description ", " report head-tail fixed description " etc. several configured editing area is not configured.In most cases, it sets using hook It selects mode to match, and once matches to postpone and continuously effective is used to future.We with to " stenosis description " configured into Row illustrates.
In being not configured in editing area for " stenosis description ", carry out meaning statement has " stenosis 0- 10% ", the presentation contents such as " stenosis 11-20% ", " stenosis 21-30% ".We need successively to every kind of narrow journey Degree embody the configuration of mode.When carrying out embodying the configuration of mode to " stenosis 50-69% ", machine circle Display is as shown in figure 4, Fig. 4 shows the selection schematic diagram of template text of the embodiment of the present invention on face.It include " lumen in Fig. 4 Moderate stenosis about 65% ", " luminal stenosis 50~69% ", " luminal stenosis about 65% " and " lumen moderate stenosis " four kinds of expression sides Formula, and have tick boxes before each expression way, after user is chosen " lumen moderate stenosis about 65% ", this chooses behavior Configuration-direct is formed, after machine receives the configuration-direct, to the configuration-direct is executed, specifically by " stenosis 50-60% " It is expressed as " lumen moderate stenosis about 65% ".And to other such as " stenosis 0-10% ", " stenosis 11-20% ", " narrow The presentation contents such as degree 21-30% " carry out specific form of presentation selection, and to " length of lesion description ", " description of patch situation ", Several editing areas that are not configured configured such as " description of myocardial bridge implantation situation " carry out specific form of presentation selection, right After above-mentioned specific form of presentation integration, template text is formed.
After forming template text, when user needs to generate report, transfer template text, artificial selection as needed and/ Or selected on template text according to actual conditions using third party software, that is, produce have really be content the first text This.
Fig. 5 shows a kind of flow diagram three of document creation method of the embodiment of the present invention.
Referring to Fig. 5, in embodiments of the present invention, method further include: step 301, construct master data model, master data Model is used for the generation and modification of template text, the first text and/or the second text.
Master data model herein indicates to provide an abstract frame with operation for the information of text database system Frame.Three parts are had in described in master data model: data structure, data manipulation and data constraint.By using substantially Data structure, data manipulation and the data constraint of data model can obtain having the template text of constraint condition, the first text And/or second text, and template text, the first text and/or the second text are completed to modify using constraint condition.This basic number It needs to generate at the beginning in the method for the embodiment of the present invention according to model.
Such as in the master data model of building coronary lesions situation, the master data of coronary lesions situation Model is the data abstraction of the name situation and lesion situation to coronary artery blood vessel medium vessels branch.Number of reports in the embodiment of the present invention Json format is accordingly with the storage of key/value combination, in order to make to report height customizable, all key/value groups Conjunction can decide whether to store according to the user's choice.For example, the base of the master data model of the embodiment of the present invention This structure can be as follows:
{
" dominance ": " left ", // vascula origin
" vessels ":
" pLAD ": [
" clIndex ": 101, // record lesion relative position
" straitness ": 0.99, // record stenotic condition
" length ": 0.3, // record diseased region length
" plaque ": null, // record patch situation
" bridge ": null, // record myocardial bridge are implanted into situation
" stent ": null, // record stenter to implant situation
" manMade ": whether true//record is modified
,
... // allow is to the same segmented configuration of blood vessel
],
... // can configure other blood vessels/segmentation situation
}
}
It, can to the name situation and lesion situation of coronary artery vessel branch when specifically constructing and using the master data model To be generated by coronary artery diagnostic software or be filled in manually by user according to the actual situation.
Fig. 6 shows a kind of flow diagram four of document creation method of the embodiment of the present invention.
Referring to Fig. 6, in embodiments of the present invention, between step 104 and step 105, method further include: step 401, connect Receive text modification instruction;Step 402, text modification instruction is executed, is modified to the second text, modified second text is obtained This.Correspondingly, after step 402, method further includes step 403, acquiring the modification information of the second text;Step 404, lead to The modification information for crossing the second text modifies to master data model;Step 405, modified master data model is obtained; Wherein, modified master data model is used to generate the template text of subsequent time.
The embodiment of the present invention can also carry out manual modification to the second text, but need before exporting the second text Illustrate, step 401, step 402 and step 403 needs provided in an embodiment of the present invention execute before step 105, but walk Actual association is had no between rapid 404, step 405 and step 406 and step 105, is independent of each other between the execution front and back of the two, i.e., Step 404, step 405 and step 406 can execute in any time that opposite step 105 executes.
Specifically, during due to machine method, it is jerky or be difficult to the part read to have a little expression, can be with It is modified, is exported modified content as the second text, to obtain to the second text by text modification instruction People must be suitble to read the second text of word content.Simultaneously as being remained as previously in the constraint relationship in master data model Generating mode during text generation next time, still can be generated same if not modifying to master data model It expresses jerky or is difficult to the part read.Therefore, it is necessary to the modification informations that machine acquires the second text, and it is right to pass through step 404 Master data model is modified, in this way, modified master data model is in life after modifying to master data model At subsequent time template text when, and when the application template text carries out the output of the second text, can avoid the occurrence of same Expression it is jerky or be difficult to the part read.I.e. to the second text automatically generated, the embodiment of the present invention allows user automatic Secondary modification is carried out on the basis of the second text generated.When user carries out secondary modification, system can collect in modification automatically The case where appearance, and modify automatically according to modification content to master data model, mould is modified by master data model modification Version text and create-rule.The different operation of user is to template text and create-rule to the record side of influence mode and system Method is determined by the actual content reported.
Fig. 7 shows a kind of flow diagram five of document creation method of the embodiment of the present invention.
Referring to Fig. 7, in embodiments of the present invention, step 405, by the modification information of the second text to master data model It modifies, comprising: step 4051, save the modification information of the second text;Step 4052, according to the modification information of the second text Determine the editing area of the modification information of the second text;Step 4053, according to Weighted Rule to the modification information of the second text into Row processing, obtains template modification information;Step 4054, by template modification information to the editing area of the modification information of the second text It modifies in domain.
The embodiment of the present invention is first during modifying to the modification information by the second text to master data model First it needs to be determined that the specific location of the modification information of the second text, then repairs master data model for modification content Change.
In the location revision for determining modification information, machine can be by location revision for editor locating for modification information Region can so enable the content of modification corresponding with the position of original contents by the correspondence of editing area.Alternatively, may be used also The specifying information of modification content is identified, the corresponding specific region of modification information is determined by the content of identification, in determination It behind specific region, is modified in such a way that modification information is replaced with prime information to master data model, thus completion pair The modification of master data model.In this way, user is in the case where any position of report modifies to a certain content, this method It can be for the content recognition of modification, to modify the content of script.Such as the hemadostewnosis extent description of coronary artery blood vessel, when User eliminates original hemadostewnosis extent description " coronary artery moderate stenosis about 65% " in the third section of the second text, then exists The 5th section of second text is added to " coronary artery moderate stenosis 60-65% ", at this point, machine is " narrow by containing in identification modification content The narrow, keywords such as 65% " judge that it belongs to " coronary stenosis description " part, and are compared by content and determine that is modified is described as " coronary artery moderate stenosis about 65% " is revised as " coronary artery moderate stenosis 60-65% ".According to modification content to next time using Template text is modified, and when user uses template text next time, option is automatically by " coronary artery moderate stenosis about 65% " Replace with " coronary artery moderate stenosis 60-65% ".
Further, in the case where being directed to coronary artery blood vessel diagnosis report, there is following alteration ruler:
Coronary artery advantage type plays Source Description
Shorthand description is not inconsistent character string modification and advantage/Source Description position.
Coronary branches description order
Report description blood vessel range
The sortord of the skin quality for needing to describe and branch's description is directly recorded in a manner of array.
Left main artery description
- three big branch descriptions
Diagonal branch, the description of blunt edge branch
These branches are described according to whether user merges, whether trigger merging by key/value record using json object Rule.
Blood vessel abbreviation indicates description
According to the abbreviation text alteration ruler of actual modification, capital and small letter can recognize, but do not record off-gauge abbreviation mode.
Hemadostewnosis extent description
According to the narrow description alteration ruler of actual modification, fixed percentage description/extent description is only identified.
Report head-tail fixed description
Directly by the verbal description character string storage rule of modification.
In addition, user's specific a certain content regular to template text or text generation caused by the modification of the second text Variation might have multiple.This method determines the update status of actual reticle or rule, modification by the way of temporally weighting It is higher from the more high then weight of present time.Such as user differently modified twice, then to newly-generated narrow description The case where template text is once modified after determines to actually generate rule;It is such as modified multiple, then it uses to weight after weighting Maximum alteration ruler, for example, differently modifying five times narrow description, preceding modification content three times is consistent, and rear two Secondary modification content is consistent, template text modification mode that at this time still should be primary after use determines to use next time when and Create-rule.The rule excessively high to the value range of part modification, is worth highest 5 rules after only retaining weighting.Such as end to end The fixed description in portion is directly text paragraph, has infinite combinations, therefore all changes in wording can not be all automatically configured to rule.
Fig. 8 shows a kind of flow diagram six of document creation method of the embodiment of the present invention.
Referring to Fig. 8, in embodiments of the present invention, in step 104, text housekeeping instruction is executed, comprising: step 1041, solution Analyse the editing area of the first text;Step 1042, the editing area with same characteristic features is merged, the editing area after being merged Domain;Step 1043, merge rule according to the splicing of master data model, the editor splicing the editing area after merging and not merging Region obtains the second text corresponding with the first text.
The embodiment of the present invention during being arranged to text, the Collator Mode of specific second text can according to base The splicing of notebook data model merges rule and merges same characteristic features, and is arranged according to description order several editing areas Sequence, to generate the second text.For example, when generating the second text, firstly, being described to merge algorithm merging pair according to coronary artery blood vessel The lesion of part segmentation of blood vessels describes.Then splice all blood vessel description contents and template head-tail and export the interior of the second text Hold.Wherein " the lesion description for merging algorithm merging to part segmentation of blood vessels being described according to coronary artery blood vessel ", primitive rule is as follows:
1. the vessel branch that need to merge description includes: according to coronary artery blood vessel physiological structure
- LAD is close, in, distal section and Left main artery LM
- RCA is close, in, distal section
- LCX is close, distal section
-OM1/OM2
-D1/D2;
2. using Union-find Sets data structure by coronary lesions situation normalizing;
3. it is respectively segmented if accomplice lesion situation occurs repeatedly if coronary artery vessel branch and merges description, it is otherwise described separately.
Fig. 9 shows a kind of structural schematic diagram of text generation equipment of the embodiment of the present invention.
Referring to Fig. 9, on the other hand the embodiment of the present invention provides a kind of text generation equipment, comprising: receiving module 501 is used It is instructed in receiving text information;Generation module 502, for executing text information instruction, by the first text of template text generation;It connects Module 501 is received, is also used to receive text housekeeping instruction;Execution module 503 passes through basic number for executing text housekeeping instruction The first text is arranged according to model, obtains the second text corresponding with the first text;Output module 504, for exporting the Two texts.
In a kind of embodiment, further includes: module 505 is obtained, for being obtained from by master data model by matching Set text;Receiving module 501 is also used to receive configuration-direct;Execution module 503 is also used to execute configuration-direct, according to configuration Instruction configures all editing areas that are not configured in free configuration text, obtains all with the editing area postponed;It is whole Block 506 is molded, the integration rules for providing according to the master data model are integrated all with the editing area postponed, obtain Template text.
In a kind of embodiment, further includes: building module 507, for constructing master data model, master data mould Type is used for the generation and modification of template text, the first text and/or the second text.
In a kind of embodiment, further includes: receiving module 501 is also used to receive text modification instruction;Execution module 503, it is also used to execute text modification instruction, modifies to the second text, obtain modified second text;Acquisition module 508, for acquiring the modification information of the second text;Modified module 509, for the modification information by the second text to basic number It modifies according to model, obtains modified master data model;Wherein, modified master data model is next for generating The template text at moment.
In a kind of embodiment, modified module 509, comprising: save submodule 5091, save the modification of the second text Information;Determine submodule 5092, the modification information according to the second text determines the editing area of the modification information of the second text;Place Submodule 5093 is managed, the modification information of the second text is handled according to Weighted Rule, obtains template modification information;Modification Module 5094 is modified by editing area of the template modification information to the modification information of the second text.
In a kind of embodiment, execution module 503, comprising: analyzing sub-module 5031, for parsing the first text Editing area;Merge submodule 5032, the editing area for that there will be the merging of the editing area of same characteristic features, after being merged Domain;Splice submodule 5033, merge rule for the splicing according to master data model, splicing merge after editing area and not Combined editing area obtains the second text corresponding with the first text.
Another aspect of the present invention provides a kind of computer readable storage medium, and it is executable that computer is stored in storage medium Instruction, when executed, for executing any one of above-mentioned embodiment document creation method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.Moreover, particular features, structures, materials, or characteristics described It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples Sign is combined.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed or hidden It include at least one this feature containing ground.In the description of the present invention, the meaning of " plurality " is two or more, unless otherwise Clear specific restriction.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover Within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of document creation method characterized by comprising
Receive text information instruction;
The text information instruction is executed, by the first text of template text generation;
Receive text housekeeping instruction;
The text housekeeping instruction is executed, first text is arranged by master data model, is obtained and described Corresponding second text of one text;
Export second text.
2. the method according to claim 1, wherein the reception text information instruction before, the method Further include:
It is obtained from by the master data model by configuration text;
Receive configuration-direct;
The configuration-direct is executed, editing area is not configured to all in the free configuration text according to the configuration-direct It is configured, is obtained all with the editing area postponed;
According to the integration rules that the master data model provides, integration is described all with the editing area postponed, obtains described Template text.
3. the method according to claim 1, wherein the method also includes:
Master data model is constructed, the master data model is for the template text, the first text and/or the second text It generates and modifies.
4. according to the method described in claim 2, it is characterized in that, it is described execute the text housekeeping instruction after, and institute Before stating output second text, the method also includes:
Receive text modification instruction;
The text modification instruction is executed, modifies to second text, obtains modified second text;
Correspondingly, after the execution text modification instruction, the method also includes:
Acquire the modification information of second text;
It is modified, is obtained modified described basic to the master data model by the modification information of second text Data model;Wherein, the modified master data model is used to generate the template text of subsequent time.
5. according to the method described in claim 4, it is characterized in that, the modification information by second text is to described Master data model is modified, comprising:
Save the modification information of second text;
Modification information according to second text determines the editing area of the modification information of the second text;
The modification information of second text is handled according to Weighted Rule, obtains template modification information;
It is modified by editing area of the template modification information to the modification information of second text.
6. the method according to claim 1, wherein described execute the text housekeeping instruction, comprising:
Parse the editing area of first text;
The editing area with same characteristic features is merged, the editing area after being merged;
Splicing according to the master data model merges rule, the editing area after splicing the merging and does not merge The editing area obtains second text corresponding with first text.
7. a kind of text generation equipment characterized by comprising
Receiving module, for receiving text information instruction;
Generation module, for executing the text information instruction, by the first text of template text generation;
The receiving module is also used to receive text housekeeping instruction;
Execution module arranges first text by master data model for executing the text housekeeping instruction, Obtain the second text corresponding with first text;
Output module, for exporting second text.
8. equipment according to claim 7, which is characterized in that further include:
Module is obtained, for being obtained from by the master data model by configuration text;
The receiving module is also used to receive configuration-direct;
The execution module is also used to execute the configuration-direct, according to the configuration-direct in the free configuration text All editing areas that are not configured configured, obtain all with the editing area postponed;
Module is integrated, it is described all with the editing area postponed for integrating, obtain the template text.
9. equipment according to claim 7, which is characterized in that further include:
Module is constructed, for constructing master data model, the master data model is used for the template text, the first text And/or second text generation and modification.
10. a kind of computer readable storage medium, which is characterized in that be stored with the executable finger of computer in the storage medium It enables, when executed, requires any one of the 1-6 document creation method for perform claim.
CN201910472225.XA 2019-05-31 2019-05-31 A kind of document creation method, equipment and computer readable storage medium Pending CN110196670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910472225.XA CN110196670A (en) 2019-05-31 2019-05-31 A kind of document creation method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910472225.XA CN110196670A (en) 2019-05-31 2019-05-31 A kind of document creation method, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110196670A true CN110196670A (en) 2019-09-03

Family

ID=67753786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910472225.XA Pending CN110196670A (en) 2019-05-31 2019-05-31 A kind of document creation method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110196670A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140289274A1 (en) * 2011-12-09 2014-09-25 Beijing Founder Apabi Technology Limited Method and device for acquiring structured information in layout file
CN104240171A (en) * 2014-10-09 2014-12-24 北京嘉和美康信息技术有限公司 Method and system for generating electronic medical records
CN105786935A (en) * 2014-12-26 2016-07-20 北大医疗信息技术有限公司 Method and system for replacing medical record contents
CN106251872A (en) * 2016-08-09 2016-12-21 北京千安哲信息技术有限公司 A kind of case input method and system
CN106845139A (en) * 2017-02-28 2017-06-13 北京赛迈特锐医疗科技有限公司 Structured report is generated the system and method for natural language report
CN108572944A (en) * 2017-11-24 2018-09-25 北京金山云网络技术有限公司 A kind of document structure tree method, apparatus, electronic equipment and storage medium
CN108665951A (en) * 2018-04-16 2018-10-16 北京天使软件技术有限公司 A kind of method and system that pre- structural data is generated to medical report
CN109074857A (en) * 2016-04-20 2018-12-21 皇家飞利浦有限公司 Automatic filling patient report

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140289274A1 (en) * 2011-12-09 2014-09-25 Beijing Founder Apabi Technology Limited Method and device for acquiring structured information in layout file
CN104240171A (en) * 2014-10-09 2014-12-24 北京嘉和美康信息技术有限公司 Method and system for generating electronic medical records
CN105786935A (en) * 2014-12-26 2016-07-20 北大医疗信息技术有限公司 Method and system for replacing medical record contents
CN109074857A (en) * 2016-04-20 2018-12-21 皇家飞利浦有限公司 Automatic filling patient report
CN106251872A (en) * 2016-08-09 2016-12-21 北京千安哲信息技术有限公司 A kind of case input method and system
CN106845139A (en) * 2017-02-28 2017-06-13 北京赛迈特锐医疗科技有限公司 Structured report is generated the system and method for natural language report
CN108572944A (en) * 2017-11-24 2018-09-25 北京金山云网络技术有限公司 A kind of document structure tree method, apparatus, electronic equipment and storage medium
CN108665951A (en) * 2018-04-16 2018-10-16 北京天使软件技术有限公司 A kind of method and system that pre- structural data is generated to medical report

Similar Documents

Publication Publication Date Title
Joyal et al. Bisimulation from open maps
US7949542B2 (en) System, method and computer program product for graphically illustrating entities and generating a text-based report therefrom
CN110634175B (en) Neural behavior animation system
CN102819656B (en) Generate the system and method for electronic health record
Bass et al. Icam: Interpretable classification via disentangled representations and feature attribution mapping
US20130113816A1 (en) Visualizing brain network connectivity
US20080260224A1 (en) Using statistical process control (SPC) to demonstrate solution convergence in a technician guided segmentation system
US20210216925A1 (en) Generating a process model
JPH09502034A (en) Introduces an alternative form of the target process object code that allows less recompilation and relinking, allowing automatic identification of error locations and modified locations due to new requirements on the system. To minimize uncertainty in computer software processes
JP6813549B2 (en) Methods and systems for generating medical reports
CN110196670A (en) A kind of document creation method, equipment and computer readable storage medium
Martínez-Salvador et al. Supporting the refinement of clinical process models to computer-interpretable guideline models
CN109147927A (en) A kind of man-machine interaction method, device, equipment and medium
Rao Visual routines and attention
Pederiva et al. The beautification process in model-driven engineering of user interfaces
CN110413795A (en) A kind of professional knowledge map construction method of data-driven
CN112700825B (en) Medical data processing method, device and storage medium
US20230207106A1 (en) Image segmentation for sets of objects
Bhansali et al. Software design by reusing architectures
Dellepiane et al. Extension of IBIS for 3D organ recognition in NMR multislices
Dacombe et al. The voluntary sector and public services: Context, continuity and change
Marcus Knowledge Acquisition: Selected Research and Commentary: A Special Issue of Machine Learning on Knowledge Acquisition
Antweiler et al. Visualizing rule-based classifiers for clinical risk prognosis
JP2021047905A (en) Method and system for generating medical care reports
Midgley Test of time: Anna Freud’s normality and pathology in childhood (1965)

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190903

RJ01 Rejection of invention patent application after publication