Sports news writing method and device based on natural language and electronic equipment
A technology of natural language and news, applied in the field of devices and electronic equipment, and sports news writing methods, can solve the problems of less information in articles, poor diversity of matching results, and low efficiency of traversal matching strategies, and achieve efficient automatic writing and article information Maximize and reduce the effect of labor cost input
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0075] like figure 1 , in the embodiment of the present application, the present application provides a method for writing sports news based on natural language, the method includes steps:
[0076] Step S101: Obtain the corpus to be processed, event set, slots, and slot values corresponding to each slot.
[0077] In this step, there are many ways to obtain the corpus to be processed, the event set, the slot and the slot value corresponding to each slot. For example, the pre-set corpus to be processed, event set, The slots and the slot values corresponding to each slot can also automatically obtain the preset corpus to be processed, event collection, slots and the slot values corresponding to each slot through the device, and the server can also automatically grab (For example, using a crawler to crawl) the pre-set corpus to be processed, event collection, slots, and slot values corresponding to each slot. This application does not limit this method.
[0078] Step S10...
Embodiment 2
[0093] like figure 2 , in the embodiment of the present application, the acquisition of event sets, slots, and slot values corresponding to each slot in step S101 includes steps:
[0094] Step S201: Obtain a preset amount of sports news corpus.
[0095] In this step, there are many ways to obtain the preset amount of sports news corpus, for example, the preset amount of sports news corpus can be manually input to the device, or the preset amount of sports news corpus can be automatically obtained through the device, or The server can automatically crawl (for example, use a crawler to crawl) a preset amount of sports news corpus, and this application does not limit this method.
[0096] In this step, theoretically, the preset number can be 1 or 100,000, but considering the amount of data processing and the accuracy of the results, the preset number can be selected as 1,000.
[0097] Among them, two sports news corpus are selected for illustration, as follows:
[0098] Spo...
Embodiment 3
[0111] like image 3 , in the embodiment of the present application, after processing the sports news corpus in step S202 to obtain all events, slots and the slot values corresponding to each slot, the steps further include:
[0112] Step S301: Determine whether each event, each slot, and the value of each slot conform to a preset range.
[0113] Step S302: If yes, retain the event, the slot and the value of the slot.
[0114] Step S303: If not, delete the event, slot or slot value.
[0115] After the above steps S301-S303, each event, each slot and the value of each slot in step S202 can be judged to determine whether it meets the preset range, and the operation of elimination or retention can be performed.
[0116] Specifically, the preset range may be a specific numerical value, or it may be a descriptive language. For example, multiple events can be selected from 1000 sports news as "shooting", "goal" and "free throw". As a result, the event of "free throw" can be el...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com