Documentation ¶
Overview ¶
termfreq provides IO functions to read term frequency information from Firestore
Index ¶
- type BM25Score
- func FindDocsBigramCo(ctx context.Context, client fsClient, corpus string, generation int, ...) ([]BM25Score, error)
- func FindDocsBigramFreq(ctx context.Context, client fsClient, corpus string, generation int, ...) ([]BM25Score, error)
- func FindDocsTermCo(ctx context.Context, client fsClient, corpus string, generation int, ...) ([]BM25Score, error)
- func FindDocsTermFreq(ctx context.Context, client fsClient, corpus string, generation int, ...) ([]BM25Score, error)
- type TermFreqDoc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BM25Score ¶ added in v0.0.100
func FindDocsBigramCo ¶ added in v0.0.102
func FindDocsBigramCo(ctx context.Context, client fsClient, corpus string, generation int, bigrams []string, col string) ([]BM25Score, error)
FindDocsTermCo finds documents within the scope of a corpus collection
func FindDocsBigramFreq ¶ added in v0.0.100
func FindDocsBigramFreq(ctx context.Context, client fsClient, corpus string, generation int, bigrams []string) ([]BM25Score, error)
FindDocsBigramFreq finds documents with occurences of any of the bigram given in the corpus ordered by BM25 score
Click to show internal directories.
Click to hide internal directories.