Method and equipment for recalling sentence template based on seed sentence
A technology of seed sentences and sentences, which is applied in the field of sentence template recall based on seed sentences, can solve the problems of incorrect sentences and poor diversity of recalled sentences, and achieve the effect of small semantic deviation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] Embodiment 1 of the present invention proposes a method for recalling sentence templates based on seed sentences, such as figure 1 As shown, including the following steps:
[0051] Step 101: Obtain corpus related to the seed sentence whose number exceeds a certain value;
[0052] Specifically, the correlation can be domain-related. For example, the seed sentence "Today's Hunan cuisine is delicious" belongs to the gastronomy domain. From this, the corpus of the gastronomy domain can be obtained that exceeds a certain value; of course, the same is true for other domains, for example It can also be a news sentence, that is, it belongs to the news field and so on. In addition, the more specific numbers, the better. There is only a lower limit, but no upper limit. The more the number is obtained, the more sentence templates will be recalled and the more accurate.
[0053] Step 102: Determine the dependency syntax tree of each sentence in the corpus;
[0054] Specifically, step 102,...
Embodiment 2
[0081] Embodiment 2 of the present invention also proposes a device for recalling sentence templates based on seed sentences, such as Figure 5 Shown, including:
[0082] The obtaining module 201 is used to obtain the corpus related to the seed sentence whose quantity exceeds a certain value;
[0083] The first determining module 202 is configured to determine the dependency syntax tree of each sentence in the corpus;
[0084] The second determining module 203 is configured to recall each sentence in the corpus based on the structure similarity of the dependent syntax tree and the tree structure of the dependent syntax tree of the seed sentence, and set the recalled sentence as an initial sentence template ;
[0085] The third determining module 204 is configured to calculate the correlation between each initial sentence template and the seed sentence, and determine the correlation between each initial sentence template and the seed sentence;
[0086] The selection module 205 is confi...
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