Skip to content

Several questions about duplicates in .phrases? #184

@bkardell

Description

@bkardell

Taking the example from MDN and tweaking it a bit...

const phraseData = [
  { phrase: "azure", boost: 5.0 },
  { phrase: "khaki", boost: 3.0 },
  { phrase: "tan", boost: 2.0 },
  { phrase: "azure", boost: 2.0 },
  { phrase: "khaki" }
];

const phraseObjects = phraseData.map(
  (p) => new SpeechRecognitionPhrase(p.phrase, p.boost),
);

What are the used values of each of these, in practice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions