poprawki do obliczania metryk 19
This commit is contained in:
parent
648728ef4a
commit
42e29f18d4
@ -3,7 +3,6 @@ import sys
|
||||
if __name__ == '__main__':
|
||||
sum = 0
|
||||
lineCount = 0
|
||||
werAv = 0
|
||||
|
||||
with open('wer.txt','a+') as werOut:
|
||||
for line in werOut:
|
||||
@ -11,5 +10,6 @@ if __name__ == '__main__':
|
||||
sum += num
|
||||
lineCount += 1
|
||||
|
||||
werAv = sum / lineCount
|
||||
werOut.write(f'{werAv:.5f}\n')
|
||||
werAv = 0
|
||||
werAv = sum / lineCount
|
||||
werOut.write(f'{werAv:.5f}\n')
|
||||
|
Loading…
Reference in New Issue
Block a user