Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractFromPathByTika ¶
ExtractFromPathByTika extracts text data from a ppt file located at the given path using Tika server.
Parameters:
- path: The path of the ppt file to extract data from.
- tikaServerURL: The URL of the Tika server to use for extraction.
Returns:
- string: The extracted data.
- int: The status code of the HTTP response from the Tika server.
- error: An error if any occurred during extraction.
func ExtractFromReaderByTika ¶
ExtractFromReaderByTika extracts text data from an io.Reader using the Tika server.
Parameters:
- r: The io.Reader from which to extract data.
- size: The size of the data in the io.Reader.
- tikaServerURL: The URL of the Tika server.
Returns:
- string: The extracted data.
- int: The status code of HTTP response from the Tika server.
- error: An error if any occurred during extraction.
func ExtractFromURLByTika ¶
ExtractFromURLByTika extracts text data from the specified URL using a Tika server.
Parameters:
- u: the URL to extract data from.
- tikaServerURL: the URL of the Tika server to use.
Returns:
- string: the extracted data.
- int: the status code of the URL or Tika Server HTTP response.
- error: an error if any occurred.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.