CN117743562A - Retrieval method and system for regulation system - Google Patents

Retrieval method and system for regulation system Download PDF

Info

Publication number
CN117743562A
CN117743562A CN202311538690.1A CN202311538690A CN117743562A CN 117743562 A CN117743562 A CN 117743562A CN 202311538690 A CN202311538690 A CN 202311538690A CN 117743562 A CN117743562 A CN 117743562A
Authority
CN
China
Prior art keywords
regulation
index
preset
clause
information
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
CN202311538690.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.)
Boc Financial Technology Co ltd
Original Assignee
Boc Financial 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 Boc Financial Technology Co ltd filed Critical Boc Financial Technology Co ltd
Priority to CN202311538690.1A priority Critical patent/CN117743562A/en
Publication of CN117743562A publication Critical patent/CN117743562A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a retrieval method and a retrieval system for regulations, wherein the method comprises the following steps: receiving a first input, the first input comprising a search description statement for describing regulatory terms to be searched; responding to the first input, and matching the search description statement based on a preset regulation index library to obtain an index result meeting preset matching conditions; and acquiring target regulation contents corresponding to the regulation clauses to be retrieved from a preset regulation database according to the index result, wherein a corresponding mapping relation is constructed between the regulation clause contents in the preset regulation database and index information in the preset regulation index database. The invention ensures that the accuracy and the efficiency of the regulation retrieval process are higher, and provides the retrieval result which meets the requirements of users.

Description

