sfa_combine_banks: Combine Embedding Lookups

View source: R/bank.R

sfa_combine_banksR Documentation

Combine Embedding Lookups

Description

Chains embed-functions (from sfa_embedding_bank() or sfa_region_bank()) into one: each text is served by the first lookup that contains it. Needed when one audit embeds texts from two sources, e.g. region-drawn pretend items (a region bank) plus the target region's definition (the main bank).

Usage

sfa_combine_banks(...)

Arguments

...

Embed functions, tried in order.

Value

A function (texts) -> matrix, for use as ⁠embed = ⁠.


semanticfa documentation built on Sept. 2, 2026, 1:07 a.m.