class_docstr: 实现AC自动机的类
  
  Attributes:
      __root: Node类型，AC自动机根节点
docstr: 初始化Ahocorasick的根节点__root
docstr_tok: ["\u521d\u59cb\u5316Ahocorasick\u7684\u6839\u8282\u70b9__root"]
code: def __init__(self):
      """初始化Ahocorasick的根节点__root"""
      self.__root = Node()
  
file_path: PaddleHub/modules/text/lexical_analysis/lac/ahocorasick.py
label_desc: Use image node_id 1 to create a new Ahocorasick object from inherited base classes: object with example: obj = Ahocorasick()