Retrieval method and system for regulation system
Technical Field
The invention relates to the technical field of data retrieval, in particular to a retrieval method and a retrieval system for a regulation system.
Background
In the query scenario of the existing regulatory system, the user generally retrieves information such as a regulatory formulator, a time of formulation, a regulatory title, a abstract, and the like, and presents relevant regulations to the user.
However, in the conventional regulatory search process, the relevant regulatory full text is only displayed for the user as a search result according to the basic regulatory information input by the user side, so that it is difficult to accurately and efficiently provide a more refined regulatory search result for the user according to the user requirement.
Therefore, there is a need for a method and system for regulatory search that addresses the above issues.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a retrieval method and a retrieval system for regulations.
The invention provides a retrieval method for a regulation system, which comprises the following steps:
receiving a first input, the first input comprising a search description statement for describing regulatory terms to be searched;
responding to the first input, and matching the search description statement based on a preset regulation index library to obtain an index result meeting preset matching conditions;
and acquiring target regulation contents corresponding to the regulation clauses to be retrieved from a preset regulation database according to the index result, wherein a corresponding mapping relation is constructed between the regulation clause contents in the preset regulation database and index information in the preset regulation index database.
According to the method for searching regulations provided by the invention, the searching description sentences are matched based on a preset regulation index base in response to the first input, and the index result meeting the preset matching condition is obtained, which comprises the following steps:
performing word segmentation on the search description sentence to obtain a search description sentence subjected to word segmentation;
based on index information corresponding to each regulation item ID information in a preset regulation index library, matching with the word-processed search description sentence to obtain the matching coincidence degree between the word-processed search description sentence and each index information;
taking one or more index information with the matching coincidence degree meeting the preset matching condition as the index result, and acquiring target regulation clause ID information corresponding to the index result;
the obtaining, according to the index result, target regulation content corresponding to the to-be-retrieved regulation clause from a preset regulation database includes:
and if the index result comprises a plurality of index information, sequencing the index information based on the matching coincidence degree, and displaying a plurality of target regulation contents corresponding to the preset regulation database according to the sequencing result of the index information.
According to the searching method for the regulation system, the preset regulation system index library is constructed by the following steps:
acquiring image information of a regulation system sample;
performing character recognition on the regulation sample image information through an optical character recognition technology to obtain corresponding regulation text sample content;
splitting the regulatory text sample content based on the regulatory clauses corresponding to the regulatory text sample content to obtain a plurality of regulatory clause sample contents;
performing word segmentation processing on the plurality of regulation clause sample contents, and constructing index information according to the obtained plurality of regulation clause sample contents subjected to word segmentation processing;
and acquiring the regulation rule ID information of each regulation rule, and constructing a mapping relation between each index information and the corresponding regulation rule ID information to obtain the preset regulation index library.
According to the method for searching regulation provided by the invention, the word segmentation processing is carried out on the plurality of regulation sample contents, and index information is constructed according to the obtained word segmentation processed regulation sample contents, and the method comprises the following steps:
obtaining basic attributes corresponding to the sample content of each regulation clause, wherein the basic attributes at least comprise regulation formulator information, establishment unit information, establishment time and application range information;
and constructing the index information according to the sample content of the segmented regulation clause and the corresponding basic attribute.
According to the searching method for the regulation system, the preset regulation system database is constructed by the following steps:
acquiring image information and full-text content of regulations corresponding to each regulation clause sample content;
and constructing the preset regulation database according to the regulation sample content, the image information and the regulation full-text content based on the regulation ID information.
According to the method for searching regulation provided by the invention, after the target regulation content corresponding to the regulation clause to be searched is obtained from a preset regulation database according to the index result, the method further comprises the following steps:
judging whether the relevant regulation system clause exists in the target regulation content, and if so, displaying the regulation content corresponding to the relevant regulation system clause and the target regulation content through a display unit, wherein an interdependent association relationship exists between the regulation clause of the target regulation content and the relevant regulation system clause.
The invention also provides a retrieval system for a regulation system, comprising:
a search content input module for receiving a first input, the first input comprising a search description sentence for describing a regulatory term to be searched;
the index module is used for responding to the first input, matching the search description sentences based on a preset regulation index library and obtaining index results meeting preset matching conditions;
and the retrieval module is used for acquiring target regulation contents corresponding to the regulation clauses to be retrieved from a preset regulation database according to the index result, wherein a corresponding mapping relation is constructed between the regulation clause contents in the preset regulation database and index information in the preset regulation index database.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a retrieval method for regulations as described in any one of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a retrieval method for a regulation system as described in any of the above.
The present invention also provides a computer program product comprising a computer program which when executed by a processor implements a retrieval method for a regulation system as described in any one of the above.
According to the method and the system for searching the regulations, the obtained search description statement describing the regulations to be searched is matched with the index information in the preset regulation index library, the index result meeting the preset matching condition is obtained, and then the target regulation content corresponding to the regulations to be searched is obtained from the preset regulation database according to the index result, so that the accuracy and the efficiency of the regulation searching process are higher, and the searching result which meets the requirements of users is provided.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a search method for regulations provided by the present invention;
FIG. 2 is a schematic overall flow chart of a search method for regulations provided by the present invention;
FIG. 3 is a schematic diagram of a system for regulatory search according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The existing regulation retrieval method is mainly used for searching authors, titles or keywords in the regulation, however, whether the method is used for retrieving the titles, the authors and other structural modes or extracting some keywords, the requirement of users for full-text retrieval query cannot be met. For example, if a search is conducted for titles and authors of regulations, all relevant regulatory content may be presented to the user, but only content relevant to a certain type of terms is required by the user, that search pattern may not meet the user's needs; or if only the keywords extracted by the regulation system are searched, if the query words input by the user side are not the corresponding keywords, the search result has larger error and can not completely meet the requirements of the user; alternatively, sequential full-scale search, in which the regulatory spread is sequentially opened for querying, is time-consuming, although text content can be retrieved.
The invention provides a full text retrieval method applied to regulations, which loads data from regulations of various formats through technologies such as optical character recognition (Optical Character Recognition, OCR for short) and the like, divides the loaded text into words, and indexes the words to generate an index file. When the user side inputs the search description sentence content to be queried, the search description sentence content is segmented and matched with the created index, finally, the index result which is successfully matched is returned to relevant regulation related terms through the regulation database and the overlap ratio sequencing is carried out, so that a more accurate search result is provided for the user.
FIG. 1 is a schematic flow chart of a method for searching for regulations, as shown in FIG. 1, the invention provides a method for searching for regulations, comprising:
step 101, receiving a first input, the first input comprising a retrieval description sentence for describing the regulatory clause to be retrieved.
In the invention, the user side obtains the related retrieval description statement of the regulatory clause to be retrieved. This search description statement may include keywords, phrases, questions, or other forms of description in order to match index information in a subsequent regulatory index library based exactly on the information in the search description statement.
Step 102, responding to the first input, and based on a preset regulation index library, matching the search description statement to obtain an index result meeting a preset matching condition;
in the present invention, the preset regulatory index library contains data of various regulatory terms and their related information. By matching with the search description sentence input by the user side, index information (e.g., ID information of the target regulatory clause) of the target regulatory clause in accordance with the user's demand can be obtained. Specifically, in the invention, the matching process can be performed according to different algorithms and logics, and the technical means such as keyword matching, semantic analysis, context understanding and the like are involved, so that the index result which best meets the requirements of users is obtained according to preset matching conditions (such as the first N index information with the highest overlapping degree).
And step 103, obtaining target regulation contents corresponding to the regulation clauses to be retrieved from a preset regulation database according to the index result, wherein a corresponding mapping relation is constructed between the regulation clause contents in the preset regulation database and index information in the preset regulation index database.
According to the index result obtained before, the specific content corresponding to the regulation clause required to be searched by the user is obtained from the preset regulation database. Specifically, the preset regulatory database contains detailed regulatory clause content, and at the same time, index information in the preset regulatory index database has a corresponding relation with the content in the regulatory database, that is, each index points to the position of the corresponding clause in the regulatory database. By utilizing the mapping relation, the invention can accurately position the corresponding regulation clause in the regulation database according to the index result retrieved by the user, extract the corresponding target regulation content, and further retrieve the obtained regulation clause content to be displayed to the user side as a reply.
In the invention, the search description content to be searched is segmented and then transmitted to a preset regulation index library, the preset regulation index library inquires the content and matches after receiving the segmented word, and the matched regulation ID information is transmitted to a preset regulation database. And when the preset regulation database receives the regulation ID information, the relevant regulation attribute, the clause content and other all information are returned to the user. In the present invention, the input search description sentence may be image information related to the regulatory clause, for example, a picture content of a certain regulatory clause or a related regulatory system diagram, and further, the content in the image information is identified by OCR technology to obtain corresponding text content, so that the text content is used as a search description sentence for a subsequent search process.
According to the searching method for the regulations, the obtained searching description statement describing the regulations to be searched is matched with the index information in the preset regulation index library, the index result meeting the preset matching condition is obtained, and then the target regulation content corresponding to the regulations to be searched is obtained from the preset regulation database according to the index result, so that the accuracy and the efficiency of the regulation searching process are higher, and the searching result which meets the requirements of users is provided.
On the basis of the foregoing embodiment, the responding to the first input, based on a preset regulatory index library, matches the search description statement, and obtains an index result satisfying a preset matching condition, including:
performing word segmentation on the search description sentence to obtain a search description sentence subjected to word segmentation;
based on index information corresponding to each regulation item ID information in a preset regulation index library, matching with the word-processed search description sentence to obtain the matching coincidence degree between the word-processed search description sentence and each index information;
and taking one or more pieces of index information with the matching coincidence degree meeting the preset matching condition as the index result, and acquiring target regulation clause ID information corresponding to the index result.
In the invention, word segmentation processing is carried out on the search description sentence provided by the user terminal, and the search description sentence is split into a plurality of key words or phrase combinations. Through word segmentation processing, an input long sentence can be converted into a keyword sequence with more semantic and search characteristics.
Further, matching the word-segmented search description statement with index information corresponding to each regulatory clause ID information in a preset regulatory index library. The matching process can use various algorithms or technologies, such as calculating the matching coincidence degree between the search description sentence after word segmentation processing and each index information, wherein the matching coincidence degree reflects the similarity degree or matching degree of the search description sentence and the index information so as to ensure that the index information matched with the search description sentence input by the user side is found. Finally, one or more index information with higher matching coincidence degree meeting the condition is selected as index results, and the index results are used for subsequent steps.
On the basis of the above embodiment, the word segmentation processing is performed on the plurality of regulatory clause sample contents, and index information is constructed according to the obtained regulatory clause sample contents after the word segmentation processing, including:
obtaining basic attributes corresponding to the sample content of each regulation clause, wherein the basic attributes at least comprise regulation formulator information, establishment unit information, establishment time and application range information;
and constructing the index information according to the sample content of the segmented regulation clause and the corresponding basic attribute.
In the invention, basic attributes such as regulation formulator information, establishment information, time information, application range and the like can be established in a preset regulation index library in combination with the requirement of the service, and corresponding index files are established, so that a user side can provide the relevant basic information while inputting the search description statement, the index search range is further reduced, and more accurate search results are provided for follow-up.
The obtaining, according to the index result, target regulation content corresponding to the to-be-retrieved regulation clause from a preset regulation database includes:
and if the index result comprises a plurality of index information, sequencing the index information based on the matching coincidence degree, and displaying a plurality of target regulation contents corresponding to the preset regulation database according to the sequencing result of the index information.
In the invention, the sorting process is performed based on the matching degree of overlap, namely, the index information with higher matching degree of overlap is arranged at the front, and the index information with lower matching degree of overlap is arranged at the rear, so that the user can find out the regulation content which is most matched with the searching requirement of the user more quickly. The presentation may be in text form, presenting the content of the regulatory terms to the user in an easy-to-read manner. In addition, other forms of presentation may be provided as desired, such as a text, abstract or related explanation linked to regulations, etc.
In the invention, the association degree ranking can be carried out by combining the occurrence times of word segmentation results in the search description sentences in the index information, the index information with higher association degree is used as the index result with a certain word segmentation result (such as 'late punishment'), and the comprehensive ranking is carried out by combining the matching coincidence degree, so that the regulation and regulation clauses obtained by search are ranked in multiple dimensions, and the search accuracy is further improved. Fig. 2 is a schematic overall flow chart of a search method for regulations provided in the present invention, and a specific process may be shown in fig. 2.
On the basis of the above embodiment, the preset regulation index library is constructed by the following steps:
acquiring image information of a regulation system sample;
performing character recognition on the regulation sample image information through an optical character recognition technology to obtain corresponding regulation text sample content;
splitting the regulatory text sample content based on the regulatory clauses corresponding to the regulatory text sample content to obtain a plurality of regulatory clause sample contents;
performing word segmentation processing on the plurality of regulation clause sample contents, and constructing index information according to the obtained plurality of regulation clause sample contents subjected to word segmentation processing;
and acquiring the regulation rule ID information of each regulation rule, and constructing a mapping relation between each index information and the corresponding regulation rule ID information to obtain the preset regulation index library.
In the present invention, the regulatory sample image information is first obtained by scanning a paper document, downloading an electronic document, or obtaining a regulatory image copy from another source. Further, by processing the regulatory sample image information using Optical Character Recognition (OCR) techniques, the OCR techniques can recognize text in the image and convert it to an editable text format. The corresponding regulatory text sample content can be obtained by OCR processing. Next, based on the regulatory clauses corresponding to the regulatory text sample content, the regulatory text sample content is split to obtain a plurality of regulatory clause sample contents, and the process involves performing operations such as paragraph division, title extraction or keyword recognition on the text to ensure the accuracy and integrity of each of the regulatory clause sample contents.
Further, for a plurality of regulatory clause sample contents, word segmentation processing is also required. Word segmentation is the process of dividing text into individual words or phrases for subsequent index construction and retrieval of matches. After the word segmentation processing, word segmentation results of the sample content of each regulation and regulation clause are obtained.
Further, based on the obtained plurality of regulatory clause sample contents after word segmentation processing and the obtained regulatory clause ID information of each of the regulatory clauses, mapping relations are established between each index information and the corresponding regulatory clause ID information, and the mapping relations are used for constructing a preset regulatory index library so that the index information can be associated with specific regulatory clauses.
On the basis of the above embodiment, the preset regulation database is constructed by the following steps:
acquiring image information and full-text content of regulations corresponding to each regulation clause sample content;
and constructing the preset regulation database according to the regulation sample content, the image information and the regulation full-text content based on the regulation ID information.
In the present invention, when each of the regulatory clause sample contents is acquired, the corresponding image information and the regulatory full-text content are acquired at the same time. This information may be obtained together when processing the regulatory sample images, or from other sources, to build a complete regulatory database.
Further, after the regulatory clause ID information is acquired, a preset regulatory database will be constructed based on these ID information. The preset regulatory database is a data storage structure indexed by the regulatory clause ID for quickly searching for the contents of a specified regulatory clause upon query. In order to build the preset regulatory database, the present invention requires integration of regulatory clause sample content, image information, and regulatory full-text content, which includes parsing, matching, and organizing such information for quick access and querying.
Specifically, the regulatory clause sample content is mapped with its corresponding regulatory clause ID, and when the specified regulatory clause is queried, the corresponding content can be directly located according to its ID. Then, the regulation clause sample content is associated with the corresponding image information and the regulation full-text content, so that services such as image display or full-text search can be provided by the user in the subsequent retrieval process.
On the basis of the above embodiment, after the target regulation content corresponding to the to-be-retrieved regulation clause is obtained from the preset regulation database according to the index result, the method further includes:
judging whether the relevant regulation system clause exists in the target regulation content, and if so, displaying the regulation content corresponding to the relevant regulation system clause and the target regulation content through a display unit, wherein an interdependent association relationship exists between the regulation clause of the target regulation content and the relevant regulation system clause.
In the present invention, if there is an inter-dependent association between a plurality of regulatory clauses in the same regulation, when a preset regulation database is constructed, the inter-dependent regulatory clauses are associated, for example, a first clause prescribes a document lending system, in the content of the first clause, the requirement of the lending duration is further described, and the requirement of the lending duration is pointed out as a second clause, so that the inter-dependence between the first clause and the second clause can be known. Therefore, in the invention, when the search result is the first term, the relevant regulation and regulation term content of the second term is displayed, so that a more detailed search result is provided for the user.
The following describes a search system for regulations provided by the present invention, and the search system for regulations described below and the search method for regulations described above may be referred to correspondingly to each other.
Fig. 3 is a schematic structural diagram of a retrieval system for regulations provided in the present invention, and as shown in fig. 3, the present invention provides a retrieval system for regulations, comprising a retrieval content input module 301, an index module 302 and a retrieval module 303, wherein the retrieval content input module 301 is configured to receive a first input, and the first input includes a retrieval description sentence for describing a regulation term to be retrieved; the indexing module 302 is configured to respond to the first input, and match the search description sentence based on a preset regulatory index library, so as to obtain an index result that meets a preset matching condition; the retrieving module 303 is configured to obtain, according to the index result, target regulatory content corresponding to the regulatory clause to be retrieved from a preset regulatory database, where a corresponding mapping relationship is constructed between the regulatory clause content in the preset regulatory database and index information in the preset regulatory index database.
In the present invention, the search content input module 301 obtains the relevant search description sentence of the regulatory term to be searched through the user side. This search description statement may include keywords, phrases, questions, or other forms of description in order to match index information in a subsequent regulatory index library based exactly on the information in the search description statement.
Further, in the present invention, the preset regulatory index library contains data of various regulatory terms and their related information. The index module 302 may obtain index information (e.g., ID information of the target regulatory clause) of the target regulatory clause in compliance with the user's requirement by matching with the search description statement input by the user side. Specifically, in the present invention, the matching process of the index module 302 may be performed according to different algorithms and logics, and involves technical means such as keyword matching, semantic analysis, and context understanding, so as to obtain an index result that best meets the user requirement according to a preset matching condition (e.g., the first N index information with the highest overlap ratio).
Further, the retrieval module 303 obtains specific content corresponding to the regulatory clauses required to be retrieved by the user from the preset regulatory database according to the index result obtained in the above step. Specifically, the preset regulatory database contains detailed regulatory clause content, and at the same time, index information in the preset regulatory index database has a corresponding relation with the content in the regulatory database, that is, each index points to the position of the corresponding clause in the regulatory database. By using this mapping relationship, the retrieving module 303 can accurately locate the corresponding regulatory clause in the regulatory database according to the index result retrieved by the user, and extract the corresponding target regulatory content, so that the obtained regulatory clause content can be retrieved and displayed as a reply to the user side.
In the present invention, the search content input module 301 divides the search description content to be searched into words and transmits the words to the preset regulatory index library, the index module 302 queries the content in the preset regulatory index library and matches the content after receiving the divided words, and transmits the matched regulatory ID information to the index module 303. The preset regulation database contains the whole regulations, meanwhile, complex elements such as picture text of each regulation are reserved, and when the preset regulation database in the retrieval module 303 receives the regulation ID information, the whole information such as relevant regulation attributes, clause content and the like is returned to the user. In the present invention, the input search description sentence may be image information related to the regulatory clause, for example, a picture content of a certain regulatory clause or a related regulatory system diagram, and further, the content in the image information is identified by OCR technology to obtain corresponding text content, so that the text content is used as a search description sentence for a subsequent search process.
According to the system for searching the regulations, the obtained search description statement describing the regulations to be searched is matched with the index information in the preset regulation index library, the index result meeting the preset matching condition is obtained, and then the target regulation content corresponding to the regulations to be searched is obtained from the preset regulation database according to the index result, so that the accuracy and the efficiency of the regulation searching process are higher, and the searching result which meets the requirements of users is provided.
The system provided by the invention is used for executing the method embodiments, and specific flow and details refer to the embodiments and are not repeated herein.
Fig. 4 is a schematic structural diagram of an electronic device according to the present invention, as shown in fig. 4, the electronic device may include: processor (Processor) 401, communication interface (Communications Interface) 402, memory (Memory) 403 and communication bus 404, wherein Processor 401, communication interface 402, memory 403 accomplish the communication between each other through communication bus 404. Processor 401 may invoke logic instructions in memory 403 to perform a retrieval method for a regulatory system, the method comprising: receiving a first input, the first input comprising a search description statement for describing regulatory terms to be searched; responding to the first input, and matching the search description statement based on a preset regulation index library to obtain an index result meeting preset matching conditions; and acquiring target regulation contents corresponding to the regulation clauses to be retrieved from a preset regulation database according to the index result, wherein a corresponding mapping relation is constructed between the regulation clause contents in the preset regulation database and index information in the preset regulation index database.
Further, the logic instructions in the memory 403 may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the above-described methods of searching for regulations, the method comprising: receiving a first input, the first input comprising a search description statement for describing regulatory terms to be searched; responding to the first input, and matching the search description statement based on a preset regulation index library to obtain an index result meeting preset matching conditions; and acquiring target regulation contents corresponding to the regulation clauses to be retrieved from a preset regulation database according to the index result, wherein a corresponding mapping relation is constructed between the regulation clause contents in the preset regulation database and index information in the preset regulation index database.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the retrieval method for a regulation system provided by the above embodiments, the method comprising: receiving a first input, the first input comprising a search description statement for describing regulatory terms to be searched; responding to the first input, and matching the search description statement based on a preset regulation index library to obtain an index result meeting preset matching conditions; and acquiring target regulation contents corresponding to the regulation clauses to be retrieved from a preset regulation database according to the index result, wherein a corresponding mapping relation is constructed between the regulation clause contents in the preset regulation database and index information in the preset regulation index database.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for regulatory search comprising:
receiving a first input, the first input comprising a search description statement for describing regulatory terms to be searched;
responding to the first input, and matching the search description statement based on a preset regulation index library to obtain an index result meeting preset matching conditions;
and acquiring target regulation contents corresponding to the regulation clauses to be retrieved from a preset regulation database according to the index result, wherein a corresponding mapping relation is constructed between the regulation clause contents in the preset regulation database and index information in the preset regulation index database.
2. The method according to claim 1, wherein said matching the search description sentence based on a preset regulation index base in response to the first input to obtain an index result satisfying a preset matching condition, comprises:
performing word segmentation on the search description sentence to obtain a search description sentence subjected to word segmentation;
based on index information corresponding to each regulation item ID information in a preset regulation index library, matching with the word-processed search description sentence to obtain the matching coincidence degree between the word-processed search description sentence and each index information;
taking one or more index information with the matching coincidence degree meeting the preset matching condition as the index result, and acquiring target regulation clause ID information corresponding to the index result;
the obtaining, according to the index result, target regulation content corresponding to the to-be-retrieved regulation clause from a preset regulation database includes:
and if the index result comprises a plurality of index information, sequencing the index information based on the matching coincidence degree, and displaying a plurality of target regulation contents corresponding to the preset regulation database according to the sequencing result of the index information.
3. The search method for regulations of claim 1, wherein the preset regulation index base is constructed by the steps of:
acquiring image information of a regulation system sample;
performing character recognition on the regulation sample image information through an optical character recognition technology to obtain corresponding regulation text sample content;
splitting the regulatory text sample content based on the regulatory clauses corresponding to the regulatory text sample content to obtain a plurality of regulatory clause sample contents;
performing word segmentation processing on the plurality of regulation clause sample contents, and constructing index information according to the obtained plurality of regulation clause sample contents subjected to word segmentation processing;
and acquiring the regulation rule ID information of each regulation rule, and constructing a mapping relation between each index information and the corresponding regulation rule ID information to obtain the preset regulation index library.
4. The method of claim 3, wherein the step of performing word segmentation on the plurality of the sample contents of the regulatory clause and constructing index information based on the obtained sample contents of the word segmented regulatory clause comprises:
obtaining basic attributes corresponding to the sample content of each regulation clause, wherein the basic attributes at least comprise regulation formulator information, establishment unit information, establishment time and application range information;
and constructing the index information according to the sample content of the segmented regulation clause and the corresponding basic attribute.
5. The retrieval method for a regulation system according to claim 3, wherein the preset regulation system database is constructed by:
acquiring image information and full-text content of regulations corresponding to each regulation clause sample content;
and constructing the preset regulation database according to the regulation sample content, the image information and the regulation full-text content based on the regulation ID information.
6. The retrieval method for a regulation system according to claim 1, wherein after the target regulation contents corresponding to the to-be-retrieved regulation system terms are acquired from a preset regulation system database according to the index result, the method further comprises:
judging whether the relevant regulation system clause exists in the target regulation content, and if so, displaying the regulation content corresponding to the relevant regulation system clause and the target regulation content through a display unit, wherein an interdependent association relationship exists between the regulation clause of the target regulation content and the relevant regulation system clause.
7. A retrieval system for a regulation system, comprising:
a search content input module for receiving a first input, the first input comprising a search description sentence for describing a regulatory term to be searched;
the index module is used for responding to the first input, matching the search description sentences based on a preset regulation index library and obtaining index results meeting preset matching conditions;
and the retrieval module is used for acquiring target regulation contents corresponding to the regulation clauses to be retrieved from a preset regulation database according to the index result, wherein a corresponding mapping relation is constructed between the regulation clause contents in the preset regulation database and index information in the preset regulation index database.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the retrieval method for regulations of any one of claims 1 to 6 when the computer program is executed by the processor.
9. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements a retrieval method for regulations according to any one of claims 1 to 6.
10. A computer program product comprising a computer program which, when executed by a processor, implements a retrieval method for regulations according to any one of claims 1 to 6.
CN202311538690.1A 2023-11-17 2023-11-17 Retrieval method and system for regulation system Pending CN117743562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311538690.1A CN117743562A (en) 2023-11-17 2023-11-17 Retrieval method and system for regulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311538690.1A CN117743562A (en) 2023-11-17 2023-11-17 Retrieval method and system for regulation system

