Multiple IR modules.
In the project file, run:
pip install -r requirements.txt
Please follow https://docs.datastax.com/en/jdk-install/doc/jdk-install/installOpenJdkDeb.html to install open-jdk-8
- Please follow https://lucene.apache.org/pylucene/install.html to install pylucene.
- Note that when editing the Makefile, please follow https://blog.csdn.net/DSbatigol/article/details/14448151 for adding the Chinese analyzer.
In the Makfile:
- Uncomment
#JARS+=$(SMARTCN_JAR) # smart chinese analyzer
- add the line
--exclude org.apache.lucene.analysis.cn.smart.AnalyzerProfile
near--exclude org.apache.lucene.sandbox.queries.regex.JakartaRegexpCapabilities
- Lucene searchers (including CosQA, SSQA, HotpotQA)