Skip to content

Commit

Permalink
Added suitable comments and removed redundant lines
Browse files Browse the repository at this point in the history
  • Loading branch information
GauravWaghmare committed Feb 28, 2017
1 parent df742f4 commit 126f58e
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 205 deletions.
6 changes: 3 additions & 3 deletions FinalCode/Removesilence.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import csv
import os.path
import sklearn
import sklearn.hmm
# import sklearn.hmm
import cPickle
import glob
import featureExtraction as fe
Expand Down Expand Up @@ -225,8 +225,8 @@ def nonsilentRegions(segmentLimits, fs, data):
flag = False

for i in segmentLimits:
start = i[0]
end = i[1]
start = int(i[0])
end = int(i[1])
# print ("start =",start,"and end =",end)
a = data[start:end]
if flag==False:
Expand Down
Binary file modified FinalCode/Removesilence.pyc
Binary file not shown.
Loading

0 comments on commit 126f58e

Please sign in to comment.