comas fix

This commit is contained in:
Jakub Eichner 2023-04-27 18:52:04 +02:00
parent 3a42d96ca5
commit e268f082ed
2 changed files with 2 additions and 15 deletions

View File

@ -1834,7 +1834,7 @@ those:0.0037 whom:0.0051 of:0.0039 which:0.0062 what:0.0054 all:0.0081 that:0.00
in:0.0024 filled:0.0027 life:0.0024 to:0.0029 connection:0.0038 and:0.0396 touch:0.2965 the:0.0060 of:0.0039 :0.1467
s:0.0186 years:0.0190 ing,:0.0306 walls:0.0287 quality:0.0258 progress:0.0365 ing:0.0391 balance:0.0363 effect:0.0396 :0.0977
other:0.0041 plan:0.0042 eyes:0.0049 night:0.0042 delegates:0.0049 subject:0.0050 railroads:0.0049 the:0.0059 people:0.0043 :0.0450
would:0.1264 had:0.1268 in:0.1605 as:0.1490 Is:0.1446 and:0.2046 the:0.1607 of:0.1676 are:0.1551 yet:0.2026
would:0.1264 had:0.1268 in:0.1605 as:0.1490 Is:0.1446 and:0.2046 the:0.1607 of:0.1676 are:0.1551 yet:0.1026 :0.1
or:0.0341 money:0.0345 by:0.0360 is:0.0354 oi:0.0350 on:0.0374 ol:0.0478 of:0.2024 ot:0.0599 :0.0829
not:0.0011 and:0.0030 in:0.0015 to:0.0043 an:0.0060 of:0.0040 a:0.0017 the:0.0062 no:0.0277 :0.0311
in:0.0016 He:0.0021 a:0.0017 to:0.0026 not:0.0029 and:0.0081 But:0.0061 the:0.0060 of:0.0039 :0.0368
@ -6581,7 +6581,7 @@ is:0.0175 or:0.0181 in:0.0210 to:0.0271 The:0.0230 and:0.0428 a:0.0212 the:0.038
that:0.0010 in:0.0015 to:0.0026 and:0.0030 of:0.0039 a:0.0021 the:0.0119 one:0.0046 :0.0326
have:0.0420 give:0.0421 bo:0.0432 a:0.0684 tho:0.0426 his:0.0544 their:0.0492 the:0.1341 be:0.1065 :0.1800
that:0.0010 in:0.0015 to:0.0025 be:0.0012 of:0.0039 a:0.0018 the:0.0062 and:0.0030 :0.0416
tor:0.0977 free:0.1092 in:0.1178 a:0.1882 due:0.1140 an:0.1537 tho:0.1355 to:0.2011 the:0.1885 no:0.1278
tor:0.0977 free:0.1092 in:0.1178 a:0.1882 due:0.1140 an:0.1537 tho:0.1355 to:0.2011 the:0.1885 no:0.1178 :0.01
gold:0.0200 murder:0.0203 men:0.0217 it:0.0205 life:0.0212 record:0.0300 water:0.0246 land:0.0265 money:0.0212 :0.1319
struck:0.0045 went:0.0047 him:0.0058 was:0.0049 carried:0.0053 and:0.0067 it:0.0083 the:0.0083 them:0.0060 :0.0435
at:0.0799 or:0.0825 in:0.0949 to:0.1094 The:0.0974 and:0.1683 a:0.0979 of:0.1488 the:0.1446 :0.3451

Can't render this file because it is too large.

13
lm0.py
View File

@ -1,13 +0,0 @@
#!/usr/bin/python3
import sys
for i, line in enumerate(sys.stdin):
if(line.split('\t')[6].endswith('\n')):
print('hence:0.95 :0.05')
elif(line.split('\t')[6].endswith('ot')):
print('be:0.6 a:0.35 :0.05')
elif(line.split('\t')[6].endswith('.')):
print('but:0.85 :0.15')
elif([l.split(' ') for l in line.split('\t')][5][0].endswith('ing')):
print('this:0.88 :0.12')
else:
print('the:0.5 a:0.3 :0.2')