This repository contains systems developed as part of homeworks for the Search Engines course.
This work's final goal is to produce a valid submission for CLEF's LongEval project.
Authors of this repository are the students part of the DARDS group:
- Angela Pomaro
- Daniel Carlesso
- Diego Spinosa
- Riccardo Gobbo
- Simone Merlo
Search Engines is a course of the
- Master Degree in Computer Engineering of the Department of Information Engineering, University of Padua, Italy.
- Master Degree in Data Science of the Department of Mathematics "Tullio Levi-Civita", University of Padua, Italy.
Search Engines is part of the teaching activities of the Intelligent Interactive Information Access (IIIA) Hub.
The repository is organised as follows:
code: this folder contains the source code of the developed systems (each subfolder is named as the corresponding system and contains the source code of that system): *BaseSystem: Base English system *BM25FRENCHBASE: Base French system *BM25FRENCHSPAM: Base French system with spam preprocessing *BM25FRENCHBOOSTURL: French system with query boosting and document URL indexing. *BM25FRENCHNOENG: French system with an English document filter. *BM25FRENCHRERANK100: French system using reranking and query boosting. *BM25TRANSLATEDQUERIES: English system using translated French queries.runs: this folder contains the runs produced by the developed systems (each zip folder contains the runs WithinTime, ShortTerm,LonTerm for the system corresponding to the folder name, the subfolder not-submitted-runs contains some runs that were used for training purposes but MUST NOT be considered by CLEF): *DARDS_BM25FRENCHBASE.zip: BM25FRENCHBASE system runs. *DARDS_BM25FRENCHSPAM.zip: BM25FRENCHSPAM system runs . *DARDS_BM25FRENCHBOOSTURL.zip:BM25FRENCHBOOSTURL system runs. *DARDS_BM25FRENCHRERANK100.zip: BM25FRENCHRERANK100 system runs. *DARDS_BM25TRANSLATEDQUERIES.zip: BM25TRANSLATEDQUERIES system runs. *not-submitted-runs: additional training runs (MUST NOT be considerered by CLEF).results: this folder contains the performance scores of the runs.homework-1: this folder contains the report describing the techniques applied and insights gained.homework-2: this folder contains the final paper submitted to CLEF.slides: this folder contains the slides used for presenting the conducted project.
To run the systems that have been submitted for the CLEF evaluation use the following instructions: Before running: In order to compile our systems you must install Maven (we used Maven version 3.9.0) and you must use Java JDK-17 (JDK-19 gives some problem with Lucene and you will get an exception while trying to run our jar files).
-
Compiling: * clone the bitbucket folder (git clone https://username@bitbucket.org/upd-dei-stud-prj/seupd2223-dards.git) * go into the folder code/
name-of-system/ * run command "mvn clean package" -
Running: * go into the folder code/
name-of-system/target/ * run command "java -jarjar-with-dependencies-file-namepath-to-documents-foldernumber-of-expected-documentspath-to-queries-filenumber-of-queries[path-to-url-file]" -
ATTENTION: *
path-to-documents-foldermust be a path to a folder containing the FRENCH documents in txt files *path-to-queries-filemust be a path to a file containing the FRENCH queries, ending with tsv extension (the extension must be specified) *path-to-url-filemust be a path to a file ending with txt extension (the extension must be specified) (OPTIONAL: depending on the system) * EXAMPLE: java -jar .\dards-1.00-jar-with-dependencies.jar D:\input\French\Documents\Trec 1570734 D:\input\French\Queries\train.tsv 672 D:\input\French\urls.txt
Note: BM25FRENCHSPAM system needs a preprocessing stage by executing the docs_filter.py Python program before the system analysis.
To run the systems that have not been submitted (also the submitted systems can be run this way):
- import the folder code/
name-of-system/ in you IDE (we used Intellij Idea IDE) - go into the class HelloFrench or HelloEnglish (depending on the system)
- comment the indicated lines (if indicated)
- run the main of that class
All the contents of this repository are shared using the Creative Commons Attribution-ShareAlike 4.0 International License.
