IP Library › Granted Patent US 10,431,201
Granted Patent B1
US 10,431,201 · App. 15/925,888 · Granted Oct 1, 2019

Analyzing messages with typographic errors due to phonemic spellings using text-to-speech and speech-to-text algorithms

Inventors: Meenal Pore (Nairobi, KE); David Moinina Sengeh (Nairobi, KE)
Assignee: International Business Machines Corporation
G10L13/086G06F17/273G10L15/26
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,431,201
App. No.
15/925,888
Filed
Mar 20, 2018
Granted
Oct 1, 2019
Kind
B1
Examiner
GAY, SONIA L
Art Unit
2657
USPC
704/231
Abstract

Correcting typographical errors in electronic text may include converting a text message containing at least one phonemic spelling of a word into speech by running a text-to-speech application programming interface (API) with the text message as input. The converted speech may be input to a speech-to-text API and the speech-to-text API executed to convert the speech to text. A text file comprising the text may be generated and/or output. The text file automatically contains a corrected version of the phonemic spelling of the word in text message.

Claims (41)

1. A computer-implemented method of correcting typographical errors in electronic text, the method executed by at least one hardware processor, the method comprising:

receiving a text message containing at least one phonemic spelling of a word;

converting the text message into speech by running a text-to-speech application programming interface (API) with the text message as input;

generating an audio file comprising at least the speech;

playing the audio file as an input to a speech-to-text API and executing the speech-to-text API to convert the speech to a text corresponding to the played audio file; and

generating a text file comprising at least the text corresponding to the played audio file,

wherein the text corresponding to the played audio file automatically contains a corrected version of the phonemic spelling of the word in the received text message.

2. The method of claim 1 , further comprising removing special vocabulary from the text message prior to inputting the text message into the text-to-speech API.

3. The method of claim 1 , further comprising selecting the text-to-speech API based on a language accent detected in the text message.

4. The method of claim 3 , wherein the selecting of the text-to-speech API based on a language accent detected in the text message comprises at least inputting the text message to a machine learning model to classify the text message into a geographic location and selecting the text-to-speech API that is mapped to the geographic location.

5. The method of claim 1 , further comprising selecting the speech-to-text API based on a language accent detected in the text message.

6. The method of claim 5 , wherein the selecting of speech-to-text API based on a language accent detected in the text message comprises at least inputting the text message to a machine learning model to classify the text message into a geographic location and selecting the text-to-speech API that is mapped to the geographic location.

7. The method of claim 1 , further comprising training a machine learning model with a training data set comprising at least input strings in international phonemic alphabet and mapped locations, the machine learning model trained to classify geographic locations given an input string comprising at least a phonetically spelled word.

8. The method of claim 7 , wherein the machine learning model comprises at least a convolutional neural network.

9. The method of claim 1 , further comprising selecting the text-to-speech API based on context of the text message.

10. The method of claim 1 , further comprising selecting the speech-to-text API based on context of the text message.

11. A system of correcting typographical errors in electronic text, comprising:

at least one hardware processor;

a memory device coupled with the at least one hardware processor;

the at least one hardware processor operable to at least:

receive a text message containing at least one phonemic spelling of a word;

convert the text message into speech by running a text-to-speech application programming interface (API) with the text message as input;

generate an audio file comprising at least the speech;

play the audio file as an input to a speech-to-text API and execute the speech-to-text API to convert the speech to a text corresponding to the played audio file; and

generate a text file comprising at least the text corresponding to the played audio file,

wherein the text corresponding to the played audio file automatically contains a corrected version of the phonemic spelling of the word in the received text message.

12. The system of claim 11 , wherein the at least one hardware processor is further operable to remove special vocabulary from the text message prior to inputting the text message into the text-to-speech API.

13. The system of claim 11 , wherein the at least one hardware processor is further operable to select the text-to-speech API based on a language accent detected in the text message.

14. The system of claim 13 , wherein the at least one hardware processor selecting the text-to-speech API based on a language accent detected in the text message comprises at least inputting the text message to a machine learning model to classify the text message into a geographic location and selecting the text-to-speech API that is mapped to the geographic location.

15. The system of claim 11 , wherein the at least one hardware processor is operable to select the speech-to-text API based on a language accent detected in the text message.

16. The system of claim 15 , wherein the at least one hardware processor selecting speech-to-text API based on a language accent detected in the text message comprises at least inputting the text message to a machine learning model to classify the text message into a geographic location and selecting the text-to-speech API that is mapped to the geographic location.

17. The system of claim 11 , wherein the at least one hardware processor is further operable to receive a training data set comprising at least input strings in international phonemic alphabet and corresponding locations, and train a machine learning model by running a machine learning algorithm with the training data set, to classify geographic locations given an input string comprising at least a phonetically spelled word.

18. The system of claim 17 , wherein the machine learning model comprises at least a convolutional neural network.

19. A computer program product for correcting typographical errors in electronic text, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions readable by a processor to cause the processor to perform a method comprising:

receiving a text message containing at least one phonemic spelling of a word;

converting the text message into speech by running a text-to-speech application programming interface (API) with the text message as input;

generating an audio file comprising at least the speech;

playing the audio file as an input to a speech-to-text API and executing the speech-to-text API to convert the speech to a text corresponding to the played audio file; and

generating a text file comprising at least the text corresponding to the played audio file,

wherein the text corresponding to the played audio file automatically contains a corrected version of the phonemic spelling of the word in the received text message.

20. The computer program product of claim 19 , wherein the method further comprises selecting the text-to-speech API and the speech-to-text API based on a language accent detected in the text message.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 20, 2018
From: PORE, MEENAL; SENGEH, DAVID MOININA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 045284/0229 →
Cited By (4)
US 12,400,088 US 12,417,361 US 12,423,531 US 12,585,895