mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-02-02 03:38:43 -05:00
24 lines
585 B
C
24 lines
585 B
C
#ifndef WORDVARIATIONSCONFIG_H_
|
|
#define WORDVARIATIONSCONFIG_H_
|
|
#include "WordVariations.h"
|
|
|
|
struct WordVariationsConfig {
|
|
bool m_wiktionaryWordVariations;
|
|
bool m_lemmaWordVariations;
|
|
bool m_languageSpecificWordVariations;
|
|
char _padding0;
|
|
float m_word_variations_threshold;
|
|
WordVariationWeights m_word_variations_weights;
|
|
|
|
WordVariationsConfig()
|
|
: m_wiktionaryWordVariations(false),
|
|
m_lemmaWordVariations(false),
|
|
m_languageSpecificWordVariations(false),
|
|
_padding0(0),
|
|
m_word_variations_threshold(1.0),
|
|
m_word_variations_weights()
|
|
{}
|
|
};
|
|
|
|
#endif
|