anserini

(β˜… 1,191)

Anserini is a Lucene toolkit for reproducible information retrieval research

Showing a partial file list β€” download the zip above to see everything.

  • .gitignore
  • AGENTS.md
  • CLAUDE.md
  • LICENSE.txt
  • pom.xml
  • README.md

πŸš€ Installation Guide

1. Get the code
git clone https://github.com/castorini/anserini

Downloads the entire project code from GitHub to your computer.

cd anserini

Moves into the project folder you just downloaded.

2. Maven (Java)

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • JDK (Java) Required to build and run Java projects.
  • Maven The build tool used for the mvn command.
mvn clean install

Installs dependencies and builds the project using Maven.

βœ… A BUILD SUCCESS message means it worked. The output is created under target/.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -r src/main/python/parquet/requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

python <μ‹€ν–‰ν•  파일λͺ…>.py # READMEμ—μ„œ μ •ν™•ν•œ μ‹€ν–‰ 파일λͺ…을 ν™•μΈν•˜μ„Έμš”

Runs the Python script (or module).

βœ… If it runs without errors and prints output in the terminal, it worked.
// repository documentation