hottub.patents
US 12,645,871 B2#3227127 Most CitedActiveUnited States (USPTO)Utility

Privacy-controlled generation of suggested snippets

0Forward Citations (#3227127 Global)
0.0/yrCitation Velocity (#3227127 Global)
0.00Citation PageRank (#3227127 Global)
12Prior Art Cited
27Claims (3 Indep. · 24 Dep.)
4Drawings / Sheets

Abstract

In one embodiment, a method receives, by a computing device, a text change in a text entry which includes one or more text units. The method may access, using a data store, a record associated with a user identifier which includes one or more top N similar hash values associated with the user identifier. The method may determine one or more hash values by applying a hash function over the one or more text units of the text change. The method may compare each of the one or more hash values to the one or more top N similar hash values. In response to determining a match between at least one of the one or more hash values and the one or more top N similar hash values, the method may determine a phrase suggestion using the text change to visually present on the computing device.

Interactive Citation Constellation Global Citation Ranking

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

Claims (27 — 3 Independent, 24 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method comprising: creating, by a computing device, a first record associated with a user identifier, the first record containing a plurality of hash values, each of the plurality of hash values corresponding to a separate one or more units of text, each of the one or more units of text having been previously input by a user; applying, by a computing device, a similarity function to the plurality of hash values in the first record to determine a level of similarity between each pair of hash values in the plurality of hash values in the first record; determining, by a computing device and based on a result of the applying the similarity function, a top N similar hash values among the plurality of hash values in the first record; creating, by the computing device, a second record that contains the top N similar hash values in association with the user identifier but not all of the plurality of hash values in the first record, wherein the second record is smaller than the first record; receiving, by the computing device, a text change in a text entry input by the user, the text change including one or more text units; accessing, using a data store, the second record associated with a user identifier; determining one or more hash values associated with the text change by applying a hash function over the one or more text units of the text change; comparing each of the one or more hash values associated with the text change to the top N similar hash values in the second record associated with the user identifier; and in response to determining a match between at least one of the one or more hash values associated with the text change and at least one of the top N similar hash values in the second record associated with the user identifier, determining a phrase suggestion for the user to add the text change to the data store for subsequent reuse and visually presenting the phrase suggestion on the computing device.

  2. Claim 2Depends on #1

    The computer-implemented method of claim 1, further comprising: determining a plurality of levels of similarity by periodically applying the similarity function to all pairs of hash values associated with the user identifier in the data store to determine periodically an updated top N similar hash values; and updating the second record or creating a new record in the data store, that associates the updated top N similar hash values with the user identifier.

  3. Claim 3Depends on #2

    The computer-implemented method of claim 2, further comprising ranking the plurality of levels of similarity to select the updated top N similar hash values associated with the user identifier that represent text that the user most frequently uses.

  4. Claim 4Depends on #2

    The computer-implemented method of claim 2, further comprising determining a plurality of distances for all pairs of the hash values associated with the user identifier in the data store.

  5. Claim 5Depends on #4

    The computer-implemented method of claim 4, further comprising determining that two hash values are similar when a distance is less than a predefined threshold.

  6. Claim 6Depends on #5

    The computer-implemented method of claim 5, wherein the distance includes one of a cosine distance, a Euclidean distance, or a Hamming distance.

  7. Claim 7Depends on #1

    The computer-implemented method of claim 1, further comprising: receiving a signal to accept the phrase suggestion from the computing device; and in response to determining the phrase suggestion is accepted, updating the data store by using the phrase suggestion.

  8. Claim 8Depends on #1

    The computer-implemented method of claim 1, further comprising calculating the one or more hash values associated with the text change by using a locality-sensitive hash (LSH) algorithm.

  9. Claim 9Depends on #1

    The computer-implemented method of claim 1, wherein the suggestion is a snippet suggestion to recommend that the computing device creates a snippet based on the phrase suggestion, the method further comprising: sending a snippet suggestion instruction corresponding to the snippet suggestion to the computing device to present to the computing device via a user interface.

  10. Claim 10Independent Claim

    A system comprising: one or more processors; and a memory coupled to the one or more processors comprising instructions, execution of which by the one or more processors causes the system to: create a first record associated with a user identifier, the first record containing a plurality of hash values, each of the plurality of hash values corresponding to a separate one or more units of text, each of the one or more units of text having been previously input by a user; apply a similarity function to the plurality of hash values in the first record to determine a level of similarity between each pair of hash values in the plurality of hash values in the first record; determine, based on a result of applying the similarity function, a top N similar hash values among the plurality of hash values in the first record; create a second record that contains the top N similar hash values in association with the user identifier but not all of the plurality of hash values in the first record, wherein the second record is smaller than the first record; receive, by a computing device, a text change in a text entry input by the user, the text change including one or more text units; access, using a data store, the second record associated with a user identifier; determine one or more hash values associated with the text change by applying a hash function over the one or more text units of the text change; compare each of the one or more hash values associated with the text change to the top N similar hash values in the second record associated with the user identifier; and in response to determining a match between at least one of the one or more hash values associated with the text change and at least one of the top N similar hash values in the second record associated with the user identifier, determine a phrase suggestion for the user to add the text change to the data store for subsequent reuse and visually presenting the phrase suggestion on the computing device.

  11. Claim 11Depends on #10

    The system of claim 10, wherein execution of the instructions by the one or more processors further causes the system to: determine a plurality of levels of similarity by periodically applying the similarity function to all pairs of hash values associated with the user identifier in the data store to determine periodically an updated top N similar hash values; and update the second record or creating a new record in the data store, that associates the updated top N similar hash values with the user identifier.

  12. Claim 12Depends on #11

    The system of claim 11, wherein the processors are further operable when executing the instructions to rank the plurality of levels of similarity to select the updated top N similar hash values associated with the user identifier that represent text that a user associated with the user most frequently uses.

  13. Claim 13Depends on #11

    The system of claim 11, wherein execution of the instructions by the one or more processors further causes the system to implement the similarity function to calculate a plurality of distances for all pairs of the hash values associated with the user identifier in the data store.

  14. Claim 14Depends on #13

    The system of claim 13, wherein execution of the instructions by the one or more processors further causes the system to apply the similarity function to determine that two hash values are similar when a distance is less than a predefined threshold.

  15. Claim 15Depends on #14

    The system of claim 14, wherein the distance includes one of a cosine distance, a Euclidean distance, or a Hamming distance.

  16. Claim 16Depends on #10

    The system of claim 10, wherein execution of the instructions by the one or more processors further causes the system to: receive a signal to accept the phrase suggestion from the computing device; and in response to determining the phrase suggestion is accepted, update the data store by using the phrase suggestion.

  17. Claim 17Depends on #10

    The system of claim 10, wherein execution of the instructions by the one or more processors further causes the system to calculate the one or more hash values associated with the text change by using a locality-sensitive hash (LSH) algorithm.

  18. Claim 18Depends on #10

    The system of claim 10, wherein the suggestion is a snippet suggestion to recommend that the computing device creates a snippet based on the phrase suggestion, and wherein execution of the instructions by the one or more processors further causes the system to: send a snippet suggestion instruction corresponding to the snippet suggestion to the computing device to present to the computing device via a user interface.

  19. Claim 19Independent Claim

    One or more non-transitory computer-readable storage media storing one or more sequences of instructions, execution of which by one or more processors causes the one or more processors to execute: creating a first record associated with a user identifier, the first record containing a plurality of hash values, each of the plurality of hash values corresponding to a separate one or more units of text, each of the one or more units of text having been previously input by a user; applying a similarity function to the plurality of hash values in the first record to determine a level of similarity between each pair of hash values in the plurality of hash values in the first record; determining, based on a result of the applying the similarity function, a top N similar hash values among the plurality of hash values in the first record; creating a second record that contains the top N similar hash values in association with the user identifier but not all of the plurality of hash values in the first record, wherein the second record is smaller than the first record; receiving a text change in a text entry input by the user, the text change including one or more text units; accessing, using a data store, the second record associated with a user identifier, determining one or more hash values associated with the text change by applying a hash function over the one or more text units of the text change; comparing each of the one or more hash values associated with the text change to the top N similar hash values in the second record associated with the user identifier; and in response to determining a match between at least one of the one or more hash values associated with the text change and at least one of the top N similar hash values in the second record associated with the user identifier, determining a phrase suggestion for the user to add the text change to the data store for subsequent reuse and visually presenting the phrase suggestion on a computing device.

  20. Claim 20Depends on #19

    The one or more non-transitory computer-readable storage media of claim 19, wherein execution of the instructions by the one or more processors further causes the one or more processors to execute: determining a plurality of levels of similarity by periodically applying the similarity function to all pairs of hash values associated with the user identifier in the data store to determine periodically an updated top N similar hash values; and updating the second record or creating a new record in the data store, that associates the updated top N similar hash values with the user identifier.

  21. Claim 21Depends on #20

    The one or more non-transitory computer-readable storage media of claim 20, wherein execution of the instructions by the one or more processors further causes the one or more processors to execute: ranking the plurality of levels of similarity to select the updated top N similar hash values associated with the user identifier that represent text that the user most frequently uses.

  22. Claim 22Depends on #20

    The one or more non-transitory computer-readable storage media of claim 20, wherein execution of the instructions by the one or more processors further causes the one or more processors to execute: implementing the similarity function to calculate a plurality of distances for all pairs of the hash values associated with the user identifier in the data store.

  23. Claim 23Depends on #22

    The one or more non-transitory computer-readable storage media of claim 22, wherein execution of the instructions by the one or more processors further causes the one or more processors to execute: applying the similarity function to determine that two hash values are similar when a distance is less than a predefined threshold.

  24. Claim 24Depends on #23

    The one or more non-transitory computer-readable storage media of claim 23, wherein the distance includes one of a cosine distance, a Euclidean distance, or a Hamming distance.

  25. Claim 25Depends on #19

    The one or more non-transitory computer-readable storage media of claim 19, wherein execution of the instructions by the one or more processors further causes the one or more processors to execute: receiving a signal to accept the phrase suggestion from the computing device; and in response to determining the phrase suggestion is accepted, updating the data store by using the phrase suggestion.

  26. Claim 26Depends on #19

    The one or more non-transitory computer-readable storage media of claim 19, wherein execution of the instructions by the one or more processors further causes the one or more processors to execute: calculating the one or more hash values associated with the text change by using a locality-sensitive hash (LSH) algorithm.

  27. Claim 27Depends on #19

    The one or more non-transitory computer-readable storage media of claim 19, wherein the suggestion is a snippet suggestion to recommend that the computing device creates a snippet based on the phrase suggestion, and wherein execution of the instructions by the one or more processors further causes the one or more processors to execute: sending a snippet suggestion instruction corresponding to the snippet suggestion to the computing device to present to the computing device via a user interface.

Technical Overview & Description

BENEFIT CLAIM This application claims the benefit under 35 U.S.C. § 119 of provisional application 63/410,972, filed Sep. 28, 2022, the entire contents of which are hereby incorporated by reference for all purposes as if fully set forth herein. COPYRIGHT NOTICE A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright or rights whatsoever. © 2022-2023 Grammarly, Inc. TECHNICAL FIELD One technical field of the present disclosure is computer-implemented natural language processing via artificial intelligence and machine learning. Another technical field is computer-implemented writing support tools. BACKGROUND The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Some domains of writing, such as business writing and technical writing, may require the writer to write identical or similar clauses, phrases, or sentences repeatedly in different communications directed to different recipients. Computers have become ubiquitous in these domains, and the manual keyboard continues to comprise the primary input device of the user. Consequently, writing identical or similar clauses, phrases, or sentences repeatedly can be physically taxing as well as mentally tedious or exhausting. These domains and other domains need a technical solution that can make repetitive writing easier and more efficient. In one approach, a user can create a file, spreadsheet, or other digital record of multiple different phrases

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (7)

  • Zhang, Yun, Zong-ze Jin, Wei-min Mu, and Wei-ping Wang,
  • “
  • Research of Distinct Algorithm of Short Text Based on Simhash
  • ”
  • , Sep. 2017, 2017 International Conference on Optics, Electronics and Communications Technology (OECT 2017), pp. 120-126. (Year: 2017).
  • International Search Report and Written Opinion, Application No. PCT/US2023/075124, Jan. 25, 2024, 9 pages.
  • International Preliminary Report on Patentability for International Application No. PCT/US2023/075124, dated Apr. 10, 2025, 6 Pages.