Toggle Menu
Prev Up Next

# `langchain_community.document_loaders.chm`.CHMParser

class langchain_community.document_loaders.chm.CHMParser(path: str)

  Microsoft Compiled HTML Help (CHM) Parser.

  Attributes

  `encoding` |
  `path` |
  `file` |

  Methods

  `__init__`(path) |
  `index`() |
  `load`(path) |
  `load_all`() |

  Parameters

    path (str) –

  __init__(path: str)
    Parameters

      path (str) –

  index() → List[Dict[str, str]]
    Return type

      List[Dict[str, str]]

  load(path: Union[str, bytes]) → str
    Parameters

      path (Union[str, bytes]) –

    Return type

      str

  load_all() → List[Dict[str, str]]
    Return type

      List[Dict[str, str]]