get_splitter
Function
Obtains a document splitter.
Prototype
def get_splitter(file_suffix)
Parameters
Parameter |
Data Type |
Required/Optional |
Description |
|---|---|---|---|
file_suffix |
String |
Required |
File name extension. The length range is [1, 32]. For example, the value can be ".txt" or ".docx". |
Return Value
Parameter |
Description |
|---|---|
SplitterInfo |
The returned SplitterInfo instance contains the information about the splitter of the corresponding file type, including the splitter class and the parameters to be passed. |
Parent topic: LoaderMng