CN110209918A - A kind of text handling method based on date event, device and electronic equipment - Google Patents

A kind of text handling method based on date event, device and electronic equipment Download PDF

Info

Publication number
CN110209918A
CN110209918A CN201810150666.3A CN201810150666A CN110209918A CN 110209918 A CN110209918 A CN 110209918A CN 201810150666 A CN201810150666 A CN 201810150666A CN 110209918 A CN110209918 A CN 110209918A
Authority
CN
China
Prior art keywords
date
document
event
date event
text
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810150666.3A
Other languages
Chinese (zh)
Inventor
严玉良
黄恒
周济民
郎君
司罗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810150666.3A priority Critical patent/CN110209918A/en
Publication of CN110209918A publication Critical patent/CN110209918A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Abstract

This application discloses a kind of text handling method based on date event, device and electronic equipments.Wherein, which comprises based on the content of text in document, obtain date event associated with the document;The date event associated with the document is matched with current date, obtains the incidence relation of the document and current date;According to the incidence relation, displaying scheme is set for the document.This method can set displaying scheme to it, such as different weight sequencing or mark are assigned to it according to the different time stage locating for document, so that the displaying to document is intervened, with this can avoid the expired document of displaying and influence user experience;And by the way that incidence relation will be formed between document and current date, flexible, accurate displaying scheme can be set to document accordingly, realize and optimization is carried out to document according to date event show.

Description

