CN110188165A - Contract template acquisition methods, device, storage medium and computer equipment - Google Patents

Contract template acquisition methods, device, storage medium and computer equipment Download PDF

Info

Publication number
CN110188165A
CN110188165A CN201910334998.1A CN201910334998A CN110188165A CN 110188165 A CN110188165 A CN 110188165A CN 201910334998 A CN201910334998 A CN 201910334998A CN 110188165 A CN110188165 A CN 110188165A
Authority
CN
China
Prior art keywords
contract template
keyword
contract
template
user
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
CN201910334998.1A
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910334998.1A priority Critical patent/CN110188165A/en
Publication of CN110188165A publication Critical patent/CN110188165A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking

Abstract

The application provides a kind of contract template acquisition methods, device, storage medium and computer equipment, is applied to technical field of data processing.The method includes: to obtain user's keyword currently entered;The keyword is matched with each keyword in the crucial phrase of each contract template in preset contract template database, searches the contract template with the Keywords matching;If finding matched contract template, the matched contract template is downloaded;If searching less than matched contract template, several clauses with the Keywords matching are obtained from the clause library constructed in advance, generate contract template according to several described clauses.The embodiment of the present application improves the efficiency of contract template acquisition.

Description

Contract template acquisition methods, device, storage medium and computer equipment
Technical field
This application involves technical field of data processing, specifically, this application involves a kind of contract template acquisition methods, dress It sets, storage medium and computer equipment.
Background technique
Contract is the agreement that establish, change or terminate civil relationship between party or both parties.It is closed in order to facilitate signature Together, the time that contract is formulated is saved, legal affairs personnel can generally put contract template in order in advance.Contract template is usually editable lattice Template of formula, such as WORD template etc..There are filling regions in the region for needing to edit for contract template, in the contract of generation, use Family only needs to insert corresponding content in filling region, convenient and efficient.
General at present to obtain contract template by manual type, i.e. user (such as business personnel) needs line when drafting a contract Lower consulting legal affairs personnel obtains required contract template.In addition, if user needs continuous and method without suitable contract template Business personnel seek advice from, and manually compile suitable contract template again.Therefore there are efficiency for current contract template acquisition methods Low defect.
Summary of the invention
The application is directed to the shortcomings that existing way, proposes a kind of contract template acquisition methods, device, storage medium and calculating Machine equipment, to improve the efficiency of contract template acquisition.
Embodiments herein provides a kind of contract template acquisition methods according to first aspect, comprising:
Obtain user's keyword currently entered;
By the keyword and each key in the crucial phrase of each contract template in preset contract template database Word is matched, and the contract template with the Keywords matching is searched;
If finding matched contract template, the matched contract template is downloaded;
If searching less than matched contract template, if being obtained from the clause library constructed in advance and the Keywords matching Dry clause, generates contract template according to several described clauses.
In one embodiment, the crucial phrase of the contract template is generated by following steps:
Obtain each participle of the contract template;
The participle that similarity is greater than preset value is divided into the same cluster, the participle that each cluster includes is obtained;
Filter out the top n cluster most comprising participle quantity;N is positive integer;
Keyword by the highest participle of the frequency of occurrences in N number of cluster as corresponding cluster, constitutes institute by the keyword of top n cluster State the crucial phrase of contract template.
In one embodiment, described by each contract template in the keyword and preset contract template database Each keyword is matched in crucial phrase, searches the contract template with the Keywords matching, comprising:
By each keyword carries out in the crucial phrase of each contract template in the keyword and contract template database Similarity calculation filters out each candidate contract template that similarity is greater than the set value;
If the quantity of candidate contract template is greater than setting quantity, the number that each candidate contract template is downloaded is obtained;
The similarity of each candidate contract template and the product of the corresponding number being downloaded are calculated separately, each candidate is obtained The similar weight of contract template;
Search the great candidate contract template in preset threshold of similarity weight.
In one embodiment, described by each contract template in the keyword and preset contract template database Each keyword is matched in crucial phrase, searches the contract template with the Keywords matching, comprising:
By each keyword carries out in the crucial phrase of each contract template in the keyword and contract template database Similarity calculation filters out each candidate contract template that similarity is greater than the set value;
If the quantity of candidate contract template is greater than setting quantity, the modification date of each candidate contract template is obtained;
It searches and modifies candidate contract template of the difference on date and current date less than preset time.
In one embodiment, acquisition user keyword currently entered, comprising:
Obtain the identity of user;
The history keyword word inputted before the user is obtained according to the identity of the user;
Show the history keyword word;
Whether modification to history keyword word instruction is received in detection preset time;
If so, using modified history keyword word as user keyword currently entered;Otherwise, it will input before History keyword word as user keyword currently entered.
In one embodiment, acquisition user keyword currently entered, comprising:
If the keyword of the currently practical input of user is one, the near synonym of the keyword are obtained, by the keyword With the near synonym as user keyword currently entered;
If the keyword of the currently practical input of user be it is multiple, judge whether there is the keyword of hyponymy;If depositing Upper keyword is being deleted, using remaining keyword as user keyword currently entered.
In one embodiment, each clause is grouped according to classification in the clause library;It is described according to described several A clause generates contract template, comprising:
Determine several described clauses respectively generic;
Each clause of several the described clauses respectively under generic is obtained, clause set is obtained;
Contract template is generated according to the clause set.
Embodiments herein additionally provides a kind of contract template acquisition device according to the second aspect, comprising:
Keyword obtains module, for obtaining user's keyword currently entered;
Contract template searching module is used for each contract template in the keyword and preset contract template database Crucial phrase in each keyword matched, search and the contract template of the Keywords matching;
Contract template download module, for downloading the matched contract template when finding matched contract template;
Contract template generation module is used for when searching less than matched contract template, from the clause library constructed in advance Several clauses with the Keywords matching are obtained, generate contract template according to several described clauses.
Embodiments herein additionally provides a kind of computer readable storage medium, stores thereon according in terms of third There is computer program, which realizes contract template acquisition methods described in above-mentioned any one when being executed by processor.
Embodiments herein additionally provides a kind of computer equipment, the computer equipment packet according to the 4th aspect It includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes contract template acquisition methods described in above-mentioned any one.
Above-mentioned contract template acquisition methods, device, storage medium and computer equipment constructs contract template data in advance Library, provides intelligent engine, and user can be accurately positioned by inputting keyword in the intelligent engine and find suitable conjunction Same template can be combined into contract template according to existing clause library in the case where no template automatically, substantially increase contract The efficiency that template obtains.
The additional aspect of the application and advantage will be set forth in part in the description, these will become from the following description It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The application is above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the schematic diagram of the contract template acquisition methods of the application one embodiment;
Fig. 2 is the schematic diagram of the contract template acquisition device of the application one embodiment;
Fig. 3 is the schematic diagram of the computer equipment of the application one embodiment.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the application, and cannot be construed to the limitation to the application.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the description of the present application Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in the application fields.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
As shown in Figure 1, the schematic diagram of the contract template acquisition methods for an embodiment, this method comprises:
S110, user's keyword currently entered is obtained.
The search interface for generating contract template inputs keyword in the search interface when needing contract template.Input Keyword can be one or more.In order to realize the quick and precisely search of contract template, can be shown in search interface Show the prompting message of input keyword, for example, prompting message is arranged are as follows: input the classification of contract template, the number of contract template Or Contract Signing side etc., wherein the classification of contract template includes personal insurance classification, house lease classification and property trust Classification etc., user input relevant keyword according to the prompting message.In addition, user inputs for convenience, can also search Choice box is set in rope interface, and user chooses corresponding keyword by drop-down menu and inputs, simple and fast.
S120, will be each in the crucial phrase of each contract template in the keyword and preset contract template database Keyword is matched, and the contract template with the Keywords matching is searched.
Contract template database is constructed in advance, and multiple contract moulds for writing completion in advance are stored in contract template database Plate.In order to improve effectiveness of retrieval, the crucial phrase of each contract template in contract template database is preset, the key Phrase is the mark of contract template, and for distinguishing different contract templates, which includes several keywords.Pass through use Contract template of the family keyword currently entered from contract template database lookup and Keywords matching.
If S130, finding matched contract template, the matched contract template is downloaded.
If searching matched contract template, the contract template is downloaded from contract template database.Contract template downloading After the completion, user inserts corresponding information in the filling region of contract template, it can generates required contract.
If S140, searching less than matched contract template, obtained and the keyword from the clause library constructed in advance Several clauses matched generate contract template according to several described clauses.
If search is less than suitable contract template, it is contemplated that manually rewrite contract template higher cost, therefore pre- Clause library is first constructed, each clause is stored in clause library, clause is the component units of contract, as the clause of coverage includes Contract title, insurant's title, insurance period, insurant's title etc., each clause are also equipped with corresponding keyword, The keyword of the keyword of input and each clause is matched, several clauses are filtered out, is generated according to several clauses Contract template.
Had much according to the mode that several clauses generate contract template.For example, configuring each clause in original template Display position and display format, corresponding each clause is then automatically added to this according to display position and display format In original template, contract template is generated, wherein the original template can be blank template, be also possible to immobilized substance Non-blank-white template.In another example being ranked up according to the sequence of byte length shared by each clause from small to large to each clause, press The mode for occupying a line according to each clause merges each clause, generates contract template.After generating contract template, user is also It can according to need the display mode for voluntarily adjusting each clause.If it should be understood that can also using other way according to Dry clause generates contract template, and the application makes restriction not to this.
The present embodiment constructs contract template database in advance, provides intelligent engine (i.e. search interface etc.), user passes through Input keyword, which can be accurately positioned, in the intelligent engine finds suitable contract template, can in the case where no template To be combined into contract template automatically according to existing clause library, the efficiency of contract template acquisition is substantially increased.
In view of user is generally responsible for specified business, required contract template is also basically unchanged, therefore, in order to realize It rapidly inputs, in one embodiment, acquisition user keyword currently entered, comprising:
S1101, the identity for obtaining user.
The identity of user can be the account inputted when logging in intelligent engine, such as cell-phone number or identification card number etc. Deng.Intelligent engine is for inputting the matched contract template of keyword search.
S1102, the history keyword word inputted before the user is obtained according to the identity of the user.
If the previously passed intelligent engine input keyword of user carried out the search of contract template, user can be automatically saved The keyword of input recalls the history keyword word that user is previously entered when detecting that user logs in intelligent engine.
S1103, the display history keyword word.
History keyword word is shown in interface.Situations such as in view of history keyword word erroneous input, in display history keyword Before word, it is also necessary to handle the history keyword word recalled, for example, only showing the more history keyword word of the frequency of occurrences Deng, or only show the history keyword word etc. recently input.
The instruction of the modification to the history keyword word whether is received in S1104, detection preset time.
Preset time can be configured according to actual needs, but consider imeliness problem, and preset time is preferably arranged to One smaller value.The case where in view of modifying, need to detect whether user in preset time repairs the history keyword word of display Change.
S1105, if so, using modified history keyword word as user keyword currently entered;Otherwise, by it The history keyword word of preceding input is as user keyword currently entered.
If there is modification, then using modified keyword as user's keyword currently entered, if do not modified, Directly using the history keyword word of display as user's keyword currently entered.
The keyword of input can be one or more, and the keyword quantity of input is different, in order to improve contract template The accuracy and efficiency of acquisition, the processing mode of keyword be not also identical.For example, in one embodiment, the acquisition user Keyword currently entered, comprising:
If the keyword of S110a, the currently practical input of user are one, the near synonym of the keyword are obtained, it will be described Keyword and the near synonym are as user keyword currently entered.
Near synonym refer to that similarity is greater than the word of certain value.When the keyword that user actually enters is one, obtain The near synonym and the keyword of input are formed search phrase, accurately to detect institute by the near synonym of the keyword of input together The contract template needed avoids unnecessary contract template from generating.The mode that near synonym specifically obtain can be according in the prior art Existing mode is realized.
If S110b, the currently practical input of user keyword be it is multiple, judge whether there is the key of hyponymy Word;If it exists, upper keyword is deleted, using remaining keyword as user keyword currently entered.
When the keyword that user actually enters is multiple, the keyword of hyponymy is judged whether there is, if it exists The keyword of hyponymy only retains the next keyword, and upper keyword is deleted, then the keyword of the reservation and its Its crucial phrase is at search phrase, i.e. user's keyword currently entered.
The mode for generating the crucial phrase of contract template has very much, for example, in one embodiment, the contract template Crucial phrase is generated by following steps:
S120a, each participle for obtaining the contract template.
The full text of contract template is segmented, each participle of contract template is obtained.The method specifically segmented can root It is realized according to existing mode in the prior art.After each participle for obtaining contract template, each participle can also be located in advance Reason, such as the semantic auxiliary word of removal " " etc..
S120b, the participle that similarity is greater than preset value is divided into the same cluster, obtains the participle that each cluster includes.
Each participle is divided into each cluster according to similarity, specifically, the participle that similarity is greater than preset value is placed on together In one cluster, if the similarity of a participle and other participles is below preset value, the participle oneself is a cluster.Pass through This kind of mode obtains the participle that each cluster includes.
S120c, the top n cluster most comprising participle quantity is filtered out;N is positive integer.
The quantity for the participle that each cluster includes is counted, wherein quantity is cumulative if multiple participles are identical in a cluster.System After counting the participle quantity that each cluster is included, according to the sequence of quantity from high in the end, the most top n of participle quantity is filtered out Cluster.
S120d, the keyword by the highest participle of the frequency of occurrences in N number of cluster as corresponding cluster, by the keyword of top n cluster Constitute the crucial phrase of the contract template.
If multiple participles are identical in cluster, it is the cumulative of number by corresponding frequency, top n is obtained by this kind of mode The frequency that each each participle of cluster occurs in cluster, for each cluster in top n cluster, the highest participle of the frequency of occurrences is used as should The keyword of cluster.The keyword of top n cluster constitutes the crucial phrase of contract template.
It describes in detail below with reference to two embodiments to contract template lookup method, it should be appreciated that the application It is not restricted to following two kinds of embodiments.
In one embodiment, described by each contract template in the keyword and preset contract template database Each keyword is matched in crucial phrase, searches the contract template with the Keywords matching, comprising: by the keyword Similarity calculation is carried out with keyword each in the crucial phrase of contract template each in contract template database, is filtered out similar Spend each candidate contract template being greater than the set value;If the quantity of candidate contract template is greater than setting quantity, each candidate is obtained The number that contract template is downloaded;Calculate separately the similarity of each candidate contract template and multiplying for the corresponding number being downloaded Product obtains the similar weight of each candidate contract template;Search the great candidate contract template in preset threshold of similarity weight.
The present embodiment will be every in the crucial phrase of each contract template in the keyword of input and contract template database A keyword carries out similarity calculation, filters out the candidate contract template that similarity is greater than the set value.If candidate contract template Quantity is more, then the number that available each candidate contract template is downloaded comprehensively considers the number being downloaded and similarity, Similar weight is obtained, the great small part template in preset threshold of similarity weight is further screened according to similar weight, realizes essence Determine the suitable contract template in position.
In another embodiment, described by each contract template in the keyword and preset contract template database Crucial phrase in each keyword matched, search and the contract template of the Keywords matching, comprising: by the key Each keyword carries out similarity calculation in the crucial phrase of each contract template in word and contract template database, filters out phase The each candidate contract template being greater than the set value like degree;If the quantity of candidate contract template is greater than setting quantity, each time is obtained Select the modification date of contract template;It searches and modifies candidate contract template of the difference on date and current date less than preset time.
The present embodiment is larger in view of a possibility that contract template of new version is used, if candidate contract template quantity It is more, the modification date of contract template can also be obtained, when filtering out time of the modification date apart from current date less than presetting Between (if 5 days etc.) small part template, to improve the accuracy of contract template acquisition.
When generating contract template according to several clauses, it is contemplated that it is possible to depend merely on the clause that Keywords matching screens It is less, be unable to satisfy the needs of user, cannot automatic accurate generation contract template, therefore, in one embodiment, the clause Each clause is grouped according to classification in library;Described several clauses according to generate contract template, comprising:
S1401, determine described in the respective generic of several clauses.
Each clause is grouped according to classification in advance, determines which classification the clause retrieved belongs to.For example, It carries out filtering out clause A, clause B and clause C when Keywords matching, wherein clause A and clause B belongs to classification A, and clause C belongs to Classification B.
The respective each clause under generic of several clauses described in S1402, acquisition, obtains clause set.
For classification belonging to each clause, all clauses under the category are obtained, the clause under each classification is constituted Clause set.For example, filtering out clause A, clause B and clause C when carrying out Keywords matching, wherein clause A and clause B belong to Classification A, clause C belong to classification B.Obtain all clauses under classification A, all clauses under classification B, all under classification A All clauses under money, classification B constitute clause set.
S1403, contract template is generated according to the clause set.
After obtaining clause set, so that it may automatically generate suitable contract mould according to clause all in the clause set Plate, it is simple and fast.
In addition, if search can also look for the hypernym of the keyword of user's input, according on this less than contract template Position word re-starts the retrieval of contract template, if still retrieving less than according to each clause of acquisition generation contract template.
Furthermore it is possible to which with the contract template of the text header name storage of contract template, legal affairs personnel generates new contract Template or after having update to contract template, stores to local, the terminal where contract template database can periodically go this Ground reads contract template information, if the contract template of discovery same names has update or there are the contract template of new title, Then the correspondence contract template in contract template database is updated automatically or directly adds new contract template, it is convenient fast It is prompt.
Based on the same inventive concept, the application also provides a kind of contract template acquisition device, with reference to the accompanying drawing to this Shen Please the specific embodiment of device describe in detail.
As shown in Fig. 2, the schematic diagram of the contract template acquisition device for an embodiment, the device include:
Keyword obtains module 210, for obtaining user's keyword currently entered;
Contract template searching module 220 is used for each contract in the keyword and preset contract template database Each keyword is matched in the crucial phrase of template, searches the contract template with the Keywords matching;
Contract template download module 230, for downloading the matched contract mould when finding matched contract template Plate;
Contract template generation module 240 is used for when searching less than matched contract template, from the clause library constructed in advance Several clauses of middle acquisition and the Keywords matching generate contract template according to several described clauses.
In one embodiment, described device further includes that the crucial phrase being connected with contract template searching module 220 generates Module, the crucial phrase generation module include:
Acquiring unit is segmented, for obtaining each participle of the contract template;
Cluster division unit, the participle for similarity to be greater than preset value are divided into the same cluster, obtain each cluster packet The participle contained;
Cluster screening unit includes the most top n cluster of participle quantity for filtering out;N is positive integer;
Crucial phrase generation unit, for by the frequency of occurrences in N number of cluster it is highest participle as correspondence cluster keyword, by The keyword of top n cluster constitutes the crucial phrase of the contract template.
In one embodiment, the contract template searching module 220 includes:
Contract template screening unit, for by the key of each contract template in the keyword and contract template database Each keyword carries out similarity calculation in phrase, filters out each candidate contract template that similarity is greater than the set value;
Number acquiring unit when being greater than setting quantity for the quantity in candidate contract template, obtains each candidate contract The number that template is downloaded;
Similarity weight weight obtaining unit, for calculating separately the similarity and corresponding time being downloaded of each candidate contract template Several products obtains the similar weight of each candidate contract template;
Searching unit, for searching the great candidate contract template in preset threshold of similarity weight.
In another embodiment, the contract template searching module 220 includes:
Contract template screening unit, for by the key of each contract template in the keyword and contract template database Each keyword carries out similarity calculation in phrase, filters out each candidate contract template that similarity is greater than the set value;
Date acquisition unit is modified, when being greater than setting quantity for the quantity in candidate contract template, obtains each candidate The modification date of contract template;
Searching unit, the difference for searching modification date and current date are less than the candidate contract template of preset time.
In one embodiment, the keyword obtains module 210, comprising:
Identity acquiring unit, for obtaining the identity of user;
History keyword word acquiring unit is gone through for what is inputted before obtaining the user according to the identity of the user History keyword;
Display unit, for showing the history keyword word;
Whether detection unit receives the instruction of the modification to the history keyword word for detecting in preset time;
Keyword acquiring unit, for receive modification instruction when, using modified history keyword word as the use Family keyword currently entered;When being not received by modification instruction, using the history keyword word inputted before as the user Keyword currently entered.
In another embodiment, the keyword obtains module 210, comprising:
First keyword acquiring unit, for the keyword in the currently practical input of user be one when, obtain the pass The near synonym of keyword, using the keyword and the near synonym as user keyword currently entered;
Second keyword acquiring unit, for the keyword in the currently practical input of user be it is multiple when, judge whether to deposit In the keyword of hyponymy;If it exists, upper keyword is deleted, remaining keyword is currently defeated as the user The keyword entered.
In one embodiment, each clause is grouped according to classification in the clause library;The contract template generates Module 240, comprising:
Classification determination unit, for determining several described clauses respectively generic;
Clause set obtaining unit is obtained for obtaining each clause of several the described clauses respectively under generic Clause set;
Contract template generation unit, for generating contract template according to the clause set.
The technical characteristic phase of other technical characteristics of said contract template acquisition device and said contract template acquisition methods Together, it will not be described here.
The embodiment of the present application also provides a kind of computer readable storage medium, is stored thereon with computer program, the program Contract template acquisition methods described in above-mentioned any one are realized when being executed by processor.Wherein, the storage medium include but Be not limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, Read-only memory), RAM (Random AcceSS Memory, immediately memory), EPROM (EraSable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically EraSable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card Piece.It is, storage medium includes by equipment (for example, computer) with any Jie for the form storage or transmission information that can be read Matter.It can be read-only memory, disk or CD etc..
The embodiment of the present application also provides a kind of computer equipment, and the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes contract template acquisition methods described in above-mentioned any one.
Fig. 3 is the structural schematic diagram of the application computer equipment, including processor 320, storage device 330, input unit The devices such as 340 and display unit 350.It will be understood by those skilled in the art that the structure devices shown in Fig. 3 are not constituted to institute There is the restriction of computer equipment, may include than illustrating more or fewer components, or the certain components of combination.Storage device 330 can be used for storing application program 310 and each functional module, and processor 320 runs the application journey for being stored in storage device 330 Sequence 310, thereby executing the various function application and data processing of equipment.Storage device 330 can be built-in storage or external memory Reservoir, or including both built-in storage and external memory.Built-in storage may include read-only memory, programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory or random storage Device.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, tape etc..Storage device disclosed in the present application includes but not It is limited to the storage device of these types.Storage device 330 disclosed in the present application is only used as example rather than as restriction.
Input unit 340 is used to receive the input of signal, and receive user's keyword currently entered etc..Input unit 340 may include touch panel and other input equipments.Touch panel collects the touch operation (ratio of user on it or nearby Such as user uses the operation of finger, stylus any suitable object or attachment on touch panel or near touch panel), And corresponding attachment device is driven according to a pre-set procedure;Other input equipments can include but is not limited to physical keyboard, One of function key (such as broadcasting control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.Display is single Member 350 can be used for showing the information of user's input or be supplied to the information of user and the various menus of computer equipment.Display The forms such as liquid crystal display, Organic Light Emitting Diode can be used in unit 350.Processor 320 is the control centre of computer equipment, Using the various pieces of various interfaces and the entire computer of connection, it is stored in storage device 330 by running or executing Software program and/or module, and the data being stored in storage device are called, perform various functions and handle data.
In one embodiment, computer equipment includes one or more processors 320, and one or more storage dresses 330 are set, one or more application program 310, wherein one or more of application programs 310 are stored in storage device 330 In and be configured as being executed by one or more of processors 320, one or more of application programs 310 are configured to hold Contract template acquisition methods described in row above embodiments.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
It should be understood that can be integrated in a processing module in each functional unit in each embodiment of the application, It can be physically existed alone, can also be integrated in two or more units in a module with each unit.It is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.
The above is only some embodiments of the application, it is noted that for the ordinary skill people of the art For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered It is considered as the protection scope of the application.

Claims (10)

1. a kind of contract template acquisition methods characterized by comprising
Obtain user's keyword currently entered;
By each keyword in the crucial phrase of each contract template in the keyword and preset contract template database into Row matching, searches the contract template with the Keywords matching;
If finding matched contract template, the matched contract template is downloaded;
If searching less than matched contract template, several of acquisition and the Keywords matching from the clause library constructed in advance Clause generates contract template according to several described clauses.
2. contract template acquisition methods according to claim 1, which is characterized in that the crucial phrase of the contract template is logical Cross following steps generation:
Obtain each participle of the contract template;
The participle that similarity is greater than preset value is divided into the same cluster, the participle that each cluster includes is obtained;
Filter out the top n cluster most comprising participle quantity;N is positive integer;
Keyword by the highest participle of the frequency of occurrences in N number of cluster as corresponding cluster, constitutes the conjunction by the keyword of top n cluster With the crucial phrase of template.
3. contract template acquisition methods according to claim 1, which is characterized in that it is described by the keyword with it is preset Each keyword is matched in the crucial phrase of each contract template in contract template database, is searched and the keyword The contract template matched, comprising:
The keyword is similar to keyword progress each in the crucial phrase of each contract template in contract template database Degree calculates, and filters out each candidate contract template that similarity is greater than the set value;
If the quantity of candidate contract template is greater than setting quantity, the number that each candidate contract template is downloaded is obtained;
The similarity of each candidate contract template and the product of the corresponding number being downloaded are calculated separately, each candidate contract is obtained The similar weight of template;
Search the great candidate contract template in preset threshold of similarity weight.
4. contract template acquisition methods according to claim 1, which is characterized in that it is described by the keyword with it is preset Each keyword is matched in the crucial phrase of each contract template in contract template database, is searched and the keyword The contract template matched, comprising:
The keyword is similar to keyword progress each in the crucial phrase of each contract template in contract template database Degree calculates, and filters out each candidate contract template that similarity is greater than the set value;
If the quantity of candidate contract template is greater than setting quantity, the modification date of each candidate contract template is obtained;
It searches and modifies candidate contract template of the difference on date and current date less than preset time.
5. contract template acquisition methods according to claim 1, which is characterized in that acquisition user pass currently entered Keyword, comprising:
Obtain the identity of user;
The history keyword word inputted before the user is obtained according to the identity of the user;
Show the history keyword word;
Whether modification to history keyword word instruction is received in detection preset time;
If so, using modified history keyword word as user keyword currently entered;Otherwise, it is gone through what is inputted before History keyword is as user keyword currently entered.
6. contract template acquisition methods according to claim 1, which is characterized in that acquisition user pass currently entered Keyword, comprising:
If the keyword of the currently practical input of user is one, the near synonym of the keyword are obtained, by the keyword and institute Near synonym are stated as user keyword currently entered;
If the keyword of the currently practical input of user be it is multiple, judge whether there is the keyword of hyponymy;If it exists, it deletes Except upper keyword, using remaining keyword as user keyword currently entered.
7. according to claim 1 to contract template acquisition methods described in 6 any one, which is characterized in that in the clause library Each clause is grouped according to classification;Described several clauses according to generate contract template, comprising:
Determine several described clauses respectively generic;
Each clause of several the described clauses respectively under generic is obtained, clause set is obtained;
Contract template is generated according to the clause set.
8. a kind of contract template acquisition device characterized by comprising
Keyword obtains module, for obtaining user's keyword currently entered;
Contract template searching module, for by the pass of each contract template in the keyword and preset contract template database Each keyword is matched in keyword group, searches the contract template with the Keywords matching;
Contract template download module, for downloading the matched contract template when finding matched contract template;
Contract template generation module, for being obtained from the clause library constructed in advance when searching less than matched contract template With several clauses of the Keywords matching, contract template is generated according to several described clauses.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor Contract template acquisition methods as claimed in any of claims 1 to 7 in one of claims are realized when row.
10. a kind of computer equipment, which is characterized in that the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now contract template acquisition methods as claimed in any of claims 1 to 7 in one of claims.
CN201910334998.1A 2019-04-24 2019-04-24 Contract template acquisition methods, device, storage medium and computer equipment Pending CN110188165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910334998.1A CN110188165A (en) 2019-04-24 2019-04-24 Contract template acquisition methods, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910334998.1A CN110188165A (en) 2019-04-24 2019-04-24 Contract template acquisition methods, device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN110188165A true CN110188165A (en) 2019-08-30

Family

ID=67715091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910334998.1A Pending CN110188165A (en) 2019-04-24 2019-04-24 Contract template acquisition methods, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN110188165A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955785A (en) * 2019-12-06 2020-04-03 南通中实纺织交易市场有限公司 Transaction method for realizing accurate locking on line based on spot resources
CN111105292A (en) * 2019-12-06 2020-05-05 南通中实纺织交易市场有限公司 Method for promoting spot shipment
CN111612547A (en) * 2020-05-27 2020-09-01 恩亿科(北京)数据科技有限公司 Method and device for generating advertisement creative picture, computer equipment and storage medium
CN111932412A (en) * 2020-09-04 2020-11-13 汪宏杰 Contract drafting and revising method, device, storage medium and equipment
CN112686647A (en) * 2021-01-31 2021-04-20 重庆渝高科技产业(集团)股份有限公司 Online contract management method and system for construction project
CN113793233A (en) * 2021-11-15 2021-12-14 广东卓维网络有限公司 Generation processing method, system, storage medium and processor of electric power transaction contract

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377239A (en) * 2012-04-26 2013-10-30 腾讯科技(深圳)有限公司 Method and device for calculating inter-textual similarity
CN104090863A (en) * 2014-07-24 2014-10-08 高德良 Intelligent legal instrument generating method and system
CN106980605A (en) * 2017-02-17 2017-07-25 平安科技(深圳)有限公司 Contract generation method and device
CN107622375A (en) * 2017-08-01 2018-01-23 平安科技(深圳)有限公司 Document automatic creation method, document automatic generator and readable storage medium storing program for executing
CN107728995A (en) * 2017-11-28 2018-02-23 北京洪泰同创信息技术有限公司 A kind of technical documentation auxiliary writing system and method
CN108009299A (en) * 2017-12-28 2018-05-08 北京市律典通科技有限公司 Law tries method and device for business processing
CN109325729A (en) * 2018-08-21 2019-02-12 平安科技(深圳)有限公司 A kind of method and server generating electronic contract
CN109523225A (en) * 2018-10-12 2019-03-26 平安科技(深圳)有限公司 A kind of measure of managing contract, system and terminal device
CN109583687A (en) * 2018-10-15 2019-04-05 平安科技(深圳)有限公司 Automatic control method, device, computer equipment and the storage medium for calculating promise breaking contract
CN109657216A (en) * 2018-09-28 2019-04-19 平安科技(深圳)有限公司 Contract generation method, device, equipment and storage medium
CN109670165A (en) * 2018-09-18 2019-04-23 平安科技(深圳)有限公司 Information extracting method, device, equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377239A (en) * 2012-04-26 2013-10-30 腾讯科技(深圳)有限公司 Method and device for calculating inter-textual similarity
CN104090863A (en) * 2014-07-24 2014-10-08 高德良 Intelligent legal instrument generating method and system
CN106980605A (en) * 2017-02-17 2017-07-25 平安科技(深圳)有限公司 Contract generation method and device
CN107622375A (en) * 2017-08-01 2018-01-23 平安科技(深圳)有限公司 Document automatic creation method, document automatic generator and readable storage medium storing program for executing
CN107728995A (en) * 2017-11-28 2018-02-23 北京洪泰同创信息技术有限公司 A kind of technical documentation auxiliary writing system and method
CN108009299A (en) * 2017-12-28 2018-05-08 北京市律典通科技有限公司 Law tries method and device for business processing
CN109325729A (en) * 2018-08-21 2019-02-12 平安科技(深圳)有限公司 A kind of method and server generating electronic contract
CN109670165A (en) * 2018-09-18 2019-04-23 平安科技(深圳)有限公司 Information extracting method, device, equipment and storage medium
CN109657216A (en) * 2018-09-28 2019-04-19 平安科技(深圳)有限公司 Contract generation method, device, equipment and storage medium
CN109523225A (en) * 2018-10-12 2019-03-26 平安科技(深圳)有限公司 A kind of measure of managing contract, system and terminal device
CN109583687A (en) * 2018-10-15 2019-04-05 平安科技(深圳)有限公司 Automatic control method, device, computer equipment and the storage medium for calculating promise breaking contract

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955785A (en) * 2019-12-06 2020-04-03 南通中实纺织交易市场有限公司 Transaction method for realizing accurate locking on line based on spot resources
CN111105292A (en) * 2019-12-06 2020-05-05 南通中实纺织交易市场有限公司 Method for promoting spot shipment
CN111612547A (en) * 2020-05-27 2020-09-01 恩亿科(北京)数据科技有限公司 Method and device for generating advertisement creative picture, computer equipment and storage medium
CN111612547B (en) * 2020-05-27 2023-11-03 恩亿科(北京)数据科技有限公司 Advertisement creative picture generation method, device, computer equipment and storage medium
CN111932412A (en) * 2020-09-04 2020-11-13 汪宏杰 Contract drafting and revising method, device, storage medium and equipment
CN112686647A (en) * 2021-01-31 2021-04-20 重庆渝高科技产业(集团)股份有限公司 Online contract management method and system for construction project
CN112686647B (en) * 2021-01-31 2023-10-31 重庆渝高科技产业(集团)股份有限公司 Online contract management method and system for construction project
CN113793233A (en) * 2021-11-15 2021-12-14 广东卓维网络有限公司 Generation processing method, system, storage medium and processor of electric power transaction contract

Similar Documents

Publication Publication Date Title
US11651149B1 (en) Event selection via graphical user interface control
US11042697B2 (en) Determining an extraction rule from positive and negative examples
CN110188165A (en) Contract template acquisition methods, device, storage medium and computer equipment
US10783318B2 (en) Facilitating modification of an extracted field
EP1672537B1 (en) Data semanticizer
US20030004941A1 (en) Method, terminal and computer program for keyword searching
US11243971B2 (en) System and method of database creation through form design
US11308177B2 (en) System and method for accessing and managing cognitive knowledge
CN116680162B (en) Test case multiplexing method, device, medium, equipment and product
WO2008094970A9 (en) Method and apparatus for creating a tool for generating an index for a document
JP4084647B2 (en) Information search system, information search method, and information search program
CN102902705B (en) Ambiguity in location data
CN110489032B (en) Dictionary query method for electronic book and electronic equipment
JP2014102625A (en) Information retrieval system, program, and method
Dejean Extracting structured data from unstructured document with incomplete resources
KR102371224B1 (en) Apparatus and methods for trend analysis in airport and aviation technology
CN108846103A (en) A kind of data query method and device
JPWO2009008129A1 (en) Development document data management apparatus, development document data management system, development document data management method, program thereof, and storage medium
CN111309773A (en) Vehicle information query method, device and system and storage medium
Hartmann et al. Using similarity measures for context-aware user interfaces
KR20180137394A (en) A device for extracting and managing terms from a document and a method for extracting and managing terms using the same
CN109408533A (en) Data processing and search method, database, search engine and system
TWI837541B (en) System and method for generating creative materials
US20230315792A1 (en) Guided source collection for a machine learning model
CN101639832A (en) Method and system used for managing streaming data based on text

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