This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
README

SpeechRecognitionInterop

Types for an interop between Elm and the HTML5 SpeechRecognition API.

Definition

type alias Alternative = { transcript : String , confidence : Float }
type alias Result = { isFinal : Bool , items : List Alternative }
type alias Event = { resultIndex : Int , results : List Result }
module SpeechRecognitionInterop exposing (Alternative, Result, Event)

{-| Types for an interop between Elm and the HTML5 SpeechRecognition API.

# Definition
@docs Alternative, Result, Event
-}


{-| https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionAlternative
-}
type alias Alternative =
    { transcript : String
    , confidence : Float
    }


{-| https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionResult
-}
type alias Result =
    { isFinal : Bool
    , items : List Alternative
    }


{-| https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognitionEvent
-}
type alias Event =
    { resultIndex : Int
    , results : List Result
    }