forked from tdwojak/Python2017
8 lines
228 B
Python
8 lines
228 B
Python
import glob,json
|
|
bleu={}
|
|
name=""
|
|
for i in glob.glob('scores/*'):
|
|
file=open(i,'r').read().replace(",","").split(" ")
|
|
bleu[i]=float(file[2])
|
|
|
|
print("Maksymalna wartość BLEU znaleziona w pliku: " +max(bleu, key=bleu.get)) |