Method and device for outputting information
The embodiment of the invention discloses a method and a device for outputting information. A specific embodiment of the method comprises the steps of obtaining text information of a to-be-matched image; inputting the text information into a pre-trained classification model to obtain subject words o...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a method and a device for outputting information. A specific embodiment of the method comprises the steps of obtaining text information of a to-be-matched image; inputting the text information into a pre-trained classification model to obtain subject words of the text information; matching the text information with a preset entity list to obtain entity words of the text information; and obtaining a picture matched with the subject word and the entity word from a preset picture library and outputting the picture. According to the method, the related picture can be retrieved quickly and efficiently according to the text content.
本公开的实施例公开了用于输出信息的方法和装置。该方法的一具体实施方式包括:获取待配图的文本信息;将文本信息输入预先训练的分类模型,得到文本信息的主题词;将文本信息与预设的实体列表进行匹配,得到文本信息的实体词;从预设的图片库中获取与主题词和实体词匹配的图片并输出图片。该实施方式能够快速、高效的根据文本内容检索相关图片。 |
---|