MCPcopy Index your code
hub / github.com/DavidBelicza/TextRank / NewAlgorithmChain

Function NewAlgorithmChain

rank/algorithm.go:59–61  ·  view source on GitHub ↗

NewAlgorithmChain constructor retrieves an AlgorithmChain pointer.

()

Source from the content-addressed store, hash-verified

57
58// NewAlgorithmChain constructor retrieves an AlgorithmChain pointer.
59func NewAlgorithmChain() *AlgorithmChain {
60 return &AlgorithmChain{}
61}
62
63// WeightingRelation method is a combined algorithm of text rank and word
64// occurrence, it weights a phrase.

Callers 3

NewChainAlgorithmFunction · 0.92
TestWeightingRelationFunction · 0.85
TestWeightingHitsFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestWeightingRelationFunction · 0.68
TestWeightingHitsFunction · 0.68