CN106021404B - Search method - Google Patents

Search method Download PDF

Info

Publication number
CN106021404B
CN106021404B CN201610317381.5A CN201610317381A CN106021404B CN 106021404 B CN106021404 B CN 106021404B CN 201610317381 A CN201610317381 A CN 201610317381A CN 106021404 B CN106021404 B CN 106021404B
Authority
CN
China
Prior art keywords
term
legal document
target
target legal
abstract
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
Application number
CN201610317381.5A
Other languages
Chinese (zh)
Other versions
CN106021404A (en
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.)
Beijing Beidayingfa Technology Co Ltd
Original Assignee
Beijing Beidayingfa 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 Beijing Beidayingfa Technology Co Ltd filed Critical Beijing Beidayingfa Technology Co Ltd
Priority to CN201610317381.5A priority Critical patent/CN106021404B/en
Publication of CN106021404A publication Critical patent/CN106021404A/en
Application granted granted Critical
Publication of CN106021404B publication Critical patent/CN106021404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution

Abstract

The embodiment of the present invention discloses a kind of search method, can more accurately retrieve required target legal document.The described method includes: obtaining term;Retrieval includes the target legal document of the term, and the abstract of the target legal document of the term is recorded in display, the abstract be one in the target legal document at include the term part;After the abstract of the target legal document is selected, present position of making a summary described in the target legal document is navigated to, and highlight term described in the abstract.The method of the embodiment of the present invention, which is realized, is accurately positioned the position into text according to term, so as to more accurately retrieve required target legal document.

Description

