|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttp.preprocess.PreprocessDocument
public class PreprocessDocument
A class for pre-processing of documents. This includes stemming and stop words removal.
Constructor Summary | |
---|---|
PreprocessDocument()
|
|
PreprocessDocument(java.io.File stop_list)
|
Method Summary | |
---|---|
Document |
preprocessDocument(Document doc,
boolean use_stop_list,
boolean use_stemming)
The method makes preprocessing of one dcument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreprocessDocument()
public PreprocessDocument(java.io.File stop_list)
Method Detail |
---|
public Document preprocessDocument(Document doc, boolean use_stop_list, boolean use_stemming)
doc
- a document to be pre-processeduse_stop_list
- a boolean value, which indicates, if stoplist will be useduse_stemming
- a boolean value, which indicates, if stemming will be used
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |