Semantic analysis method and system, equipment and readable storage medium
A technology of semantic analysis and storage media, applied in the field of semantic analysis methods, systems, equipment and readable storage media, can solve problems such as the inability to meet the service demands of accurately finding matching information, and achieve the effect of avoiding error propagation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] A semantic parsing method, comprising the following steps:
[0036] Step 1: Collect and clean the data to be processed;
[0037] Specifically, the collection and cleaning of the data to be processed includes the following steps:
[0038] Step 11: collect data to be processed;
[0039] Step 12: Remove duplicate values from the data to be processed;
[0040] Step 13: Remove outliers from the data to be processed;
[0041] Step 14: Remove useless values from the data to be processed;
[0042] Step 15: Build the mapping table and establish the corresponding relationship between the data classification and the mapping table
[0043] Step 2: construct a deep learning model, input the data to be processed into the deep learning model, extract elements from the data to be processed, and obtain the data category of the data to be processed;
[0044] Wherein, the deep learning model includes a serial BERT model and a bidirectional GRU model;
[0045] The objective funct...
Embodiment 2
[0051] Embodiment 2: Semantic parsing of natural language questions.
[0052] First, data collection is carried out. The collected data are: "Missing Persons in Shanghai", "Missing Persons in Shanghai", "Hello", "Missing Persons in America". After using python and other tools to remove duplicates, anomalies, and useless values from the collected data, the "missing persons in Shanghai" are extracted as useful samples, and they are classified into the missing persons table.
[0053] The words in the obtained useful samples are translated into vectors E0, E1,..., E6 by the BERT model. And the E0, E1, ..., E6 are encoded as T0, T1, ..., T6 through the BERT model. Here E0,E1,...,E6 and T0,T1,...,T6 are 768-dimensional numeric vectors.
[0054] Specifically: the BERT model includes an embedding layer and a transformer layer. The embedding layer maps the input question to the word vector, position encoding and sentence encoding respectively, and adds the three vectors bitwise an...
Embodiment 3
[0075] A semantic analysis system includes: a preprocessing module 1, a learning module 2, a mapping module 3 and an analysis module 4.
[0076] The preprocessing module 1 is used to collect and clean the data to be processed; the learning module 2 is used to build a deep learning model, input the data to be processed into the deep learning model, extract elements from the data to be processed, and obtain the The data category of the processing data; the mapping module 3 is used to match the mapping table corresponding to the data category, input the extracted elements into the mapping table for mapping, and obtain the semantic logic corresponding to the data to be processed; the parsing module 4 is used for The parsed data conforming to the semantic logic is matched in the database, and the parsed data is output.
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