poprawki do obliczania metryk 25
This commit is contained in:
parent
d31c196edc
commit
40d7b94cce
@ -20,5 +20,5 @@ if __name__ == '__main__':
|
||||
if werC == 0:
|
||||
correctSentence +=1
|
||||
|
||||
srr = correctSentence / sentenceNumber
|
||||
srr = ( correctSentence / sentenceNumber ) * 100
|
||||
srrOut.write(f'{srr:.5f}\n')
|
||||
|
@ -12,5 +12,5 @@ if __name__ == '__main__':
|
||||
sum += num
|
||||
lineCount += 1
|
||||
|
||||
werAv = sum / lineCount
|
||||
werAv = (sum / lineCount) * 100
|
||||
werF.write(f'{werAv:.5f}\n')
|
||||
|
Loading…
Reference in New Issue
Block a user