A kind of text handling method based on date event, device and electronic equipment
Technical field
This application involves the process fields of computer search text, and in particular to a kind of text-processing based on date event Method, a kind of text processing apparatus and a kind of electronic equipment based on date event.The application further relates to a kind of information processing Method, a kind of information processing unit and another electronic equipment.
Background technique
It is associated with the information of a certain type often to there is expectation acquisition when scanning for using search engine by user Search result demand.Especially under electric business scene, whenever important festivals (including some electric business red-letter days made by oneself), platform It will carry out advertising campaign.And the businessman on platform can write some shopping guide's classes to allow the shop of oneself to introduce more flows Article the commodity to introduce oneself are issued on platform.For a user, the festive occasion also tends to meeting when advertising campaign It can carry out platform shopping, come to carry out systematic introduction to commodity sales promotion with shopping guide's article, be all favourable for user and businessman. Therefore, the article of red-letter day shopping guide type is widely applied, and often content quality is relatively good for these articles, while having in the festive occasion Higher clicking rate.
The timeliness of the article of above-mentioned red-letter day shopping guide type is very strong, once expired (more than red-letter day corresponding to article), text Content in chapter will fail therewith, and article value can also be greatly reduced.However, these articles there is no apparent downtime or The specific label of person, under normal searching scene, such, which has expired article and is easy to be searched for by user, shows, to give user Cause poor experience.
In the prior art, generally judge whether article is red-letter day class scene with time correlation according to query analysis, benefit Corresponding document, but searching for non-temporal related intention can be showed in search time associated class article with this kind of mode Rope still can show time class and expired document.For example, can be combined by query default during double 11 Commodity shopping guide's article in relation to double 11 is pushed to user by the mode of word, but has been crossed after double 11, such as in November 14 When number search, this kind of double 11 commodity shopping guide's article is when being not added default word it is also possible to being pushed to user, therefore Such method not can effectively solve the search problem under electric business scene.
Summary of the invention
The application provides a kind of text handling method based on date event, to solve the above problem in the prior art. In addition the application provides a kind of text processing apparatus and a kind of electronic equipment based on date event.In addition the application provides one Kind information processing method, a kind of information processing unit and another electronic equipment.
The application provides a kind of text handling method based on date event, which comprises
Optionally, the document searches for acquisition by keyword from document library.
Optionally, the content of text includes at least one of following:
The title of the document;
The text of the document.
Optionally, the content of text based in document obtains date event associated with the document, comprising:
Text word segmentation processing is carried out to the content of text in the document, obtains word segmentation unit;
By the content of the word segmentation unit, is matched with predetermined date event identification information, obtain the text The date event that shelves are included;
The date event for being included according to the document and preset matching rule, determination are associated with the document Date event.
Optionally, the content by the word segmentation unit is matched with predetermined date event identification information, Obtain the date event that the document is included, further includes:
Two or more adjacent word segmentation units for describing the date are compared with pre-set expression template set It is right, obtain the date event comprising two or more adjacent word segmentation units.
Optionally, the date event for being included according to the document and preset matching rule, it is determining with it is described The associated date event of document, comprising:
It is extracted and the associated related word segmentation unit of the date event that the document is included from the document;
Compare by the combining form of the related word segmentation unit and date event, with pre-set expression template set It is right;
According to comparison result, the incidence relation for the date event and the document that the document is included is determined, really with this Fixed date event associated with the document.
Optionally, the pre-set expression template set includes: redundancy template set;
It is corresponding, combining form and the pre-set expression mould by the related word segmentation unit and date event Plate set is compared, comprising:
By the combining form of the related word segmentation unit and date event, it is compared with the redundancy template set;
It is corresponding, it is described that being associated with for date event that the document is included and the document is determined according to comparison result System, comprising:
If comparison result is consistent, it is determined that the date event that the document is included is redundancy date event;
It is corresponding, it is described that date event associated with the document is determined with this, comprising:
The redundancy date event is removed, date thing associated with the document is determined from remaining date event Part.
Optionally, the document carries the issuing time information of itself;Correspondingly, will be described associated with the document Before date event is matched with current date, comprising:
Judge whether the time interval between current date and the issuing time information is more than preset threshold value;
If so, determining that the document is document out of date;
The date event associated with the document is matched with current date if it is not, then entering, obtains institute The step of stating the incidence relation of document and current date.
Optionally, described to match the date event associated with the document with current date, it can pass through As one of under type is realized:
It will be compared with the date corresponding to the associated date event of the document, with current date;
Date event associated with the document is compareed with the relevant date event of current date.
Optionally, described to match the date event associated with the document with current date, it realizes Mode are as follows: compare date event associated with the document with the relevant date event of current date;It is described current The relevant date event on date obtains in the following way:
The current date is compared with the date corresponding to preset specific date event, it is true according to comparison result Determine the relevant date event of current date.
Optionally, the preset specific date event, comprises at least one of the following:
For the date event of the public;
For the date event of individual.
Optionally, the preset specific date event be for individual date event, the specific date event and Its corresponding date is identified according to the identity information to search main body and is obtained.
Optionally, described that the current date is compared with the date corresponding to preset specific date event, root The relevant date event of current date is determined according to comparison result, comprising:
It is pre- to judge whether the time interval between the date corresponding to current date and preset specific date event is less than If first threshold;
If so, continuing to judge the time between the date corresponding to the current date and preset specific date event Whether spacing is less than preset second threshold;
If more than the second threshold, it is determined that the relevant date event of current date is the preset specific date thing The publication phase in advance of part;
If being less than the second threshold, continue to judge whether the current date is in the preset specific date thing The core time of part is in section;
If being in, it is determined that the relevant date event of current date is that the core of the preset specific date event occurs Phase;
If being not at, it is determined that the relevant date event of current date is the preheating of the preset specific date event Phase.
Optionally, described according to the incidence relation, scheme is shown for document setting, including at least one in following Kind:
According to the incidence relation and predetermined weight calculation rule, the current sequence power of the document is determined Weight;
It is that the document is labeled according to the incidence relation.
Optionally, the date event associated with the document, including one of following:
For the date event of the public;
For the date event of individual.
Correspondingly, present invention also provides a kind of text processing apparatus based on date event, it is described to be based on date event Text processing apparatus, comprising:
Date event acquiring unit, for obtaining the date associated with the document based on the content of text in document Event;
Incidence relation acquiring unit, for the date event associated with the document by described in and current date progress Match, obtains the incidence relation of the document and current date;
Displaying scheme setup unit, for setting displaying scheme for the document according to the incidence relation.
In addition, the application also provides a kind of electronic equipment, the electronic equipment, comprising:
Processor;
Memory, for storing the text processor based on date event, described program is read by the processor When execution, perform the following operations:
Based on the content of text in document, date event associated with the document is obtained;
The date event associated with the document is matched with current date, obtains the document and current The incidence relation on date;
According to the incidence relation, displaying scheme is set for the document.
The application also provides a kind of information processing method, and the information processing method includes:
Receive the inquiry request for having date event;
Receive multiple documents associated with the date event;
Based on the content of text in the multiple document, the incidence relation of the multiple document and current date is obtained;
It is the multiple document setup displaying scheme according to the incidence relation.
Optionally, the date event includes one of following:
For the date event of the public;
For the date event of individual.
Optionally, described according to the incidence relation, be the multiple document setup displaying scheme, including in following extremely Few one kind:
According to the incidence relation and predetermined weight calculation rule, the current sequence of the multiple document is determined Weight;
It is that the multiple document is labeled according to the incidence relation.
The application also provides a kind of information processing unit, and the information processing unit includes:
Inquiry request receiving unit, for receiving the inquiry request for having date event;
Document Creator unit, for receiving multiple documents associated with the date event;
Incidence relation obtaining unit, for based on the content of text in the multiple document, obtain the multiple document with The incidence relation of current date;
Displaying scheme setting unit, for being the multiple document setup displaying scheme according to the incidence relation.
In addition, the application also provides a kind of electronic equipment, the electronic equipment, comprising:
Processor;
Memory is used for storing information processing program, and described program executes as follows when reading execution by the processor Operation:
Receive the inquiry request for having date event;
Receive multiple documents associated with the date event;
Based on the content of text in the multiple document, the incidence relation of the multiple document and current date is obtained;
It is the multiple document setup displaying scheme according to the incidence relation.
Compared with prior art, the application has the following advantages:
Text handling method provided by the present application based on date event, based on the content of text in document, acquisition and institute State the associated date event of document;The date event associated with the document is matched with current date, is obtained Take the incidence relation of the document and current date;According to the incidence relation, displaying scheme is set for the document.This method By being identified to document, to obtain date event associated with document, and the date event and current date are carried out Matching, would know that time phase locating for the document and its significance level by this kind of mode, and on this basis to the text Shelves setting shows scheme, such as can assign different weight sequencings to it according to the different time stage locating for the document or beat Mark, so that the displaying to document is intervened, with this can avoid the expired document of displaying and influence user experience;And pass through by Incidence relation is formed between document and current date, flexible, accurate displaying scheme can be set to document accordingly, be realized basis Date event carries out optimization to document and shows.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application can also be obtained according to these attached drawings other for those of ordinary skill in the art Attached drawing.
Fig. 1 shows the flow chart of the text handling method based on date event of the application first embodiment offer;
Fig. 2 shows the offers of the application first embodiment based on the content of text in document, acquisition and the document phase The flow chart of associated date event;
Fig. 3 show the offer of the application first embodiment word segmentation processing is carried out to text header after obtain word segmentation unit Schematic diagram;
Fig. 4 shows the acquisition of the application first embodiment offer and the effect picture of document associations date event;
Fig. 5 shows the red-letter day weight parameter schematic diagram of the application first embodiment offer;
Fig. 6 show the application first embodiment offer text sequence locating for document is ranked up by weight before Schematic diagram;
Fig. 7 show the application first embodiment offer text sequence locating for document is ranked up by weight after Schematic diagram;
Fig. 8 shows the schematic diagram of the text processing apparatus based on date event of the application second embodiment offer;
Fig. 9 shows the schematic diagram of the electronic equipment of the application 3rd embodiment offer;
Figure 10 shows the information processing method flow chart of the application fourth embodiment offer;
Figure 11 shows the information processing unit schematic diagram of the 5th embodiment of the application offer;
Figure 12 shows the electronic equipment schematic diagram of the application sixth embodiment offer.
Specific embodiment
It is with reference to the accompanying drawing and specific real in order to be more clearly understood that the above objects, features, and advantages of the application Mode is applied the application is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
Many details are explained in the following description in order to fully understand the application.But the application can Implemented with being much different from other way described herein, those skilled in the art can be in the feelings without prejudice to the application intension Similar popularization is done under condition, therefore, the application is not limited by following public specific implementation.
This application provides a kind of text handling methods based on date event, a kind of text-processing based on date event Device and a kind of electronic equipment;A kind of information processing method, a kind of information processing unit and a kind of electronic equipment.It mentions below The method, device and electronic equipment are described in detail for embodiment.
Currently, marketing activity associated with the date has very strong timeliness under electric business scene, such as double 11 live The commercial promotions activities such as dynamic, double 12 activity are the marketing activity for specified time point or time interval, corresponding, with this The documents such as the relevant shopping guide's article of type marketing activity also have very strong timeliness, when beyond the specified time or with When the time interval of the specified time is more remote, the application value of the document relevant to marketing activity can substantially drop It is low, for the document of the type, in the prior art, generally come the command deployment time and showed corresponding according to query analysis Document, but when carrying out non-temporal relevant search, it can still search out and have expired, for the marketing activity institute of strong timeliness The document of publication.Such as: the commodity in relation to double 11 can be led in such a way that query combines default word during double 11 Purchase article is presented to user, but has once crossed after double 11, such as in the search of first month of the lunar year 28, for double 11 commodity Shopping guide's article is it is also possible to searched come out, therefore brings poor user experience.It is provided herein for this problem Technical solution is determined locating for the document by extracting document relevant to temporal information from shopping guide's information text of magnanimity Time phase, showing for document is intervened with this.Guarantee the section of document associated with the date in this way It learns, effectively show.
Before each embodiment of the application is described in detail, first to text involved in technical solution provided herein point Word and weight are briefly described.
Text participle, refers to a word sequence being cut into each individual word.The process of participle is exactly will be continuous Word sequence is reassembled into the process of word sequence according to specific specifications.It is known that English style of writing in, be between word with As nature delimiter, and in the style of writing of Chinese, word, sentence and paragraph can carry out letter by specific delimiter in space It is single to demarcate, a formal delimiter is lacked to divisions of word only, although English is also the same there are the partition problem of phrase, But in this level of the division of word, it is Chinese than complicated more, difficult more of English.
Weight is an opposite concept, for a certain specific indexes.The weight of a certain index refers to this Relative importance of the index in the overall evaluation.Weight, which divides, is divided several evaluation indexes by its significance level, The corresponding weight of one group of assessment indicator system constitutes proportional system.
The application first embodiment provides a kind of text handling method based on date event,
Referring to FIG. 1, it illustrates the text handling methods based on date event of the application first embodiment offer Flow chart.
As shown in Figure 1, the text handling method based on date event includes the following steps:
Step S101 obtains date event associated with the document based on the content of text in document.
The effect of this step is to identify the content of text of document, with obtain in the document with the document Associated date event.
The document is a kind of computer documents, can be used as the container comprising plain text content.At computer operation interface, The document can search for acquisition by keyword from document library, i.e., search main body is available to arrive by input search instruction A number of document with correlation is shown with forming corresponding text set.Under electric business scene, the document can To be the merchandise news searched out in platform or shopping guide's article etc..
Identify the content of text in document, it is most of its object is to obtain date event associated with the document Document corresponding date event can be all embodied in title, if not when directly being embodied on title, may be in text Middle embodiment, therefore, the content of text in the document include at least one of the title of document and the text of document, the knowledge Content of text in other document, the as title to the document and text identify.
As shown in Fig. 2, the content of text based in document, obtains day associated with the document in the present embodiment Phase event the following steps are included:
S1011 carries out text word segmentation processing to the content of text in the document, obtains word segmentation unit;
It is understood that since the difficulty directly identified to one section of character string is higher, it is therefore desirable to first according to word Character string is divided into several short word or individual character by allusion quotation.The content of text in the document carries out text word segmentation processing, It can be realized by specific segmentation methods.In the present embodiment by dictionary add CRF model in the way of carry out at the text participle Reason, such as: word segmentation processing is carried out using title or text of the ALINLP-WS to the document, obtains each word segmentation unit.The mistake Journey is referring to FIG. 3, Fig. 3 shows the schematic diagram for carrying out acquisition word segmentation unit after word segmentation processing to text header.
After obtaining the word segmentation unit, the meaning based on each word segmentation unit is also needed to identify its content.
S1012 is matched the content of the word segmentation unit with predetermined date event identification information, is obtained The date event that the document is included.
The date event identification information refers to the set of pre-set all identification informations relevant to the date, can Be configured with scene according to the difference of the application, such as: under electric business scene, the date event identification information can for for The date event and date event for the public of individual, the date event for individual refer to the birthday of individual, The related lexical information such as wedding anniversary;The date event for the public refer to it is annual specified in some red-letter days letters Breath or information relevant to festival information, the festival information mainly include following three classes: solar calendar red-letter day, lunar calendar red-letter day and rule Then property red-letter day is determined since the temporal information calculation in different red-letter days differs greatly by a given temporal information The calculating in red-letter day is complex, it is possible to it is indicated by using mode that is predefined and enumerating to simplify red-letter day, specifically:
Solar calendar red-letter day: the temporal information in solar calendar red-letter day can be determining by the solar calendar time, such as: Labor Day, 11 National Day (while the promotion red-letter day of the electric business platforms oneself such as double 11, double 12 or 618 is all the set time, therefore this Class red-letter day can directly be set by the solar calendar time);
Lunar calendar red-letter day: the conversion due to not supporting solar calendar and lunar calendar in most of development languages, so need by piece The mode of act specifies the temporal information in corresponding lunar calendar red-letter day, such as: nearly 3 years Spring Festival 2016-02-22,2017-02- 11,2018-03-02;
Systematicness red-letter day: can be specified by way of enumerating, such as: second Sunday in annual May is mother Section, the third Sunday in annual June are Father's Day.
After determining all identification informations relevant to the date, so that it may by determining all marks relevant to the date Information is integrated, and the date event identification information is formed, such as: the birthday;Wedding anniversary;April Fool's Day: 04-01;It is clear and bright Section: 2015-04-05,2016-04-04,2017-04-04,2018-04-05,2019-04-05;Double 11: 11-11;Father Section: 2015-06-21,2016-06-19,2017-06-18,2018-06-17,2019-06-16 etc..
Above-mentioned date event identification information is only schematical, shows only the part red-letter day among 1 year or part needle To the date event of individual, according to the difference of practical application scene and user to other red-letter days or other individual relevant dates The difference of demand, the attention degree of information etc. can also arbitrarily add other date events, be not limited thereto.
The content by the word segmentation unit is matched with predetermined date event identification information, the matching Journey is the process of form control, specifically: after the title and text progress word segmentation processing to document obtain word segmentation unit, Identification character identical with the predetermined date event identification information or character string from the word segmentation unit, if it exists Word segmentation unit is consistent with the content in the date event identification information, then date event corresponding to the word segmentation unit is described The date event that document is included.
S1013, the date event for being included according to the document and preset matching rule, the determining and document Associated date event.
Described to obtain date event associated with the document, being will be according to preset date event set, from text Core date event relevant to the document is identified in the word segmentation unit after word segmentation processing, this step of B is used for from institute It states and filters out date event associated with the document in the date event that document is included, which generally passes through calculating text The respective weights for the date event for including in shelves, the final highest date event of weighted value that retains is as associated with the document Date event.However in the present embodiment, in addition to the method for above-mentioned calculating weight, it can also realize in the following way, specifically: It is extracted and the associated related word segmentation unit of the date event that the document is included from the document;By the related participle Unit is compared with the combining form of date event, with pre-set expression template set;Institute is determined according to comparison result The incidence relation for stating date event and the document that document is included, determines date thing associated with the document with this Part.For example, in articles such as " the big promotion of Shuan Shierfan factory " " double 11 walk, and double 12 is also remote ", " return factory, walk " equal part Word unit can be used as to the associated related word segmentation unit of date event, there are the modifications of certain logic between date event Relationship, the pre-set expression template set be used to store collect in advance to the associated related participle of date event singly Position.
In the present embodiment, the expression template set further include: redundancy template set, the redundancy template set are included Related word segmentation unit and date event have the effect of it is semantic invert, i.e. the combination institute of the correlation word segmentation unit and date event The temporal meaning of expression does not correspond to the date event itself, as shown in above-mentioned " double 11 walk ", expressed by time Meaning does not simultaneously correspond to double 11 in itself.The group of the date event for being included by the related word segmentation unit and the document It closes, be compared with pre-set expression template set, which includes: by the related word segmentation unit and the text The combination for the date event that shelves are included is compared with the redundancy template set, if comparison result is consistent, it is determined that described The date event that document is included is that redundancy date event need to should when determining date event associated with the document The removal of redundancy date event, determines date event associated with the document from remaining date event.
It should be noted that since the title in certain red-letter days is not a word, but multiple contaminations, in above-mentioned step When carrying out text word segmentation processing to the document in rapid S1011, the Combinatorial resolution in the red-letter day can be held, such as: the first month of the lunar year 15 exists Text segment when, be often divided into the first month of the lunar year and 15, and after word segmentation processing, the two words be it is adjacent, described in acquisition During the date event that document is included, " first month of the lunar year " and " 15 " two date events are obtained respectively, therefore, in this step When associated with the document date event of rapid determination, two or more need to be described to the adjacent word segmentation unit on date It is compared with pre-set expression template set, obtains the date thing comprising two or more adjacent word segmentation units Part.For example, adjacent word segmentation unit " first month of the lunar year " and word segmentation unit " 15 " are merged into a word segmentation unit, with it is described in advance really Fixed expression template is matched, to match the date event in " first month of the lunar year 15 ".
Due to the date event identification information can for the date event for individual and for the date event of the public, Therefore, the date event that the document is included is similarly the date event for the date event of individual and for the public, right It answers, the date event associated with the document finally determined is for the date event of individual or for the date of the public One of event.
It please refers to Fig. 4 and understands that the above process, Fig. 4 show acquisition provided in this embodiment and document associations date event Effect picture.
The date event associated with the document is matched with current date, obtains the document by S102 With the incidence relation of current date.
After above-mentioned steps obtain associated with document date event, this step be used for the date event and Between current date establish connection, specifically: the date event is matched with current date, obtain the document with currently The incidence relation on date.
It is described to match the date event associated with the document with current date, the following two kinds can be passed through One of mode is realized: will be compared with the date corresponding to the associated date event of the document, with current date; Date event associated with the document is compareed with the relevant date event of current date.The two methods can be real Now obtain the purpose of the incidence relation of the document and current date.
In the present embodiment selection by the relevant date event of date event associated with the document and current date into The mode of row control realizes the purpose for obtaining the incidence relation of the document and current date.The relevant date of the current date Event refers to assigning specific meanings to current date, generates it with preset specific date event and be associated with, to be formed new Date event.In the present embodiment, the implementation of the process are as follows: by the current date and preset specific date event institute The corresponding date is compared, and the relevant date event of current date is determined according to comparison result.The preset specific date Event can be the date event for the public, such as various public's red-letter days, or such as specified for the date event of individual Some individual birthday.In the present embodiment, the specific date event includes for the date event of the public and for individual Date event.Date corresponding to the specific date event is the life of date public's red-letter day and specified individual Date day or other dates commemoration day.It the date event for individual and its corresponding date, can be from a body prestored It obtains, can also be obtained by other approach in part information.In the present embodiment, the date event and its corresponding for individual Date obtains and the identity information to search main body identifies, for example, platform passes through password verification, fingerprint recognition etc. Authentication means obtain the identity information of search main body, obtain and the search main body by the way that synchronizing information and screening technique are synchronous Relevant all date events, it is birthday date including the search main body and its all affiliated persons (family members, relative, friend), each Kind commemoration day etc..
In the present embodiment, when document is uploaded to platform, the issuing time information of publication the document, i.e., the described text will record Shelves carry itself issuing time information, and the document for certain particular events and set and issue, therefore its There are certain term of validity.So by the relevant date of associated with the document date event and current date It before phase event is matched, also needs to judge as follows: judge between the time between current date and the issuing time information Away from whether more than preset threshold value;If so, determining that the document is document out of date;If it is not, then enter will it is described with it is described The associated date event of document is matched with the relevant date event of current date, obtains the document and current date The step of incidence relation of relevant date event.For example, the preset threshold value is 90 days, if the hair of current date and document Spacing between the cloth time is more than 90 days, it is determined that the document is out of date.
Since the duration of each date event and significance level are different, so also needing to consider each day respectively The warming up period of phase event and duration in red-letter day, in the present embodiment, when each specific date event can continue according to it Between and each stage significance level difference be divided into the phase of issuing in advance, the phase occurs for warming up period and core, also, be directed to the time in advance First threshold, second threshold and core time section is arranged in spacing, for dividing publication phase, warming up period and the core in advance The generation phase.It is described that the current date is compared with the date corresponding to preset specific date event, it is tied according to comparing Fruit determines the relevant date event of current date, including following procedure:
It is pre- to judge whether the time interval between the date corresponding to current date and preset specific date event is less than If first threshold;
If so, continuing to judge the time between the date corresponding to the current date and preset specific date event Whether spacing is less than preset second threshold;
If more than the second threshold, it is determined that the relevant date event of current date is the preset specific date thing The publication phase in advance of part;
If being less than the second threshold, continue to judge whether the current date is in the preset specific date thing The core time of part is in section;
If being in, it is determined that the relevant date event of current date is that the core of the preset specific date event occurs Phase;
If being not at, it is determined that the relevant date event of current date is the preheating of the preset specific date event Phase.
It should be noted that it is above-mentioned issue the phase in advance, the setting of phase and various threshold values occurs for warming up period, core, division, And determine that method is only one of the present embodiment implementation, in concrete application can according to the purposes of specific date event and Property is set, and only need to be haved the function that the duration and the significance level that are able to reflect date event, not made herein It limits, such as the individual birthday, prescribes a time limit in settling period, first 7 days of birthday date can be only set for the emphasis recommendation phase.
It should be noted that the date in red-letter day due to different year is inconsistent, in the relevant date for determining current date It before phase event, needs first to calculate the time locating for the document, which needs to consider the red-letter day across year property, for example, described Specific date event is New Year's Day, and on December 28th, 2016, the document of publication should belong to New Year's Day in 2017, and cannot belong to By 2016.
It is described to be associated the document after the relevant date event for determining the current date through the above process Date event matched with the relevant date event of current date, according to matching result, obtain the document and work as the day before yesterday The incidence relation of phase, if the date event associated with the document, with the relevant date event of current date It is consistent with result, then determines the incidence relation of the document and current date according to the relevant date event of the current date. The implementation of the process are as follows: judge the date event associated with the document, the relevant date with the current date Phase event event topic whether having the same, for example, the relevant date event of the current date includes: Christmas Day preheating Phase, the date event associated with the document are " Christmas Day ", therefore, the date thing associated with the document Part, the relevant date event event topic having the same with the current date: Christmas Day.For another example the current date Relevant date event include: to search for the warming up period of the birthday of main body, entitled " birthday send blessing " with the document, Date event associated with the document is " birthday ", and therefore, the date event associated with the document is worked as with described The relevant date event event topic having the same on preceding date: birthday.
For most documents, when the date event associated with the document has been determined and described has worked as the day before yesterday After the relevant date event event topic having the same of phase, can according to the relevant date event of the current date, really The incidence relation of the fixed document and current date, for example, the date event associated with the document is Christmas Day, institute The relevant date event for stating current date is the core generation phase on Christmas Day, then the incidence relation of the document and current date is Are as follows: under current date, the phase occurs for the core that the document corresponds to the specific date event.However, for the document Relevant date event, itself be a certain date event some stage, such as document it is entitled " Christmas Eve, you What prepares ", the document aims at Christmas Day and issues, and relevant date event is " Christmas Eve ", however, current date Relevant date event be " Christmas Day core occur phase ", " Christmas Eve " is with " phase occurs for Christmas Day core " with phase Same event topic " Christmas Day ", however its matching result is not consistent but.Therefore, for the relevant date event of such document, After its relevant date event event topic having the same with the current date has been determined, also need further to verify two Whether the content of a relevant date event is consistent.
S103 sets displaying scheme according to the incidence relation for the document.
After the incidence relation for obtaining the document and current date through the above steps, this step is used for according to the text The incidence relation of shelves and current date shows scheme for document setting.
The setting displaying scheme refers to before the search of response search main body carries out page presentation, to the text Shelves carry out the processing such as lifting sequence, mark, make the document when being exported, the weight distribution of importance and displayed page It is consistent and provides optimum document according to the Search Requirement of user or identity information for it.
In the present embodiment, showing scheme mainly for document setting includes following two mode: being closed according to the association System and predetermined weight calculation rule, determine the current weight order of the document;It is institute according to the incidence relation Document is stated to be labeled.
It is described according to the incidence relation and predetermined weight calculation rule, determine the document when front row In the mode of sequence weight, the predetermined weight calculation rule refers to carrying out specific date event default red-letter day power Weight parameter, and add/drop power calculation method to the setting of the different phase of specific date event is corresponding.For example, in the present embodiment For part public red-letter day, since the importance in each red-letter day has difference, also have to its preset red-letter day weight parameter Institute's difference, as shown in figure 5, Fig. 5 is red-letter day weight parameter schematic diagram provided in this embodiment.
In the present embodiment, pass through the incidence relation of the document and current date, it may be determined that go out the document and correspond to institute The different phase of specific date event is stated, for example, the specific date event is public's red-letter day, the document likely corresponds to institute State public's red-letter day it is out of date, issue phase or warming up period in advance or the phase occurs for core, it is different corresponding to the different phase Add/drop power calculation method, as shown in Figure 5, if the document corresponds to the out of date of public's red-letter day, calculates the text The weight equation of shelves are as follows: -1* red-letter day weight parameter;If the document corresponds to the publication phase in advance in public's red-letter day, institute The weight for stating document is 0;If the document corresponds to the warming up period in public's red-letter day, the weight equation of the document is calculated Are as follows: (1-fd_diff/ preheat number of days) * red-letter day weight parameter, fd_diff is current date and public's red-letter day institute in the formula Time interval between the corresponding date, if current date is 2016-12-24, public's red-letter day is Christmas Day 2016-12- 25, then the value of fd_diff is the two difference (absolute value) 1;If the phase occurs for the core that the document corresponds to public's red-letter day, Then calculate the weight equation of the document are as follows: 1* red-letter day weight parameter.For example, the specific date event is double ten in 2016 One, the corresponding date are as follows: 2016-11-11, corresponding red-letter day weight parameter are 2, and preheating number of days is 15 days, by step S102 calculate known to document correspond to the warming up period of the specific date event, current date 2016-11-3, then the document Weight are as follows: (1-8/15) * 2=0.93.
After calculating the weight of the document, corresponding lifting sequence is carried out to the document according to the size of the weight Arrangement, it is possible to understand that, if the weight of the document is smaller, descending arrangement is carried out to the document;Same reason, if described The weight of document is larger, then carries out ascending order arrangement to the document.For example, the weight of document be 0, represent to the document without Any processing;The weighted value < 0 of document, then direct descending arrangement;Document > 0 then carries out ascending order arrangement by size.Please refer to figure 6 and Fig. 7 understands that the above process, Fig. 6 show the schematic diagram before being ranked up to text sequence locating for document by weight;Fig. 7 Show the schematic diagram after being ranked up to text sequence locating for document by weight.
Described to be labeled according to the incidence relation for the document, the process is compared to the mistake for calculating weight and sequence Journey is relatively simple, only need to carry out selective mark to the document by practical application, can be according to during responding search Marked content is to show it.
In the above-described embodiment, a kind of text handling method based on date event is provided, is based on the date with above-mentioned The text handling method of event is corresponding, and present invention also provides a kind of text processing apparatus based on date event.Due to The embodiment of device is substantially similar to the embodiment of method, so describing fairly simple, related place is referring to embodiment of the method Part explanation.Installation practice described below is only schematical.
Referring to FIG. 8, it illustrates the schematic diagrames of the text processing apparatus provided in this embodiment based on date event.
The text processing apparatus based on date event, comprising: date event acquiring unit 201, incidence relation obtain Unit 202 shows design of scheme unit 203;
Date event acquiring unit 201, for obtaining day associated with the document based on the content of text in document Phase event;
Incidence relation acquiring unit 202, for will the date event associated with the document and current date into Row matching, obtains the incidence relation of the document and current date;
Displaying scheme setup unit 203, for setting displaying scheme for the document according to the incidence relation.
Optionally, the document searches for acquisition by keyword from document library.
Optionally, the content of text includes at least one of following:
The title of the document;
The text of the document.
Optionally, the content of text based in document obtains date event associated with the document, comprising:
Text word segmentation processing is carried out to the content of text in the document, obtains word segmentation unit;
By the content of the word segmentation unit, is matched with predetermined date event identification information, obtain the text The date event that shelves are included;
The date event for being included according to the document and preset matching rule, determination are associated with the document Date event.
Optionally, the content by the word segmentation unit is matched with predetermined date event identification information, Obtain the date event that the document is included, further includes:
Two or more adjacent word segmentation units for describing the date are compared with pre-set expression template set It is right, obtain the date event comprising two or more adjacent word segmentation units.
Optionally, the date event for being included according to the document and preset matching rule, it is determining with it is described The associated date event of document, comprising:
It is extracted and the associated related word segmentation unit of the date event that the document is included from the document;
Compare by the combining form of the related word segmentation unit and date event, with pre-set expression template set It is right;
According to comparison result, the incidence relation for the date event and the document that the document is included is determined, really with this Fixed date event associated with the document.
Optionally, the pre-set expression template set includes: redundancy template set;
It is corresponding, combining form and the pre-set expression mould by the related word segmentation unit and date event Plate set is compared, comprising:
By the combining form of the related word segmentation unit and date event, it is compared with the redundancy template set;
It is corresponding, it is described that being associated with for date event that the document is included and the document is determined according to comparison result System, comprising:
If comparison result is consistent, it is determined that the date event that the document is included is redundancy date event;
It is corresponding, it is described that date event associated with the document is determined with this, comprising:
The redundancy date event is removed, date thing associated with the document is determined from remaining date event Part.
Optionally, the document carries the issuing time information of itself;Correspondingly, will be described associated with the document Before date event is matched with current date, comprising:
Judge whether the time interval between current date and the issuing time information is more than preset threshold value;
If so, determining that the document is document out of date;
The date event associated with the document is matched with current date if it is not, then entering, obtains institute The step of stating the incidence relation of document and current date.
Optionally, described to match the date event associated with the document with current date, it can pass through As one of under type is realized:
It will be compared with the date corresponding to the associated date event of the document, with current date;
Date event associated with the document is compareed with the relevant date event of current date.
Optionally, described to match the date event associated with the document with current date, it realizes Mode are as follows: compare date event associated with the document with the relevant date event of current date;It is described current The relevant date event on date obtains in the following way:
The current date is compared with the date corresponding to preset specific date event, it is true according to comparison result Determine the relevant date event of current date.
Optionally, the preset specific date event, comprises at least one of the following:
For the date event of the public;
For the date event of individual.
Optionally, the preset specific date event be for individual date event, the specific date event and Its corresponding date is identified according to the identity information to search main body and is obtained.
Optionally, described that the current date is compared with the date corresponding to preset specific date event, root The relevant date event of current date is determined according to comparison result, comprising:
It is pre- to judge whether the time interval between the date corresponding to current date and preset specific date event is less than If first threshold;
If so, continuing to judge the time between the date corresponding to the current date and preset specific date event Whether spacing is less than preset second threshold;
If more than the second threshold, it is determined that the relevant date event of current date is the preset specific date thing The publication phase in advance of part;
If being less than the second threshold, continue to judge whether the current date is in the preset specific date thing The core time of part is in section;
If being in, it is determined that the relevant date event of current date is that the core of the preset specific date event occurs Phase;
If being not at, it is determined that the relevant date event of current date is the preheating of the preset specific date event Phase.
Optionally, described according to the incidence relation, scheme is shown for document setting, including at least one in following Kind:
According to the incidence relation and predetermined weight calculation rule, the current sequence power of the document is determined Weight;
It is that the document is labeled according to the incidence relation.
Optionally, the date event associated with the document, including one of following:
For the date event of the public;
For the date event of individual.
In the above-described embodiment, a kind of text handling method based on date event is provided and a kind of based on the date The text processing apparatus of event, in addition, the application 3rd embodiment additionally provides a kind of electronic equipment;The electronic equipment is implemented Under such as:
Referring to FIG. 9, it illustrates the schematic diagrames of electronic equipment provided in this embodiment.
The electronic equipment, comprising: processor 301;Memory 302;
The memory 302, for storing the text processor based on date event, described program is by the processing When device reads execution, perform the following operations:
Based on the content of text in document, date event associated with the document is obtained;
The date event associated with the document is matched with current date, obtains the document and current The incidence relation on date;
According to the incidence relation, displaying scheme is set for the document.
For example, the electronic equipment is a computer, the computer is based on the content of text in document, acquisition and institute State the associated date event of document;The date event associated with the document is matched with current date, is obtained Take the incidence relation of the document and current date;According to the incidence relation, displaying scheme is set for the document.Due to this Electronic equipment uses the above-mentioned text handling method based on date event, and related place refers to the above-mentioned text based on date event The embodiment for the treatment of method illustrates that details are not described herein again.
The application fourth embodiment provides a kind of information processing method, please refers to Figure 10 and understands the embodiment.Such as Figure 10 It is shown.This method comprises the following steps:
S301 receives the inquiry request for having date event.
This step, which is used to receive, includes the inquiry request of date event from what search main body was inputted, such as searches for master " Christmas Day " that body inputs at electric business query web interface should " Christmas Day " be the inquiry request comprising date event.
The date event can be described for individual for the date event for individual and for the date event of the public Date event refer to the related lexical information such as birthday, wedding anniversary with individual;The date thing for the public Part refer to it is annual specified in some festival informations or information relevant to festival information.It is real specifically to please refer to the application first Apply example.
S302 receives multiple documents associated with the date event.
This step is used to receive returning for responding the inquiry request comprising date event from server end The multiple documents associated with the date event returned, for example, the inquiry request is " Christmas Day ", then the document returned is i.e. For " Christmas gift sends out " " 2017 Christmas soon arrived, it is desirable to pleasantly surprised to follow me " " Christmas is walked, and New Year's Day is also remote " etc. with Christmas Day associated document.
S303 obtains being associated with for the multiple document and current date based on the content of text in the multiple document System.
This step is used in conjunction with the date event and current date, to the text of each document of the multiple document Content is analyzed, and each document of the multiple document and the incidence relation of current date are obtained.Please refer to the application first Step S102 in embodiment understands the step, and details are not described herein.
S304 is the multiple document setup displaying scheme according to the incidence relation.
The multiple document setup displaying scheme, including following two mode: according to the incidence relation and true in advance Fixed weight calculation rule, determines the current weight order of the multiple document;It is the multiple text according to the incidence relation Shelves are labeled.The step S103 please referred in the application first embodiment understands the step, and details are not described herein.
In above-mentioned fourth embodiment, a kind of information processing method is provided, it is corresponding with above- mentioned information processing method , the 5th embodiment of the application additionally provides a kind of information processing unit.Since the embodiment of device is substantially similar to method Embodiment, so describing fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Device described below Embodiment is only schematical.
Figure 11 is please referred to, it illustrates the schematic diagrames of information processing unit provided in this embodiment.
The information processing unit, comprising: inquiry request receiving unit 401, Document Creator unit 402, incidence relation obtain Obtain unit 403, displaying scheme setting unit 404;
Inquiry request receiving unit 401, for receiving the inquiry request for having date event;
Document Creator unit 402, for receiving multiple documents associated with the date event;
Incidence relation obtaining unit 403, for obtaining the multiple document based on the content of text in the multiple document With the incidence relation of current date;
Displaying scheme setting unit 404, for being the multiple document setup displaying scheme according to the incidence relation.
Optionally, the date event includes one of following:
For the date event of the public;
For the date event of individual.
Optionally, described according to the incidence relation, be the multiple document setup displaying scheme, including in following extremely Few one kind:
According to the incidence relation and predetermined weight calculation rule, the current sequence of the multiple document is determined Weight;
It is that the multiple document is labeled according to the incidence relation.
In the above-described embodiment, a kind of information processing method and a kind of information processing unit are provided, in addition, this Shen Please sixth embodiment additionally provide a kind of electronic equipment;The electronic equipment embodiment is as follows:
Figure 12 is please referred to, it illustrates the schematic diagrames of electronic equipment provided in this embodiment.
The electronic equipment, comprising: processor 501;Memory 502;
The memory 502, be used for storing information processing program, described program by the processor read execute when, It performs the following operations:
Receive the inquiry request for having date event;
Receive multiple documents associated with the date event;
Based on the content of text in the multiple document, the incidence relation of the multiple document and current date is obtained;
It is the multiple document setup displaying scheme according to the incidence relation.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
1, computer-readable medium can be by any side including permanent and non-permanent, removable and non-removable media Method or technology realize that information stores.Information can be computer readable instructions, data structure, the module of program or other numbers According to.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to Herein defines, and computer-readable medium does not include non-temporary computer readable media (transitory media), such as modulates Data-signal and carrier wave.
2, it will be understood by those skilled in the art that embodiments herein can provide as the production of method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It can be used moreover, the application can be used in the computer that one or more wherein includes computer usable program code The computer program product implemented on storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Form.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, any this field skill Art personnel are not departing from spirit and scope, can make possible variation and modification, therefore the guarantor of the application Shield range should be subject to the range that the claim of this application defined.

