Class InformationPieceIndexGenerator
java.lang.Object
es.uam.eps.ir.relison.examples.content.InformationPieceIndexGenerator
public class InformationPieceIndexGenerator
extends java.lang.Object
Class for generating a context index. In this index, each information piece appears as a document in the index.
This index can be used at the content-based recommender.
-
Constructor Summary
Constructors Constructor Description InformationPieceIndexGenerator()
-
Method Summary
Modifier and Type Method Description static void
main(java.lang.String[] args)
Generates a content index.
-
Constructor Details
-
InformationPieceIndexGenerator
public InformationPieceIndexGenerator()
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.io.IOExceptionGenerates a content index.- Parameters:
args
- Execution arguments- information pieces: a file containing the information pieces to process.
- header: true if the information pieces file has header, false otherwise
- index route: directory in which to store the index.
- Throws:
java.io.IOException
- if something goes wrong while reading the contents file / creating the index.
-