×

System and method for maintaining a dynamic dictionary

  • US 10,546,008 B2
  • Filed: 10/21/2016
  • Issued: 01/28/2020
  • Est. Priority Date: 10/22/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • storing, in computer memory, data structures that collectively represent at least one dynamic dictionary of keywords that does not need to be recompiled in order to be updated, the data structures including (i) a management automaton that includes a plurality of management nodes, and (ii) a runtime automaton that is derived from the management automaton and includes a plurality of runtime nodes;

    searching input data, using the runtime automaton; and

    upon receiving a new keyword that is not included in the at least one dynamic dictionary;

    updating the management automaton to include the new keyword, wherein updating the management automaton to include the new keyword comprises adding one or more new management nodes to the management automaton, each of the new management nodes corresponding to at least a portion of the new keyword,for at least one of the new management nodes;

    ascertaining that the portion of the new keyword corresponded to by the new management node differs by an appendage of exactly one symbol from a sequence of symbols corresponded to by another one of the management nodes;

    in response thereto, identifying the another one of the management nodes as a parent node of the new management node; and

    in response thereto, storing, in the parent node, a child pointer to the new management node, the child pointer corresponding to the appended symbol, andbased on the update to the management automaton, updating the runtime automaton to include the new keyword.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×