The present invention provides a tag processing method and device. In the embodiments of the present invention, through obtaining semantic characteristic data of a resource and then obtaining posterior probabilities of at least one tag sequence of the resource according to the semantic characteristic data of the resource, it is possible to select, based on the posterior probabilities, a tag sequence as a tag set for the resource, and thus realize the purpose of obtaining a plurality of tags for the resource.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A tag processing method, wherein the method comprises: obtaining semantic characteristic data of a resource; obtaining posterior probabilities of at least one tag sequence of the resource according to the semantic characteristic data of the resource; selecting, based on the posterior probabilities, one tag sequence as a tag set for the resource. 2. The method according to claim 1, wherein the step of obtaining semantic characteristic data of a resource comprises: using a pre-constructed convolutional neural network to process the resource, so as to obtain the semantic characteristic data of the resource. 3. The method according to claim 2, wherein the method further comprises: sorting at least one tag contained in each first training sample in a first training sample set based on the occurrences of tags in the first training sample set, so as to obtain a sample sequence of each first training sample; constructing the convolutional neural network based on the sample sequence of each first training sample. 4. The method according to claim 1, wherein the step of obtaining posterior probabilities of at least one tag sequence of the resource according to the semantic characteristic data of the resource comprises: obtaining posterior probabilities of at least one tag sequence of the resource according to the semantic characteristic data of the resource using a pre-constructed recurrent neural network. 5. The method according to claim 4, wherein the method further comprises: sorting at least one tag contained in each second training sample in a second training sample set based on the occurrences of tags in the second training sample set, so as to obtain a sample sequence of each second training sample; obtaining semantic characteristic data of one resource included in each second training sample in the second training sample set; constructing the recurrent neural work based on the sample sequence of each second training sample and the semantic characteristic data of one resource included in each second training sample. 6. The method according to claim 1, wherein the step of selecting, based on the posterior probabilities, one tag sequence as a tag set for the resource comprise: selecting the tag sequence based on the posterior probabilities, from all of the tag sequences of the resource; or selecting the tag sequence based the posterior probabilities, from a portion of the tag sequence of a resource. 7. The method according to claim 1, wherein the resources include images. 8. A device for tag processing, comprising: at least one processor; and a memory storing instructions, which when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising: obtaining semantic characteristic data of a resource; obtaining posterior probabilities of at least one tag sequence of the resource according to the semantic characteristic data of the resource; selecting, based on the posterior probabilities, one tag sequence as a tag set for the resource. 9. The device according to claim 8, wherein the operations of obtaining semantic characteristic data of a resource comprises: using a pre-constructed convolutional neural network to process the resource, so as to obtain the semantic characteristic data of the resource. 10. The device according to claim 9, wherein the operations further comprises: sorting at least one tag contained in each first training sample in a first training sample set based on the occurrences of tags in the first training sample set, so as to obtain a sample sequence of each first training sample; constructing the convolutional neural network based on the sample sequence of each first training sample. 11. The device according to claim 8, wherein the operations of obtaining posterior probabilities of at least one tag sequence of the resource according to the semantic characteristic data of the resource comprises: obtaining posterior probabilities of at least one tag sequence of the resource according to the semantic characteristic data of the resource using a pre-constructed recurrent neural network. 12. The device according to claim 11, wherein the operations further comprises: sorting at least one tag contained in each second training sample in a second training sample set based on the occurrences of tags in the second training sample set, so as to obtain a sample sequence of each second training sample; obtaining semantic characteristic data of one resource included in each second training sample in the second training sample set; constructing the recurrent neural work based on the sample sequence of each second training sample and the semantic characteristic data of one resource included in each second training sample. 13. The device according to claim 8, wherein the operations of selecting, based on the posterior probabilities, one tag sequence as a tag set for the resource comprise: selecting the tag sequence based on the posterior probabilities, from all of the tag sequences of the resource; or selecting the tag sequence based the posterior probabilities, from a portion of the tag sequence of a resource. 14. The device according to claim 8, wherein the resources include images. 15. A nonvolatile computer storage medium, stored with one or more programs, which, when executed by an apparatus, make the apparatus to execute the following: obtaining semantic characteristic data of a resource; obtaining posterior probabilities of at least one tag sequence of the resource according to the semantic characteristic data of the resource; selecting, based on the posterior probabilities, one tag sequence as a tag set for the resource.