hottub.patents
US 12,197,842 B2#2173529 Most CitedActiveUnited States (USPTO)Utility

Text formatter

2Forward Citations (#2173529 Global)
2.0/yrCitation Velocity (#2173529 Global)
0.27Citation PageRank (#2173529 Global)
66Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Methods, systems, and computer programs are presented for formatting raw text. One method includes an operation for accessing raw text comprising words corresponding to one or more sentences. The raw text is lowercase text without any punctuation. Further, the method includes operations for creating a plurality of sub-words corresponding to the raw text, and for generating, by a machine-learning (ML) model, an output for each sub-word based on the created sub-words. The output for each sub-word indicates a formatting operation for the corresponding sub-word. The method further includes an operation for generating, based on the formatting operations in the outputs for the sub-words, formatted text corresponding to the raw text. The formatted text is text with correct grammar, proper punctuation, and proper capitalization according to a meaning of words spoken by a speaker associated with the raw text.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 66 · Forward citations: 2.

Claims (8)

  1. Claim 1Independent Claim

    A method comprising: accessing, by one or more processors, raw text that includes words; determining, by the one or more processors, a plurality of parts of the words based on the words in the raw text; generating, by one or more machine-learning (ML) models, a vector of multiple values among which each value specifies a corresponding formatting operation for a different corresponding part within the determined plurality of parts of the words in the raw text; and generating, by the one or more processors, formatted text based on the generated vector of multiple values among which each value specifies a corresponding formatting operation for a different corresponding part within the determined plurality of parts of the words in the raw text.

  2. Claim 2Depends on #1

    The method of claim 1, wherein: the accessed raw text is unformatted text without any punctuation; an ML model among the one or more ML models is trained to output one or more formatting operations that indicate punctuation to be applied to determined plurality of parts of words; and the generated formatted text is punctuated correctly and capitalized correctly.

  3. Claim 3Depends on #1

    The method of claim 1, wherein: an ML model among the one or more ML models is trained based on training data that includes paragraphs with correct punctuation and correct capitalization.

  4. Claim 4Depends on #1

    The method of claim 1, wherein: the accessed raw text includes a word spelled letter by letter; an ML model among the one or more ML models is trained to output one or more formatting operations that indicate joining spelled letters into words; and the generated formatted text includes a joined word.

  5. Claim 5Depends on #1

    The method of claim 1, wherein: the accessed raw text includes an acronym spelled letter by letter; an ML model among the one or more ML models is trained to output one or more formatting operations that indicate capitalization of acronyms; and the generated formatted text includes a capitalized acronym.

  6. Claim 6Depends on #1

    The method of claim 1, wherein: the accessed raw text includes a phone number; an ML model among the one or more ML models is trained to output one or more formatting operations that indicate formatting of phone numbers; and the generated formatted text includes a formatted phone number.

  7. Claim 7Depends on #1

    The method of claim 1, wherein: the accessed raw text includes a uniform resource locator (URL); an ML model among the one or more ML models is trained to output one or more formatting operations that indicate formatting of URLs; and the generated formatted text includes a formatted URL.

  8. Claim 8Independent Claim

    A system comprising: one or more processors; and a memory storing instructions that, when executed by the one or more processors, cause the system to perform operations comprising: accessing raw text that includes words; determining a plurality of parts of the words based on the words in the raw text; generating, by one or more machine-learning (ML) models, a vector of multiple values among which each value specifies a corresponding formatting operation for a different corresponding part within the determined plurality of parts of the words in the raw text; and generating formatted text based on the generated vector of multiple values among which each value specifies a corresponding formatting operation for a different corresponding part within the determined plurality of parts of the words in the raw text.

Technical Overview & Description

CLAIM OF PRIORITY This Application is a continuation of U.S. application Ser. No. 17/303,279, filed May 26, 2021, which is hereby incorporated by reference in its entirety. TECHNICAL FIELD The subject matter disclosed herein generally relates to methods, systems, and machine-readable storage media for formatting raw text and, more particularly, methods, systems, and machine-readable storage media for formatting text extracted from audio conversations. BACKGROUND Typically, natural language processing (NLP) tools convert the audio from a person talking to a sequence of words. The result is referred to as raw text, which is text without any punctuation or capitalization. For example, the raw text includes a set of lowercase words without commas, periods, semicolons, question marks, etc. The raw text is then converted to formatted text. To properly format the raw text, it is necessary to understand the meaning of the text, because improper formatting may result in text that does not reflect the intention of the speaker. For example, a raw sentence “ the things i love the most are cooking new clothes and not using commas ” should be formatted as, “ The things I love the most are cooking, new clothes, and not using commas. ” However, if commas were improperly placed, or just missing at all, the sentence could be improperly formatted as, “ The things I love the most are cooking new clothes, and not using commas, ” which has a very different meaning. There have been legal cases where the interpretation of contracts hinge on a comma. For example, in 2018, a dairy company in the Portland, Maine settled a court case for $5 million because of a missing comma. What is needed is a text formatter for raw text that formats the text properly according to the intended meaning of the speaker. BRIEF DESCRIPTION OF THE DRAWINGS The appended drawings merely illustrate example embodiments of the present disclosure and cannot be considered as limiting its scope. FIG. 1 is a schematic diag

References Cited — Backward Prior Art (66)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Parr et al.,
  • “
  • Towards a universal code formatter through machine learning
  • ”
  • in Proceedings of the 2016 ACM SIGPLAN International Conference on Software Language Engineering (SLE 2016), Association for Computing Machinery, New York, NY, USA, 137-151. (Year: 2016).
  • Solovyeva et al.,
  • “
  • Comparison of Different Machine Learning Approaches to Text Classification
  • ”
  • 2022 Conference of Russian Young Researchers in Electrical and Electronic Engineering, copyright 2022 IEEE, pp. 1427-1430. (Year: 2022).