MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / aliasLabelsForText

Function aliasLabelsForText

deployments/desktop/static/desktop.js:3341–3345  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

3339 }
3340
3341 function aliasLabelsForText(text) {
3342 return phraseAliases
3343 .filter((alias) => alias.patterns.some((pattern) => pattern.test(text)))
3344 .map((alias) => localizeWikiText(alias.label));
3345 }
3346
3347 function candidateLabelsForNode(node) {
3348 const text = nodeSearchText(node);

Callers 1

candidateLabelsForNodeFunction · 0.85

Calls 1

localizeWikiTextFunction · 0.85

Tested by

no test coverage detected