Claims (22)

1. a kind of text handling method based on date event characterized by comprising
Based on the content of text in document, date event associated with the document is obtained;
The date event associated with the document is matched with current date, obtains the document and current date Incidence relation;
According to the incidence relation, displaying scheme is set for the document.
2. the text handling method according to claim 1 based on date event, which is characterized in that the document passes through Keyword searches for acquisition from document library.
3. the text handling method according to claim 2 based on date event, which is characterized in that the content of text packet It includes at least one of following:
The title of the document;
The text of the document.
4. the text handling method according to claim 3 based on date event, which is characterized in that described based in document Content of text, obtain associated with document date event, comprising:
Text word segmentation processing is carried out to the content of text in the document, obtains word segmentation unit;
It by the content of the word segmentation unit, is matched with predetermined date event identification information, obtains the document institute The date event for including;
The date event for being included according to the document and preset matching rule determine day associated with the document Phase event.
5. the text handling method according to claim 4 based on date event, which is characterized in that described by the participle The content of unit is matched with predetermined date event identification information, obtains the date event that the document is included, Further include:
Two or more adjacent word segmentation units for describing the date are compared with pre-set expression template set, are obtained Take the date event comprising two or more adjacent word segmentation units.
6. the text handling method according to claim 4 based on date event, which is characterized in that described according to the text The date event and preset matching rule that shelves are included, determine date event associated with the document, comprising:
It is extracted and the associated related word segmentation unit of the date event that the document is included from the document;
The related word segmentation unit is compared with the combining form of date event, with pre-set expression template set;
According to comparison result, determine the incidence relation of date event that the document is included and the document, with this determine with The associated date event of document.
7. the text handling method according to claim 6 based on date event, which is characterized in that described pre-set Expression template set includes: redundancy template set;
It is corresponding, combining form and the pre-set expression template collection by the related word segmentation unit and date event Conjunction is compared, comprising:
By the combining form of the related word segmentation unit and date event, it is compared with the redundancy template set;
It is corresponding, the incidence relation that date event that the document is included and the document are determined according to comparison result, Include:
If comparison result is consistent, it is determined that the date event that the document is included is redundancy date event;
It is corresponding, it is described that date event associated with the document is determined with this, comprising:
The redundancy date event is removed, date event associated with the document is determined from remaining date event.
8. the text handling method according to claim 1 based on date event, which is characterized in that the document carries certainly The issuing time information of body;Correspondingly, carrying out the date event associated with the document to match it with current date Before, comprising:
Judge whether the time interval between current date and the issuing time information is more than preset threshold value;
If so, determining that the document is document out of date;
The date event associated with the document is matched with current date if it is not, then entering, obtains the text The step of incidence relation of shelves and current date.
9. the text handling method according to claim 1 based on date event, which is characterized in that described by described and institute It states the associated date event of document to be matched with current date, can realize one of in the following way:
It will be compared with the date corresponding to the associated date event of the document, with current date;
Date event associated with the document is compareed with the relevant date event of current date.
10. the text handling method according to claim 1 based on date event, which is characterized in that it is described will it is described with The associated date event of document is matched with current date, implementation are as follows: will be associated with the document Date event is compareed with the relevant date event of current date;The relevant date event of the current date, by as follows Mode obtains:
The current date is compared with the date corresponding to preset specific date event, is worked as according to comparison result determination The relevant date event on preceding date.
11. the text handling method according to claim 10 based on date event, which is characterized in that the preset spy It fixes the date event, comprises at least one of the following:
For the date event of the public;
For the date event of individual.
12. the text handling method according to claim 10 based on date event, which is characterized in that the preset spy Event of fixing the date is the date event for individual, the specific date event and its corresponding date, according to search main body Identity information identified and obtained.
13. the text handling method according to claim 10 based on date event, which is characterized in that described to work as by described in The preceding date is compared with the date corresponding to preset specific date event, and the correlation of current date is determined according to comparison result Date event, comprising:
It is preset to judge whether the time interval between the date corresponding to current date and preset specific date event is less than First threshold;
If so, continuing to judge the time interval between the date corresponding to the current date and preset specific date event Whether preset second threshold is less than;
If more than the second threshold, it is determined that the relevant date event of current date is the preset specific date event The phase is issued in advance;
If being less than the second threshold, continue to judge whether the current date is in the preset specific date event In core time section;
If being in, it is determined that the relevant date event of current date is that the phase occurs for the core of the preset specific date event;
If being not at, it is determined that the relevant date event of current date is the warming up period of the preset specific date event.
14. the text handling method according to claim 1 based on date event, which is characterized in that described according to Incidence relation shows scheme for document setting, including at least one of following:
According to the incidence relation and predetermined weight calculation rule, the current weight order of the document is determined;
It is that the document is labeled according to the incidence relation.
15. the text handling method according to claim 1 based on date event, which is characterized in that the described and text The associated date event of shelves, including one of following:
For the date event of the public;
For the date event of individual.
16. a kind of text processing apparatus based on date event characterized by comprising
Date event acquiring unit, for obtaining date event associated with the document based on the content of text in document;
Incidence relation acquiring unit, for the date event associated with the document to be matched with current date, Obtain the incidence relation of the document and current date;
Displaying scheme setup unit, for setting displaying scheme for the document according to the incidence relation.
17. a kind of electronic equipment characterized by comprising
Processor;
Memory, for storing the text processor based on date event, described program is reading execution by the processor When, it performs the following operations:
Based on the content of text in document, date event associated with the document is obtained;
The date event associated with the document is matched with current date, obtains the document and current date Incidence relation;
According to the incidence relation, displaying scheme is set for the document.
18. a kind of information processing method characterized by comprising
Receive the inquiry request for having date event;
Receive multiple documents associated with the date event;
Based on the content of text in the multiple document, the incidence relation of the multiple document and current date is obtained;
It is the multiple document setup displaying scheme according to the incidence relation.
19. information processing method according to claim 18, which is characterized in that the date event includes one in following Kind:
For the date event of the public;
For the date event of individual.
20. information processing method according to claim 18, which is characterized in that it is described according to the incidence relation, for institute Multiple document setup displaying schemes are stated, including at least one of following:
According to the incidence relation and predetermined weight calculation rule, the current sequence power of the multiple document is determined Weight;
It is that the multiple document is labeled according to the incidence relation.
21. a kind of information processing unit characterized by comprising
Inquiry request receiving unit, for receiving the inquiry request for having date event;
Document Creator unit, for receiving multiple documents associated with the date event;
Incidence relation obtaining unit, for based on the content of text in the multiple document, obtaining the multiple document and current The incidence relation on date;
Displaying scheme setting unit, for being the multiple document setup displaying scheme according to the incidence relation.
22. a kind of electronic equipment characterized by comprising
Processor;
Memory is used for storing information processing program, and described program executes following behaviour when reading execution by the processor Make:
Receive the inquiry request for having date event;
Receive multiple documents associated with the date event;
Based on the content of text in the multiple document, the incidence relation of the multiple document and current date is obtained;
It is the multiple document setup displaying scheme according to the incidence relation.
CN201810150666.3A 2018-02-13 2018-02-13 A kind of text handling method based on date event, device and electronic equipment Pending CN110209918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810150666.3A CN110209918A (en) 2018-02-13 2018-02-13 A kind of text handling method based on date event, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810150666.3A CN110209918A (en) 2018-02-13 2018-02-13 A kind of text handling method based on date event, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110209918A true CN110209918A (en) 2019-09-06

Family

ID=67778637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810150666.3A Pending CN110209918A (en) 2018-02-13 2018-02-13 A kind of text handling method based on date event, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110209918A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990705A (en) * 2019-12-06 2020-04-10 腾讯科技(深圳)有限公司 News processing method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101496009A (en) * 2006-07-31 2009-07-29 微软公司 Temporal ranking of search results
WO2009152441A1 (en) * 2008-06-13 2009-12-17 News Distribution Network, Inc. Searching, sorting, and displaying data files by relevance
CN106656741A (en) * 2016-09-30 2017-05-10 北京奇虎科技有限公司 Information push method and system
JPWO2016148027A1 (en) * 2015-03-18 2017-12-28 日本電気株式会社 Information processing apparatus, ordering support method, and support method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101496009A (en) * 2006-07-31 2009-07-29 微软公司 Temporal ranking of search results
WO2009152441A1 (en) * 2008-06-13 2009-12-17 News Distribution Network, Inc. Searching, sorting, and displaying data files by relevance
JPWO2016148027A1 (en) * 2015-03-18 2017-12-28 日本電気株式会社 Information processing apparatus, ordering support method, and support method
CN106656741A (en) * 2016-09-30 2017-05-10 北京奇虎科技有限公司 Information push method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990705A (en) * 2019-12-06 2020-04-10 腾讯科技(深圳)有限公司 News processing method, device, equipment and medium
CN110990705B (en) * 2019-12-06 2024-04-12 深圳市雅阅科技有限公司 News processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US11100557B2 (en) Travel itinerary recommendation engine using inferred interests and sentiments
JP6381775B2 (en) Information processing system and information processing method
CN104750771B (en) The method and system of context data analysis is carried out using domain information
CN106294500B (en) Content item pushing method, device and system
JP2003140942A (en) Methods, systems, and articles of manufacture for soft hierarchical clustering of co-occurring objects
CN102930048B (en) Use the data rich found automatically with reference to the semanteme with vision data
CN109697239A (en) Method for generating the method for graph text information and for generating image data base
US20220107980A1 (en) Providing an object-based response to a natural language query
CN116628229B (en) Method and device for generating text corpus by using knowledge graph
CN113641707B (en) Knowledge graph disambiguation method, device, equipment and storage medium
Triantafyllou et al. How to Utilize my App Reviews? A Novel Topics Extraction Machine Learning Schema for Strategic Business Purposes
JP7065718B2 (en) Judgment support device and judgment support method
JP2021051368A (en) Provision device, provision method and provision program
CN116882414B (en) Automatic comment generation method and related device based on large-scale language model
KR20200064490A (en) Server and method for automatically generating profile
Lin et al. Beyond discrete genres: Mapping news items onto a multidimensional framework of genre cues
Nanni et al. Semi-supervised textual analysis and historical research helping each other: Some thoughts and observations
CN110209918A (en) A kind of text handling method based on date event, device and electronic equipment
CN115309885A (en) Knowledge graph construction, retrieval and visualization method and system for scientific and technological service
CN114090777A (en) Text data processing method and device
Prathyusha et al. Normalization Methods for Multiple Sources of Data
Evert et al. A distributional approach to open questions in market research
CN106228311B (en) Post processing method and device
Börner et al. Replicable Science of Science Studies
Harth et al. From Data to Human-Readable Requirements: Advancing Requirements Elicitation through Language-Transformer-Enhanced Opportunity Mining

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190906

RJ01 Rejection of invention patent application after publication