Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PhraseSimilarityMap

Contains information about the similarity of a message to an individual banned phrase.

property

{string} phrase - The banned phrase's content.

property

{string} word - The word from the original string that got the similarity index.

property

{number} similarity - The similarity index of the message to the banned phrase (real number from 0 to 1).

property

{Severity} - The severity rank of the phrase.

Hierarchy

  • PhraseSimilarityMap

Index

Properties

phrase

phrase: string

severity

severity: Severity

similarity

similarity: number

word

word: string

Generated using TypeDoc