autoEdit transcription Json
// http://backbonejs.org/#Model
module.exports = Backbone.Model.extend({
idAttribute: '_id',
urlRoot: path.join(config.serverUrl, 'transcription'),
defaults: {
// title: 'Default Title ',
// description: 'Default Description',
// original file path
// videoUrl: '/',
// url:'/',
// sttEngine: 'ibm',
languageModel: 'en-US_BroadbandModel', // default is american US broadband model
counterForPaperCuts: 0,
audioFile: undefined,
processedAudio: false,
processedVideo: false,
// status is marked as false by default and turned to true when transcription has been processed
// could changed as status marked as null if there's an issue
// so that can have 3 options. not set yet, gone wrong, success.
status: false,
highlights: [],
// orderedPaperCuts:[],
videoOgg: undefined,
//TODO: get date from metadata of video
metadata: undefined,
text: undefined,
//used for error handling when processing transcription
error: undefined
},Last updated