|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttp.builder.BuilderVector
public class BuilderVector
A class, which builds the weight vectors for features representing the text documents (for TF or TF-IDF representation)
Constructor Summary | |
---|---|
BuilderVector()
Constructor of the class |
Method Summary | |
---|---|
DocsRepresentDB |
calculateTF(DocsRepresentDB database)
Scans all features of all documents and counts their TF values |
DocsRepresentDB |
calculateTFIDF(DocsRepresentDB database)
Scans all features of all documents and counts their TF-IDF values |
protected java.lang.Void |
doInBackground()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuilderVector()
Method Detail |
---|
public DocsRepresentDB calculateTF(DocsRepresentDB database)
database
- database of documents representations
public DocsRepresentDB calculateTFIDF(DocsRepresentDB database)
database
- database of documents representations
protected java.lang.Void doInBackground() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |