public class DocRepresentation extends Object
A tool for converting document represenations
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
DocRepresentation(IndexReader indexReader) |
DocRepresentation(IndexReader indexReader,
int[] termMap) |
| Modifier and Type | Method and Description |
|---|---|
DoubleSparseMatrix |
genModelMatrix(IndexReader signatureIndexReader,
DoubleSparseMatrix transMatrix,
double transCoefficient,
double bkgCoefficient,
boolean isPhraseSignature,
double probThreshold) |
DoubleSparseMatrix |
genModelMatrix(IndexReader signatureIndexReader,
DoubleSparseMatrix transMatrix,
double transCoefficient,
double bkgCoefficient,
boolean isPhraseSignature,
double probThreshold,
String matrixPath,
String matrixKey) |
DoubleSparseMatrix |
genModelMatrix(IndexReader signatureIndexReader,
int[] signatureMap,
DoubleSparseMatrix transMatrix,
double transCoefficient,
double bkgCoefficient,
boolean isPhraseSignature,
double probThreshold) |
DoubleSparseMatrix |
genModelMatrix(IndexReader signatureIndexReader,
int[] signatureMap,
DoubleSparseMatrix transMatrix,
double transCoefficient,
double bkgCoefficient,
boolean isPhraseSignature,
double probThreshold,
String matrixPath,
String matrixKey) |
DoubleSparseMatrix |
genNormTFMatrix() |
DoubleSparseMatrix |
genNormTFMatrix(String matrixPath,
String matrixKey) |
DoubleSparseMatrix |
genTFIDFMatrix() |
DoubleSparseMatrix |
genTFIDFMatrix(String matrixPath,
String matrixKey) |
void |
setMessageOption(boolean showMessage) |
public DocRepresentation(IndexReader indexReader)
public DocRepresentation(IndexReader indexReader, int[] termMap)
public void setMessageOption(boolean showMessage)
public DoubleSparseMatrix genModelMatrix(IndexReader signatureIndexReader, DoubleSparseMatrix transMatrix, double transCoefficient, double bkgCoefficient, boolean isPhraseSignature, double probThreshold, String matrixPath, String matrixKey)
public DoubleSparseMatrix genModelMatrix(IndexReader signatureIndexReader, int[] signatureMap, DoubleSparseMatrix transMatrix, double transCoefficient, double bkgCoefficient, boolean isPhraseSignature, double probThreshold, String matrixPath, String matrixKey)
public DoubleSparseMatrix genModelMatrix(IndexReader signatureIndexReader, DoubleSparseMatrix transMatrix, double transCoefficient, double bkgCoefficient, boolean isPhraseSignature, double probThreshold)
public DoubleSparseMatrix genModelMatrix(IndexReader signatureIndexReader, int[] signatureMap, DoubleSparseMatrix transMatrix, double transCoefficient, double bkgCoefficient, boolean isPhraseSignature, double probThreshold)
public DoubleSparseMatrix genTFIDFMatrix(String matrixPath, String matrixKey)
public DoubleSparseMatrix genTFIDFMatrix()
public DoubleSparseMatrix genNormTFMatrix(String matrixPath, String matrixKey)
public DoubleSparseMatrix genNormTFMatrix()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.