Octra libraries - v2.1.0
    Preparing search index...

    Class Converter<I, O>Abstract

    Type Parameters

    • I extends object = object
    • O extends object = object

    Hierarchy (View Summary)

    Index
    • Type Parameters

      • I extends object = object
      • O extends object = object

      Returns Converter<I, O>

    _applications: { application: SupportedApplication; recommended?: boolean }[] = []
    _conversion: { export: boolean; import: boolean } = ...
    _encoding: string = ''
    _extensions: string[] = []
    _multitiers: boolean = true
    _notice: string = ''
    defaultImportOptions: any
    • get applications(): { application: SupportedApplication; recommended?: boolean }[]

      Returns { application: SupportedApplication; recommended?: boolean }[]

    • get conversion(): { export: boolean; import: boolean }

      Returns { export: boolean; import: boolean }

    • converts an file to AnnotJSON considering the audio file. The audio file must be the one used for this transcript file.

      Parameters

      • file: IFile

        the transcript file

      • audiofile: OAudiofile

        information about the audio file. returns object with an annotjson or an error.

      • Optionaloptions: I

      Returns ImportResult