Blog Archive

Friday, October 1, 2010

Aproximate Lince Count Calculation Factor

TFAS support many different file formats. We found it is difficult to find out the play time directly. Here we are employing an approximation to find out a factor using with we could calculate an approximate playtime from audio file length and an proximate line count. This information's are used for automatic allocation

Assumption 1 minute audio = 10 lines
  • Start a loop to process every doctor in the provider list table
    • Select top 1000 transcript for the doctor
      • FileCount = Number Of Files returned by above query(Can be less than 1000)
      • Start another loop to process each files in the data-set generated in the above line
        • Collect audio file size : FileSize
        • Collect Line count
        • Playtime =LineCount/10*60
        • PlayTimeFactor = PlayTimeFactor +FileSize/PlayTime
      • After completing the loop to process each file ,Now calculate the actual factor
      • PlayTimeFactor=PlayTimeFactor/FileCount
    • Update PlayTimeFactor to the provide table

No comments:

Post a Comment