CN112612815B - Method and device for positioning evaluation mark file and electronic equipment - Google Patents
Method and device for positioning evaluation mark file and electronic equipment Download PDFInfo
- Publication number
- CN112612815B CN112612815B CN202011604946.0A CN202011604946A CN112612815B CN 112612815 B CN112612815 B CN 112612815B CN 202011604946 A CN202011604946 A CN 202011604946A CN 112612815 B CN112612815 B CN 112612815B
- Authority
- CN
- China
- Prior art keywords
- escape
- keywords
- index
- matching operation
- priorities
- 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.)
- Active
Links
- 238000011156 evaluation Methods 0.000 title claims abstract description 112
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012552 review Methods 0.000 claims abstract description 69
- 238000012546 transfer Methods 0.000 claims description 19
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 230000009471 action Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24553—Query execution of query operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method, a device and electronic equipment for positioning an evaluation file, wherein the method comprises the following steps: establishing a review index escape database, wherein the review index escape database comprises the corresponding relation among review index names, escape keywords and priorities; acquiring a to-be-positioned evaluation index name and an evaluation file; determining a plurality of escape keywords corresponding to the index names of the to-be-positioned evaluation indexes and priorities corresponding to escape texts of each evaluation file according to the names of the to-be-positioned evaluation indexes and the escape databases of the evaluation indexes; sequentially carrying out matching operation on the escape keywords in the evaluation file according to the corresponding priority from high to low until one escape keyword in the escape keywords completes the matching operation in the evaluation file, and stopping the matching operation to obtain a matching result; and positioning the evaluation file according to the matching result. The invention can improve the marking efficiency.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and an electronic device for positioning an evaluation document.
Background
Along with the development of informatization, particularly the popularization and application of electronic bid evaluation, online electronic bid evaluation is gradually accepted and implemented as a new bid evaluation mode in the field of electronic bid evaluation. The online electronic bid evaluation bidding documents and bidding documents are electronic documents, and how to quickly and accurately position the required parts of the bidding documents and the response parts of the bidding documents according to the evaluation indexes during the evaluation by an expert becomes an important factor for the convenient and quick application of the electronic bid evaluation.
In the existing bid evaluation tool, the association relation between the bid evaluation index and the bid document is established by a tenderer in a manual mode, and the association relation between the bid document and the bid evaluation index is established by a bidder, so that the binding of the index and the page number is realized. When the expert evaluates the mark, clicking a certain index to realize automatic jump to the corresponding page. Twenty or more review indexes of each bidding project are required, and repeated binding is required each time because the bidding documents are different in requirement, so that a great amount of work is required, and a great amount of time and cost are consumed.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a method, a device and an electronic device for positioning an evaluation file, which can quickly position a bidding file chapter according to an evaluation system without manually binding or performing special processing on a bidding file and a bidding file, and solve the technical problems of large workload and great time and cost consumption in the prior art.
In order to solve the technical problems, the embodiment of the invention provides the following scheme:
in a first aspect, an embodiment of the present invention provides a method for positioning an evaluation document, where the method includes the following steps:
S1, establishing a review index escape database, wherein the review index escape database comprises a corresponding relation among review index names, escape keywords and priorities;
s2, acquiring a to-be-positioned evaluation index name and an evaluation file;
S3, determining a plurality of escape keywords corresponding to the index names to be positioned and priorities corresponding to escape texts of each index file according to the index names to be positioned and the index escape database;
S4, sequentially carrying out matching operation on the escape keywords in the evaluation file according to the sequence from high priority to low priority until one escape keyword in the escape keywords completes the matching operation in the evaluation file, and stopping the matching operation to obtain a matching result;
s5, positioning the evaluation file according to the matching result.
Optionally, the evaluation index escape database includes a bid file evaluation index escape database and a bid file evaluation index escape database, the bid file evaluation index escape database includes a corresponding relationship of a evaluation index name, a bid file escape keyword, and a priority, and the bid file evaluation index escape database includes a corresponding relationship of a evaluation index name, a bid file escape keyword, and a priority.
Optionally, the obtaining the name of the index to be positioned and the rating file includes:
Receiving an input index name to be positioned and a rating file; or alternatively
And acquiring a prestored index name to be positioned and an index file to be positioned.
Optionally, the step S4 includes the steps of:
S41, sorting the escape keywords according to the sequence from high to low of the corresponding priority, and obtaining a queue corresponding to the escape keywords;
S42, acquiring the escape keyword with the highest priority in the queue, and performing matching operation on the escape keyword with the highest priority in the rating file;
S43, judging whether the matching operation is successful, if the matching operation is failed, deleting the escape keyword with the highest priority in the queue, repeating the step S42, and if the matching operation is successful, entering the step S44;
s44, determining a matching result, wherein the matching result is a page number corresponding to successful matching operation in the comment file.
Optionally, the step S5 includes:
And according to the page number corresponding to the successful matching operation in the rating file, the rating file is jumped to the page corresponding to the page number.
Optionally, after the step S5, the method further includes the following steps:
S61, when a re-retrieval corresponding operation instruction is received, acquiring a re-retrieval corresponding reset keyword, the index name of the to-be-positioned review, the escape keyword for completing the matching operation and the priority corresponding to the escape keyword for completing the matching operation;
and S62, updating the corresponding relation among the review index names, the escape keywords and the priority in the review index transfer database according to the reset keywords, the names of the review indexes to be positioned and the escape keywords for completing the matching operation.
Optionally, the updating the correspondence between the review index name, the escape keyword and the priority in the review index transferring database includes:
In the corresponding relation among the index names, the escape keywords and the priorities in the index transfer database, replacing the escape keywords completing the matching operation with the reset keywords, wherein the priorities of the reset keywords are equal to the priorities corresponding to the escape keywords completing the matching operation; or alternatively
And in the corresponding relation among the index names, the escape keywords and the priorities in the index transfer database, increasing the corresponding relation between the index names to be positioned and the reset keywords, setting the priorities of the reset keywords to be equal to the priorities corresponding to the escape keywords completing the matching operation, and reducing the priorities of the escape keywords completing the matching operation by one level.
In a second aspect, an embodiment of the present invention provides a device for positioning an evaluation document, where the device includes:
The system comprises a setting unit, a judging unit and a judging unit, wherein the setting unit is used for setting a judging index escape database, and the judging index escape database comprises the corresponding relation of judging index names, escape keywords and priorities;
the acquisition unit is used for acquiring the name of the index to be positioned and the index file;
The determining unit is used for determining a plurality of escape keywords corresponding to the index names to be positioned and priorities corresponding to escape texts of each index file according to the index names to be positioned and the index escape database;
The matching unit is used for sequentially carrying out matching operation on the plurality of escape keywords in the evaluation file according to the sequence from high priority to low priority until one of the plurality of escape keywords completes the matching operation in the evaluation file, and stopping the matching operation to obtain a matching result;
And the positioning unit is used for positioning the evaluation file according to the matching result.
Optionally, the matching unit is configured to:
Sequencing the escape keywords according to the sequence from high to low of the corresponding priority to obtain a queue corresponding to the escape keywords;
acquiring the escape keyword with the highest priority in the queue, and performing matching operation on the escape keyword with the highest priority in the rating file;
Judging whether the matching operation is successful or not, if the matching operation is failed, deleting the escape keyword with the highest priority in the queue, repeatedly acquiring the escape keyword with the highest priority in the queue, and carrying out the matching operation on the escape keyword with the highest priority in the evaluation file; if the matching operation is successful, determining a matching result, wherein the matching result is a page number corresponding to the successful matching operation in the comment file.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores at least one instruction, at least one section of program, a code set, or an instruction set, where the at least one instruction, the at least one section of program, the code set, or the instruction set is loaded and executed by the processor to implement the above method for locating an evaluation file;
the electronic equipment is a terminal or a server.
The technical scheme of the invention has the following beneficial effects:
In the scheme, a review index escape database is established; acquiring a to-be-positioned evaluation index name and an evaluation file; determining a plurality of escape keywords corresponding to the index names of the to-be-positioned evaluation indexes and priorities corresponding to escape texts of each evaluation file according to the names of the to-be-positioned evaluation indexes and the escape databases of the evaluation indexes; sequentially carrying out matching operation on the escape keywords in the evaluation file according to the corresponding priority from high to low until one escape keyword in the escape keywords completes the matching operation in the evaluation file, and stopping the matching operation to obtain a matching result; and positioning the evaluation file according to the matching result. Therefore, manual binding is not needed, when clicking a certain review index through a prefabricated escape database, the index is automatically converted into an optimal query keyword, automatic, rapid and accurate positioning of chapters can be realized according to the keywords by combining document retrieval, workload of association of bidding documents and bidding documents is reduced, and the bid evaluation efficiency is improved. Meanwhile, the invention has self-learning, and through analyzing the bid evaluation behavior, the escape database can be automatically updated and perfected, so that the bid evaluation efficiency is further improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for locating an evaluation document according to a first embodiment of the present invention;
fig. 2 is a flowchart of a specific method for locating an evaluation document according to an embodiment of the present invention;
Fig. 3 is a schematic structural diagram of a device for positioning an evaluation document according to a second embodiment of the present invention;
Fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved more apparent, the following detailed description will be given with reference to the accompanying drawings and specific embodiments.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. 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.
Example 1
As shown in fig. 1, an embodiment of the present invention provides a method for positioning an evaluation document, including the following steps:
S1, establishing a review index escape database, wherein the review index escape database comprises a corresponding relation among review index names, escape keywords and priorities;
In this step, the evaluation index escape database includes a bid document evaluation index escape database and a bid document evaluation index escape database, the bid document evaluation index escape database includes a correspondence of a evaluation index name, a bid document escape keyword, and a priority, and the bid document evaluation index escape database includes a correspondence of a evaluation index name, a bid document escape keyword, and a priority.
S2, acquiring a to-be-positioned evaluation index name and an evaluation file;
In this step, the bid evaluation file includes a bid invitation file and a bid bidding file, and the obtaining the name of the to-be-positioned bid evaluation index and the bid evaluation file includes:
Receiving an input index name to be positioned and a rating file; or alternatively
And acquiring a prestored index name to be positioned and an index file to be positioned.
S3, determining a plurality of escape keywords corresponding to the index names to be positioned and priorities corresponding to escape texts of each index file according to the index names to be positioned and the index escape database;
As a specific embodiment of the present invention, an example of a review index escape database is as follows:
Review index name | Bid document escape text | Priority level |
Bid quotation | Bid quotation details list | 1 |
Bid quotation | Bidding letter | 2 |
Bid quotation | Bid quotation summary | 3 |
Quotation only | Bid quotation details list | 1 |
Quotation only | Bidding letter | 2 |
Quotation only | Bid quotation summary | 3 |
For example, a review index is "bid quotes" by which a search into a file may have multiple results, which is generally not desirable. In actual service, however, the "bid details table" is desired to be seen by the reviews of the bid amounts, and therefore, the "bid details table" is set at the highest priority herein.
S4, sequentially carrying out matching operation on the escape keywords in the evaluation file according to the sequence from high priority to low priority until one escape keyword in the escape keywords completes the matching operation in the evaluation file, and stopping the matching operation to obtain a matching result;
The method specifically comprises the following steps:
S41, sorting the escape keywords according to the sequence from high to low of the corresponding priority, and obtaining a queue corresponding to the escape keywords;
S42, acquiring the escape keyword with the highest priority in the queue, and performing matching operation on the escape keyword with the highest priority in the rating file;
S43, judging whether the matching operation is successful, if the matching operation is failed, deleting the escape keyword with the highest priority in the queue, repeating the step S42, and if the matching operation is successful, entering the step S44;
s44, determining a matching result, wherein the matching result is a page number corresponding to successful matching operation in the comment file.
For example, according to the evaluation index, matching an escape database, firstly acquiring the escape keyword with the highest priority, matching through document retrieval, and respectively positioning in a bidding document and a bidding document; when the escape keywords do not exist in the file, the escape keywords with the second priority are taken for matching and positioning again until the matching operation is successful, and the corresponding page numbers in the positioned bidding file and bidding file are obtained.
S5, positioning the evaluation file according to the matching result.
In the step, the evaluation file is jumped to a page corresponding to the page number according to the page number corresponding to the successful matching operation in the evaluation file, and the whole positioning operation is completed.
After automatic positioning is completed, if the positioning position is inaccurate, a user can scroll the document, input keywords for re-searching and the like, and the automatic updating of the escape data is realized by analyzing the operation behaviors of the user and dynamically updating the review index escape database according to the input new keywords.
Further, the method further comprises the following steps after step S5:
S61, when a re-retrieval corresponding operation instruction is received, acquiring a re-retrieval corresponding reset keyword, the index name of the to-be-positioned review, the escape keyword for completing the matching operation and the priority corresponding to the escape keyword for completing the matching operation;
and S62, updating the corresponding relation among the review index names, the escape keywords and the priority in the review index transfer database according to the reset keywords, the names of the review indexes to be positioned and the escape keywords for completing the matching operation.
The updating the corresponding relation among the review index names, the escape keywords and the priorities in the review index transfer database comprises the following steps:
In the corresponding relation among the index names, the escape keywords and the priorities in the index transfer database, replacing the escape keywords completing the matching operation with the reset keywords, wherein the priorities of the reset keywords are equal to the priorities corresponding to the escape keywords completing the matching operation; or alternatively
And in the corresponding relation among the index names, the escape keywords and the priorities in the index transfer database, increasing the corresponding relation between the index names to be positioned and the reset keywords, setting the priorities of the reset keywords to be equal to the priorities corresponding to the escape keywords completing the matching operation, and reducing the priorities of the escape keywords completing the matching operation by one level.
Fig. 2 shows a complete specific flow of the method for locating the rating file according to the embodiment of the present invention. In the embodiment of the invention, a review index escape database is established; acquiring a to-be-positioned evaluation index name and an evaluation file; determining a plurality of escape keywords corresponding to the index names of the to-be-positioned evaluation indexes and priorities corresponding to escape texts of each evaluation file according to the names of the to-be-positioned evaluation indexes and the escape databases of the evaluation indexes; sequentially carrying out matching operation on the escape keywords in the evaluation file according to the corresponding priority from high to low until one escape keyword in the escape keywords completes the matching operation in the evaluation file, and stopping the matching operation to obtain a matching result; and positioning the evaluation file according to the matching result. Therefore, manual binding is not needed, when clicking a certain review index through a prefabricated escape database, the index is automatically converted into an optimal query keyword, automatic, rapid and accurate positioning of chapters can be realized according to the keywords by combining document retrieval, workload of association of bidding documents and bidding documents is reduced, and the bid evaluation efficiency is improved. Meanwhile, the invention has self-learning, and through analyzing the bid evaluation behavior, the escape database can be automatically updated and perfected, so that the bid evaluation efficiency is further improved.
Example two
As shown in fig. 3, an embodiment of the present invention provides a device for positioning an evaluation document, where the device includes:
A setting unit 21, configured to set up a review index escape database, where the review index escape database includes a correspondence of a review index name, an escape keyword, and a priority;
an obtaining unit 22, configured to obtain a name of a review index to be located and a review file;
A determining unit 23, configured to determine, according to the to-be-located review index name and the review index escape database, a plurality of escape keywords corresponding to the to-be-located review index name, and a priority corresponding to each review file escape text;
A matching unit 24, configured to sequentially perform matching operations on the plurality of escape keywords in the rating file according to the order of the corresponding priorities from high to low, until one of the plurality of escape keywords completes the matching operation in the rating file, and stop the matching operation to obtain a matching result;
and the positioning unit 25 is used for positioning the rating file according to the matching result.
The device provided by the embodiment of the invention can automatically identify the matching text corresponding to the evaluation index, and can realize quick positioning by combining a file retrieval technology, so that the evaluation efficiency is improved.
Further, in the establishing unit 21, the evaluation index escape database includes a bid document evaluation index escape database including correspondence of a evaluation index name, a bid document escape keyword, and a priority, and a bid document evaluation index escape database including correspondence of a evaluation index name, a bid document escape keyword, and a priority.
Further, the acquiring unit 22 is specifically configured to:
Receiving an input index name to be positioned and a rating file; or alternatively
And acquiring a prestored index name to be positioned and an index file to be positioned.
Further, in the determination unit 23, each review index name may correspond to a plurality of bid document escape texts, and different priorities are determined according to different per-bid document escape texts.
Further, the matching unit 24 is configured to:
Sequencing the escape keywords according to the sequence from high to low of the corresponding priority to obtain a queue corresponding to the escape keywords;
acquiring the escape keyword with the highest priority in the queue, and performing matching operation on the escape keyword with the highest priority in the rating file;
Judging whether the matching operation is successful or not, if the matching operation is failed, deleting the escape keyword with the highest priority in the queue, repeatedly acquiring the escape keyword with the highest priority in the queue, and carrying out the matching operation on the escape keyword with the highest priority in the evaluation file; if the matching operation is successful, determining a matching result, wherein the matching result is a page number corresponding to the successful matching operation in the comment file.
Further, the positioning unit 25 is specifically configured to:
And according to the page number corresponding to the successful matching operation in the rating file, the rating file is jumped to the page corresponding to the page number.
Further, the device further comprises an updating unit, wherein the updating unit is specifically configured to:
When receiving a re-retrieval corresponding operation instruction, acquiring a re-retrieval corresponding reset keyword, the index name of the to-be-positioned review, the escape keyword for completing the matching operation and the priority corresponding to the escape keyword for completing the matching operation;
And updating the corresponding relation among the review index names, the escape keywords and the priorities in the review index transfer database according to the reset keywords, the names of the review indexes to be positioned and the escape keywords for completing the matching operation.
The updating the corresponding relation among the review index names, the escape keywords and the priorities in the review index transfer database comprises the following steps:
In the corresponding relation among the index names, the escape keywords and the priorities in the index transfer database, replacing the escape keywords completing the matching operation with the reset keywords, wherein the priorities of the reset keywords are equal to the priorities corresponding to the escape keywords completing the matching operation; or alternatively
And in the corresponding relation among the index names, the escape keywords and the priorities in the index transfer database, increasing the corresponding relation between the index names to be positioned and the reset keywords, setting the priorities of the reset keywords to be equal to the priorities corresponding to the escape keywords completing the matching operation, and reducing the priorities of the escape keywords completing the matching operation by one level.
The device of the present embodiment may be used to implement the technical solutions of the method embodiments shown in fig. 1 and fig. 2, and its implementation principle and technical effects are similar, and are not described here again.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments.
In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof.
In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Example III
The embodiment of the invention also provides electronic equipment, which comprises the device of any embodiment.
As shown in fig. 4, the electronic device 300 includes a processor 301 and a memory 302, where at least one instruction, at least one program, a code set, or an instruction set is stored in the memory 302, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor 301 to implement any of the foregoing methods for locating a comment file;
The electronic device 300 is a terminal or a server.
In an exemplary embodiment, the present invention further provides a computer readable storage medium, where at least one instruction is stored, where the at least one instruction is loaded and executed by a processor to implement the method for locating an evaluation document in the foregoing embodiment. For example, the computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.
Claims (6)
1. A method of locating an evaluation document, the method comprising the steps of:
S1, establishing a review index escape database, wherein the review index escape database comprises a corresponding relation among review index names, escape keywords and priorities;
s2, acquiring a to-be-positioned evaluation index name and an evaluation file;
S3, determining a plurality of escape keywords corresponding to the index names to be positioned and priorities corresponding to the escape keywords according to the index names to be positioned and the index escape database;
S4, sequentially carrying out matching operation on the escape keywords in the evaluation file according to the sequence from high priority to low priority until one escape keyword in the escape keywords completes the matching operation in the evaluation file, and stopping the matching operation to obtain a matching result;
The step S4 includes the steps of:
S41, sorting the escape keywords according to the sequence from high to low of the corresponding priority, and obtaining a queue corresponding to the escape keywords;
S42, acquiring the escape keyword with the highest priority in the queue, and performing matching operation on the escape keyword with the highest priority in the rating file;
S43, judging whether the matching operation is successful, if the matching operation is failed, deleting the escape keyword with the highest priority in the queue, repeating the step S42, and if the matching operation is successful, entering the step S44;
s44, determining a matching result, wherein the matching result is a page number corresponding to successful matching operation in the comment file;
S5, positioning the evaluation file according to the matching result;
After the step S5, the method further includes the following steps:
S61, when a re-retrieval corresponding operation instruction is received, acquiring a re-retrieval corresponding reset keyword, the index name of the to-be-positioned review, the escape keyword for completing the matching operation and the priority corresponding to the escape keyword for completing the matching operation;
S62, updating the corresponding relation among the review index names, the escape keywords and the priorities in the review index transfer database according to the reset keywords, the names of the review indexes to be positioned and the escape keywords for completing the matching operation;
The updating the corresponding relation among the review index names, the escape keywords and the priorities in the review index transfer database comprises the following steps:
In the corresponding relation among the index names, the escape keywords and the priorities in the index transfer database, replacing the escape keywords completing the matching operation with the reset keywords, wherein the priorities of the reset keywords are equal to the priorities corresponding to the escape keywords completing the matching operation; or alternatively
And in the corresponding relation among the index names, the escape keywords and the priorities in the index transfer database, increasing the corresponding relation between the index names to be positioned and the reset keywords, setting the priorities of the reset keywords to be equal to the priorities corresponding to the escape keywords completing the matching operation, and reducing the priorities of the escape keywords completing the matching operation by one level.
2. The method of claim 1, wherein the review index escape database comprises a bid file review index escape database comprising a correspondence of review index names, bid file escape keywords, and priorities, and a bid file review index escape database comprising a correspondence of review index names, bid file escape keywords, and priorities.
3. The method of claim 1, wherein the obtaining the name of the review index to be located and the review index file includes:
Receiving an input index name to be positioned and a rating file; or alternatively
And acquiring a prestored index name to be positioned and an index file to be positioned.
4. The method according to claim 1, wherein the step S5 comprises:
And according to the page number corresponding to the successful matching operation in the rating file, the rating file is jumped to the page corresponding to the page number.
5. An apparatus for locating an evaluation document, the apparatus comprising:
The system comprises a setting unit, a judging unit and a judging unit, wherein the setting unit is used for setting a judging index escape database, and the judging index escape database comprises the corresponding relation of judging index names, escape keywords and priorities;
the acquisition unit is used for acquiring the name of the index to be positioned and the index file;
The determining unit is used for determining a plurality of escape keywords corresponding to the index names to be positioned and priorities corresponding to each escape keyword according to the index names to be positioned and the index escape database;
The matching unit is used for sequentially carrying out matching operation on the plurality of escape keywords in the evaluation file according to the sequence from high priority to low priority until one of the plurality of escape keywords completes the matching operation in the evaluation file, and stopping the matching operation to obtain a matching result;
The matching unit is used for:
Sequencing the escape keywords according to the sequence from high to low of the corresponding priority to obtain a queue corresponding to the escape keywords;
acquiring the escape keyword with the highest priority in the queue, and performing matching operation on the escape keyword with the highest priority in the rating file;
Judging whether the matching operation is successful or not, if the matching operation is failed, deleting the escape keyword with the highest priority in the queue, repeatedly acquiring the escape keyword with the highest priority in the queue, and carrying out the matching operation on the escape keyword with the highest priority in the evaluation file; if the matching operation is successful, determining a matching result, wherein the matching result is a page number corresponding to the successful matching operation in the comment file;
The positioning unit is used for positioning the evaluation file according to the matching result;
the device further comprises an updating unit, which is specifically configured to:
When receiving a re-retrieval corresponding operation instruction, acquiring a re-retrieval corresponding reset keyword, the index name of the to-be-positioned review, the escape keyword for completing the matching operation and the priority corresponding to the escape keyword for completing the matching operation;
Updating the corresponding relation among the review index names, the escape keywords and the priorities in the review index transfer database according to the reset keywords, the to-be-positioned review index names and the escape keywords for completing the matching operation;
the updating the corresponding relation among the review index names, the escape keywords and the priorities in the review index transfer database comprises the following steps:
In the corresponding relation among the index names, the escape keywords and the priorities in the index transfer database, replacing the escape keywords completing the matching operation with the reset keywords, wherein the priorities of the reset keywords are equal to the priorities corresponding to the escape keywords completing the matching operation; or alternatively
And in the corresponding relation among the index names, the escape keywords and the priorities in the index transfer database, increasing the corresponding relation between the index names to be positioned and the reset keywords, setting the priorities of the reset keywords to be equal to the priorities corresponding to the escape keywords completing the matching operation, and reducing the priorities of the escape keywords completing the matching operation by one level.
6. An electronic device comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method of locating a comment file according to any one of claims 1 to 4;
the electronic equipment is a terminal or a server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011604946.0A CN112612815B (en) | 2020-12-29 | 2020-12-29 | Method and device for positioning evaluation mark file and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011604946.0A CN112612815B (en) | 2020-12-29 | 2020-12-29 | Method and device for positioning evaluation mark file and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112612815A CN112612815A (en) | 2021-04-06 |
CN112612815B true CN112612815B (en) | 2024-04-19 |
Family
ID=75249217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011604946.0A Active CN112612815B (en) | 2020-12-29 | 2020-12-29 | Method and device for positioning evaluation mark file and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112612815B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113434466B (en) * | 2021-07-02 | 2023-06-13 | 中国联合网络通信集团有限公司 | File view processing method, device, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902688A (en) * | 2011-07-27 | 2013-01-30 | 汉王科技股份有限公司 | Method and device for displaying results of keyword search |
CN104361042A (en) * | 2014-10-29 | 2015-02-18 | 中国建设银行股份有限公司 | Information retrieval method and device |
CN106484920A (en) * | 2016-11-21 | 2017-03-08 | 北京恒华伟业科技股份有限公司 | A kind of abstracting method of evaluation document index |
CN106503930A (en) * | 2016-11-29 | 2017-03-15 | 北京优易惠技术有限公司 | A kind of Note Auditing method and device |
CN107346325A (en) * | 2016-05-04 | 2017-11-14 | 中国石油集团长城钻探工程有限公司 | Information query method and device |
CN107784027A (en) * | 2016-08-31 | 2018-03-09 | 北京国双科技有限公司 | A kind of reminding method and device of judgement document's search key |
CN111666425A (en) * | 2020-06-10 | 2020-09-15 | 深圳开思时代科技有限公司 | Automobile accessory searching method based on semantic knowledge |
CN111832264A (en) * | 2020-06-02 | 2020-10-27 | 深圳价值在线信息科技股份有限公司 | PDF file based signature position determination method, device and equipment |
-
2020
- 2020-12-29 CN CN202011604946.0A patent/CN112612815B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902688A (en) * | 2011-07-27 | 2013-01-30 | 汉王科技股份有限公司 | Method and device for displaying results of keyword search |
CN104361042A (en) * | 2014-10-29 | 2015-02-18 | 中国建设银行股份有限公司 | Information retrieval method and device |
CN107346325A (en) * | 2016-05-04 | 2017-11-14 | 中国石油集团长城钻探工程有限公司 | Information query method and device |
CN107784027A (en) * | 2016-08-31 | 2018-03-09 | 北京国双科技有限公司 | A kind of reminding method and device of judgement document's search key |
CN106484920A (en) * | 2016-11-21 | 2017-03-08 | 北京恒华伟业科技股份有限公司 | A kind of abstracting method of evaluation document index |
CN106503930A (en) * | 2016-11-29 | 2017-03-15 | 北京优易惠技术有限公司 | A kind of Note Auditing method and device |
CN111832264A (en) * | 2020-06-02 | 2020-10-27 | 深圳价值在线信息科技股份有限公司 | PDF file based signature position determination method, device and equipment |
CN111666425A (en) * | 2020-06-10 | 2020-09-15 | 深圳开思时代科技有限公司 | Automobile accessory searching method based on semantic knowledge |
Also Published As
Publication number | Publication date |
---|---|
CN112612815A (en) | 2021-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10489399B2 (en) | Query language identification | |
AU2020200909A1 (en) | Evaluation control | |
CN108460014A (en) | Recognition methods, device, computer equipment and the storage medium of business entity | |
CN112163424B (en) | Data labeling method, device, equipment and medium | |
US20110038531A1 (en) | Learning string transformations from examples | |
CN109597874B (en) | Information recommendation method, device and server | |
CN109033244B (en) | Search result ordering method and device | |
WO2007016129A2 (en) | Dynamic content devlopment based on user feedback | |
US20190286688A1 (en) | Inserting links that aid action completion | |
Afzal et al. | Rule based Autonomous Citation Mining with TIERL. | |
CN112612815B (en) | Method and device for positioning evaluation mark file and electronic equipment | |
CN108182287A (en) | A kind of automatic question-answering method, device and server | |
CN111143359A (en) | Query statement generation method and device | |
CN110764999A (en) | Automatic testing method and device, computer device and storage medium | |
CN115186780A (en) | Discipline knowledge point classification model training method, system, storage medium and equipment | |
CN108073678B (en) | Document analysis processing method, system and device applied to big data analysis | |
CN107688595A (en) | Information retrieval Accuracy Evaluation, device and computer-readable recording medium | |
CN115577694B (en) | Intelligent recommendation method for standard writing | |
CN111581327A (en) | Administrative law enforcement assisting method and device | |
CN113656575B (en) | Training data generation method and device, electronic equipment and readable medium | |
CN106599042B (en) | Information pushing method and device based on artificial intelligence | |
US11366742B2 (en) | Automated identification of lines of code related to errors field | |
Afzal et al. | Improving citation mining | |
CN111737553A (en) | Method and device for selecting enterprise associated words and storage medium | |
CN110941765A (en) | Search intention identification method, information search method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |