Data processing method and device, equipment and medium
A data processing and processor technology, applied in electrical digital data processing, natural language data processing, network data retrieval, etc., can solve problems such as low availability, synonyms are not suitable for specified business scenarios, etc., to achieve the effect of improving utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] figure 1 A schematic diagram of a data processing process provided by an embodiment of the present invention, the process includes:
[0026] S101: Acquire a target word included in the to-be-processed sentence collected by the smart device.
[0027] The data processing method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device may be an intelligent device such as a robot, or a server.
[0028] In a practical application scenario, when a user needs to query certain information, a query to be processed may be input to the smart device. Among them, there are many ways for the user to input the to-be-processed sentence, which can be input by inputting voice information, inputting the to-be-processed sentence in the form of text on the display screen of the smart device, or inputting by a picture. In the specific implementation process, flexible settings can be made according to actual needs, which are not speci...
Embodiment 2
[0042] In order to facilitate the acquisition of the synonyms corresponding to the target words, on the basis of the above embodiment, in the embodiment of the present invention, the method further includes:
[0043] If the first synonym of the target word cannot be determined according to the business dictionary, then according to the pre-configured global dictionary, determine the general word matched by the target word, and determine the synonym corresponding to the general word as the second synonym of the target word corresponding to the general word, The global dictionary includes common words applicable to various business scenarios and synonyms corresponding to the common words; and the target synonym is determined according to the second synonym of the target word.
[0044] In the embodiment of the present invention, the manners of obtaining the synonyms of the target words include the following three:
[0045] Method 1: Determine the synonym of the target word accord...
Embodiment 3
[0080] In order to facilitate the acquisition of the target words contained in the statement to be processed, on the basis of the above-mentioned embodiment, in this embodiment of the present invention, acquiring the target words contained in the statement to be processed includes:
[0081] Perform word segmentation processing on the statement to be processed, and determine the word segmentation in the statement to be processed;
[0082] Process the characters in the word segmentation that match any of the preconfigured specified characters;
[0083] The processed word is determined as the target word.
[0084] In a practical application scenario, there may be a large number of specified characters in the obtained statement to be processed, and these specified characters will affect the subsequent determination of target synonyms. Therefore, in this embodiment of the present invention, designated characters, that is, words with low relevance to the user's intention are precon...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


