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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • main

      public static void main​(java.lang.String[] args) throws java.io.IOException
      Generates a content index.
      Parameters:
      args - Execution arguments
      1. information pieces: a file containing the information pieces to process.
      2. header: true if the information pieces file has header, false otherwise
      3. 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.