Type alias AI21PenaltyData

AI21PenaltyData: {
    applyToEmojis: boolean;
    applyToNumbers: boolean;
    applyToPunctuations: boolean;
    applyToStopwords: boolean;
    applyToWhitespaces: boolean;
    scale: number;
}

Type definition for AI21 penalty data.

Type declaration

  • applyToEmojis: boolean
  • applyToNumbers: boolean
  • applyToPunctuations: boolean
  • applyToStopwords: boolean
  • applyToWhitespaces: boolean
  • scale: number

Generated using TypeDoc