Search method
Technical field
The present invention relates to computer field more particularly to a kind of search methods.
Background technique
With being continuously increased for law data, user is facing vast as the open sea various laws and regulations, case, periodical, method When regular movements state etc. file, it is often necessary to be retrieved, current search method can find target legal document by retrieval. But as user increasingly refines the requirement that legal information is retrieved, improves retrieval accuracy and become more and more important.
Summary of the invention
The embodiment of the present invention provides a kind of search method, can more accurately retrieve required target legal document.
The embodiment of the present invention adopts the following technical scheme that
A kind of search method, comprising:
Obtain term;
Retrieval includes the target legal document of the term, and plucking for the target legal document of the term is recorded in display Want, the abstract is in the target legal document include at one the term part;
After the abstract of the target legal document is selected, the locating position of abstract described in the target legal document is navigated to It sets, and highlights term described in the abstract.
Optionally, the abstract of the target legal document of the display record term includes:
Determine occur the number of the term in the target legal document;
By there is the number of the term in the target legal document, the abstract of the target legal document is shown, And it shows and occurs the number of the term in the target legal document.
Optionally, after the abstract for the target legal document that the term is recorded in the display further include:
Obtain the type of the target legal document and the Description of content of the target legal document;
Show the type of the target legal document and the Description of content of the target legal document.
It is optionally, described to navigate to after abstract present position described in the target legal document, further includes:
Mesh, which is shown, one by one there is the part of the term in the target legal document;
After target entry is selected, the target entry present position is navigated to, and highlight in the target entry The term, the target entry are the part wherein one of the term that mesh is shown one by one.
It is optionally, described to navigate to after abstract present position described in the target legal document, further includes:
It include the field of the term in target legal document full text described in centralized displaying;
The selected field comprising the term is navigated to, the inspection in the selected field is distinctly displayed Rope word.
Optionally, target legal document of the retrieval comprising the term includes:
According to each field in the legal document of the retrieval word and search storage;And by the sign flag in body matter Removal;
Search result list is obtained from the legal document of storage according to term, is traversed in the search result list Each data obtains the corresponding body field content of every data;
The prefix of term described in the body field content and suffix are identified, by the body field content Middle removal label determines the target legal document;
The abstract of the target legal document is obtained, and records what the term occurred in the target legal document Number.
Optionally, the length of the abstract of the target legal document is setting byte, the abstract of the target legal document Curtailment described in setting byte when, the abstract of the target legal document takes the index terms to end of text, described to set Determining byte is 80 bytes or 100 bytes or 160 bytes.
Optionally, it after the abstract of the target legal document is selected, navigates to and is plucked described in the target legal document The present position is wanted to include:
Page jump link is added for the part that every place in the target legal document includes the term;
The corresponding part comprising the term is navigated to according to page jump link.
Optionally, the mesh one by one shows that the part for occurring the term in the target legal document includes:
The smaller value in site configuration maximum term number and the term number of current record is obtained, as total term number Amount, chaining search pass sequentially through to the term number and currently retrieve the term number index acquisition abstract, finally return The current data for returning Json format, which is made a summary, to be gathered, and makees paging processing, 5 parts comprising the term of every page of display.
Optionally, the field in target legal document full text described in the centralized displaying comprising the term includes:
The target law document text content is obtained, is sky by the tag replacement in body matter, by the goal method The term restrained in document text content adds label, and display position is moved to first term position, then The target law document text content is divided into character string dimension with newline, traverses each single item in the string data, This is recorded in result array if meeting for the label for whether meeting addition by regular expression matching, traversal knot Shu Hou separates each single item element in result array with newline, is spliced into character string and shows as a result.
Search method based on the above-mentioned technical proposal obtains term, target law text of the retrieval comprising the term The abstract of the target legal document of term is recorded in part, display, the abstract be include term at one in target legal document Part navigate in target legal document present position of making a summary, and highlight after the abstract of target legal document is selected The position into text is accurately positioned according to term to realize, so as to more accurately retrieve in term described in abstract Required target legal document.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart of search method provided in an embodiment of the present invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention provides a kind of search method, comprising:
11, term is obtained.
In the embodiment of the present invention, retrieval is surveyed and can be inputted by user, which can be law vocabulary, description vocabulary Deng.
12, retrieval includes the target legal document of the term, and the target legal document of the term is recorded in display Abstract, the abstract is in the target legal document include at one the term part.
In the embodiment of the present invention, target legal document is one in the legal document comprising term, which can be with It include the part of the term for any one place in target legal document, the abstract, which also can be set, in when specific implementation to be It include the part of the term at specific one in target legal document.
13, after the abstract of the target legal document is selected, institute of making a summary described in the target legal document is navigated to Locate position, and highlights term described in the abstract.
In the embodiment of the present invention, navigates to abstract present position described in target legal document and navigate to target law text The position made a summary in part, relative to file is only navigated to, localization method of the embodiment of the present invention is more accurate.Highlight described pluck Term described in wanting can be using being highlighted, distinguish that color is shown, overstriking display lamp mode is realized.
Search method of the present invention, obtains term, and retrieval includes the target legal document of the term, display Record the abstract of the target legal document of term, the abstract is in target legal document include at one term part, After the abstract of target legal document is selected, present position of making a summary is navigated in target legal document, and highlight in abstract The position into text is accurately positioned according to term to realize, so as to more accurately retrieve required mesh in the term Mark legal document.
In one embodiment of the invention, the abstract for the target legal document that the term is recorded in the display includes:
Determine occur the number of the term in the target legal document, by there is institute in the target legal document The number for stating term, shows the abstract of the target legal document, and shows in the target legal document inspection occur The number of rope word.
In one embodiment of the invention, also wrapped after the abstract for the target legal document that the term is recorded in the display It includes:
The type of the target legal document and the Description of content of the target legal document are obtained, shows the goal method Restrain the type of file and the Description of content of the target legal document.
Wherein, the type of legal document can be articles in a statute, interpretation of section, court verdict etc., corresponding goal method The Description of content for restraining file can be regulation overview, interpretation of section overview, judgement overview.
It is described to navigate to after abstract present position described in the target legal document in one embodiment of the invention, Further include:
Mesh shows occur the part of the term in the target legal document one by one, fixed after target entry is selected The target entry present position is arrived in position, and highlights term described in the target entry, and the target entry is institute State the part wherein one for the term that mesh one by one is shown.
For example, can with paging, mesh shows occur the part of the term in the target legal document one by one, every page is aobvious Show state's fixed number amount.
It is described to navigate to after abstract present position described in the target legal document in one embodiment of the invention, Further include:
Include the field of the term in target legal document full text described in centralized displaying, navigates to and selected include The field of the term distinctly displays the term in the selected field.
For example, all fields comprising the term, the length of the field in displaying target legal document full text together It can be changed according to concrete scene.
In one embodiment of the invention, target legal document of the retrieval comprising the term includes:
According to each field in the legal document of the retrieval word and search storage;And by the sign flag in body matter Removal;
Search result list is obtained from the legal document of storage according to term, is traversed in the search result list Each data obtains the corresponding body field content of every data, before term described in the body field content Sew and suffix is identified, label will be removed in the body field content, determine the target legal document, obtain the mesh The abstract of legal document is marked, and records the number that the term occurs in the target legal document.
For example, obtaining search result list according to term, each data in search result list is traversed, is obtained every The body field content of data, and the special marking (such as :-★ ▲) in body matter is replaced with into sky.Then by text Hit word prefix in content replaces with ★, and hit word suffix replaces with ▲.By the body matter removal by handling above Html label, then obtains the abstract that single records specified hits index, length 80, and text size takes inspection less than 80 Start until end of text at rope word.And record total hits.Finally return that the article list with term, list exhibition The first item that every data hit results are concentrated is shown when showing.
In one embodiment of the invention, the length of the abstract of the target legal document is setting byte, the goal method When restraining setting byte described in the curtailment of the abstract of file, the abstract of the target legal document takes the index terms to text Terminate, the byte that sets is 80 bytes or 100 byte or 160 bytes.
In one embodiment of the invention, after the abstract of the target legal document is selected, the target law is navigated to Described in file abstract present position include:
Page jump link is added for the part that every place in the target legal document includes the term, according to page Face redirected link navigates to the corresponding part comprising the term.
For example, adding full text page jump for the part that abstract and the every place of full text include the term links parameter, ginseng Number is anchor name, when page open, is jumped directly at corresponding anchor name position according to link parameter.
In one embodiment of the invention, the mesh one by one shows in the target legal document term occur Part includes:
The smaller value in site configuration maximum term number and the term number of current record is obtained, as total term number Amount, chaining search pass sequentially through to the term number and currently retrieve the term number index acquisition abstract, finally return The current data for returning Json format, which is made a summary, to be gathered, and makees paging processing, 5 parts comprising the term of every page of display.
In one embodiment of the invention, comprising the term in target legal document full text described in the centralized displaying Field includes:
The target law document text content is obtained, is sky by the tag replacement in body matter, by the goal method The term restrained in document text content adds label, and display position is moved to first term position, then The target law document text content is divided into character string dimension with newline, traverses each single item in the string data, This is recorded in result array if meeting for the label for whether meeting addition by regular expression matching, traversal knot Shu Hou separates each single item element in result array with newline, is spliced into character string and shows as a result.
The search method of the embodiment of the present invention obtains term, and retrieval includes the target legal document of the term, shows Show the abstract for recording the target legal document of term, the abstract is in target legal document include at one term portion Point, after the abstract of target legal document is selected, present position of making a summary is navigated in target legal document, and highlight abstract Described in term, the position into text is accurately positioned according to term to realize, so as to needed for more accurately retrieving Target legal document.
Embodiment 2
A kind of search method provided in an embodiment of the present invention, this method comprises:
S1, full-text search condition: 887524 case datas of " serious " hit show the judgement document's list of page 1, including Judgement document's title, default hit abstract, hit-count, the more hits of expansion.
S2, it chooses a judgement document: " inspection example the 21st: checking and approving and prosecute case directiveness case in fourth state mountain etc. (intentional injury) Example ".
Default hit abstract is " look into and think: suspicion of crime population state mountain, Ding Guoyi, Chang Yonglong, Yan Lijun are accused of deliberately Wounding bodily injury, and cause the serious consequence ... of people death ", it hits 7 times.
S3, expansion hit: hit is packed up
Paging in content is unfolded to show, page 1 shows 5 articles of hit abstracts, and page 2 shows 2 articles of hit abstracts.
S4, it clicks the 5th article of hit abstract: navigating to " prosecuting the time limit although being already expired 20 years, social influence there is not in text Have disappearance, non prosequitur may seriously affect social stability or generate other serious consequences ... " this section text first " serious " Position, and be highlighted.
S5, click to focus and hit: hit content is focused and is shown by body matter.
S6, user click any one hit focus: can then reach the focal position, and be highlighted current hit word " serious ".
The search method of the embodiment of the present invention obtains term, and retrieval includes the target legal document of the term, shows Show the abstract for recording the target legal document of term, the abstract is in target legal document include at one term portion Point, after the abstract of target legal document is selected, present position of making a summary is navigated in target legal document, and highlight abstract Described in term, the position into text is accurately positioned according to term to realize, so as to needed for more accurately retrieving Target legal document.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In the principle, practical application or improvement to the technology in market for best explaining each embodiment, or make the art Other those of ordinary skill can understand each embodiment disclosed herein.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (3)

