Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultNSize = 5
Variables ¶
View Source
var ( FunctionsList []Fonction SimilarROMECode = make(map[string][]string) JobSEOList []JobSEO EnrichedFunctionsList []CombinedFunction )
View Source
var CustomStpopWords = []string{"H/F", "F/H", "H-F", "F-H", "h/f", "f/h", "h-f", "f-h", "M/F", "F/M", "M-F", "F-M", "m/f", "f/m", "m-f", "f-m"}
View Source
var SecteurList []Secteur
Functions ¶
func CollectLabels ¶
Collects all labels from a sector and its children
Types ¶
type CombinedFunction ¶
type JobMatchRequest ¶
type JobSEOMatch ¶
type JobSEOMatchHeap ¶
type JobSEOMatchHeap []JobSEOMatch
func InitJobSEOMatchHeap ¶
func InitJobSEOMatchHeap() *JobSEOMatchHeap
func (JobSEOMatchHeap) Len ¶
func (h JobSEOMatchHeap) Len() int
func (JobSEOMatchHeap) Less ¶
func (h JobSEOMatchHeap) Less(i, j int) bool
func (*JobSEOMatchHeap) Pop ¶
func (h *JobSEOMatchHeap) Pop() interface{}
func (*JobSEOMatchHeap) Push ¶
func (h *JobSEOMatchHeap) Push(x interface{})
func (JobSEOMatchHeap) Swap ¶
func (h JobSEOMatchHeap) Swap(i, j int)
type SecteurMatch ¶
type SecteurMatchHeap ¶
type SecteurMatchHeap []SecteurMatch
func (SecteurMatchHeap) Len ¶
func (h SecteurMatchHeap) Len() int
func (SecteurMatchHeap) Less ¶
func (h SecteurMatchHeap) Less(i, j int) bool
func (*SecteurMatchHeap) Pop ¶
func (h *SecteurMatchHeap) Pop() interface{}
func (*SecteurMatchHeap) Push ¶
func (h *SecteurMatchHeap) Push(x interface{})
func (SecteurMatchHeap) Swap ¶
func (h SecteurMatchHeap) Swap(i, j int)
type SimiligoListRequest ¶
type SimiligoListRequest struct {
String1 string `json:"string1"`
String2 []string `json:"string2"` // Now an array of strings to match against
N int `json:"n"` // Number of best matches to find
NgramSize int `json:"ngramSize"`
WordSimWeight float64 `json:"wordSimWeight"`
NgramSimWeight float64 `json:"ngramSimWeight"`
ContainmentSimWeight float64 `json:"containmentSimWeight"`
CustomStopWords []string `json:"customStopWords"` // Use an array for ease of use
}
type SimiligoRequest ¶
type SimiligoRequest struct {
String1 string `json:"string1" swag:"example,title"`
String2 string `json:"string2" swag:"example,keyword"`
NgramSize int `json:"ngramSize"`
WordSimWeight float64 `json:"wordSimWeight"`
NgramSimWeight float64 `json:"ngramSimWeight"`
ContainmentSimWeight float64 `json:"containmentSimWeight"`
CustomStopWords []string `json:"customStopWords"`
}
Click to show internal directories.
Click to hide internal directories.