/// Base confidence per pattern family, before proximity decay.
/// Scale a pattern's base confidence by how close the subject and object are
/// in the source text (`gap`: chars between the end of the subject mention and
/// the start of the object mention).
///
/// Closer entities are less likely to be an accidental co-occurrence, so gap
/// distance scales the base score down as the gap widens.