1. a kind of search method characterized by comprising
Obtain term;
Retrieval includes the target legal document of the term, and the abstract of the target legal document of the term is recorded in display, The abstract is in the target legal document include at one the term part;
After the abstract of the target legal document is selected, present position of making a summary described in the target legal document is navigated to, And highlight term described in the abstract;
Retrieval includes that the target legal document of the term includes:
According to each field in the legal document of the retrieval word and search storage;And the sign flag in body matter is gone It removes, the sign flag is figure;
Search result list is obtained from the legal document of storage according to term, is traversed each in the search result list Data obtains the corresponding body field content of every data;
The prefix of term described in the body field content and suffix are identified, the target legal document is obtained;
The abstract of the target legal document is obtained, and records time that the term occurs in the target legal document Number;
Wherein, the abstract of the target legal document of the display record term includes:
Determine occur the number of the term in the target legal document;
By there is the number of the term in the target legal document, the abstract of the target legal document is shown, and show Show occur the number of the term in the target legal document;
It is wherein, described to navigate to after abstract present position described in the target legal document, further includes:
Mesh, which is shown, one by one there is the part of the term in the target legal document;
After target entry is selected, the target entry present position is navigated to, and highlight described in the target entry Term, the target entry are the part wherein one of the term that mesh is shown one by one;
It is wherein, described to navigate to after abstract present position described in the target legal document, further includes:
It include the field of the term in target legal document full text described in centralized displaying;
The selected field comprising the term is navigated to, the retrieval in the selected field is distinctly displayed Word;
Wherein, the length of the abstract of the target legal document is setting byte, the length of the abstract of the target legal document When the insufficient setting byte, the abstract of the target legal document takes the term to end of text, the setting byte For 80 bytes or 100 bytes or 160 bytes;
Wherein, the mesh one by one shows that the part for occurring the term in the target legal document includes:
The smaller value in site configuration maximum term quantity and the term quantity of current record is obtained, as total term number Amount, chaining search pass sequentially through to the number of the term and currently retrieve the term number index acquisition abstract, finally The current data for returning to Json format, which is made a summary, to be gathered, and makees paging processing, 5 parts comprising the term of every page of display;
Wherein, the field in target legal document full text described in the centralized displaying comprising the term includes:
The target law document text content is obtained, is sky by the tag replacement in body matter, by the target law text The term in part body matter adds graphical label, and display position is moved to first term position, then The target law document text content is divided into character string dimension with newline, traverses each single item in the string data, This is recorded in result array if meeting for the graphical label for whether meeting addition by regular expression matching, time After going through, each single item element in result array is separated with newline, character string is spliced into and shows as a result.
2. the method according to claim 1, wherein the target legal document of the term is recorded in the display Abstract after further include:
Obtain the type of the target legal document and the Description of content of the target legal document;
Show the type of the target legal document and the Description of content of the target legal document.
3. the method according to claim 1, wherein being positioned after the abstract of the target legal document is selected Include: to abstract present position described in the target legal document
Page jump link is added for the part that every place in the target legal document includes the term;
The corresponding part comprising the term is navigated to according to page jump link.
CN201610317381.5A 2016-05-12 2016-05-12 Search method Active CN106021404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610317381.5A CN106021404B (en) 2016-05-12 2016-05-12 Search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610317381.5A CN106021404B (en) 2016-05-12 2016-05-12 Search method

