Kizuki
    Preparing search index...

    Function lookupSentence

    • Looks up a sentence label from the model. Small models often wrap the label in extra text ("Passage 2: [S6] Most of…", " s3 "), so the first S-number found is used. Some write the sentence out instead of its label: that is accepted only when it appears word for word in exactly one sentence of the material (at least MIN_WRITTEN_WORDS words), and the whole real sentence is returned.

      Type Parameters

      Parameters

      • refs: Map<string, T>
      • label: string

      Returns T | undefined