Did you know ... Search Documentation:
Pack logtalk -- logtalk-3.86.0/examples/document_converter/NOTES.md

This file is part of Logtalk https://logtalk.org/ SPDX-FileCopyrightText: 1998-2023 Paulo Moura <pmoura@logtalk.org> SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

To load this example and for sample queries, please see the SCRIPT.txt file. This example is only supported when using XVM (with its jni plug-in installed), SWI-Prolog, or YAP as the backend compiler.

This is a simple example of using a Java library for converting documents to text using the Apache Tika Java library, which you must download from:

https://tika.apache.org

After downloading the Tika JAR file (for version 2.8.0, this would be the tika-app-2.8.0.jar file), copy it to this example jars folder before running the example.