For the inspection method and device of the post information in contribution
Technical field
The present invention relates to field of information processing, in particular to a kind of reviewing party of the post information in contribution
Method and device.
Background technology
Often occur name and its post information in contribution, the post letter of the name is required in the editing process of contribution
Breath, and when multiple names occur side by side, should be ranked up these names according to the sequence of its post.
The work of current contribution post check and correction can take artificial proofreading method, generally comprise following steps:
(1) being printed from collecting and editing system needs the contribution of check and correction.
(2) manual read's paper contribution, runs into the leader's post having a question, and goes to search related post letter manually
Breath, or seek advice from veteran press corrector.
(3) post to mistake carries out annotation modification by hand.
(4) content manually modification is entered into collecting and editing system.
The check and correction process of artificial check and correction relies on the knowledge experience of press corrector too much, easily makes a fault, and causes newspaper
There is the post information of mistake, influence the quality of publication.
The content of the invention
The present invention is intended to provide the inspection method and device of a kind of post information in contribution, to replace artificial check and correction
Name information in contribution.
According to an aspect of the invention, there is provided a kind of inspection method of post information in contribution, including:Profit
Employment name database carries out full-text search to contribution, to determine the name in contribution;Post database is retrieved with the name for determining,
To determine the post associated by name;Judge whether relevant information of the name in contribution be correct using the post for determining.
According to another aspect of the present invention, there is provided a kind of check device of post information in contribution, including:People
Name module, for carrying out full-text search to contribution using name database, to determine the name in contribution;Post module, is used for
Post database is retrieved with the name for determining, to determine the post associated by name;Judge module, for using the post for determining
Judge whether relevant information of the name in contribution be correct.
The inspection method and device of the post information in contribution of the invention using database because check name
Information, so overcoming the error problem of artificial check and correction, and then improves Article quality.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair
Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 shows the flow chart of the inspection method for the post information in contribution according to embodiments of the present invention;
Fig. 2 shows the schematic diagram of the check device for the post information in contribution according to embodiments of the present invention.
Specific embodiment
Describe the present invention in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the flow chart of the inspection method for the post information in contribution according to embodiments of the present invention, bag
Include:
Step S10, full-text search is carried out using name database to contribution, to determine the name in contribution;
Step S20, retrieves post database, to determine the post associated by name with the name for determining;
Step S30, judges whether relevant information of the name in contribution be correct using the post for determining.
The name post information in contribution is checked by artificial check and correction in the prior art, and in the present embodiment, using people
Name database and post database analyze the name post information in contribution, so that whole process realizes software automation,
So overcoming the error problem of artificial check and correction, and then improve Article quality.
Preferably, this inspection method also includes:Name database is pre-created, including a plurality of record, each bar record
Including the field for recording name;Wherein, carrying out full-text search to contribution using name database includes:During each bar is recorded
The name of record is matched with the full text of contribution;If matched in contribution with the name identical word described in record,
The word that then will match to is defined as the name in contribution.The name database project plan comparison of the present embodiment is simple, easily realizes.It is logical
The maintenance to name database is crossed, the dynamic renewal of name database can also be realized.It should be noted that word herein is
Refer to a linguistic unit, can be a character for constituting word, or the multiple characters for constituting word, and character can
Being punctuate, or word.
Preferably, this inspection method also includes:Post database is pre-created, including a plurality of record, each bar record
Including the first field and the second field for recording post for recording name;Wherein, post is retrieved with the name for determining
Database includes:The name that will be determined matches each bar record;If matching name in the first field of record, extract and work as
The post in the second field in preceding record;The post of extraction is defined as the post associated by name.The post of the present embodiment
Database scheme is fairly simple, easily realizes.By the maintenance to post database, the dynamic of post database can also be realized
Update.For example, press corrector is if it find that the post information in post database is wrong, can be with manual modification post database
Relevant field.
Preferably, step S30 includes:
Extract the adjacent word in contribution of name;Judge whether adjacent word is post;
If adjacent word is post, it is determined that whether adjacent word matches the post determined with post database;
If it does not match, the adjacent word of mark.
The present embodiment is by simple matching operation, you can automatically judge whether post information is accurate, significantly saves
The workload of press corrector.Such as word in contribution is " minister Zhang San ", and " minister " is matched with post database,
It was found that second field of " Zhang San " record in post database is " vice-minister ", you can automatically mark " minister Zhang San ", example
The Scarlet Letter is such as shown as, so as to remind press corrector to judge whether contribution is wrong.
Preferably, post database is pre-created, including a plurality of record, each bar record includes:For recording name
The first field, the second field for recording post;And for recording the 3rd field of the index of post, the size of index
With the rank linear correlation of post;Wherein, post database is retrieved with the name for determining, it is determined that post associated by name
Meanwhile, also determine the index of associated post.The rank of post is given numeral by this preferred embodiment in post database
Change, such that it is able to the automatic inspection class information of post.
Preferably, step S30 includes:Determine to be the name of coordination in contribution;Judge that the index of name arranged side by side exists
The professional level whether the priority sequence in coordination meets associated by name is from high to low;If do not met, mark is arranged side by side
Name.Because the rank of post has been digitized into post database, by the sequence to indexing, you can determine original text
Whether the name in part is sorted according to service grade.Such as word in contribution is " chief Li Si, minister Zhang San, section chief
King five ", if the index that the index that the index of minister is 1, chief is 2, section chief is 3 in post database, then above-mentioned word
The indexed sequential for obtaining is " 2,1,3 ", does not meet the order of " 1,2,3 ", and this preferred embodiment automatically can mark " office by blue word
Li Si long, minister Zhang San, section chief king five ", thus remind this section of word of press corrector name whether sort it is wrong.
Preferably, coordination is following pattern:Post 1, post 2...... post ml names 1, post 1, post
2...... post m2Name 2 ..., post 1, post 2...... posts mnName n, wherein, n is the nature more than or equal to 2
Number;m1、m2、......、mnNonnegative integer is, post is not essential.For example, can have following several:
1) leader 1
2) leader 1, leader 2
3) leader 1 of post 1
4) post 1, the leader 1 of post 2
5) post 1, the leader 1 of post 2, leader 2.
This includes common name order in contribution.
Preferably, determine that the name in contribution for coordination includes:
A the adjacent above word in contribution of current name) is judged;
B) if not being post without word or word, it is determined that without name arranged side by side before current name, terminate current name
Coordination judgement;
C) if word is punctuation mark or word is post, step B and C are performed to character cycle adjacent above;
D) if word is name, will determine that the name that obtains adds coordination, and using the name that judges to obtain as
The step of current name circulation performs above-mentioned judgement coordination.
Said process is simple cyclic process, it is easy to become to realize by computer.
Fig. 2 shows the schematic diagram of the check device for the post information in contribution according to embodiments of the present invention, bag
Include:
Name module 10, for carrying out full-text search to contribution using name database, to determine the name in contribution;
Post module 20, for retrieving post database with the name for determining, to determine the post associated by name;
Judge module 30, for judging whether relevant information of the name in contribution be correct using the post for determining.
The present apparatus overcomes the error problem that name post is manually proofreaded, and then improves Article quality.
Preferably, judge module 30 includes:Extraction module, the word adjacent in contribution for extracting name;Post judges
Module, for judging whether adjacent word is post;Matching module, if being post for adjacent word, it is determined that adjacent
Whether word matches the post determined with post database;Labeling module, for if it does not match, the adjacent word of mark.
In the present embodiment, the name post information in contribution is analyzed using name database and post database, so that
Whole process realizes software automation, so overcoming the error problem of artificial check and correction, and then improves Article quality.
Preferably, post database is pre-created, including a plurality of record, each bar record includes:For recording name
The first field, the second field for recording post;And for recording the 3rd field of the index of post, the size of index
With the rank linear correlation of post;Wherein, post is it is determined that while post associated by name, also determine associated post
Index, judge module 30 includes:Dependent module, for determining to be the name of coordination in contribution;Order module, for sentencing
The professional level whether priority sequence of the index of disconnected name arranged side by side in coordination meets associated by name is from high to low;Mark
Injection molding block, if for not meeting, marking name arranged side by side.
Often it is related to leader in the various contributions such as website, publication, leader can be taken before usual leader's name
The post of people.In contribution, the post mistake of leader or sequence are chaotic, can have a strong impact on the quality of contribution.Retouching more than
In stating, it can be seen that the present invention realizes the automatic Proofreading to the name post information of contribution, so as to improve Article quality.
Obviously, those skilled in the art should be understood that above-mentioned of the invention each module or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and constituted
Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to they are stored
Performed by computing device in the storage device, or they be fabricated to each integrated circuit modules respectively, or by they
In multiple modules or step single integrated circuit module is fabricated to realize.So, the present invention is not restricted to any specific
Hardware and software is combined.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair
Change, equivalent, improvement etc., should be included within the scope of the present invention.