Method for editing text information
The method addresses imperfect speech recognition outputs by generating alternative text using extended and non-text information, improving accuracy and user confidence in correcting speech recognition errors.
Patent Information
- Application Number
- JP2024060562
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-12
- Filing Date
- 2024-04-04
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-04-04
AI Technical Summary
Existing speech recognition technologies produce imperfect transcriptions that require manual correction, lacking efficient methods for identifying and generating alternative text for problematic segments.
A method for identifying problematic text in speech recognition outputs and generating alternative text using extended text and non-text type information, incorporating masking and multiple speech recognition models for high-accuracy proofreading.
Provides reliable and accurate alternative text for problematic speech recognition outputs, enhancing user confidence through high-accuracy text generation and source information integration.
Smart Images

Figure 2024152654000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for correcting text information, and more particularly to a technique for generating alternative text for proofreading problematic text and correcting the text information. [Background technology]
[0002]
[0003] Speech recognition (STT or ASR; Speech To Text, or Automatic Speech Recognition) is a transcription technology that converts speech to text. In other words, STT is a technology that generates text corresponding to speech. The input of STT may include at least one of a speech signal, a spectrogram converted from a speech signal, or a speech feature. The output of STT is text in the form of a string. Meanwhile, STT models can be embodied as various types of models including a neural network model. Also, STT models can be divided into modular and non-modular end-to-end (e2e) models according to the method of implementation. Here, the modularized method may include, but is not limited to, conventional models (e.g., some models in Kaldi toolkit-based ASR, Hybrid-ASR models, etc.) that perform speech recognition by dividing into an acoustic model (a model showing in what form a speech signal can be expressed), a language model (a model that assigns a probability of occurrence to a word based on a given sentence and word), a pronunciation dictionary, etc. On the other hand, a non-modularized method means an e2e model (e.g., a transformer-based encoder decoder model, etc.), and it is possible to generate a model by learning a lot of data without providing a lower module. On the other hand, a representative decoding method is a beam search method, and the beam search method is a method that can take into account all possibilities and considers the entire sentence to find the optimal solution, rather than predicting only one word that is closest to the correct answer depending on the situation.
[0004] On the other hand, the results of speech recognition (STT) that transcribes a user's speech are not perfect, so corrections must be made to the text resulting from speech recognition (STT).
[0005] Korean Patent Publication No. 10-2022-0070709 (2022.05.31) discloses an error correction modeling method in speech recognition using result text and speech features of a speech recognition device. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Republic of Korea Patent Publication No. 10-2022-0070709 (2022.05.31) Summary of the Invention [Problem to be solved by the invention]
[0007] The present disclosure aims to determine problematic text in text information, generate and provide alternative text for proofreading the problematic text, etc. For example, the present disclosure aims to identify problematic text in text information (e.g., text resulting from speech recognition), use document search or an artificial intelligence model to generate alternative text that can proofread (substitute) the problematic text, and provide the alternative text in conjunction with information related to the source of the alternative text.
[0008] However, the technical problems that the present disclosure aims to solve are not limited to the above-mentioned technical problems, and may include a variety of technical problems within the scope that is obvious to a person skilled in the art from the content described below. [Means for solving the problem]
[0009]
[0010] According to an embodiment of the present disclosure to achieve the above object, a method for correcting text information, executed by a computing device, is disclosed, which may include: obtaining the text information; determining problematic text in the text information; generating alternative text for proofreading the problematic text using augmented text related to the problematic text or non-text type information related to the problematic text; and providing information related to the alternative text for proofreading the problematic text.
[0011] In one embodiment, providing information related to an alternative text for proofreading the problematic text may include providing both an alternative text for proofreading the problematic text and information related to a source of the alternative text.
[0012] In one embodiment, the expanded text for the problematic text may include at least one of: text that includes the problematic text and is longer than the problematic text; a sentence that includes the problematic text; or a paragraph that includes the problematic text.
[0013] In one embodiment, the step of determining problematic text in the text information may include masking a portion of an augmented text related to the problematic text that corresponds to the problematic text, and the step of generating alternative text for proofreading the problematic text may include generating alternative text for proofreading the problematic text using the augmented text to which the masking has been applied.
[0014] In one embodiment, generating alternative text for proofreading the problematic text using the augmented text to which the masking has been applied may include searching the augmented text to which the masking has been applied in a search target domain; and generating alternative text for proofreading the problematic text based on results of the search.
[0015] In one embodiment, the searched domain may include at least one of an application, a program, a website, a search engine, or a digital dictionary.
[0016] In one embodiment, the step of generating an alternative text for proofreading the problematic text using the expanded text to which the masking has been applied further includes providing information about the alternative text and information about a source of the alternative text together as a pair, where the information about the source may include information about the search target domain used to generate the alternative text.
[0017] In one embodiment, the step of generating an alternative text for proofreading the problematic text using the augmented text to which the masking has been applied may include the steps of inputting the augmented text to which the masking has been applied into a text generation model; and generating an alternative text for proofreading the problematic text based on an output of the text generation model.
[0018] In one embodiment, obtaining the text information may include performing speech to text (STT) on the speech signal using a speech to text (STT) model to obtain the text information.
[0019] In one embodiment, the step of generating alternative text for proofreading the problematic text may include the steps of inputting non-text type information related to the problematic text into an additional speech recognition model different from the speech recognition model; and generating alternative text for proofreading the problematic text based on the output of the additional speech recognition model.
[0020] In one embodiment, the non-text type information relating to the problematic text may include at least one of the entire speech signal input to the speech recognition model; or a partial speech signal corresponding to the problematic text in the speech signal input to the speech recognition model.
[0021] In one embodiment, the step of determining problematic text in the text information may include at least one of the steps of: acquiring input information related to the problematic text in the text information via a user interface; or determining the text with the lowest confidence level in the text information acquired by the speech recognition (STT) as the problematic text.
[0022] In one embodiment, the method may further include extracting a signal portion in the speech signal corresponding to the alternative text; generating a pair of the extracted signal portion and the alternative text; and using the generated pair as training data for a personalized speech recognition model.
[0023] In one embodiment, providing information related to the alternative text for proofreading the problematic text may include providing evaluation information related to the alternative text.
[0024] In one embodiment, the step of providing evaluation information regarding the alternative text may include at least one of the steps of: scoring the alternative text using a Next Sentence Prediction model; or scoring the alternative text using a Text Entailment model.
[0025] According to an embodiment of the present disclosure for achieving the above object, a computer program stored in a computer-readable storage medium is disclosed. When the computer program is executed on one or more processors, the computer program causes the one or more processors to perform the following operations for correcting text information, which may include: obtaining the text information; determining problematic text in the text information; generating alternative text for proofreading the problematic text using augmented text related to the problematic text or non-text type information related to the problematic text; and providing information related to the alternative text for proofreading the problematic text.
[0026] In one embodiment, providing information related to an alternative text for proofreading the problematic text may include providing both an alternative text for proofreading the problematic text and information related to a source of the alternative text.
[0027] In one embodiment, the expanded text for the problematic text may include at least one of: text that includes the problematic text and is longer than the problematic text; a sentence that includes the problematic text; or a paragraph that includes the problematic text.
[0028] In one embodiment, the operation of determining problematic text in the text information may include an operation of masking a portion of an augmented text related to the problematic text that corresponds to the problematic text, and the operation of generating alternative text for proofreading the problematic text may include an operation of generating alternative text for proofreading the problematic text using the augmented text to which the masking has been applied.
[0029] In one embodiment, generating alternative text for proofreading the problematic text using the augmented text with the masking applied may include searching the augmented text with the masking applied in a search target domain; and generating alternative text for proofreading the problematic text based on results of the search.
[0030] In one embodiment, generating alternative text for proofreading the problematic text using the augmented text to which the masking has been applied may include inputting the augmented text to which the masking has been applied into a text generation model; and generating alternative text for proofreading the problematic text based on an output of the text generation model.
[0031] In one embodiment, the act of obtaining the text information may include an act of performing speech to text (STT) on the speech signal using a speech to text (STT) model to obtain the text information.
[0032] In one embodiment, the operation of generating alternative text for proofreading the problematic text may include the operation of inputting non-text type information related to the problematic text into an additional speech recognition model different from the speech recognition model; and generating alternative text for proofreading the problematic text based on the output of the additional speech recognition model.
[0033] In one embodiment, the non-text type information relating to the problematic text may include at least one of the entire speech signal input to the speech recognition model; or a partial speech signal corresponding to the problematic text in the speech signal input to the speech recognition model.
[0034] In one embodiment, the operation of determining problematic text in the text information may include at least one of the following operations: obtaining input information related to the problematic text in the text information via a user interface; or determining a text with the lowest confidence level in the text information obtained by the speech recognition (STT) as the problematic text.
[0035] In one embodiment, the operations may further include extracting a signal portion in the audio signal that corresponds to the alternative text; generating a pair of the extracted signal portion and the alternative text; and using the generated pair as training data for a personalized speech recognition model.
[0036] In one embodiment, providing information related to the alternative text for proofreading the problematic text may include providing rating information related to the alternative text.
[0037] In one embodiment, the operation of providing evaluation information related to the alternative text may include at least one of the following operations: scoring the alternative text using a Next Sentence Prediction model; or scoring the alternative text using a Text Entailment model.
[0038] To solve the above-mentioned problems, a computing device according to an embodiment of the present disclosure is disclosed, the device includes at least one processor; and a memory, the at least one processor can be configured to: obtain text information; determine problematic text in the text information; generate alternative text for proofreading the problematic text using augmented text related to the problematic text or non-text type information related to the problematic text; and provide information related to the alternative text for proofreading the problematic text.
[0039] In one embodiment, the at least one processor may be configured to provide both alternative text for proofreading the problematic text and information regarding a source of the alternative text.
[0040] In one embodiment, the expanded text for the problematic text may include at least one of: text that includes the problematic text and is longer than the problematic text; a sentence that includes the problematic text; or a paragraph that includes the problematic text.
[0041] In one embodiment, the at least one processor may be configured to: mask portions of the augmented text that correspond to the problematic text; and generate alternative text for proofreading the problematic text using the augmented text to which the masking has been applied.
[0042] In one embodiment, the at least one processor may be configured to: search the expanded text to which the masking has been applied in a search target domain; and based on a result of the search, generate an alternative text for proofreading the problematic text.
[0043] In one embodiment, the at least one processor may be configured to input the augmented text to which the masking has been applied into a text generation model; and generate, based on an output of the text generation model, an alternative text for proofreading the problematic text.
[0044] In one embodiment, the at least one processor may be configured to perform speech to text (STT) on the speech signal using a speech to text (STT) model to obtain the text information.
[0045] In one embodiment, the at least one processor may be configured to input non-text type information related to the problematic text into an additional speech recognition model different from the speech recognition model; and generate alternative text for proofreading the problematic text based on the output of the additional speech recognition model.
[0046] In one embodiment, the non-text type information relating to the problematic text may include at least one of the entire speech signal input to the speech recognition model; or a partial speech signal corresponding to the problematic text in the speech signal input to the speech recognition model.
[0047] In one embodiment, the at least one processor may be configured to: acquire input information related to the problematic text in the text information via a user interface; and determine the text with the lowest confidence in the text information acquired by the speech recognition (STT) as the problematic text.
[0048] In one embodiment, the at least one processor may be further configured to extract a signal portion in the audio signal that corresponds to the alternative text; generate a pair of the extracted signal portion and the alternative text; and use the generated pair as training data for a personalized speech recognition model.
[0049] In one embodiment, the at least one processor may be configured to provide rating information associated with the alternative text.
[0050] In one embodiment, the at least one processor may be configured to score the alternative text using a Next Sentence Prediction model; or to score the alternative text using a Text Entailment model. Effect of the Invention
[0051]
[0052] By providing both alternative text for proofreading problematic text and information related to the source of the alternative text, the present disclosure can provide users with reliable information about proofreading problematic text, thereby improving user convenience.
[0053] In addition, the present disclosure can provide information for proofreading problematic text included in speech recognition (STT; Speech To Text) result text with high accuracy and reliability. For example, the present disclosure can identify a highly accurate alternative text for proofreading problematic text by searching materials using "augmented text related to problematic text" and "masking technology", and can provide a user with high reliability by providing the identified alternative text and a search source together. As another example, the present disclosure can identify a highly accurate alternative text for proofreading problematic text using an additional STT model different from the STT model used to generate the STT result text, and can provide a user with high reliability by providing proofreading information involving multiple STT models. Meanwhile, the effects of the present disclosure are not limited to the above effects, and various effects can be included within a scope obvious to a person skilled in the art from the contents described below. [Brief description of the drawings]
[0054]
[0055] [Figure 1] FIG. 2 is a block diagram of a computing device for modifying text information in accordance with one embodiment of the present disclosure. [Diagram 2] FIG. 1 is a conceptual diagram illustrating a neural network in accordance with an embodiment of the present disclosure. [Diagram 3] FIG. 2 is a block diagram of modules for modifying text information in one embodiment of the present disclosure. [Figure 4] 1 is a flowchart of a method for modifying text information in accordance with one embodiment of the present disclosure. [Diagram 5] FIG. 1 is a simplified generalized diagram of an exemplary computing environment in which embodiments of the present disclosure can be implemented. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0056] Various embodiments will be described below with reference to the drawings. Various descriptions are provided herein to facilitate understanding of the present disclosure. However, it is apparent that such embodiments can be practiced without such specific descriptions.
[0057] As used herein, terms such as "component," "module," and "system" refer to computer-related entities, hardware, firmware, software, a combination of software and hardware, or software execution. For example, a component can be, but is not limited to, a procedure running on a processor, a processor, an object, a thread of execution, a program, and / or a computer. For example, both an application running on a computing device and the computing device can be a component. One or more components can reside within a processor and / or thread of execution. A component can be localized within one computer. A component can be distributed across two or more computers. Such components can also be executed on various computer-readable media having various data structures stored therein. Components can communicate through local and / or remote processes, etc., using signals (e.g., data transmitted over a network such as the Internet to other systems using data and / or signals from one component interacting with other components in a local or distributed system), including, for example, one or more data packets.
[0058] It should be noted that the term "or" is intended to mean an inclusive "or" rather than an exclusive "or." That is, unless otherwise specified and unless otherwise clear from the context, "X utilizes A or B" is intended to mean one of the natural inclusive permutations. That is, if X utilizes A; X utilizes B; or X utilizes both A and B, then "X utilizes A or B" can apply to any of these. Additionally, the term "and / or" as used herein should be understood to refer to and include all possible combinations of one or more of the associated items listed.
[0059] Additionally, the predicate "comprises" and / or the modifier "comprises" should be understood to mean the presence of the feature and / or component in question. However, the predicate "comprises" and / or the modifier "comprises" should be understood not to exclude the presence or addition of one or more other further features, components and / or groups thereof. Additionally, in the present specification and claims, the singular should generally be construed to mean "one or more," unless a specific number is specified or the context is clear to indicate the singular form.
[0060] Furthermore, the term "at least one of A or B" should be interpreted as meaning "a case in which only A is included," "a case in which only B is included," or "a case in which a combination of A and B is included."
[0061] Those skilled in the art should further appreciate that the various exemplary logical blocks, configurations, modules, circuits, means, logic, and algorithm steps described in accordance with the embodiments disclosed herein can be realized by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the various exemplary components, blocks, configurations, means, logic, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the particular application and design limitations of the overall system. Skilled artisans can implement the described functionality in various ways for each particular application. However, such implementation decisions should not be interpreted as departing from the scope of the present disclosure.
[0062] The description of the embodiments set forth herein is provided to enable any person skilled in the art to use or practice the present disclosure. Various modifications to the embodiments will be apparent to those skilled in the art to which the present disclosure pertains. The generic principles defined herein may be applied to other embodiments without departing from the scope of the present disclosure. Thus, the present invention is not limited to the embodiments set forth herein. The present invention is to be accorded the broadest scope consistent with the principles and novel features disclosed herein.
[0063] In this disclosure, the terms network function, artificial neural network, and neural network may be used interchangeably.
[0064]
[0065] FIG. 1 is a block diagram of a computing device for determining significance in speech recognition results (STT; Speech-To-Text) and reference data according to one embodiment of the present disclosure.
[0066] 1 is merely a simplified example, and in one embodiment of the present disclosure, the computer device (100) may include other components for implementing the computing environment of the computer device (100), and the computer device (100) may be configured with only some of the disclosed components.
[0067] The computer device (100) may include a processor (110), a memory (130), and a network unit (150).
[0068] In one embodiment of the present disclosure, the processor (100) may be configured with one or more cores and may include a processor for data analysis and deep learning, such as a computing central processing unit (CPU), a general purpose graphics processing unit (GPGPU), and a tensor processing unit (TPU). The processor (110) may read a computer program stored in the memory (130) and execute data processing for machine learning in one embodiment of the present disclosure. According to one embodiment of the present disclosure, the processor (110) may perform calculations for learning a neural network. In deep learning (DL), the processor (110) may execute calculations for learning a neural network, such as processing input data for learning, extracting features from the input data, calculating errors, and updating the weights of the neural network using backpropagation. At least one of the CPU, GPGPU, and TPU of the processor (110) can process the learning of the network function. For example, the CPU and the GPGPU can both perform the learning of the network function or the classification of data using the network function. In one embodiment of the present disclosure, the processors of multiple computing devices can be used together to perform the learning of the network function or the classification of data using the network function. In one embodiment of the present disclosure, the computer program executed in the computing device can be a program executable by the CPU, the GPGPU, or the TPU.
[0069] In one embodiment of the present disclosure, the memory 130 can store any type of information generated or determined by the processor 110 and any type of information received by the network unit 150.
[0070] In one embodiment of the present disclosure, the memory (130) may include at least one type of storage medium among flash memory type, hard disk type, multimedia card micro type, card type memory (e.g., SD or XD memory, etc.), Random Access Memory (RAM), Static Random Access Memory (SRAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Programmable Read-Only Memory (PROM), magnetic memory, magnetic disk, and optical disk. The computing device (100) may also operate in conjunction with a web storage that performs the storage function of the memory (130) over the Internet. The above description of the memory is merely exemplary, and the present disclosure is not limited thereto.
[0071] In one embodiment of the present disclosure, the network unit (150) can use various wired communication systems such as a Public Switched Telephone Network (PSTN), x Digital Subscriber Line (xDSL), Rate Adaptive DSL (RADSL), Multi Rate DSL (MDSL), Very High Speed DSL (VDSL), Universal Asymmetric DSL (UADSL), High Bit Rate DSL (HDSL), and a local area network (LAN).
[0072] In addition, the network unit (150) in this specification can use various wireless communication systems such as CDMA (Code Division Multi Access), TDMA (Time Division Multi Access), FDMA (Frequency Division Multi Access), OFDMA (Orthogonal Frequency Division Multi Access), SC-FDMA (Single Carrier-FDMA), and other systems.
[0073] The network unit (150) in the present disclosure can be configured regardless of the type of communication, such as wired or wireless, and can be various communication networks such as a short-distance communication network (LAN: Local Area Network), a personal communication network (PAN: Personal Area Network), a wide area communication network (WAN: Wide Area Network), etc. In addition, the network can be the well-known World Wide Web (WWW), or can use wireless transmission technology used for short-distance communication, such as infrared (IrDA: Infrared Data Association) or Bluetooth (registered trademark).
[0074] The techniques described herein can be used in the above networks as well as other networks.
[0075]
[0076] FIG. 2 is a schematic diagram illustrating a network function in one embodiment of the present disclosure.
[0077] Throughout this specification, the terms computational model, neural network, network function, and neural network may be used interchangeably. A neural network is often composed of a collection of interconnected computational units, generally called nodes. Such nodes may also be referred to as neurons. A neural network is composed of at least one or more nodes. The nodes (or neurons) that make up a neural network may be interconnected by one or more links.
[0078] In a neural network, one or more nodes connected via links can form a relationship of input node and output node relative to each other. The concept of input node and output node is relative, and any node that is an output node for one node can be an input node in relation to another node, and vice versa. As mentioned above, the relationship between input node and output node can be established around the link. One or more output nodes can be connected to one input node via links, and vice versa.
[0079] In the relationship between an input node and an output node connected via a link, the data of the output node can be determined based on the data input to the input node. Here, the node interconnecting the input node and the output node can have a weight. The weight can be variable and can be changed by a user or an algorithm so that the neural network performs a desired function. For example, when one or more input nodes are interconnected to one output node by each link, the output node can determine the value of the output node based on the value input to the input node connected to the output node and the weight set to the link corresponding to each input node.
[0080] As mentioned above, in a neural network, one or more nodes are interconnected through one or more links to form a relationship between an input node and an output node in the neural network. In a neural network, the characteristics of the neural network can be determined by the number of nodes and links, the correlation between the nodes and links, and the weight value assigned to each link. For example, if there are two neural networks that have the same number of nodes and links but different link weight values, the two neural networks can be recognized as different.
[0081] A neural network may be composed of a set of one or more nodes. A subset of the nodes in a neural network may form a layer. A portion of the nodes in a neural network may form a layer based on their distance from a first input node. For example, a set of nodes whose distance from a first input node is n may form an n-layer. The distance from the first input node may be defined based on the minimum number of links that must be traversed to reach the node from the first input node. However, this definition of a layer is given arbitrarily for the purpose of explanation, and the configuration of layers in a neural network may be defined in a manner different from that described above. For example, a layer of nodes may be defined based on their distance from a final output node.
[0082] The first input node may refer to one or more nodes in a neural network to which data is directly input without passing through a link in relation to other nodes. Alternatively, the first input node may refer to a node that does not have other input nodes connected via a link in relation between nodes based on links in a neural network. Similarly, the final output node may refer to one or more nodes in a neural network that do not have an output node in relation to other nodes. In addition, the hidden node may refer to a node that is neither a first input node nor a final output node and that constitutes a neural network.
[0083] The neural network according to an embodiment of the present disclosure may be a neural network in which the number of nodes in the input layer is the same as the number of nodes in the output layer, and the number of nodes decreases once and then increases again as the input layer progresses to the hidden layer. The neural network according to an embodiment of the present disclosure may be a neural network in which the number of nodes in the input layer is smaller than the number of nodes in the output layer, and the number of nodes decreases as the input layer progresses to the hidden layer. Furthermore, the neural network according to another embodiment of the present disclosure may be a neural network in which the number of nodes in the input layer is greater than the number of nodes in the output layer, and the number of nodes increases as the input layer progresses to the hidden layer. The neural network according to another embodiment of the present disclosure may be a neural network in which the above-mentioned neural networks are combined.
[0084] Deep neural networks (DNNs) can refer to neural networks that include multiple hidden layers in addition to input and output layers. Deep neural networks can be used to understand the latent structures of data. In other words, they can understand the latent structures of photos, text, videos, audio, and music (e.g., whether an object is in the photo, what is the content and emotion of the text, what is the content and emotion of the audio, etc.). Deep neural networks can include convolutional neural networks (CNNs), recurrent neural networks (RNNs), autoencoders, generative adversarial networks (GANs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), Q networks, U networks, Siamese networks, generative adversarial networks (GANs), etc. The above-mentioned deep neural networks are merely examples and the present disclosure is not limited thereto.
[0085] In one embodiment of the present disclosure, the network function may include an autoencoder. The autoencoder may be a type of artificial neural network for outputting output data similar to input data. The autoencoder may include at least one hidden layer, and an odd number of hidden layers may be disposed between the input and output layers. The number of nodes in each layer may decrease from the number of nodes in the input layer toward an intermediate layer called a bottleneck layer (encode), and may be expanded from the bottleneck layer toward the output layer (symmetrical to the input layer) in a manner symmetrical to the reduction. The autoencoder may perform nonlinear dimensionality reduction. The number of input layers and output layers may correspond to the dimensions after preprocessing of the input data. In the autoencoder structure, the number of nodes in the hidden layer included in the encoder may decrease as it gets farther from the input data. If the number of nodes in the bottleneck layer (the layer with the fewest number of nodes located between the encoder and the decoder) is too small, there is a possibility that a sufficient amount of information may not be transmitted, so it may be maintained at a certain number or more (e.g., more than half of the input layer, etc.).
[0086] A neural network can be trained by at least one of supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. Training a neural network can be a process of providing the neural network with knowledge to perform a specific operation.
[0087] Neural networks can be trained in a direction that minimizes the error of the output. In training a neural network, training data is repeatedly input to the neural network, the error of the neural network output and the target regarding the training data is calculated, and the weight value of each node of the neural network is updated by backpropagating the error of the neural network from the output layer of the neural network to the input layer as a direction to reduce the error. In the case of supervised learning, training data in which the correct answer is labeled is used for each training data (i.e., labeled training data), and in the case of unsupervised learning, the correct answer may not be labeled for each training data. That is, for example, the training data in supervised learning for data classification can be data in which each training data is labeled with a category. The labeled training data is input to the neural network, and the error can be calculated by comparing the output (category) of the neural network with the label of the training data. As another example, in the case of unsupervised learning for data classification, the error can be calculated by comparing the input training data with the output of the neural network. The calculated error is backpropagated in the reverse direction (i.e., from the output layer to the input layer) in the neural network, and the connection weight value of each node in each layer of the neural network can be updated through backpropagation. The amount of change in the connection weight value of each node to be updated can be determined by a learning rate. The calculation of the neural network for the input data and the backpropagation of the error can constitute a learning cycle (epoch). The application method of the learning rate can be changed depending on the number of iterations of the neural network learning cycle. For example, in the early stage of neural network learning, the learning rate can be increased to increase efficiency by allowing the neural network to quickly achieve a certain level of performance, and in the later stage of learning, the learning rate can be decreased to increase accuracy.
[0088] In the training of a neural network, the training data may generally be a subset of the actual data (i.e., data to be processed using the trained neural network), and therefore there may be a training cycle in which the error associated with the training data decreases, but the error associated with the actual data increases. Overfitting is a phenomenon in which errors increase in the actual data due to excessive learning of the training data. For example, a neural network that has learned about cats by looking at a yellow cat may be unable to recognize that it is a cat when it sees a cat of a color other than yellow, which may be a type of overfitting. Overfitting may cause an increase in errors in machine learning algorithms. To prevent overfitting, various optimization methods may be applied. To prevent overfitting, methods such as increasing the training data, regularization, dropout, which deactivates some of the nodes of the network during the training process, and the use of a batch normalization layer may be applied.
[0089]
[0090] The present disclosure relates to a method for correcting problematic text included in text information. Here, the text information may include various types of text, such as text generated by voice recognition, text generated by user input via an electronic device, text stored in a storage device, text displayed on a web page, text displayed on an application, text captured by a photographing device, and text recognized based on image recognition technology. For example, the present disclosure relates to a method for identifying problematic text in text information based on reference information (e.g., confidence of each output text determined by a voice recognition model) or user input, generating alternative text that can proofread (substitute) the problematic text using a document search or an artificial intelligence model, and providing the alternative text in conjunction with information related to the source of the alternative text. In one embodiment, the present disclosure is capable of, when a user specifies problematic text in text information (e.g., a portion containing typos, an unclear word, a portion in which numbers are represented in text, etc.), conducting further search, investigation, or analysis on the portion corresponding to the problematic text, generating alternative text to proofread (substitute) the problematic text, and providing the user with a combination of "alternative result value (alternative text) - source on which the alternative result value is based" in the form of a data pair.
[0091] Furthermore, the present disclosure is a "technology for investigating whether the text is appropriate" for the part of the speech recognition (ASR or STT) result desired by the user, and is a type of invention related to automating data research. In particular, it is characterized by providing alternative text for proofreading problematic text in the speech recognition (STT) result text, and the results of investigating the alternative text in conjunction with its source. Furthermore, the present disclosure provides a more convenient user experience by conducting data research on text information (e.g., speech recognition result text) selected by the user, and providing the user with information related to the alternative text and information related to the source of the alternative text together as a pair.
[0092] In other words, the present disclosure can provide a data search and correction function for the speech recognition result text. In addition, the present disclosure is characterized in that it not only supports simple data search, but also supports the user to select and correct any errors in the transcription due to problems with the performance of the speech recognition (STT).
[0093]
[0094] FIG. 3 is a block diagram of modules for correcting text information in one embodiment of the present disclosure, and FIG. 4 is a flowchart of a method for correcting text information in one embodiment of the present disclosure.
[0095] Referring to FIG. 3 as an example, a computing device (100) may include an input module (10), a pre-processing module (20), an STT module (30), a problematic text determination module (40), a primary text alternative determination module (50), a secondary text alternative determination module (60), an alternative text evaluation module (70), and a feedback receiving module (80). Meanwhile, the modules that may be included in such a computing device (100) may be controlled by a processor (110) or may be executed by the operation of the processor (110). Also, the modules that may be included in the computing device (100) for correcting text information are not limited to the modules described above, and may include additional modules. Exemplary modules for correcting text information are described in more detail below.
[0096]
[0097] 4, a method for correcting text information in an embodiment of the present disclosure may include: acquiring text information (S110), determining problematic text in the text information (S120), generating alternative text for proofreading the problematic text using an augmented text related to the problematic text or non-text type information related to the problematic text (S130), and providing information related to the alternative text for proofreading the problematic text (S140), etc. Also, the method for correcting text information in an embodiment of the present disclosure may be executed by a computing device (100).
[0098]
[0099] According to an embodiment of the present disclosure, the computing device (100) may acquire the text information (S110). Here, the text information may include various types of text, such as text generated by voice recognition, text generated by a user's input via an electronic device, text stored in a storage device, text displayed on a web page, text displayed on an application, text captured by a photographing device, and text recognized based on an image recognition technology. As an example, the computing device (100) may acquire the text information by performing speech recognition (STT) on a voice signal using a speech recognition (STT) model. For example, an input module (10) included in the computing device (100) may acquire an audio file (e.g., a voice signal, a spectrogram or voice features converted from the voice signal) for performing speech recognition (STT). The input module (10) may also acquire text information in units of sentences or paragraphs. In addition, the pre-processing module 20 included in the computing device 100 may perform pre-processing such as speech enhancement or voice activity detection (VAD). As an example, voice activity detection (VAD) is a technique for determining whether voice activity is detected in audio data (audio signal, audio stream, etc.). Before applying speech recognition (STT), pre-processing techniques such as voice activity detection (VAD), noise reduction, and speech enhancement may be applied. For the execution of such VAD, a binary classification algorithm based on supervised learning or a distribution based classification algorithm may be used.In addition, the STT module (30) included in the computing device (100) is capable of performing speech recognition (STT) on the audio file acquired from the input module (10) and generating speech recognition (STT) result text information.
[0100] According to an embodiment, the STT module (30) included in the computing device (100) can perform speech recognition (STT) on a voice signal to obtain the text information. The computing device (100) can also obtain other text information (e.g., text including multiple sentences or paragraphs) other than the result text information generated by the speech recognition (STT). Meanwhile, in the following, for ease of explanation, the present disclosure will be described mainly with reference to an embodiment in which the text information is text information obtained by performing speech recognition (STT) on a voice signal using the STT module (30).
[0101]
[0102] According to an embodiment of the present disclosure, a computing device (100) may determine problematic text in text information (S120). For example, a problematic text determination module (40) included in the computing device (100) may determine problematic text and mask a portion corresponding to the problematic text. For example, the problematic text determination module (40) may obtain input information related to the problematic text in the text information through a user interface. The computing device (100) may provide text information through a user interface and obtain information related to a user's selection (e.g., click, mouse hover, etc.) related to problematic text that needs to be completed (problematic text) through the user interface. The problematic text determination module (40) may also determine a text with the lowest confidence in the text information obtained by the speech recognition (STT) as the problematic text. The problematic text determination module (40) may also mask a portion corresponding to the problematic text in an augmented text related to the problematic text. For example, the problematic text may be masked, and the masked problematic text may not be displayed on the user screen. In addition, the masked expanded text may be used to generate alternative text for proofreading the problematic text, as described below.
[0103] According to one embodiment, the text information may include the sentence "The number of electric vehicles sold in Japan in 2021 was 1 unit of 688". The problematic text determination module (40) may determine "1 unit of 688" as problematic text by i) acquiring input information related to the problematic text in the text information via a user interface, or ii) determining the text with the lowest confidence in the text information acquired by speech recognition (STT) as the problematic text. The problematic text determination module (40) may mask a portion corresponding to the problematic text "1 unit of 688" in "The number of electric vehicles sold in Japan in 2021 was 1 unit of 688", which is an extension text related to the problematic text "1 unit of 688". For example, the problematic text determination module (40) can mask "Junman 681" which corresponds to the problematic text, such as "The number of electric vehicles sold in Korea in 2021 was [ ]." In addition, in the case of numbers, when transcribing in Korean in the STT module (30), the confidence may be low and it may be determined as problematic text. Or, even if the text information obtained by performing speech recognition in the STT module (30) is appropriate (for example, when a speech recognition model trained to transcribe "Junman 681" as "100,000,681" or numbers correctly writes it as 100,681), the user may have doubts about the authenticity of the numbers and select them for further investigation, so that they may be determined as problematic text.
[0104]
[0105] According to an embodiment of the present disclosure, the computing device (100) can generate an alternative text for proofreading the problematic text using an augmented text for the problematic text or non-text type information for the problematic text (S130). Here, the augmented text for the problematic text can include at least one of a text including the problematic text and longer than the problematic text, a sentence including the problematic text, or a paragraph including the problematic text. Also, the non-text type information for the problematic text can include at least one of the entire speech signal input to the speech recognition model, or a partial speech signal corresponding to the problematic text in the speech signal input to the speech recognition model. For example, if the text information is "The number of electric vehicles sold in Japan in 2021 was 1 unit full of 688," and the problematic text is "1 unit full of 688," the computing device (100) can generate alternative text for proofreading the problematic text using at least one of the following non-text type information related to the problematic text: i) "The number of electric vehicles sold in Japan in 2021 was 1 unit full of 688," which is the entire speech signal input into the speech recognition model, or ii) "1 unit full of 688," a partial speech signal corresponding to the problematic text in the speech signal input into the speech recognition model.
[0106] According to an embodiment, a primary alternative text determination module (50) included in the computing device (100) may search the expanded text to which the masking has been applied in a search target domain. As an example, the search target domain may include, but is not limited to, at least one of an application, a program, a website, a search engine, or a digital dictionary. In addition, the primary alternative text determination module (50) may provide information related to the alternative text and information related to a source of the alternative text together as a pair. Here, the information related to the source may include information related to the search target domain used to generate the alternative text.
[0107] For example, the primary alternative text determination module (50) can search for the masked expanded text "The number of electric vehicles sold in Japan in 2021 was [ ]" in the expanded text "The number of electric vehicles sold in Japan in 2021 was 681 units" related to the problematic text "681 units" in the search target domain. The primary alternative text determination module (50) can also generate an alternative text for proofreading the problematic text based on the search results. For example, the primary alternative text determination module (50) can generate "100,681" or "100,681" as an alternative text for proofreading the problematic text "681 units". In addition, the primary alternative text determination module (50) can provide information related to the source of the alternative text (e.g., Google domain information) together with the information related to the alternative text, “one hundred thousand six hundred and eighty-one” or “100681”, as a pair.
[0108] That is, the primary alternative text determination module (50) can generate alternative text by preferentially conducting a document search for a search target domain set by the user among the voice recognition result text obtained by the voice recognition (STT). The primary alternative text determination module (50) can also search the masked expanded text in a "search target domain such as related applications (e.g., YouTube (registered trademark)), websites, search engines, Wikipedia, etc." set by the user, and generate alternative text for proofreading the problematic text. As an example, the search target domain can be a domain set in advance by the user. As an example, the primary alternative text determination module (50) can obtain, in advance via a user interface, an input instructing to search Google among the search target domains, and can obtain information related to the alternative text for proofreading the problematic text and information related to the source of the alternative text as a pair by searching Google for the masked expanded text.
[0109]
[0110] According to an embodiment of the present disclosure, the secondary text alternative determination module (60) included in the computing device (100) can generate alternative text for proofreading the problematic text using various types of text generation models in addition to the search results of the primary text alternative determination module (50). For example, the secondary text alternative determination module (60) can generate alternative text for proofreading the problematic text using at least one of the following text generation models: (1) an additional speech recognition (STT) model, (2) another language model (LM), or (3) a question answering (QA) model.
[0111] First, the secondary alternative text determination module (60) can (1) generate an alternative text for proofreading the problematic text based on an additional speech recognition model. The additional speech recognition (STT) model is a speech recognition (STT) module different from the above-mentioned STT module (30). For example, the secondary alternative text determination module (60) can input non-text type information related to the problematic text into an additional speech recognition model different from the STT module (30). That is, the secondary alternative text determination module (60) can input "the entire speech signal" acquired from the input module (10) into an additional speech recognition model different from the STT module (30) to generate an alternative text for proofreading the problematic text. In addition, the secondary alternative text determination module (60) can extract a speech signal portion related to an augmented text related to the problematic text. For example, the secondary alternative text determination module (60) may input the "audio signal portion of the augmented text of the problematic text" to an additional speech recognition model different from the STT module (30) to generate an alternative text for proofreading the problematic text. In this case, the size of data input for generating the alternative text may be significantly reduced, and the additional speech recognition model may be embodied in the form of a lighter model, and the efficiency of calculation may be further improved. In addition, the augmented text of the problematic text may include at least one of the following: a text that includes the problematic text and is longer than the problematic text, a sentence that includes the problematic text, or a paragraph that includes the problematic text.
[0112] The secondary alternative text determination module (60) can (2) generate an alternative text for proofreading the problematic text based on another language model (LM; Language Model). For example, the secondary alternative text determination module (60) can extract only a sentence including the problematic text. The secondary alternative text determination module (60) can also input the sentence including the problematic text into another language model (LM; Language Model) and generate an alternative text for proofreading the problematic text. Meanwhile, the other language model can include a large language model (LLM; Large Language Model) such as (LM) or ChatGPT.
[0113] The secondary alternative text determination module (60) can generate an alternative text for proofreading the problematic text based on a question answering (QA) model. For example, the secondary alternative text determination module (60) can input text information generated by performing speech recognition (STT) on a speech signal in the STT module (30) and a question such as "What is the most appropriate word to fill in the blank?" into a question answering (QA) model to generate an alternative text for proofreading the problematic text. Note that the blank can correspond to an area where a masking process has been applied to the problematic text.
[0114]
[0115] According to an embodiment of the present disclosure, the alternative text evaluation module (70) included in the computing device (100) can generate evaluation information related to the alternative text for proofreading the problematic text. The text evaluation module (70) can perform scoring to determine whether the alternative text searched in the primary alternative text determination module (50) or the alternative text generated in the secondary alternative text determination module (60) is suitable for proofreading the problematic text.
[0116] According to the embodiment, i) the alternative text evaluation module (70) can score the alternative text using a next sentence prediction model. For example, the alternative text evaluation module (70) can input the alternative text (or the extended alternative text including the alternative text) searched in the primary alternative text determination module (50) and the alternative text (or the extended alternative text including the alternative text) generated in the secondary alternative text determination module (60) together with the preceding sentence, paragraph, or entire text into a next sentence prediction model and perform scoring. That is, the alternative text evaluation module (70) can calculate the probability that each candidate alternative text (or each candidate extended alternative text including each candidate alternative text) is predicted next to the preceding sentence, paragraph, or entire text, and perform scoring based on the probability.
[0117] As an example, in the text information "The number of electric vehicles sold in Japan in 2021 was 681 units," if the problematic text is "681 units," the primary text alternative determination module (50) can determine the alternative text as "100,681," and (1) generate an extended alternative text (e.g., a sentence with the alternative text inserted into a masked area) of "The number of electric vehicles sold in Japan in 2021 was [100,681]." Also, the secondary text alternative determination module (60) can determine the alternative text as "100,681," and (2) generate an extended alternative text (e.g., a sentence with the alternative text inserted into a masked area) of "The number of electric vehicles sold in Japan in 2021 was [100,681]." The alternative text evaluation module (70) can input the generated extended alternative text (1) "The number of electric vehicles sold in Japan in 2021 was [100,681]" and (2) "The number of electric vehicles sold in Japan in 2021 was [100,681]" together with the preceding sentence, paragraph, or entire text into a next sentence prediction model to determine the probability that each candidate extended alternative text, including each candidate alternative text, is predicted and score the candidate extended alternative text based on the probability.
[0118] In addition, ii) the alternative text evaluation module (70) can score the alternative text by using a text entailment model. For example, the alternative text evaluation module (70) can input the alternative text (or the extended alternative text including the alternative text) searched in the primary alternative text determination module (50) and the alternative text (or the extended alternative text including the alternative text) generated in the secondary alternative text determination module (60) together with the preceding sentence, paragraph, or entire text into a text entailment model and perform scoring. In other words, the alternative text evaluation module (70) can determine the probability of how appropriate each candidate alternative text (or each candidate extended alternative text including each candidate alternative text) is as the text following the preceding sentence, paragraph, or entire text, and perform scoring based on the probability.
[0119] As an example, in the text information "The number of electric vehicles sold in Japan in 2021 was 681 units," if the problematic text is "681 units," the primary text alternative determination module (50) can determine the alternative text as "100,681," and (1) generate an extended alternative text (e.g., a sentence with the alternative text inserted into a masked area) of "The number of electric vehicles sold in Japan in 2021 was [100,681]." Also, the secondary text alternative determination module (60) can determine the alternative text as "100,681," and (2) generate an extended alternative text (e.g., a sentence with the alternative text inserted into a masked area) of "The number of electric vehicles sold in Japan in 2021 was [100,681]." The alternative text evaluation module (70) inputs the generated extended alternative text (1) "The number of electric vehicles sold in Japan in 2021 was [100,681]" and (2) "The number of electric vehicles sold in Japan in 2021 was [100,681]" together with the preceding sentence, paragraph, or entire text into a text entailment model to determine the probability of the appropriateness of each candidate extended alternative text, including each candidate alternative text, and score based on the probability. However, the scoring for evaluating the alternative text is for determining candidates for alternative text to be proposed to the user, and can be evaluated by various methods other than the above-mentioned Next Sentence Prediction model and Text Entailment model. As an example, the alternative text can be evaluated based on the ROUGE score, BLEU score, etc., which are often used in the field of natural language processing.
[0120]
[0121] According to an embodiment of the present disclosure, the computing device (100) may provide information related to the alternative text for proofreading the problematic text (S140). As an example, the feedback receiving module (80) included in the computing device (100) may provide only information related to the alternative text for proofreading the problematic text. The computing device (100) may also provide both the alternative text for proofreading the problematic text and information related to a source of the alternative text. As an example, when an alternative text for proofreading the problematic text is searched for in the primary alternative text determination module (50), the feedback receiving module (80) may provide both the alternative text for proofreading the problematic text and information related to a source of the alternative text (e.g., information related to a search domain involved in the generation of the alternative text). In addition, if an alternative text for proofreading the problematic text is generated in the secondary alternative text determination module (60), the feedback receiving module (80) can provide both the alternative text for proofreading the problematic text and information regarding the source of the alternative text (e.g., information regarding the artificial intelligence model involved in generating the alternative text).
[0122]
[0123] According to an embodiment of the present disclosure, the computing device (100) can provide information related to the alternative text for proofreading the problematic text (S140). As an example, the feedback receiving module (80) included in the computing device (100) can provide only information related to the alternative text for proofreading the problematic text when the alternative text for proofreading the problematic text is generated in the secondary alternative text determining module (60). The computing device (100) can also provide both the alternative text for proofreading the problematic text and information related to a source of the alternative text. As an example, the feedback receiving module (80) can provide both the alternative text for proofreading the problematic text and information related to a source of the alternative text when the alternative text for proofreading the problematic text is searched in the primary alternative text determining module (50).
[0124] According to one embodiment, the feedback receiving module (80) can provide the user interface with evaluation information performed in the alternative text evaluation module (70) for the alternative text searched in the primary alternative text determination module (50) and the alternative text generated in the secondary alternative text determination module (60). Meanwhile, the feedback receiving module (80) can provide the user interface with evaluation information performed in the alternative text evaluation module (70) for the alternative text searched in the primary alternative text determination module (50) first. For example, i) the feedback receiving module (80) can provide the user interface with a guide phrase such as "If the desired result is not found in the list, we will generate and suggest alternative text" together with a list of the alternative texts searched in the primary alternative text determination module (50) that have been scored in the alternative text evaluation module (70). In this case, the feedback receiving module (80) can provide information on the alternative text searched in the primary alternative text determination module (50) and information on the source of the alternative text (information on the search target domain used to generate the alternative text) together as a pair. When the user provides feedback on this through the user interface (for example, by clicking a UI such as "generate alternative text"), ii) the secondary alternative text determination module (60) again generates the alternative text for proofreading the problematic text, and the text evaluation module (70) performs scoring based on the alternative text generated in the secondary alternative text determination module (60), and the feedback receiving module (80) can provide the scored list through the user interface.
[0125] According to an embodiment, the feedback receiving module (80) can provide, via a user interface, alternative texts that are ranked high (e.g., top 5) among those scored by the alternative text evaluation module (70). The feedback receiving module (80) can also replace problematic text with alternative text selected by the user based on a user selection input via a user interface. The feedback receiving module (80) can store the alternative text determined based on the user selection in association with a user account, and a pair of the determined alternative text and a corresponding voice signal (audio signal) can be used for training a voice recognition model personalized for each user account in association with the user account. According to an embodiment, the computing device (100) can extract a signal portion corresponding to the alternative text from the voice signal. The computing device (100) can also generate a pair related to the extracted signal portion and the alternative text. The computing device (100) can also use the generated pair as training data for a personalized voice recognition model. In other words, the alternative text selected by the user can serve as a verified ground truth for the portion of the speech signal where the problem occurred (the extracted signal portion), and such pairs can be used as training data to build a personalized speech recognition model for the user.
[0126] In the above description, steps S110 to S140 may be divided into smaller steps or some steps may be integrated to reduce the number of steps, and some steps may be omitted or the order of steps may be changed as necessary, depending on the embodiment of the present application.
[0127]
[0128] In accordance with one embodiment of the present disclosure, a computer-readable storage medium having a data structure stored thereon is disclosed.
[0129] A data structure can refer to the organization, management, and storage of data that allows efficient access and modification of the data. A data structure can refer to the organization of data to solve a specific problem (e.g., data retrieval, data storage, data modification in the shortest time). A data structure can also be defined as a physical or logical relationship between data elements designed to support a specific data processing function. A logical relationship between data elements can include a connection relationship between data elements as thought by a user. A physical relationship between data elements can include an actual relationship between data elements that is physically stored in a computer-readable storage medium (e.g., a hard disk). A data structure can specifically include a collection of data, a relationship between data, and a function or command that can be applied to the data. An effectively designed data structure allows a computing device to perform calculations while minimizing the use of computing device resources. Specifically, a computing device can increase the efficiency of operations, reading, inserting, deleting, comparing, exchanging, and searching through an effectively designed data structure.
[0130] Data structures can be classified into linear data structures and non-linear data structures according to the type of the data structure. A linear data structure can be a structure in which only one piece of data is linked after another. Linear data structures can include lists, stacks, queues, and deques. A list can refer to a series of data sets that are internally ordered. A list can include linked lists. A linked list can be a data structure in which data is linked in a manner in which each piece of data is linked in a row with a pointer. In a linked list, the pointer can contain information about the connection to the next or previous piece of data. A linked list can be expressed as a singly linked list, a doubly linked list, or a circularly linked list depending on the type of the data structure. A stack can be a data list structure that allows limited access to data. A stack can be a linear data structure in which data can be manipulated (e.g., inserted or deleted) only at one end of the data structure. Data stored in a stack can be a LIFO (Last in First Out) data structure in which the last in comes first. A queue is a data structure that allows limited access to data, and unlike a stack, it can be a FIFO (First in First out) data structure where the slowest data is stored is the slowest data is available. A deck can be a data structure that allows data to be processed on both ends of the data structure.
[0131] A nonlinear data structure may be a structure in which multiple pieces of data are concatenated after one piece of data. A nonlinear data structure may include a graph data structure. A graph data structure may be defined by vertices and edges, and the edges may include a line connecting two different vertices. A graph data structure may include a tree data structure. A tree data structure may be a data structure in which a path connecting two different vertices among multiple vertices included in a tree is one data structure. In other words, a graph data structure may be a data structure that does not form a loop.
[0132] Throughout this specification, the terms computation model, neural network, network function, and neural network can be used interchangeably. (Hereinafter, they will be uniformly described as neural network.) The data structure may include a neural network. The data structure including the neural network may be stored in a computer-readable storage medium. The data structure including the neural network may also include data input to the neural network, weights of the neural network, hyperparameters of the neural network, data acquired from the neural network, activation functions associated with each node or layer of the neural network, and a loss function for training the neural network. The data structure including the neural network may include any of the components of the disclosed configurations. That is, the data structure including the neural network may include all or any combination of data input to the neural network, weights of the neural network, hyperparameters of the neural network, data acquired from the neural network, activation functions associated with each node or layer of the neural network, and a loss function for training the neural network. In addition to the above configurations, the data structure including the neural network may include any other information that determines the characteristics of the neural network. Furthermore, the data structure may include all forms of data used or generated in the process of computing the neural network, and is not limited to the above. The computer-readable storage medium may include a computer-readable recording medium and / or a computer-readable transmission medium. A neural network may be comprised of a collection of interconnected computing units, generally referred to as nodes. Such nodes may be referred to as neurons. A neural network is comprised of at least one or more nodes.
[0133] The data structure may include data to be input to the neural network. The data structure including the data to be input to the neural network may be stored in a computer-readable storage medium. The data to be input to the neural network may include training data input during the training process of the neural network and / or input data to be input to the neural network after training has been completed. The data to be input to the neural network may include data that has undergone pre-processing and / or data to be pre-processed. Pre-processing may include a data processing process for inputting data to the neural network. Thus, the data structure may include data to be pre-processed and data generated in pre-processing. The above data structures are merely examples, and the present disclosure is not limited thereto.
[0134] The data structure may include weights of the neural network. (In this specification, weights and parameters may be used interchangeably.) The data structure including the weights of the neural network may be stored in a computer-readable storage medium. The neural network may include a plurality of weights. The weights are variable and may be varied by a user or an algorithm to allow the neural network to perform a desired function. For example, when one or more input nodes are interconnected to an output node by respective links, the output node may determine an output node value based on values input to the input nodes connected to the output node and parameters set for the links corresponding to the respective input nodes. The above data structures are merely examples, and the present disclosure is not limited thereto.
[0135] By way of example and not limitation, the weights may include weights that are variable during the neural network training process and / or weights at which neural network training has been completed. The weights that are variable during the neural network training process may include weights at the start of a learning cycle and / or weights that are variable during a learning cycle. The weights at which neural network training has been completed may include weights at which a learning cycle has been completed. Thus, a data structure including weights of a neural network may include a data structure including weights that are variable during the neural network training process and / or weights at which neural network training has been completed. Thus, the above-mentioned weights and / or combinations of each weight are included in a data structure including weights of a neural network. The above-mentioned data structures are merely exemplary and the present disclosure is not limited thereto.
[0136] The data structure including the neural network weights may be stored in a computer-readable storage medium (e.g., memory, hard disk) after a serialization process. Serialization may be a process of converting a data structure into a form that can be stored in the same or another computing device and later reconstructed and used. The computing device may serialize the data structure and transmit and receive the data over a network. The serialized data structure including the neural network weights may be reconstructed in the same or another computing device through deserialization. The data structure including the neural network weights is not limited to serialization. Furthermore, the data structure including the neural network weights may include a data structure for increasing the efficiency of calculations while minimizing the use of computing device resources (e.g., nonlinear data structures such as B-Tree, Trie, m-way search tree, AVLtree, Red-Black Tree). The above items are merely examples, and the present disclosure is not limited thereto.
[0137] The data structure may include hyper-parameters of the neural network. The data structure including the hyper-parameters of the neural network may be stored in a computer-readable storage medium. The hyper-parameters may be variables that are changed by a user. The hyper-parameters may include, for example, a learning rate, a cost function, a number of learning cycle iterations, weight initialization (e.g., setting a range of weights to be initialized), and the number of Hidden Units (e.g., the number of hidden layers, the number of nodes in the hidden layers). The above data structures are merely examples, and the present disclosure is not limited thereto.
[0138]
[0139] FIG. 5 is a simplified general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure can be implemented.
[0140] Although the present disclosure has been described above as generally being embodied in a computing device, those skilled in the art will appreciate that the present disclosure can also be embodied in combination with computer-executable instructions and / or other program modules capable of being executed on one or more computers and / or as a combination of hardware and software.
[0141] Generally, modules herein include routines, programs, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Additionally, those skilled in the art will appreciate that the methods of the present disclosure can be practiced with other computer system configurations, including single-processor or multi-processor computer systems, minicomputers, mainframe computers, as well as personal computers, handheld computing devices, microprocessor-based or programmable consumer electronics, etc., each of which can operate in conjunction with one or more associated devices.
[0142] The embodiments described in this disclosure may also be practiced in distributed computing environments where certain tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
[0143] A computer includes a variety of computer-readable media. Any medium accessible by a computer can be a computer-readable medium, including volatile and non-volatile media, transitory and non-transitory media, mobile and non-mobile media. By way of example and not limitation, computer-readable media can include computer-readable storage media and computer-readable transmission media. Computer-readable storage media include volatile and non-volatile media, transitory and non-transitory media, mobile and non-mobile media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, DVD (digital video disk) or other optical disk storage devices, magnetic cassettes, magnetic tapes, magnetic disk storage devices or other magnetic storage devices, or any other medium that can be accessed by a computer and used to store information.
[0144] Computer-readable transmission media typically embodies computer-readable instructions, data structures, program modules or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and includes all information delivery media. The term modulated data signal means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, computer-readable transmission media includes wired media, such as a wired network or direct-wired connection, and wireless media, such as acoustic, RF, infrared and other wireless media. Any combination of any of the above media should also be included within the scope of computer-readable transmission media.
[0145] An exemplary environment (1100) for implementing various aspects of the present disclosure is shown including a computer (1102) including a processing unit (1104), a system memory (1106), and a system bus (1108). The system bus (1108) couples system components, including, but not limited to, the system memory (1106), to the processing unit (1104). The processing unit (1104) can be any of a variety of commercially available processors. Dual processors and other multi-processor architectures can also be utilized as the processing unit (1104).
[0146] The system bus (1108) can be any of several types of bus structures that can be further interconnected to a memory bus, a peripheral bus, and a local bus using any of a variety of commercially available bus architectures. The system memory (1106) includes read only memory (ROM) (1110) and random access memory (RAM) (1112). The basic input / output system (BIOS) is stored in non-volatile memory (1110), such as ROM, EPROM, or EEPROM, and contains the basic routines that support the exchange of information between the various components of the computer (1102), such as during start-up. The RAM (1112) can also include high-speed RAM, such as static RAM, for caching data.
[0147] The computer 1102 also includes an internal hard disk drive (HDD) 1114 (e.g., EIDE, SATA) - although the internal hard disk drive 1114 can also be configured for external use in a suitable chassis (not shown) - a magnetic floppy disk drive (FDD) 1116 (e.g., for reading from and writing to a removable diskette 1118), and an optical disk drive 1120 (e.g., for reading from CD-ROM disks 1122 and for reading from and writing to other high capacity optical media such as DVDs). The hard disk drive 1114, magnetic disk drive 1116, and optical disk drive 1120 can be connected to the system bus 1108 by a hard disk drive interface 1124, a magnetic disk drive interface 1126, and an optical drive interface 1128, respectively. The interface (1124) for implementing an external drive includes, for example, at least one or both of the Universal Serial Bus (USB) and IEEE 1394 interface technologies.
[0148] These drives and their associated computer-readable media provide non-volatile storage of data, data structures, computer-executable instructions, and the like. In the case of computer 1102, the drives and media accommodate the storage of any data in a suitable digital format. While the above description of computer-readable storage media refers to HDDs, removable magnetic disks, and removable optical media such as CDs or DVDs, those skilled in the art will appreciate that other types of computer-readable storage media, such as zip drives, magnetic cassettes, flash memory cards, cartridges, and the like, can also be used in the exemplary operating environment, and further that any such media can contain computer-executable instructions for performing the methods of the present disclosure.
[0149] A number of program modules may be stored in the drives and RAM 1112, including an operating system 1130, one or more application programs 1132, other program modules 1134, and program data 1136. All or portions of the operating system, applications, modules, and / or data may also be cached in RAM 1112. It will be appreciated that the present disclosure may be implemented with various commercially available operating systems or combinations of operating systems.
[0150] A user may enter commands and information into the computer 1102 through one or more wired or wireless input devices, such as a keyboard 1138 and a pointing device, such as a mouse 1140. Other input devices (not shown) may include a microphone, an IR remote control, a joystick, a game pad, a stylus pen, a touch screen, and the like. These and other input devices are often connected to the processing unit 1104 through an input device interface 1142 that is connected to the system bus 1108, but may also be connected through other interfaces, such as a parallel port, an IEEE 1394 serial port, a game port, a USB port, an IR interface, and the like.
[0151] A monitor 1144 or other type of display device is also connected to the system bus 1108 through an interface, such as a video adapter 1146. In addition to the monitor 1144, computers typically include other peripheral output devices (not shown), such as speakers, printers, etc.
[0152] The computer 1102 can operate in a networked environment using logical connections to one or more remote computers, such as remote computer(s) 1148, via wired and / or wireless communications. The remote computer(s) 1148 can be a workstation, a server computer, a router, a personal computer, a handheld computer, a microprocessor-based entertainment device, a peer device or other conventional network node, and typically includes many or all of the components depicted for the computer 1102, although for simplicity, only a memory storage device 1150 is illustrated. The logical connections depicted include wired and wireless connections in a local area network (LAN) 1152 and / or larger networks, such as a wide area network (WAN) 1154. Such LAN and WAN networking environments are commonplace in offices and companies and facilitate enterprise-wide computer networks, such as intranets, all of which may connect to a global computer network, such as the Internet.
[0153] When used in a LAN networking environment, the computer 1102 connects to the local network 1152 through a wired and / or wireless communication network interface or adapter 1156. The adapter 1156 can facilitate wired or wireless communication to the LAN 1152, which may also include a wireless access point installed thereon for communicating with the wireless adapter 1156. When used in a WAN networking environment, the computer 1102 can include a modem 1158 or have other means for establishing communications over the WAN 1154, such as connecting to a communications server on the WAN 1154 or through the Internet. The modem 1158, which can be internal or external and can be a wired or wireless device, connects to the system bus 1108 through the serial port interface 1142. In a networked environment, program modules described for computer 1102, or portions thereof, may be stored in a remote memory / storage device 1150. It will be readily appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
[0154] The computer 1102 is operable to communicate with any wireless device or unit that is deployed and operates in wireless communication, such as printers, scanners, desktop and / or handheld computers, portable data assistants (PDAs), communication satellites, any equipment or location associated with a wirelessly detectable tag, and telephones. This includes at least Wi-Fi and Bluetooth wireless technologies. Thus, communication can be in a predefined structure, such as a traditional network, or simply ad hoc communication between at least two devices.
[0155] Wi-Fi (Wireless Fidelity) allows devices to connect to the Internet without being wired. Wi-Fi is a wireless technology like a cell phone that allows such devices, e.g., computers, to send and receive data indoors and outdoors, anywhere within the range of a base station. Wi-Fi networks use IEEE 802.11 (a, b, g, etc.) radio technology to provide secure, reliable, and fast wireless connections. Wi-Fi can be used to connect computers to each other, to the Internet, and to wired networks (using IEEE 802.3 or Ethernet). Wi-Fi networks can operate in the unlicensed 2.4 and 5 GHz radio bands, e.g., at data rates of 11 Mbps (802.11a) or 54 Mbps (802.11b), or in products that include both bands (dual bands).
[0156] Those of ordinary skill in the art will appreciate that information and signals may be represented using any of a variety of different technologies and techniques. For example, the data, instructions, commands, information, signals, bits, symbols, and chips referred to in the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields, etc. or particles, optical fields, etc. or particles, or any combination thereof.
[0157] Those of ordinary skill in the art will appreciate that the various exemplary logic blocks, modules, processors, means, circuits, and algorithm steps described in the description of the embodiments disclosed herein can be implemented by electronic hardware, various forms of program or design code (for convenience, referred to herein as "software"), or a combination of all of these. To clearly illustrate such interoperability of hardware and software, the various exemplary components, blocks, modules, circuits, and steps have been generally described above with a focus on their functionality. Whether such functionality is implemented in hardware or software depends on the design constraints imposed on the particular application and the overall system. Those of ordinary skill in the art will appreciate that the described functionality can be implemented in various ways for each particular application, and such implementation decisions should not be interpreted as departing from the scope of the present disclosure.
[0158] The various embodiments disclosed herein may be implemented by a method, apparatus, or article of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" includes a computer program, carrier, or media accessible by any computer-readable device. For example, computer-readable storage media include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, magnetic strips, etc.), optical disks (e.g., CDs, DVDs, etc.), smart cards, and flash memory devices (e.g., EEPROM, cards, sticks, key drives, etc.). Additionally, the various storage media disclosed herein may include one or more devices and / or other machine-readable media for storing information.
[0159] It should be understood that the particular order or hierarchy of the stages in the processes depicted is an example of an exemplary approach. Based on design priorities, it should be understood that the particular order or hierarchy of the stages in the processes can be rearranged within the scope of the present disclosure. The accompanying method claims provide elements of the various stages in a sample order, but are not meant to be limited to the particular order or hierarchy depicted.
[0160] The description of the illustrated embodiments is provided to enable any person of ordinary skill in the art to which the disclosure pertains to the present disclosure to utilize or practice the present disclosure. Various modifications to such embodiments will be apparent to those of ordinary skill in the art to which the disclosure pertains, and the general principles defined herein may be applied to other embodiments without departing from the scope of the present disclosure. Thus, the present disclosure is not intended to be limited by the embodiments shown herein, but is to be accorded the broadest scope consistent with the principles and novel features disclosed herein.
Claims
1. 1. A method for modifying text information performed by a computing device, comprising: obtaining said text information; determining problematic text in said text information; generating alternative text for proofreading the problematic text using augmented text related to the problematic text or non-text type information related to the problematic text; Scoring the alternative text and providing a list of pairs of information on the scored alternative text and information on a source of the alternative text; and replacing the problematic text with an alternative text selected from the list based on a user selection entered via a user interface. Including, The information about the source includes information about the search domain or artificial intelligence model used to generate the alternative text. method.
2. In claim 1, The expansion text for the problematic text may include: a piece of text that includes the problematic text and is longer than the problematic text; A sentence containing the problematic text; or The paragraph containing the problematic text At least one of the following is included: method.
3. In claim 2, The step of determining problematic text in the text information comprises: masking a portion of the augmented text corresponding to the problematic text; The step of generating alternative text for proofreading the problematic text includes: generating an alternative text for proofreading the problematic text using the augmented text to which the masking has been applied; Including, method.
4. In claim 3, generating an alternative text for proofreading the problematic text using the augmented text to which the masking has been applied, searching the expanded text with the masking applied in the search domain; and generating alternative text for proofreading the problematic text based on results of the search; Including, method.
5. In claim 4, The search target domain is At least one of an application, a program, a website, a search engine, or a digital dictionary; method.
6. In claim 3, generating an alternative text for proofreading the problematic text using the augmented text to which the masking has been applied, inputting the augmented text with the masking applied to a text generation model; and generating an alternative text for proofreading the problematic text based on an output of the text generation model; method.
7. In claim 1, The step of acquiring text information includes: performing speech to text (STT) on the speech signal using a speech to text (STT) model to obtain the text information; Including, method.
8. In claim 7, The step of generating alternative text for proofreading the problematic text includes: inputting non-text type information related to the problematic text into an additional speech recognition model different from the speech recognition model; and generating alternative text for proofreading the problematic text based on the output of the additional speech recognition model; Including, method.
9. In claim 8, Non-text type information relating to the problematic text, the entirety of the speech signal input to the speech recognition model; or A partial speech signal corresponding to the problematic text in the speech signal input to the speech recognition model. At least one of the following is included: method.
10. In claim 7, The step of determining problematic text in the text information comprises: obtaining input information relating to the problematic text in the text information via the user interface; or determining the text with the lowest confidence level in the text information obtained by the speech recognition (STT) as the problematic text; At least one of the following is included: method.
11. In claim 7, The method comprises: extracting a signal portion of the audio signal that corresponds to the alternative text; generating pairs of the extracted signal portions and the alternative text; and using the generated pairs as training data for a personalized speech recognition model. Further comprising: method.
12. In claim 1, The step of scoring the alternative text includes: Scoring the alternative text using a Next Sentence Prediction model; or Scoring the alternative text using a text entailment model. At least one of the following is included: method.
13. A computer program stored on a computer readable storage medium, the computer program, when executed on one or more processors, causing the one or more processors to perform the following operations for modifying text information, the operations comprising: obtaining said text information; determining problematic text in said text information; generating alternative text for proofreading the problematic text using augmented text related to the problematic text or non-text type information related to the problematic text; scoring the alternative text and providing a list of pairs of information on the scored alternative text and information on a source of the alternative text; and replacing the problematic text with an alternative text selected from the list based on a user selection entered via a user interface. Including, The information about the source includes information about the search domain or artificial intelligence model used to generate the alternative text. A computer program stored on a computer readable storage medium.
14. In claim 13, The expansion text for the problematic text may include: a piece of text that includes the problematic text and is longer than the problematic text; A sentence containing the problematic text; or The paragraph containing the problematic text At least one of the following is included: A computer program stored on a computer readable storage medium.
15. In claim 13, The operation of determining problematic text in the text information includes: masking a portion of the augmented text corresponding to the problematic text; The act of generating alternative text for proofreading the problematic text includes: generating an alternative text for proofreading the problematic text using the augmented text to which the masking has been applied; A computer program stored on a computer readable storage medium.
16. In claim 15, The operation of generating an alternative text for proofreading the problematic text using the augmented text to which the masking has been applied includes: searching the expanded text with the masking applied in the search target domain; and generating alternative text for proofreading the problematic text based on results of the search; Including, A computer program stored on a computer readable storage medium.
17. In claim 15, The operation of generating an alternative text for proofreading the problematic text using the augmented text to which the masking has been applied includes: inputting the augmented text with the masking applied to a text generation model; and generating alternative text for proofreading the problematic text based on an output of the text generation model; Including, A computer program stored on a computer readable storage medium.
18. In claim 13, The operation of acquiring the text information includes: performing speech to text (STT) processing on the speech signal using a speech to text (STT) model to obtain the text information; Including, A computer program stored on a computer readable storage medium.
19. In claim 15, The act of scoring the alternative text includes: scoring the alternative text using a Next Sentence Prediction model; or scoring the alternative text using a text entailment model; At least one of the following is included: A computer program stored on a computer readable storage medium.
20. 1. A computing device comprising: At least one processor; and memory; Including, The at least one processor Obtain text information; determining problematic text in the text information; generating alternative text for proofreading the problematic text using augmented text related to the problematic text or non-text type information related to the problematic text; Scoring the alternative text and providing a list of pairs of information on the scored alternative text and information on a source of the alternative text; and configured to replace the problematic text with an alternative text selected from the list based on a user selection entered via a user interface; The information about the source includes information about the search domain or artificial intelligence model used to generate the alternative text. Device.
21. In claim 20, The expansion text for the problematic text may include: a piece of text that includes the problematic text and is longer than the problematic text; A sentence containing the problematic text; or The paragraph containing the problematic text At least one of the following is included: Device.
22. 22. In claim 21, The at least one processor masking a portion of the expanded text corresponding to the problematic text; and further configured to generate, using the augmented text with the masking applied, an alternative text for proofreading the problematic text. Device.
23. In claim 20, The at least one processor and further configured to perform speech to text (STT) on the speech signal using a speech to text (STT) model to obtain the text information. Device.
24. In claim 23, The at least one processor inputting non-text type information related to the problematic text into an additional speech recognition model different from the speech recognition model; and and further configured to generate an alternative text for proofreading the problematic text based on an output of the additional speech recognition model. Device.
25. In claim 23, The at least one processor obtaining input information related to the problematic text in the text information via the user interface; and and determining, in the text information obtained by the speech recognition (STT), a text with a lowest confidence level as the problematic text. Device.
26. In claim 23, The at least one processor extracting a signal portion of the audio signal that corresponds to the alternative text; generating pairs of the extracted signal portions and the alternative text; and and using the generated pairs as training data for a personalized speech recognition model. It consists of additional Device.
27. In claim 20, The at least one processor Scoring the alternative text using a Next Sentence Prediction model; or configured to score the alternative text using a Text Entailment model; Device.
Citation Information
Patent Citations
Recurrence of erroneous recognition preventing device in voice recognition system
JP1998319987A
Voice recognition error correction method, system, and program
JP2004258531A
Speech recognition device and computer program
JP2008058503A
Device, method and system for correcting voice recognition result
JP2010055044A
Display control device, display control method, display control program, and storage medium for storing display control program
JP2017058813A
Cited By
Information processing device and information processing method
WO2026120670A1
Speech conversation system
WO2026204024A1