Publications (2)

Publication Number Publication Date
CN106021404A CN106021404A (en) 2016-10-12
CN106021404B true CN106021404B (en) 2019-09-03

Family

ID=57099846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610317381.5A Active CN106021404B (en) 2016-05-12 2016-05-12 Search method

Country Status (1)

Country Link
CN (1) CN106021404B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284362B (en) * 2018-11-11 2022-02-01 广东小天才科技有限公司 Content retrieval method and system
CN109522390B (en) * 2018-11-14 2020-11-13 山东大学 Search result display method and device
CN113190667A (en) * 2021-05-12 2021-07-30 北京律联东方文化传播有限公司 Legal data query method, device, equipment and storage medium
CN115344619A (en) * 2022-10-17 2022-11-15 天津联想协同科技有限公司 Information search method, terminal device, server, electronic device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5297027A (en) * 1990-05-11 1994-03-22 Hitachi, Ltd. Method of and apparatus for promoting the understanding of a text by using an abstract of that text
CN101408876A (en) * 2007-10-09 2009-04-15 中兴通讯股份有限公司 Method and system for searching full text of electric document
CN102902688A (en) * 2011-07-27 2013-01-30 汉王科技股份有限公司 Method and device for displaying results of keyword search
CN102929924A (en) * 2012-09-20 2013-02-13 百度在线网络技术(北京)有限公司 Method and device for generating word selecting searching result based on browsing content
CN104361042A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Information retrieval method and device
CN105005562A (en) * 2014-04-15 2015-10-28 索意互动(北京)信息技术有限公司 Retrieval result display processing method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5297027A (en) * 1990-05-11 1994-03-22 Hitachi, Ltd. Method of and apparatus for promoting the understanding of a text by using an abstract of that text
CN101408876A (en) * 2007-10-09 2009-04-15 中兴通讯股份有限公司 Method and system for searching full text of electric document
CN102902688A (en) * 2011-07-27 2013-01-30 汉王科技股份有限公司 Method and device for displaying results of keyword search
CN102929924A (en) * 2012-09-20 2013-02-13 百度在线网络技术(北京)有限公司 Method and device for generating word selecting searching result based on browsing content
CN105005562A (en) * 2014-04-15 2015-10-28 索意互动(北京)信息技术有限公司 Retrieval result display processing method and apparatus
CN104361042A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Information retrieval method and device

