Abstract:
A method and an apparatus for generating a journal, which can implement automatic generation of a journal based on data from various sources. The method includes: obtaining a source data set and a journal description data set corresponding to the source data set; calculating an alignment probability between each source data sequence and each journal description data sequence to obtain an alignment probability set; calculating a probability that each journal description data sequence occurs in the journal description data set to obtain an occurrence probability set; determining, according to the alignment probability set and the occurrence probability set and from each journal description data sequence, a target journal description data sequence corresponding to a source data sequence to be translated, and translating the target journal description data sequence into a journal description text.
Abstract:
A method and an apparatus for generating a journal, which can implement automatic generation of a journal based on data from various sources. The method includes: obtaining a source data set and a journal description data set corresponding to the source data set; calculating an alignment probability between each source data sequence and each journal description data sequence to obtain an alignment probability set; calculating a probability that each journal description data sequence occurs in the journal description data set to obtain an occurrence probability set; determining, according to the alignment probability set and the occurrence probability set and from each journal description data sequence, a target journal description data sequence corresponding to a source data sequence to be translated, and translating the target journal description data sequence into a journal description text.
Abstract:
A data processing method and device, where the method includes obtaining target perception data, where the target perception data is any type of the following data, such as image data, video data, or voice data, determining a target scenario to which the target perception data belongs, determining a target perception model corresponding to the target scenario, and computing a recognition result of the target perception data according to the target perception model. According to the data processing method and device, a scenario to which perception data belongs is determined, and a recognition result of the perception data is obtained through computation using a perception model corresponding to the scenario.
Abstract:
A data processing method and device are presented, where the method includes obtaining target perception data, where the target perception data is any type of the following data, such as image data, video data, or voice data, determining a target scenario to which the target perception data belongs, determining a target perception model corresponding to the target scenario, and computing a recognition result of the target perception data according to the target perception model. Therefore, according to the data processing method and device in the embodiments of the present disclosure, a scenario to which perception data belongs is determined, and a recognition result of the perception data is obtained through computation using a perception model corresponding to the scenario, which can reduce computation complexity and therefore can improve data processing efficiency.
Abstract:
A method includes storing documents of different fields, and a relationship between any two documents of different fields, performing word segmentation and stop word removal on the documents of different fields, to obtain a vocabulary data set for the documents of different fields, constructing an incidence matrix between the documents of different fields according to the relationship between the any two documents of different fields, obtaining a topic cluster of the documents of different fields according to the vocabulary data set, obtaining a probability that any topic in the topic cluster appears in any document and a matching weight of the any topic for any two different fields according to the incidence matrix and the topic cluster, and computing a similarity between the any two documents according to the probabilities and the matching weight of the any topic for the fields to which the any two documents belong.
Abstract:
A message presenting method, device, and system relating to the field of computer technologies is provided, so as to resolve a problem in the prior art that an instant message presenting manner is relatively monotonous. The method includes: in embodiments of the present invention, classifying, by a server with regard to a message cluster, M number of messages entered in the message cluster by at least one user, under N number of classification topics, and sending the N number of classification topics and a target message to a client. In the technical solution, with regard to a message cluster, M number of messages entered in the message cluster by at least one user can be classified under N number of classification topics according to a preset classification rule, and the N number of classification topics and a target message can be sent to a client, so that the client can present the N number of classification topics to a user.
Abstract:
A data processing method and device are presented, where the method includes obtaining target perception data, where the target perception data is any type of the following data, such as image data, video data, or voice data, determining a target scenario to which the target perception data belongs, determining a target perception model corresponding to the target scenario, and computing a recognition result of the target perception data according to the target perception model. Therefore, according to the data processing method and device in the embodiments of the present disclosure, a scenario to which perception data belongs is determined, and a recognition result of the perception data is obtained through computation using a perception model corresponding to the scenario, which can reduce computation complexity and therefore can improve data processing efficiency.
Abstract:
A method includes storing documents of different fields, and a relationship between any two documents of different fields, performing word segmentation and stop word removal on the documents of different fields, to obtain a vocabulary data set for the documents of different fields, constructing an incidence matrix between the documents of different fields according to the relationship between the any two documents of different fields, obtaining a topic cluster of the documents of different fields according to the vocabulary data set, obtaining a probability that any topic in the topic cluster appears in any document and a matching weight of the any topic for any two different fields according to the incidence matrix and the topic cluster, and computing a similarity between the any two documents according to the probabilities and the matching weight of the any topic for the fields to which the any two documents belong.
Abstract:
Embodiments of the present invention disclose a method for processing user information, a mobile terminal, and a server. The method includes: collecting, by a mobile terminal, terminal information; obtaining prior probability information of different types of user activities at current time and in the position; and recognizing or forecasting, according to the prior probability information and the terminal information, an activity of a terminal user using the mobile terminal. In the embodiments of the present invention, during the recognition or the forecast, the number of data samples increases, and therefore accuracy of the recognition or the forecast is improved; in addition, a difference between information that is pushed to the terminal user by applying a recognition or forecast result in the embodiments of the present invention and information in which the user is interested is comparatively small, and therefore terminal using experience of the user can be improved.