#include <feature_index.h>
|
using | Group = std::unordered_map<int, std::vector<std::string>> |
|
using | Groups = std::vector<std::unordered_map<int, std::vector<std::string>>> |
|
using | GroupToken = std::unordered_map<int, std::vector<std::vector<std::string>>> |
|
using | GroupTokens = std::vector<std::unordered_map<int, std::vector<std::vector<std::string>>>> |
|
using | GroupTokenInt = std::unordered_map<int, std::vector<std::vector<ui>>> |
|
using | GroupTokensInt = std::vector<std::unordered_map<int, std::vector<std::vector<ui>>>> |
|
using | Cluster = std::vector<std::unordered_map<std::string, int>> |
|
◆ Cluster
◆ Group
◆ Groups
◆ GroupToken
◆ GroupTokenInt
◆ GroupTokens
◆ GroupTokensInt
◆ FeatureIndex() [1/3]
FeatureIndex::FeatureIndex |
( |
| ) |
|
|
default |
◆ ~FeatureIndex()
FeatureIndex::~FeatureIndex |
( |
| ) |
|
|
inline |
◆ FeatureIndex() [2/3]
◆ FeatureIndex() [3/3]
◆ calCahceIndex()
int FeatureIndex::calCahceIndex |
( |
const std::string & | func, |
|
|
const std::string & | tok, |
|
|
int | numFeature ) |
◆ calNumFeature()
int FeatureIndex::calNumFeature |
( |
const std::string | attr | ) |
|
◆ globalInit()
void FeatureIndex::globalInit |
( |
const std::vector< int > & | keyNum, |
|
|
const std::vector< std::string > & | attrs, |
|
|
Groups & | groups, |
|
|
const GroupTokens & | grpdlm, |
|
|
const GroupTokens & | grpqgm, |
|
|
bool | isCoeff = false ) |
◆ attrCahceLength
std::vector<int> FeatureIndex::attrCahceLength |
◆ cosLengthFilter
◆ diceLengthFilter
◆ discreteCacheIdx
int** FeatureIndex::discreteCacheIdx = nullptr |
◆ featureValCache
double**** FeatureIndex::featureValCache = nullptr |
◆ LENGTH_FILTER_DET
const double FeatureIndex::LENGTH_FILTER_DET = 0.1 |
◆ MIN_CACHED_LENGTH
const int FeatureIndex::MIN_CACHED_LENGTH = 10000 |
◆ str_bt_1w_5w
std::vector<std::string> FeatureIndex::str_bt_1w_5w = {} |
◆ str_bt_5w_10w
std::vector<std::string> FeatureIndex::str_bt_5w_10w = {} |
◆ str_eq_1w
std::vector<std::string> FeatureIndex::str_eq_1w = {"brand", "category", "manufacturer"} |
◆ str_gt_10w
std::vector<std::string> FeatureIndex::str_gt_10w = {"name", "title", "description"} |
◆ universalDet
The documentation for this class was generated from the following files: