public static class ModuleConfigs.Approximate extends ModuleConfigs.Base
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
ALL_PARAMS |
static java.lang.String[] |
MALUS_ON_FIRST_LETTER |
boolean |
malusOnFirstLetter
Apply a malus in approximate algorithm if the first letter of
matched word is not the same than first letter of original word.
|
static java.lang.String[] |
MAX_MATCHES |
int |
maxMatches
Maximum number of approximate matches.
|
static java.lang.String[] |
MIN_CHARS_D1 |
static java.lang.String[] |
MIN_CHARS_D2 |
int |
minCharsDistance1
Minimum number of chars to search for edit distance <= 1
|
int |
minCharsDistance2
Minimum number of chars to search for edit distance <= 2
|
static java.lang.String[] |
RELATIVE_WEIGHT_D1 |
static java.lang.String[] |
RELATIVE_WEIGHT_D2 |
double |
relativeWeightDistance1
Multiplicative factor on the weight of the expansions
at edit distance 1
|
double |
relativeWeightDistance2
Multiplicative factor on the weight of the expansions
at Levensteihn distance 2
|
ellqlFlag, name
Constructor and Description |
---|
Approximate() |
public static final java.lang.String[] MALUS_ON_FIRST_LETTER
public static final java.lang.String[] MAX_MATCHES
public static final java.lang.String[] MIN_CHARS_D1
public static final java.lang.String[] RELATIVE_WEIGHT_D1
public static final java.lang.String[] MIN_CHARS_D2
public static final java.lang.String[] RELATIVE_WEIGHT_D2
public static final java.lang.String[] ALL_PARAMS
public int maxMatches
public double relativeWeightDistance1
public int minCharsDistance1
public double relativeWeightDistance2
public int minCharsDistance2
public boolean malusOnFirstLetter
Copyright © 2013 Dassault Systèmes, All Rights Reserved.