Corpus generation method, corpus generation device and intelligent equipment
A technology of corpus and words, which is applied in the field of smart devices and computer-readable storage media, corpus generation devices, and corpus generation methods, and can solve problems such as the large amount of corpus and the impact on the efficiency of intent recognition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] A corpus generation method provided by the embodiment of the present application is described below, please refer to figure 1 , the corpus generation method in the embodiment of the present application includes:
[0029] Step 101, receiving an input sentence;
[0030] In the embodiment of the present application, the smart device may first obtain the input sentence to be recognized, and the above input sentence refers to a sentence input by the user during interaction with the smart device. Optionally, the above-mentioned input sentence may be a sentence input by the user through text; or, the above-mentioned sentence may also be a sentence input by the user through voice, and the input form of the above-mentioned input sentence is not limited here.
[0031] Step 102, carry out entity word recognition to above-mentioned input sentence;
[0032] In the embodiment of the present application, after receiving the above-mentioned input sentence, the smart device will first...
Embodiment 2
[0083] On the basis of the first embodiment above, the second embodiment of the present application provides another corpus generation method, such as figure 2 As shown, the corpus generation method in the embodiment of the present application includes:
[0084] Step 201, receiving an input sentence;
[0085] Step 202, performing entity word recognition on the above-mentioned input sentence;
[0086] Step 203, if there is more than one entity word in the above-mentioned input sentence, then obtain a preset word-slot combination list, the above-mentioned word-slot combination list contains more than one word-slot combination, and each word-slot combination includes at least one word slot;
[0087] Step 204, based on the word slot combinations contained in the above word slot combination list, match and replace more than one entity word contained in the above input sentence to obtain more than one replacement corpus;
[0088] In the embodiment of the present application, the ...
Embodiment 3
[0133] Embodiment 3 of the present application provides a device for generating corpus, which can be integrated into smart devices, such as Figure 4 As shown, the corpus generating device 400 in the embodiment of the present application includes:
[0134] A receiving unit 401, configured to receive an input sentence;
[0135] A recognition unit 402, configured to perform entity word recognition on the above-mentioned input sentence;
[0136] The obtaining unit 403 is used to obtain a preset word slot combination list if there is more than one entity word in the input sentence. The above word slot combination list contains more than one word slot combination, and each word slot combination includes at least one word slot ;
[0137] The generating unit 404 is configured to match and replace more than one entity word contained in the above-mentioned input sentence based on the word-slot combination contained in the above-mentioned word-slot combination list, to obtain more tha...
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