Also Published As

Publication number Publication date
CN106021404A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106021404B (en) Search method
West et al. Mining missing hyperlinks from human navigation traces: A case study of Wikipedia
US10318646B2 (en) Generating a structured document guiding view
US8392449B2 (en) Resource search operations
CN104424261B (en) Information displaying method based on electronic map and device
US20080071739A1 (en) Using anchor text to provide context
JP2008027021A5 (en)
US20150324089A1 (en) Enhanced electronic health record graphical user interface system
Strötgen et al. TimeTrails: a system for exploring spatio-temporal information in documents
JP2014211870A (en) Visual search construction, document triage, and coverage tracking
CN109448793A (en) The interest field identification of gene order, retrieval and infringement determination method, system
CN103678509B (en) Generate the method and device of web page template
US20130097494A1 (en) Method and system for visual cues to facilitate navigation through an ordered set of documents
JP2006236142A (en) Position information display program and position information display device
CN111382192A (en) Data list display method and device and electronic equipment
US7043689B2 (en) Managing zero-width markers
CN109597934B (en) Method and device for determining click recommendation words, storage medium and electronic equipment
JP2005063283A (en) Document browsing device, document browsing method, program and recording medium
JP2004334588A (en) Ranking item display method and device, and ranking item display program
JP2004242284A5 (en)
CN104657480B (en) Caricature searching method and device
CN107220299A (en) Picture retrieval method and device
Pöckelmann et al. CATview–supporting the investigation of text genesis of large manuscripts by an overall interactive visualization tool
Boyer Sixty years and counting: nuclear themes in American culture, 1945 to the present
Bromhead Mountains, rivers, billabongs: Ethnogeographical categorization in cross-linguistic perspective

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant