public class FeatureMap extends Object
Modifier and Type | Field and Description |
---|---|
int |
dim |
Hashtable<Integer,String> |
fidToWord |
Hashtable<String,Integer> |
wordToFid |
Constructor and Description |
---|
FeatureMap() |
FeatureMap(FeatureMap _map) |
FeatureMap(String filename) |
Modifier and Type | Method and Description |
---|---|
void |
addDimension(String dimensionName) |
void |
addDocs(DocumentCollection docs,
int appearanceThres,
boolean countRepsWithinDoc) |
void |
addMoreDocsIgnoreAppearanceThres(DocumentCollection docs) |
void |
readFromFile(String countFiles,
int thres) |
void |
save(String file) |
public FeatureMap()
public FeatureMap(String filename)
public FeatureMap(FeatureMap _map)
public void save(String file)
public void readFromFile(String countFiles, int thres)
public void addDocs(DocumentCollection docs, int appearanceThres, boolean countRepsWithinDoc)
public void addMoreDocsIgnoreAppearanceThres(DocumentCollection docs)
public void addDimension(String dimensionName)
Copyright © 2017. All rights reserved.