Lingo4G has very few requirements and can be installed locally or inside a virtualized environment.
To install Lingo4G on a local machine, perform the following steps.
Extract Lingo4G ZIP archive to a local directory. We call this directory Lingo4G home directory or
Copy your license file (
license.xml) to the
See the License file section for other possible locations of the license file.
L4G_HOMEto your command interpreter's search path, so that you can easily run Lingo4G commands in any directory.
(optional) Index example data.
(optional) Validate the installation.
Lingo4G does not ship with a docker file. The installation in Docker should be easy to write. Base your Dockerfile
on top of a plain Linux, add the required Java version and place the license
file under the
conf/ folder, much like in the local installation.
You can index your project inside Docker or run Lingo4G Server on top of an immutable index you prepared in advance on a separate machine (which we recommend). You can also redirect and expose the default Lingo4G Server HTTP port (8080) so that it's available outside the Docker environment.
Lingo4G requires a valid license file to run. To get an evaluation license or recover the license you purchased, contact us at email@example.com.
The license is an XML file containing licensee name, as well as the licensing and software maintenance expiration dates. To validate your license file, upload it at secure.carrotsearch.com. The validator shows when your license expires (you will not be able to use Lingo4G beyond that date) and when software maintenance expires (you will not be able to upgrade to versions released after that date). The validator also lets you download all the products covered by the license file.
We e-mail license files inside ZIP archives to prevent spam filters from blocking XML content. Lingo4G accepts
both the unpacked license XML file (
license.xml) and a ZIP (
containing the license XML file.
Lingo4G expects the license XML or ZIP file in one of the following locations:
confsubdirectory of the project you submit for Lingo4G to work on. In this case, Lingo4G uses the license file to operate only on that project.
Lingo4G loads any file matching the
license*.zip pattern. Therefore,
you can give your license keys more descriptive names, such as
Lingo4G distribution consists of the following folders and files:
- Configuration files, license file.
- Project files for the example data sets.
- Lingo4G implementation and dependencies.
- The default lexical resources like stop words and label dictionaries. Example API v2 requests.
Example code: calling Lingo4G REST API from Java.
Java source code for the default document sources and utilities.
- Static web applications served by Lingo4G REST API (including Lingo4G Explorer).
- Lingo4G documentation, also available on-line.
- l4g, l4g.cmd
- The Lingo4G command scripts for Linux/Mac and Windows.
- Basic information about the distribution, software version and pointers to this documentation.