Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Statement identification method and device, storage medium and processor

An identification method and sentence technology, applied in the field of information processing, can solve problems such as poor performance of system processing tasks, achieve the effect of solving poor performance and improving system performance

Pending Publication Date: 2020-11-10
ALIBABA GRP HLDG LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a sentence identification method and device, a storage medium and a processor, so as to at least solve the technical problem that the performance of the system processing tasks is not good due to the difficulty of directly mixing and using different labeling data for different tasks

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Statement identification method and device, storage medium and processor
  • Statement identification method and device, storage medium and processor
  • Statement identification method and device, storage medium and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] According to an embodiment of the present invention, an embodiment of a method for sentence identification is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although A logical order is shown in the flowcharts, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0034] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 A block diagram of hardware structure of a computer terminal (or mobile device) for realizing the sentence identification method is shown. Such as figure 1 As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown by 102a, 102b, ..., 102n in the figure) processor 102 (the processor 102 may incl...

Embodiment 2

[0062] According to an embodiment of the present invention, a device for implementing the above sentence identification method is also provided, such as Figure 4 As shown, the device includes:

[0063] A first acquiring unit 401, configured to acquire a statement to be processed;

[0064] The first processing unit 402 is configured to input the sentence to be processed into a target encoder to process and obtain the semantic representation of the sentence to be processed, wherein the target coder is shared by the grammatical error detection task and the grammatical error correction task the encoder;

[0065] The second processing unit 403 is configured to input the semantic representation of the sentence to be processed into the processing model to obtain a processing result, wherein the processing result includes one of the following: a grammatical error detection result and a grammatical error correction result.

[0066] To sum up, in the sentence identification method pr...

Embodiment 3

[0075] Embodiments of the present invention may provide a computer terminal, and the computer terminal may be any computer terminal device in a group of computer terminals. Optionally, in this embodiment, the foregoing computer terminal may also be replaced with a terminal device such as a mobile terminal.

[0076] Optionally, in this embodiment, the foregoing computer terminal may be located in at least one network device among multiple network devices of the computer network.

[0077] In this embodiment, the above-mentioned computer terminal can execute the program code of the following steps in the sentence identification method of the application program: obtain the sentence to be processed; input the sentence to be processed into the target encoder, and process to obtain the semantic representation of the sentence to be processed, wherein, The target encoder is an encoder shared by the grammatical error detection task and the grammatical error correction task; the semanti...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a statement identification method and device, a storage medium and a processor. The method comprises the steps of obtaining a to-be-processed statement; inputting the to-be-processed statement into a target encoder to acquire semantic representation of the to-be-processed statement through processing,wherein the target encoder is an encoder shared by a grammar error detection task and a grammar error correction task; and inputting the semantic representation of the to-be-processed statement into the processing model to obtain a processing result, with the processing result comprising one of a grammar error detection result and a grammar error correction result. The technical problem of poor task processing performance of the system due to the fact that different annotation data of different tasks are difficult to directly mix and use is solved.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to a sentence identification method and device, a storage medium and a processor. Background technique [0002] In the task of grammatical error detection and error correction, in the past, due to different task divisions and specific requirements, there were certain differences in the labeled data. In the grammatical error detection scenario, similar to the spell check in Word, it is only necessary to discover and identify errors in the user's input and give a prompt. Taking this as a requirement, the position and type of errors in some data are marked, for example, the sentence "I like to eat Pingguo" is marked as the fourth word "Pingguo" error. In another grammatical error correction scenario, the user's input needs to be corrected. Based on this requirement, the grammatically correct form of another batch of data is marked, such as the sentence "I like t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/253G06F40/30G06F40/232
Inventor 包祖贻李辰刘恒友李林琳司罗
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products