org.eml.sir.retr
Class GUIIndexCreator

java.lang.Object
  extended byorg.eml.sir.retr.GUIIndexCreator

public class GUIIndexCreator
extends java.lang.Object

Indexes documents of a given directory. Word terms are stored in a field named "words". Phrases, or other terms that are not to be stemmed, are stored in the field called "bases". Nomial phrases bigrams are stored in the field "phrases".

Author:
Kostadin Cholakov

Constructor Summary
GUIIndexCreator(java.lang.String sourcePath, IndexProperties props)
          Create a new instance of GUIIndexCreator.
 
Method Summary
 void index()
          Do index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIIndexCreator

public GUIIndexCreator(java.lang.String sourcePath,
                       IndexProperties props)
Create a new instance of GUIIndexCreator.

Parameters:
sourcePath - the directory containing the corpora files.
props - the index properties.
Method Detail

index

public void index()
Do index.