Commit 77c2a4b9 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

core/germline.{cpp,h}: filtering with keys_compress=2

parent f66c044b
......@@ -26,7 +26,7 @@ void Germline::init(string _code, char _shortcut,
affect_5 = string(1, toupper(shortcut)) + "-" + code + "V";
affect_4 = string(1, 14 + shortcut) + "-" + code + "D";
affect_3 = string(1, tolower(shortcut)) + "-" + code + "J";
filter_5 = build_automaton ? new FilterWithACAutomaton(rep_5, this->seed_5) : nullptr;
filter_5 = build_automaton ? new FilterWithACAutomaton(rep_5, this->seed_5, KEYS_COMPRESS) : nullptr;
}
......
......@@ -33,6 +33,7 @@ enum SEGMENTATION_METHODS {
#define PSEUDO_NOT_ANALYZED "not analyzed"
#define PSEUDO_NOT_ANALYZED_CODE 'z'
#define KEYS_COMPRESS 2.0
using namespace std;
using json = nlohmann::json;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment