Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertTilda ¶ added in v0.3.6
Types ¶
type Config ¶
type Config struct {
WorkDir string
JobsNum int
MaxEditDist int
PgHost string
PgPort int
PgUser string
PgPass string
PgDB string
}
Config collects and stores external configuration data.
func NewConfig ¶
NewConfig is a Config constructor that takes external options to update default values to external ones.
func (Config) FiltersDir ¶
FiltersDir returns path where to dump/restore serialized bloom filters.
type Option ¶
type Option func(cnf *Config)
Option is a type of all options for Config.
func OptJobsNum ¶
OptJobsNum sets number of concurrent jobs to run for parallel tasks.
func OptMaxEditDist ¶
OptMaxEditDist sets maximal possible edit distance for fuzzy matching of stemmed canonical forms.
func OptWorkDir ¶
OptWorkDir sets a directory for key-value stores and temporary files.
Click to show internal directories.
Click to hide internal directories.