Publications (1)

Publication Number Publication Date
CN117743562A true CN117743562A (en) 2024-03-22

Family

ID=90251623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311538690.1A Pending CN117743562A (en) 2023-11-17 2023-11-17 Retrieval method and system for regulation system

Country Status (1)

Country Link
CN (1) CN117743562A (en)

Similar Documents

Publication Publication Date Title
US11100124B2 (en) Systems and methods for similarity and context measures for trademark and service mark analysis and repository searches
US20160260033A1 (en) Systems and Methods for Similarity and Context Measures for Trademark and Service Mark Analysis and Repository Searchess
US8577882B2 (en) Method and system for searching multilingual documents
CN112667794A (en) Intelligent question-answer matching method and system based on twin network BERT model
US9798776B2 (en) Systems and methods for parsing search queries
US20120117051A1 (en) Multi-modal approach to search query input
CN107085583B (en) Electronic document management method and device based on content
CN111428494A (en) Intelligent error correction method, device and equipment for proper nouns and storage medium
CN112035599B (en) Query method and device based on vertical search, computer equipment and storage medium
CN109815390B (en) Method, device, computer equipment and computer storage medium for retrieving multilingual information
CN113779364A (en) Searching method based on label extraction and related equipment thereof
CN113806491B (en) Information processing method, device, equipment and medium
CN116361428A (en) Question-answer recall method, device and storage medium
CN115146030A (en) Official document writing method and system based on knowledge graph
CN117743562A (en) Retrieval method and system for regulation system
CN112905752A (en) Intelligent interaction method, device, equipment and storage medium
KR20100039968A (en) Ontology based semantic search system and method for authority heading of various languages via automatic language translation
CN116991969B (en) Method, system, electronic device and storage medium for retrieving configurable grammar relationship
CN113505889B (en) Processing method and device of mapping knowledge base, computer equipment and storage medium
US11704350B2 (en) Search term extraction and optimization from natural language text files
CN116561292A (en) Data searching method, device, electronic equipment and computer readable medium
CN118093663A (en) Document retrieval method, device, equipment and medium based on user intention understanding
JP2023163216A (en) Retrieval system and retrieval method
CN118377888A (en) Question-answering processing method, system, equipment and medium based on large language model
CN111881250A (en) Data conversion method and system

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