DetectedLanguageOutput interface

An object describing the detected language.

Properties

language

A string representing the code of the detected language.

score

A float value indicating the confidence in the result. The score is between zero and one and a low score indicates a low confidence.

Property Details

language

A string representing the code of the detected language.

language: string

Property Value

string

score

A float value indicating the confidence in the result. The score is between zero and one and a low score indicates a low confidence.

score: number

Property Value

number