Project Lucenesaur is a derivative of apache lucene library and word -saur (from dinosaur)
The project works on providing support for new languages that have been added in newer versions of apache lucene library. But old systems using the existing apache-lucene versions are not able to update to newer apache library due to a lot of conflicts
The project uses jflex to generate the Basic Tokenizer.
To generate java file from jflex, follow following guidelines-
- Follow JFlex official documentation to download and unzip jflex library
- Decompress into directory of choice, for example
tar -C /usr/share -xvzf jflex-1.8.2.tar.gz
- Add symbolic link to
jflex-1.8.2/bin/jflex
fileln -s /usr/share/jflex-1.8.2/bin/jflex /usr/bin/jflex
- From root directory, run
jflex src/main/java/io/github/rajat19/analysis/indic/IndicTokenizerImpl.jflex
Using Gradle test logger plugin to print the test results beautifully on running ./gradlew test