langchain_community.document_loaders.chm.CHMParser

class langchain_community.document_loaders.chm.CHMParser(path: str)[source]

微软编译的HTML帮助(CHM)解析器。

Attributes

encoding

path

file

Methods

__init__(path)

index()

load(path)

load_all()

Parameters

path (str) –

__init__(path: str)[source]
Parameters

path (str) –

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

List[Dict[str, str]]

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

path (Union[str, bytes]) –

Return type

str

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

List[Dict[str, str]]