Chapter 2. Getting Started
To use RBL-JE, you must have the Java SDK 1.7 or greater. To run the sample applications with the Ant build scripts the SDK provides, you need Ant 1.7.1 or greater.
When you obtain RBL-JE, you should receive three files:
The SDK: rbl-je-7.20.0.c58.3.zip
When you unzip the SDK package, the root directory (rbl-je-7.20.0.c58.3) contains text files with license and copyright information, and the following subdirectories:
dicts
Contains the RBL-JE binary dictionaries for Arabic, Danish, Dutch, English, French,
German, Italian, Japanese, Norwegian, Romanian, Spanish, and Swedish.lib
Contains the .jar files that the SDK uses.
The core SDK .jar files are btrbl-je-7.20.0.c58.3.jar and btcommon-api-37.1.0.jar. The
SDK also uses the Simple Logging Facade for Java (SLF4J): slf4j-api-1.7.5.jar and slf4jsimple-1.7.5.jar You should add these .jar files to your classpath.If you are using Lucene or Solr, you should also add the appropriate.jar file to your
classpath:- The RBL-JE .jar file for Lucene/Solr 4.3-4.8: btrbl-je-lucene-solr-4_3-7.20.0.c58.3.jar
- The RBL-JE .jar file for Lucene/Solr 4.9: btrbl-je-lucene-solr-4_9-7.20.0.c58.3.jar
- The RBL-JE .jar file for Lucene/Solr 4.10: btrbl-je-lucene-solr-4_10-7.20.0.c58.3.jar
- The RBL-JE .jar file for Lucene/Solr 5.0-5.5: btrbl-je-lucene-solr-5_0-7.20.0.c58.3.jar
- The RBL-JE .jar file for Lucene/Solr 6.0-6.1: btrbl-je-lucene-solr-6_0-7.20.0.c58.3.jar
- The RBL-JE .jar file for Lucene/Solr 6.2-6.3: btrbl-je-lucene-solr-6_2-7.20.0.c58.3.jar
licenses
Default location for placing your RLP license. The samples that accompany this SDK
require rlp-license.xml to be in this directory.models
Contains the RBL-JE binary dictionaries for Chinese, Japanese, Korean, Arabic, and Thai.
samples
Contains sample data and subdirectories with the RBL-JE core and Lucene samples.
Sample text and query files in all supported languages are in samples/data. These files are used with the core and the Lucene samples.
See Running the Core Samples [29] and JapaneseAnalyzerSample [42] .tools
Contains tools for generating user dictionaries.
The Documentation: rbl-je-7.20.0.c58.3-doc.zip
When you unzip the Documentation package to the same location where you have unzipped theSDK package, the root directory contains a doc subdirectory with the Rosette Base LinguisticsApplication Developer's Guide (this document, rbl-je-appdev-guide.pdf), the Release Notes (rblje-7.20.0.c58.3-release-notes.html) and the Java API documentation (see apidocs/index.html).
The RLP License: rlp-license.xml.
Before you use RBL-JE, copy this file to rbl-je-7.20.0.c58.3/licenses