summaryrefslogtreecommitdiff
path: root/src/.nl_reweighter.py.swp
blob: 2180681df93df50186fa832c9120ac1593882abc (plain)
ofshex dumpascii
0000 62 30 56 49 4d 20 37 2e 33 00 00 00 00 10 00 00 f7 7e 86 51 2b b4 18 00 f5 0f 00 00 6a 61 63 6f b0VIM.7.3........~.Q+.......jaco
0020 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b...............................
0040 00 00 00 00 68 6f 70 70 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ....hopper......................
0060 00 00 00 00 00 00 00 00 00 00 00 00 7e 6a 61 63 6f 62 2f 73 72 63 2f 73 6d 74 2d 73 65 6d 70 61 ............~jacob/src/smt-sempa
0080 72 73 65 2f 73 72 63 2f 6e 6c 5f 72 65 77 65 69 67 68 74 65 72 2e 70 79 00 00 00 00 00 00 00 00 rse/src/nl_reweighter.py........
00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03e0 00 00 00 00 00 00 00 00 00 75 74 66 2d 38 0d 00 33 32 31 30 00 00 00 00 23 22 21 20 13 12 55 00 .........utf-8..3210....#"!...U.
0400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 74 70 04 00 7f 00 00 00 02 00 00 00 00 00 00 00 46 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 tp..............F...............
1020 01 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 26 00 00 00 00 00 00 00 49 00 00 00 00 00 00 00 ................&.......I.......
1040 01 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 6a 00 00 00 00 00 00 00 6c 00 00 00 00 00 00 00 ................j.......l.......
1060 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 0d 00 00 00 00 00 00 00 d6 00 00 00 00 00 00 00 ................................
1080 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
10e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
2000 61 64 00 00 da 06 00 00 0e 08 00 00 00 10 00 00 46 00 00 00 00 00 00 00 f4 0f 00 00 ea 0f 00 00 ad..............F...............
2020 be 0f 00 00 ad 0f 00 00 9e 0f 00 00 7a 0f 00 00 70 0f 00 00 6f 0f 00 00 63 0f 00 00 62 0f 00 00 ............z...p...o...c...b...
2040 4b 0f 00 00 4a 0f 00 00 0d 0f 00 00 f2 0e 00 00 d9 0e 00 00 c6 0e 00 00 b3 0e 00 00 92 0e 00 00 K...J...........................
2060 6b 0e 00 00 6a 0e 00 00 5b 0e 00 00 2a 0e 00 00 e6 0d 00 00 c5 0d 00 00 ac 0d 00 00 6c 0d 00 00 k...j...[...*...............l...
2080 51 0d 00 00 0f 0d 00 00 fb 0c 00 00 d7 0c 00 00 b6 0c 00 00 88 0c 00 00 48 0c 00 00 47 0c 00 00 Q.......................H...G...
20a0 38 0c 00 00 1e 0c 00 00 cd 0b 00 00 8f 0b 00 00 8e 0b 00 00 73 0b 00 00 24 0b 00 00 23 0b 00 00 8...................s...$...#...
20c0 0d 0b 00 00 f5 0a 00 00 f4 0a 00 00 de 0a 00 00 90 0a 00 00 7e 0a 00 00 7d 0a 00 00 69 0a 00 00 ....................~...}...i...
20e0 68 0a 00 00 4a 0a 00 00 31 0a 00 00 30 0a 00 00 1f 0a 00 00 fc 09 00 00 db 09 00 00 b3 09 00 00 h...J...1...0...................
2100 84 09 00 00 83 09 00 00 3c 09 00 00 24 09 00 00 00 09 00 00 d2 08 00 00 bc 08 00 00 a9 08 00 00 ........<...$...................
2120 76 08 00 00 2f 08 00 00 2e 08 00 00 0e 08 00 00 f9 07 00 00 f8 07 00 00 b0 07 00 00 8c 07 00 00 v.../...........................
2140 5e 07 00 00 39 07 00 00 23 07 00 00 10 07 00 00 dd 06 00 00 96 06 00 00 6c 06 00 00 3c 06 00 00 ^...9...#...............l...<...
2160 3b 06 00 00 1e 06 00 00 d2 05 00 00 c3 05 00 00 8e 05 00 00 62 05 00 00 31 05 00 00 0e 05 00 00 ;...................b...1.......
2180 fd 04 00 00 fc 04 00 00 d3 04 00 00 83 04 00 00 2f 04 00 00 1f 04 00 00 e2 03 00 00 9e 03 00 00 ................/...............
21a0 78 03 00 00 29 03 00 00 0d 03 00 00 d6 02 00 00 89 02 00 00 58 02 00 00 2c 02 00 00 15 02 00 00 x...)...............X...,.......
21c0 14 02 00 00 cc 01 00 00 00 00 00 00 20 20 20 20 6f 6c 64 5f 63 6f 6e 66 69 67 5f 70 61 74 68 20 ................old_config_path.
21e0 3d 20 27 25 73 2f 6d 6f 64 65 6c 2f 6d 6f 73 65 73 2e 69 6e 69 27 20 25 20 73 65 6c 66 2e 63 6f =.'%s/model/moses.ini'.%.self.co
2200 6e 66 69 67 2e 65 78 70 65 72 69 6d 65 6e 74 5f 64 69 72 00 00 20 20 20 20 20 20 20 20 20 20 63 nfig.experiment_dir............c
2220 6f 75 6e 74 65 72 20 2b 3d 20 31 00 20 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 20 3e 3e 6e 65 ounter.+=.1...........print.>>ne
2240 77 5f 72 75 6c 65 5f 74 61 62 6c 65 5f 66 2c 20 6e 65 77 6c 69 6e 65 00 20 20 20 20 20 20 20 20 w_rule_table_f,.newline.........
2260 20 20 6e 65 77 6c 69 6e 65 20 3d 20 72 65 2e 73 75 62 28 72 27 5c 73 2b 27 2c 20 27 20 27 2c 20 ..newline.=.re.sub(r'\s+',.'.',.
2280 6e 65 77 6c 69 6e 65 29 00 20 20 20 20 20 20 20 20 20 20 6e 65 77 6c 69 6e 65 20 3d 20 27 20 7c newline)...........newline.=.'.|
22a0 7c 7c 20 27 2e 6a 6f 69 6e 28 5b 6e 6c 2c 20 6d 72 6c 2c 20 73 63 6f 72 65 73 2c 20 61 6c 69 67 ||.'.join([nl,.mrl,.scores,.alig
22c0 6e 6d 65 6e 74 73 2c 20 72 75 6c 65 5f 63 6f 75 6e 74 73 5d 29 00 20 20 20 20 20 20 20 20 20 20 nments,.rule_counts])...........
22e0 73 63 6f 72 65 73 20 3d 20 27 25 73 20 25 66 27 20 25 20 28 73 63 6f 72 65 73 2c 20 63 6f 75 6e scores.=.'%s.%f'.%.(scores,.coun
2300 74 73 5b 63 6f 75 6e 74 65 72 5d 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 65 2e ts[counter])...............line.
2320 73 74 72 69 70 28 29 29 00 20 20 20 20 20 20 20 20 20 20 6e 6c 2c 20 6d 72 6c 2c 20 73 63 6f 72 strip())...........nl,.mrl,.scor
2340 65 73 2c 20 61 6c 69 67 6e 6d 65 6e 74 73 2c 20 72 75 6c 65 5f 63 6f 75 6e 74 73 20 3d 20 72 65 es,.alignments,.rule_counts.=.re
2360 2e 73 70 6c 69 74 28 72 27 5c 20 3f 5c 7c 5c 7c 5c 7c 5c 20 3f 27 2c 00 20 20 20 20 20 20 20 20 .split(r'\.?\|\|\|\.?',.........
2380 66 6f 72 20 6c 69 6e 65 20 69 6e 20 6f 6c 64 5f 72 75 6c 65 5f 74 61 62 6c 65 5f 66 3a 00 20 20 for.line.in.old_rule_table_f:...
23a0 20 20 20 20 77 69 74 68 20 67 7a 69 70 2e 6f 70 65 6e 28 6e 65 77 5f 72 75 6c 65 5f 74 61 62 6c ....with.gzip.open(new_rule_tabl
23c0 65 5f 70 61 74 68 2c 20 27 77 27 29 20 61 73 20 6e 65 77 5f 72 75 6c 65 5f 74 61 62 6c 65 5f 66 e_path,.'w').as.new_rule_table_f
23e0 3a 00 20 20 20 20 77 69 74 68 20 67 7a 69 70 2e 6f 70 65 6e 28 6f 6c 64 5f 72 75 6c 65 5f 74 61 :.....with.gzip.open(old_rule_ta
2400 62 6c 65 5f 70 61 74 68 29 20 61 73 20 6f 6c 64 5f 72 75 6c 65 5f 74 61 62 6c 65 5f 66 3a 00 20 ble_path).as.old_rule_table_f:..
2420 20 20 20 63 6f 75 6e 74 65 72 20 3d 20 30 00 20 20 20 20 6e 65 77 5f 72 75 6c 65 5f 74 61 62 6c ...counter.=.0.....new_rule_tabl
2440 65 5f 70 61 74 68 20 3d 20 27 25 73 2f 6d 6f 64 65 6c 2f 72 75 6c 65 2d 74 61 62 6c 65 2d 6e 65 e_path.=.'%s/model/rule-table-ne
2460 77 2e 67 7a 27 20 25 20 73 65 6c 66 2e 63 6f 6e 66 69 67 2e 65 78 70 65 72 69 6d 65 6e 74 5f 64 w.gz'.%.self.config.experiment_d
2480 69 72 00 20 20 20 20 6f 6c 64 5f 72 75 6c 65 5f 74 61 62 6c 65 5f 70 61 74 68 20 3d 20 27 25 73 ir.....old_rule_table_path.=.'%s
24a0 2f 6d 6f 64 65 6c 2f 72 75 6c 65 2d 74 61 62 6c 65 2e 67 7a 27 20 25 20 73 65 6c 66 2e 63 6f 6e /model/rule-table.gz'.%.self.con
24c0 66 69 67 2e 65 78 70 65 72 69 6d 65 6e 74 5f 64 69 72 00 20 20 64 65 66 20 77 72 69 74 65 5f 75 fig.experiment_dir...def.write_u
24e0 70 64 61 74 65 64 5f 6d 6f 64 65 6c 28 73 65 6c 66 2c 20 63 6f 75 6e 74 73 29 3a 00 00 20 20 20 pdated_model(self,.counts):.....
2500 20 72 65 74 75 72 6e 20 72 75 6c 65 73 00 20 20 20 20 20 20 20 20 72 75 6c 65 73 5b 72 75 6c 65 .return.rules.........rules[rule
2520 2e 72 75 6c 65 5f 69 64 5d 20 3d 20 72 75 6c 65 00 20 20 20 20 20 20 20 20 72 75 6c 65 20 3d 20 .rule_id].=.rule.........rule.=.
2540 52 75 6c 65 2e 66 72 6f 6d 5f 6d 6f 73 65 73 28 6c 65 6e 28 72 75 6c 65 73 29 2c 20 6c 69 6e 65 Rule.from_moses(len(rules),.line
2560 29 00 20 20 20 20 20 20 66 6f 72 20 6c 69 6e 65 20 69 6e 20 72 75 6c 65 5f 74 61 62 6c 65 5f 66 ).......for.line.in.rule_table_f
2580 2e 72 65 61 64 6c 69 6e 65 73 28 29 3a 00 20 20 20 20 77 69 74 68 20 67 7a 69 70 2e 6f 70 65 6e .readlines():.....with.gzip.open
25a0 28 72 75 6c 65 5f 74 61 62 6c 65 5f 70 61 74 68 29 20 61 73 20 72 75 6c 65 5f 74 61 62 6c 65 5f (rule_table_path).as.rule_table_
25c0 66 3a 00 20 20 20 20 72 75 6c 65 73 20 3d 20 7b 7d 00 20 20 20 20 72 75 6c 65 5f 74 61 62 6c 65 f:.....rules.=.{}.....rule_table
25e0 5f 70 61 74 68 20 3d 20 27 25 73 2f 6d 6f 64 65 6c 2f 72 75 6c 65 2d 74 61 62 6c 65 2e 67 7a 27 _path.=.'%s/model/rule-table.gz'
2600 20 25 20 73 65 6c 66 2e 63 6f 6e 66 69 67 2e 65 78 70 65 72 69 6d 65 6e 74 5f 64 69 72 00 20 20 .%.self.config.experiment_dir...
2620 64 65 66 20 6c 6f 61 64 5f 72 75 6c 65 5f 74 61 62 6c 65 28 73 65 6c 66 29 3a 00 00 20 20 20 20 def.load_rule_table(self):......
2640 73 65 6c 66 2e 77 72 69 74 65 5f 75 70 64 61 74 65 64 5f 6d 6f 64 65 6c 28 73 75 63 63 65 73 73 self.write_updated_model(success
2660 66 75 6c 5f 63 6f 75 6e 74 73 29 00 20 20 20 20 23 73 65 6c 66 2e 77 72 69 74 65 5f 75 70 64 61 ful_counts).....#self.write_upda
2680 74 65 64 5f 6d 6f 64 65 6c 28 61 6c 6c 5f 63 6f 75 6e 74 73 29 00 20 20 20 20 20 20 20 20 73 65 ted_model(all_counts).........se
26a0 6c 66 2e 63 6f 6c 6c 65 63 74 5f 73 75 63 63 65 73 73 66 75 6c 5f 63 6f 75 6e 74 73 28 73 75 63 lf.collect_successful_counts(suc
26c0 63 65 73 73 66 75 6c 5f 63 6f 75 6e 74 73 2c 20 63 68 61 72 74 2c 20 74 6f 6b 73 29 00 20 20 20 cessful_counts,.chart,.toks)....
26e0 20 20 20 20 20 73 65 6c 66 2e 63 6f 6c 6c 65 63 74 5f 61 6c 6c 5f 63 6f 75 6e 74 73 28 61 6c 6c .....self.collect_all_counts(all
2700 5f 63 6f 75 6e 74 73 2c 20 63 68 61 72 74 29 00 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e _counts,.chart)...........contin
2720 75 65 00 20 20 20 20 20 20 20 20 69 66 20 6e 6f 74 20 63 68 61 72 74 3a 00 20 20 20 20 20 20 20 ue.........if.not.chart:........
2740 20 23 20 54 4f 44 4f 20 69 73 20 74 68 69 73 20 61 6e 20 4f 4f 56 20 69 73 73 75 65 3f 00 20 20 .#.TODO.is.this.an.OOV.issue?...
2760 20 20 20 20 20 20 63 68 61 72 74 20 3d 20 73 65 6c 66 2e 70 61 72 73 65 28 74 6f 6b 73 2c 20 72 ......chart.=.self.parse(toks,.r
2780 75 6c 65 73 2c 20 67 6c 75 65 29 00 20 20 20 20 20 20 20 20 74 6f 6b 73 20 3d 20 6c 69 6e 65 2e ules,.glue).........toks.=.line.
27a0 73 74 72 69 70 28 29 2e 73 70 6c 69 74 28 29 00 20 20 20 20 20 20 66 6f 72 20 6c 69 6e 65 20 69 strip().split().......for.line.i
27c0 6e 20 74 5f 66 3a 00 20 20 20 20 77 69 74 68 20 6f 70 65 6e 28 27 25 73 2f 74 72 61 69 6e 2e 6e n.t_f:.....with.open('%s/train.n
27e0 6c 27 20 25 20 73 65 6c 66 2e 63 6f 6e 66 69 67 2e 65 78 70 65 72 69 6d 20 20 20 20 20 69 66 20 l'.%.self.config.experim.....if.
2800 6e 6f 74 20 73 65 6c 66 2e 63 6f 6e 66 69 20 20 20 20 69 66 20 6e 6f 74 20 73 65 6c 66 2e 63 6f not.self.confi....if.not.self.co
2820 6e 66 69 67 2e 75 6c 5f 6f 6e 6c 79 3a 00 00 20 20 20 20 20 20 20 20 73 65 6c 66 2e 63 6f 6c 6c nfig.ul_only:..........self.coll
2840 65 63 74 5f 73 75 63 63 65 73 73 66 75 6c 5f 63 6f 75 6e 74 73 28 73 75 63 63 65 73 73 66 75 6c ect_successful_counts(successful
2860 5f 63 6f 75 6e 74 73 2c 20 63 68 61 72 74 2c 20 74 6f 6b 73 29 00 20 20 20 20 20 20 20 20 73 65 _counts,.chart,.toks).........se
2880 6c 66 2e 63 6f 6c 6c 65 63 74 5f 61 6c 6c 5f 63 6f 75 6e 74 73 28 61 6c 6c 5f 63 6f 75 6e 74 73 lf.collect_all_counts(all_counts
28a0 2c 20 63 68 61 72 74 29 00 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 00 20 20 20 20 ,.chart)...........continue.....
28c0 20 20 20 20 69 66 20 6e 6f 74 20 63 68 61 72 74 3a 00 20 20 20 20 20 20 20 20 63 68 61 72 74 20 ....if.not.chart:.........chart.
28e0 3d 20 73 65 6c 66 2e 70 61 72 73 65 28 74 6f 6b 73 2c 20 72 75 6c 65 73 2c 20 67 6c 75 65 29 00 =.self.parse(toks,.rules,.glue).
2900 20 20 20 20 20 20 20 20 74 6f 6b 73 20 3d 20 6c 69 6e 65 2e 73 74 72 69 70 28 29 2e 73 70 6c 69 ........toks.=.line.strip().spli
2920 74 28 29 00 20 20 20 20 20 20 66 6f 72 20 6c 69 6e 65 20 69 6e 20 75 6c 5f 66 3a 00 20 20 20 20 t().......for.line.in.ul_f:.....
2940 77 69 74 68 20 6f 70 65 6e 28 27 25 73 2f 75 6e 6c 61 62 65 6c 65 64 2e 6e 6c 27 20 25 20 73 65 with.open('%s/unlabeled.nl'.%.se
2960 6c 66 2e 63 6f 6e 66 69 67 2e 65 78 70 65 72 69 6d 65 6e 74 5f 64 69 72 29 20 61 73 20 75 6c 5f lf.config.experiment_dir).as.ul_
2980 66 3a 00 00 20 20 20 20 73 75 63 63 65 73 73 66 75 6c 5f 63 6f 75 6e 74 73 20 3d 20 64 65 66 61 f:......successful_counts.=.defa
29a0 75 6c 74 64 69 63 74 28 6c 61 6d 62 64 61 3a 20 30 29 00 20 20 20 20 61 6c 6c 5f 63 6f 75 6e 74 ultdict(lambda:.0).....all_count
29c0 73 20 3d 20 64 65 66 61 75 6c 74 64 69 63 74 28 6c 61 6d 62 64 61 3a 20 30 29 00 20 20 20 20 67 s.=.defaultdict(lambda:.0).....g
29e0 6c 75 65 20 3d 20 52 75 6c 65 2e 67 6c 75 65 28 6c 65 6e 28 72 75 6c 65 73 29 29 00 20 20 20 20 lue.=.Rule.glue(len(rules)).....
2a00 72 75 6c 65 73 20 3d 20 73 65 6c 66 2e 6c 6f 61 64 5f 72 75 6c 65 5f 74 61 62 6c 65 28 29 00 20 rules.=.self.load_rule_table()..
2a20 20 64 65 66 20 72 75 6e 28 73 65 6c 66 29 3a 00 00 20 20 20 20 73 65 6c 66 2e 63 6f 6e 66 69 67 .def.run(self):......self.config
2a40 20 3d 20 63 6f 6e 66 69 67 00 20 20 64 65 66 20 5f 5f 69 6e 69 74 5f 5f 28 73 65 6c 66 2c 20 63 .=.config...def.__init__(self,.c
2a60 6f 6e 66 69 67 29 3a 00 00 63 6c 61 73 73 20 4e 4c 52 65 77 65 69 67 68 74 65 72 3a 00 00 20 20 onfig):..class.NLReweighter:....
2a80 20 20 20 20 20 20 73 65 6c 66 2e 74 67 74 29 00 20 20 20 20 72 65 74 75 72 6e 20 27 52 75 6c 65 ......self.tgt).....return.'Rule
2aa0 3c 28 25 64 29 20 25 73 20 2d 3e 20 25 73 20 3a 20 25 73 3e 27 20 25 20 28 73 65 6c 66 2e 72 75 <(%d).%s.->.%s.:.%s>'.%.(self.ru
2ac0 6c 65 5f 69 64 2c 20 73 65 6c 66 2e 73 79 6d 62 6f 6c 2c 20 73 65 6c 66 2e 73 72 63 2c 00 20 20 le_id,.self.symbol,.self.src,...
2ae0 64 65 66 20 5f 5f 72 65 70 72 5f 5f 28 73 65 6c 66 29 3a 00 00 20 20 20 20 72 65 74 75 72 6e 20 def.__repr__(self):......return.
2b00 73 65 6c 66 2e 72 75 6c 65 5f 69 64 00 20 20 64 65 66 20 5f 5f 68 61 73 68 5f 5f 28 73 65 6c 66 self.rule_id...def.__hash__(self
2b20 29 3a 00 00 20 20 20 20 72 65 74 75 72 6e 20 6f 74 68 65 72 2e 5f 5f 63 6c 61 73 73 5f 5f 20 3d ):......return.other.__class__.=
2b40 3d 20 73 65 6c 66 2e 5f 5f 63 6c 61 73 73 5f 5f 20 61 6e 64 20 73 65 6c 66 2e 72 75 6c 65 5f 69 =.self.__class__.and.self.rule_i
2b60 64 20 3d 3d 20 6f 74 68 65 72 2e 72 75 6c 65 5f 69 64 00 20 20 64 65 66 20 5f 5f 65 71 5f 5f 28 d.==.other.rule_id...def.__eq__(
2b80 73 65 6c 66 2c 20 6f 74 68 65 72 29 3a 00 00 20 20 20 20 20 20 20 20 5b 63 6c 73 2e 4d 4f 53 45 self,.other):..........[cls.MOSE
2ba0 53 5f 53 59 4d 42 4f 4c 2c 20 63 6c 73 2e 4d 4f 53 45 53 5f 53 59 4d 42 4f 4c 5d 2c 20 5b 28 30 S_SYMBOL,.cls.MOSES_SYMBOL],.[(0
2bc0 2c 30 29 2c 20 28 31 2c 31 29 5d 29 00 20 20 20 20 72 65 74 75 72 6e 20 52 75 6c 65 28 72 75 6c ,0),.(1,1)]).....return.Rule(rul
2be0 65 5f 69 64 2c 20 63 6c 73 2e 4d 4f 53 45 53 5f 53 59 4d 42 4f 4c 2c 20 5b 63 6c 73 2e 4d 4f 53 e_id,.cls.MOSES_SYMBOL,.[cls.MOS
2c00 45 53 5f 53 59 4d 42 4f 4c 2c 20 63 6c 73 2e 4d 4f 53 45 53 5f 53 59 4d 42 4f 4c 5d 2c 00 20 20 ES_SYMBOL,.cls.MOSES_SYMBOL],...
2c20 64 65 66 20 67 6c 75 65 28 63 6c 73 2c 20 72 75 6c 65 5f 69 64 29 3a 00 20 20 40 63 6c 61 73 73 def.glue(cls,.rule_id):...@class
2c40 6d 65 74 68 6f 64 00 00 20 20 20 20 72 65 74 75 72 6e 20 52 75 6c 65 28 72 75 6c 65 5f 69 64 2c method......return.Rule(rule_id,
2c60 20 63 6c 73 2e 4d 4f 53 45 53 5f 53 59 4d 42 4f 4c 2c 20 6e 6c 2c 20 6d 72 6c 2c 20 63 6f 69 6e .cls.MOSES_SYMBOL,.nl,.mrl,.coin
2c80 64 65 78 69 6e 67 29 00 20 20 20 20 20 20 63 6f 69 6e 64 65 78 69 6e 67 2e 61 70 70 65 6e 64 28 dexing).......coindexing.append(
2ca0 28 69 6e 74 28 69 5f 73 29 2c 20 69 6e 74 28 69 5f 74 29 29 29 00 20 20 20 20 20 20 69 5f 73 2c (int(i_s),.int(i_t))).......i_s,
2cc0 20 69 5f 74 20 3d 20 70 61 69 72 2e 73 70 6c 69 74 28 27 2d 27 29 00 20 20 20 20 66 6f 72 20 70 .i_t.=.pair.split('-').....for.p
2ce0 61 69 72 20 69 6e 20 61 6c 69 67 6e 6d 65 6e 74 73 2e 73 70 6c 69 74 28 29 3a 00 20 20 20 20 63 air.in.alignments.split():.....c
2d00 6f 69 6e 64 65 78 69 6e 67 20 3d 20 5b 5d 00 20 20 20 20 6d 72 6c 20 3d 20 5b 63 6c 73 2e 4d 4f oindexing.=.[].....mrl.=.[cls.MO
2d20 53 45 53 5f 53 59 4d 42 4f 4c 20 69 66 20 74 20 3d 3d 20 27 5b 58 5d 5b 58 5d 27 20 65 6c 73 65 SES_SYMBOL.if.t.==.'[X][X]'.else
2d40 20 74 20 66 6f 72 20 74 20 69 6e 20 6d 72 6c 5d 00 20 20 20 20 6d 72 6c 20 3d 20 6d 72 6c 2e 73 .t.for.t.in.mrl].....mrl.=.mrl.s
2d60 70 6c 69 74 28 29 5b 3a 2d 31 5d 00 20 20 20 20 6e 6c 20 3d 20 5b 63 6c 73 2e 4d 4f 53 45 53 5f plit()[:-1].....nl.=.[cls.MOSES_
2d80 53 59 4d 42 4f 4c 20 69 66 20 74 20 3d 3d 20 27 5b 58 5d 5b 58 5d 27 20 65 6c 73 65 20 74 20 66 SYMBOL.if.t.==.'[X][X]'.else.t.f
2da0 6f 72 20 74 20 69 6e 20 6e 6c 5d 00 20 20 20 20 6e 6c 20 3d 20 6e 6c 2e 73 70 6c 69 74 28 29 5b or.t.in.nl].....nl.=.nl.split()[
2dc0 3a 2d 31 5d 00 20 20 20 20 20 20 20 20 72 75 6c 65 5f 74 61 62 6c 65 5f 6c 69 6e 65 2e 73 74 72 :-1].........rule_table_line.str
2de0 69 70 28 29 29 00 20 20 20 20 6e 6c 2c 20 6d 72 6c 2c 20 73 63 6f 72 65 73 2c 20 61 6c 69 67 6e ip()).....nl,.mrl,.scores,.align
2e00 6d 65 6e 74 73 2c 20 63 6f 75 6e 74 73 20 3d 20 72 65 2e 73 70 6c 69 74 28 72 27 5c 20 3f 5c 7c ments,.counts.=.re.split(r'\.?\|
2e20 5c 7c 5c 7c 5c 20 3f 27 2c 00 20 20 64 65 66 20 66 72 6f 6d 5f 6d 6f 73 65 73 28 63 6c 73 2c 20 \|\|\.?',...def.from_moses(cls,.
2e40 72 75 6c 65 5f 69 64 2c 20 72 75 6c 65 5f 74 61 62 6c 65 5f 6c 69 6e 65 29 3a 00 20 20 40 63 6c rule_id,.rule_table_line):...@cl
2e60 61 73 73 6d 65 74 68 6f 64 00 00 20 20 20 20 73 65 6c 66 2e 64 65 67 72 65 65 20 3d 20 6c 65 6e assmethod......self.degree.=.len
2e80 28 73 65 6c 66 2e 63 6f 69 6e 64 65 78 69 6e 67 29 00 20 20 20 20 73 65 6c 66 2e 63 6f 69 6e 64 (self.coindexing).....self.coind
2ea0 65 78 69 6e 67 20 3d 20 63 6f 69 6e 64 65 78 69 6e 67 00 20 20 20 20 73 65 6c 66 2e 74 67 74 20 exing.=.coindexing.....self.tgt.
2ec0 3d 20 74 67 74 00 20 20 20 20 73 65 6c 66 2e 73 72 63 20 3d 20 73 72 63 00 20 20 20 20 73 65 6c =.tgt.....self.src.=.src.....sel
2ee0 66 2e 73 79 6d 62 6f 6c 20 3d 20 73 79 6d 62 6f 6c 00 20 20 20 20 73 65 6c 66 2e 72 75 6c 65 5f f.symbol.=.symbol.....self.rule_
2f00 69 64 20 3d 20 72 75 6c 65 5f 69 64 00 20 20 64 65 66 20 5f 5f 69 6e 69 74 5f 5f 28 73 65 6c 66 id.=.rule_id...def.__init__(self
2f20 2c 20 72 75 6c 65 5f 69 64 2c 20 73 79 6d 62 6f 6c 2c 20 73 72 63 2c 20 74 67 74 2c 20 63 6f 69 ,.rule_id,.symbol,.src,.tgt,.coi
2f40 6e 64 65 78 69 6e 67 29 3a 00 00 20 20 4d 4f 53 45 53 5f 53 59 4d 42 4f 4c 20 3d 20 27 5b 58 5d ndexing):....MOSES_SYMBOL.=.'[X]
2f60 27 00 00 63 6c 61 73 73 20 52 75 6c 65 3a 00 00 69 6d 70 6f 72 74 20 6f 73 00 66 72 6f 6d 20 63 '..class.Rule:..import.os.from.c
2f80 6f 6c 6c 65 63 74 69 6f 6e 73 20 69 6d 70 6f 72 74 20 64 65 66 61 75 6c 74 64 69 63 74 00 69 6d ollections.import.defaultdict.im
2fa0 70 6f 72 74 20 6c 6f 67 67 69 6e 67 00 69 6d 70 6f 72 74 20 69 74 65 72 74 6f 6f 6c 73 00 66 72 port.logging.import.itertools.fr
2fc0 6f 6d 20 6e 6c 70 5f 74 6f 6f 6c 73 2e 68 79 70 65 72 67 72 61 70 68 20 69 6d 70 6f 72 74 20 48 om.nlp_tools.hypergraph.import.H
2fe0 79 70 65 72 67 72 61 70 68 00 69 6d 70 6f 72 74 20 72 65 00 69 6d 70 6f 72 74 20 67 7a 69 70 00 ypergraph.import.re.import.gzip.
3000 61 64 00 00 3f 0e 00 00 8f 0e 00 00 00 10 00 00 0d 00 00 00 00 00 00 00 db 0f 00 00 ba 0f 00 00 ad..?...........................
3020 9a 0f 00 00 82 0f 00 00 69 0f 00 00 3f 0f 00 00 3e 0f 00 00 1b 0f 00 00 ff 0e 00 00 e6 0e 00 00 ........i...?...>...............
3040 c8 0e 00 00 a2 0e 00 00 8f 0e 00 00 8e 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
30a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
30c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
30e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
32a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
32c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
32e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
33a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
33c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
33e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
34a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
34c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
34e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
35a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
35c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
35e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
36a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
36c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
36e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
37a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
37c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
37e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
38a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
38c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
38e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
39a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
39c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
39e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 75 73 65 64 2e 61 64 64 28 63 65 6c 6c ...................used.add(cell
3ea0 29 00 20 20 20 20 20 20 20 20 20 20 73 65 6c 66 2e 6d 61 72 6b 5f 75 73 65 64 28 75 73 65 64 2c )...........self.mark_used(used,
3ec0 20 63 63 65 6c 6c 29 00 20 20 20 20 20 20 20 20 69 66 20 63 63 65 6c 6c 20 6e 6f 74 20 69 6e 20 .ccell).........if.ccell.not.in.
3ee0 75 73 65 64 3a 00 20 20 20 20 20 20 66 6f 72 20 63 63 65 6c 6c 20 69 6e 20 65 64 67 65 3a 00 20 used:.......for.ccell.in.edge:..
3f00 20 20 20 66 6f 72 20 65 64 67 65 20 69 6e 20 63 65 6c 6c 2e 65 64 67 65 73 3a 00 20 20 64 65 66 ...for.edge.in.cell.edges:...def
3f20 20 6d 61 72 6b 5f 75 73 65 64 28 73 65 6c 66 2c 20 75 73 65 64 2c 20 63 65 6c 6c 29 3a 00 00 20 .mark_used(self,.used,.cell):...
3f40 20 20 20 20 20 20 20 20 20 63 6f 75 6e 74 73 5b 6e 6f 64 65 2e 6c 61 62 65 6c 2e 72 75 6c 65 5f .........counts[node.label.rule_
3f60 69 64 5d 20 2b 3d 20 31 00 20 20 20 20 20 20 20 20 69 66 20 6e 6f 64 65 20 69 6e 20 75 73 65 64 id].+=.1.........if.node.in.used
3f80 3a 00 20 20 20 20 20 20 66 6f 72 20 6e 6f 64 65 20 69 6e 20 63 65 6c 6c 3a 00 20 20 20 20 66 6f :.......for.node.in.cell:.....fo
3fa0 72 20 63 65 6c 6c 20 69 6e 20 63 68 61 72 74 2e 76 61 6c 75 65 73 28 29 3a 00 20 20 20 20 20 20 r.cell.in.chart.values():.......
3fc0 73 65 6c 66 2e 6d 61 72 6b 5f 75 73 65 64 28 75 73 65 64 2c 20 63 65 6c 6c 29 00 20 20 20 20 66 self.mark_used(used,.cell).....f
3fe0 6f 72 20 63 65 6c 6c 20 69 6e 20 63 68 61 72 74 5b 30 2c 20 6c 65 6e 28 73 65 6e 74 29 5d 3a 00 or.cell.in.chart[0,.len(sent)]:.
4000 61 64 00 00 fc 08 00 00 b0 09 00 00 00 10 00 00 26 00 00 00 00 00 00 00 bc 0f 00 00 a3 0f 00 00 ad..............&...............
4020 7d 0f 00 00 4d 0f 00 00 26 0f 00 00 0e 0f 00 00 f9 0e 00 00 c4 0e 00 00 7b 0e 00 00 7a 0e 00 00 }...M...&...............{...z...
4040 50 0e 00 00 20 0e 00 00 1f 0e 00 00 02 0e 00 00 b6 0d 00 00 a7 0d 00 00 72 0d 00 00 46 0d 00 00 P.......................r...F...
4060 15 0d 00 00 f2 0c 00 00 e1 0c 00 00 e0 0c 00 00 b7 0c 00 00 67 0c 00 00 13 0c 00 00 03 0c 00 00 ....................g...........
4080 c6 0b 00 00 82 0b 00 00 5c 0b 00 00 0d 0b 00 00 f1 0a 00 00 ba 0a 00 00 6d 0a 00 00 3c 0a 00 00 ........\...............m...<...
40a0 10 0a 00 00 f9 09 00 00 f8 09 00 00 b0 09 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
40c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
40e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
41a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
41c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
41e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
42a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
42c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
42e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
43a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
43c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
43e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
44a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
44c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
44e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
45a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
45c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
45e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
46a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
46c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
46e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
47a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
47c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
47e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
48a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
48c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
48e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
4980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
49a0 00 00 00 00 00 00 20 20 20 20 6f 6c 64 5f 63 6f 20 20 20 20 6f 6c 64 5f 63 6f 6e 66 69 67 5f 70 ..........old_co....old_config_p
49c0 61 74 68 20 3d 20 27 25 73 2f 6d 6f 64 65 6c 2f 6d 6f 73 65 73 2e 69 6e 69 27 20 25 20 73 65 6c ath.=.'%s/model/moses.ini'.%.sel
49e0 66 2e 63 6f 6e 66 69 67 2e 65 78 70 65 72 69 6d 65 6e 74 5f 64 69 72 00 00 20 20 20 20 20 20 20 f.config.experiment_dir.........
4a00 20 20 20 63 6f 75 6e 74 65 72 20 2b 3d 20 31 00 20 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 20 ...counter.+=.1...........print.
4a20 3e 3e 6e 65 77 5f 72 75 6c 65 5f 74 61 62 6c 65 5f 66 2c 20 6e 65 77 6c 69 6e 65 00 20 20 20 20 >>new_rule_table_f,.newline.....
4a40 20 20 20 20 20 20 6e 65 77 6c 69 6e 65 20 3d 20 72 65 2e 73 75 62 28 72 27 5c 73 2b 27 2c 20 27 ......newline.=.re.sub(r'\s+',.'
4a60 20 27 2c 20 6e 65 77 6c 69 6e 65 29 00 20 20 20 20 20 20 20 20 20 20 6e 65 77 6c 69 6e 65 20 3d .',.newline)...........newline.=
4a80 20 27 20 7c 7c 7c 20 27 2e 6a 6f 69 6e 28 5b 6e 6c 2c 20 6d 72 6c 2c 20 73 63 6f 72 65 73 2c 20 .'.|||.'.join([nl,.mrl,.scores,.
4aa0 61 6c 69 67 6e 6d 65 6e 74 73 2c 20 72 75 6c 65 5f 63 6f 75 6e 74 73 5d 29 00 20 20 20 20 20 20 alignments,.rule_counts]).......
4ac0 20 20 20 20 73 63 6f 72 65 73 20 3d 20 27 25 73 20 25 66 27 20 25 20 28 73 63 6f 72 65 73 2c 20 ....scores.=.'%s.%f'.%.(scores,.
4ae0 63 6f 75 6e 74 73 5b 63 6f 75 6e 74 65 72 5d 29 00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6c counts[counter])...............l
4b00 69 6e 65 2e 73 74 72 69 70 28 29 29 00 20 20 20 20 20 20 20 20 20 20 6e 6c 2c 20 6d 72 6c 2c 20 ine.strip())...........nl,.mrl,.
4b20 73 63 6f 72 65 73 2c 20 61 6c 69 67 6e 6d 65 6e 74 73 2c 20 72 75 6c 65 5f 63 6f 75 6e 74 73 20 scores,.alignments,.rule_counts.
4b40 3d 20 72 65 2e 73 70 6c 69 74 28 72 27 5c 20 3f 5c 7c 5c 7c 5c 7c 5c 20 3f 27 2c 00 20 20 20 20 =.re.split(r'\.?\|\|\|\.?',.....
4b60 20 20 20 20 66 6f 72 20 6c 69 6e 65 20 69 6e 20 6f 6c 64 5f 72 75 6c 65 5f 74 61 62 6c 65 5f 66 ....for.line.in.old_rule_table_f
4b80 3a 00 20 20 20 20 20 20 77 69 74 68 20 67 7a 69 70 2e 6f 70 65 6e 28 6e 65 77 5f 72 75 6c 65 5f :.......with.gzip.open(new_rule_
4ba0 74 61 62 6c 65 5f 70 61 74 68 2c 20 27 77 27 29 20 61 73 20 6e 65 77 5f 72 75 6c 65 5f 74 61 62 table_path,.'w').as.new_rule_tab
4bc0 6c 65 5f 66 3a 00 20 20 20 20 77 69 74 68 20 67 7a 69 70 2e 6f 70 65 6e 28 6f 6c 64 5f 72 75 6c le_f:.....with.gzip.open(old_rul
4be0 65 5f 74 61 62 6c 65 5f 70 61 74 68 29 20 61 73 20 6f 6c 64 5f 72 75 6c 65 5f 74 61 62 6c 65 5f e_table_path).as.old_rule_table_
4c00 66 3a 00 20 20 20 20 63 6f 75 6e 74 65 72 20 3d 20 30 00 20 20 20 20 6e 65 77 5f 72 75 6c 65 5f f:.....counter.=.0.....new_rule_
4c20 74 61 62 6c 65 5f 70 61 74 68 20 3d 20 27 25 73 2f 6d 6f 64 65 6c 2f 72 75 6c 65 2d 74 61 62 6c table_path.=.'%s/model/rule-tabl
4c40 65 2d 6e 65 77 2e 67 7a 27 20 25 20 73 65 6c 66 2e 63 6f 6e 66 69 67 2e 65 78 70 65 72 69 6d 65 e-new.gz'.%.self.config.experime
4c60 6e 74 5f 64 69 72 00 20 20 20 20 6f 6c 64 5f 72 75 6c 65 5f 74 61 62 6c 65 5f 70 61 74 68 20 3d nt_dir.....old_rule_table_path.=
4c80 20 27 25 73 2f 6d 6f 64 65 6c 2f 72 75 6c 65 2d 74 61 62 6c 65 2e 67 7a 27 20 25 20 73 65 6c 66 .'%s/model/rule-table.gz'.%.self
4ca0 2e 63 6f 6e 66 69 67 2e 65 78 70 65 72 69 6d 65 6e 74 5f 64 69 72 00 20 20 64 65 66 20 77 72 69 .config.experiment_dir...def.wri
4cc0 74 65 5f 75 70 64 61 74 65 64 5f 6d 6f 64 65 6c 28 73 65 6c 66 2c 20 63 6f 75 6e 74 73 29 3a 00 te_updated_model(self,.counts):.
4ce0 00 20 20 20 20 72 65 74 75 72 6e 20 72 75 6c 65 73 00 20 20 20 20 20 20 20 20 72 75 6c 65 73 5b .....return.rules.........rules[
4d00 72 75 6c 65 2e 72 75 6c 65 5f 69 64 5d 20 3d 20 72 75 6c 65 00 20 20 20 20 20 20 20 20 72 75 6c rule.rule_id].=.rule.........rul
4d20 65 20 3d 20 52 75 6c 65 2e 66 72 6f 6d 5f 6d 6f 73 65 73 28 6c 65 6e 28 72 75 6c 65 73 29 2c 20 e.=.Rule.from_moses(len(rules),.
4d40 6c 69 6e 65 29 00 20 20 20 20 20 20 66 6f 72 20 6c 69 6e 65 20 69 6e 20 72 75 6c 65 5f 74 61 62 line).......for.line.in.rule_tab
4d60 6c 65 5f 66 2e 72 65 61 64 6c 69 6e 65 73 28 29 3a 00 20 20 20 20 77 69 74 68 20 67 7a 69 70 2e le_f.readlines():.....with.gzip.
4d80 6f 70 65 6e 28 72 75 6c 65 5f 74 61 62 6c 65 5f 70 61 74 68 29 20 61 73 20 72 75 6c 65 5f 74 61 open(rule_table_path).as.rule_ta
4da0 62 6c 65 5f 66 3a 00 20 20 20 20 72 75 6c 65 73 20 3d 20 7b 7d 00 20 20 20 20 72 75 6c 65 5f 74 ble_f:.....rules.=.{}.....rule_t
4dc0 61 62 6c 65 5f 70 61 74 68 20 3d 20 27 25 73 2f 6d 6f 64 65 6c 2f 72 75 6c 65 2d 74 61 62 6c 65 able_path.=.'%s/model/rule-table
4de0 2e 67 7a 27 20 25 20 73 65 6c 66 2e 63 6f 6e 66 69 67 2e 65 78 70 65 72 69 6d 65 6e 74 5f 64 69 .gz'.%.self.config.experiment_di
4e00 72 00 20 20 64 65 66 20 6c 6f 61 64 5f 72 75 6c 65 5f 74 61 62 6c 65 28 73 65 6c 66 29 3a 00 00 r...def.load_rule_table(self):..
4e20 20 20 20 20 73 65 6c 66 2e 77 72 69 74 65 5f 75 70 64 61 74 65 64 5f 6d 6f 64 65 6c 28 73 75 63 ....self.write_updated_model(suc
4e40 63 65 73 73 66 75 6c 5f 63 6f 75 6e 74 73 29 00 20 20 20 20 23 73 65 6c 66 2e 77 72 69 74 65 5f cessful_counts).....#self.write_
4e60 75 70 64 61 74 65 64 5f 6d 6f 64 65 6c 28 61 6c 6c 5f 63 6f 75 6e 74 73 29 00 00 20 20 20 20 20 updated_model(all_counts).......
4e80 20 20 20 20 20 73 65 6c 66 2e 63 6f 6c 6c 65 63 74 5f 73 75 63 63 65 73 73 66 75 6c 5f 63 6f 75 .....self.collect_successful_cou
4ea0 6e 74 73 28 73 75 63 63 65 73 73 66 75 6c 5f 63 6f 75 6e 74 73 2c 20 63 68 61 72 74 2c 20 74 6f nts(successful_counts,.chart,.to
4ec0 6b 73 29 00 20 20 20 20 20 20 20 20 20 20 73 65 6c 66 2e 63 6f 6c 6c 65 63 74 5f 61 6c 6c 5f 63 ks)...........self.collect_all_c
4ee0 6f 75 6e 74 73 28 61 6c 6c 5f 63 6f 75 6e 74 73 2c 20 63 68 61 72 74 29 00 20 20 20 20 20 20 20 ounts(all_counts,.chart)........
4f00 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 00 20 20 20 20 20 20 20 20 20 20 69 66 20 6e 6f 74 20 63 .....continue...........if.not.c
4f20 68 61 72 74 3a 00 20 20 20 20 20 20 20 20 20 20 23 20 54 4f 44 4f 20 69 73 20 74 68 69 73 20 61 hart:...........#.TODO.is.this.a
4f40 6e 20 4f 4f 56 20 69 73 73 75 65 3f 00 20 20 20 20 20 20 20 20 20 20 63 68 61 72 74 20 3d 20 73 n.OOV.issue?...........chart.=.s
4f60 65 6c 66 2e 70 61 72 73 65 28 74 6f 6b 73 2c 20 72 75 6c 65 73 2c 20 67 6c 75 65 29 00 20 20 20 elf.parse(toks,.rules,.glue)....
4f80 20 20 20 20 20 20 20 74 6f 6b 73 20 3d 20 6c 69 6e 65 2e 73 74 72 69 70 28 29 2e 73 70 6c 69 74 .......toks.=.line.strip().split
4fa0 28 29 00 20 20 20 20 20 20 20 20 66 6f 72 20 6c 69 6e 65 20 69 6e 20 74 5f 66 3a 00 20 20 20 20 ().........for.line.in.t_f:.....
4fc0 20 20 77 69 74 68 20 6f 70 65 6e 28 27 25 73 2f 74 72 61 69 6e 2e 6e 6c 27 20 25 20 73 65 6c 66 ..with.open('%s/train.nl'.%.self
4fe0 2e 63 6f 6e 66 69 67 2e 65 78 70 65 72 69 6d 65 6e 74 5f 64 69 72 29 20 61 73 20 74 5f 66 3a 00 .config.experiment_dir).as.t_f:.
5000 61 64 00 00 1f 00 00 00 e3 01 00 00 00 10 00 00 6a 00 00 00 00 00 00 00 b4 0f 00 00 84 0f 00 00 ad..............j...............
5020 4d 0f 00 00 2b 0f 00 00 fd 0e 00 00 d0 0e 00 00 b5 0e 00 00 8f 0e 00 00 6a 0e 00 00 41 0e 00 00 M...+...................j...A...
5040 40 0e 00 00 08 0e 00 00 d8 0d 00 00 d7 0d 00 00 af 0d 00 00 9c 0d 00 00 9b 0d 00 00 74 0d 00 00 @...........................t...
5060 48 0d 00 00 25 0d 00 00 ff 0c 00 00 c0 0c 00 00 99 0c 00 00 98 0c 00 00 76 0c 00 00 48 0c 00 00 H...%...................v...H...
5080 f9 0b 00 00 be 0b 00 00 bd 0b 00 00 9e 0b 00 00 76 0b 00 00 64 0b 00 00 5a 0b 00 00 38 0b 00 00 ................v...d...Z...8...
50a0 25 0b 00 00 24 0b 00 00 f1 0a 00 00 f0 0a 00 00 d7 0a 00 00 b7 0a 00 00 a5 0a 00 00 78 0a 00 00 %...$.......................x...
50c0 66 0a 00 00 42 0a 00 00 41 0a 00 00 26 0a 00 00 f7 09 00 00 ce 09 00 00 b7 09 00 00 a5 09 00 00 f...B...A...&...................
50e0 61 09 00 00 4f 09 00 00 fd 08 00 00 eb 08 00 00 ea 08 00 00 9b 08 00 00 70 08 00 00 46 08 00 00 a...O...................p...F...
5100 31 08 00 00 16 08 00 00 04 08 00 00 c6 07 00 00 c5 07 00 00 aa 07 00 00 97 07 00 00 6d 07 00 00 1...........................m...
5120 26 07 00 00 fa 06 00 00 cb 06 00 00 ae 06 00 00 9c 06 00 00 76 06 00 00 48 06 00 00 10 06 00 00 &...................v...H.......
5140 e4 05 00 00 e3 05 00 00 a6 05 00 00 93 05 00 00 3b 05 00 00 28 05 00 00 da 04 00 00 c7 04 00 00 ................;...(...........
5160 c6 04 00 00 72 04 00 00 45 04 00 00 f1 03 00 00 c4 03 00 00 c3 03 00 00 8f 03 00 00 7c 03 00 00 ....r...E...................|...
5180 7b 03 00 00 2c 03 00 00 0f 03 00 00 e9 02 00 00 e8 02 00 00 d3 02 00 00 d2 02 00 00 c1 02 00 00 {...,...........................
51a0 c0 02 00 00 91 02 00 00 71 02 00 00 59 02 00 00 31 02 00 00 30 02 00 00 f4 01 00 00 e3 01 00 00 ........q...Y...1...0...........
51c0 e2 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
51e0 00 00 00 20 20 20 20 75 73 65 64 20 3d 20 73 65 74 28 29 00 20 20 64 65 66 20 63 6f 6c 6c 65 63 .......used.=.set()...def.collec
5200 74 5f 73 75 63 63 65 73 73 66 75 6c 5f 63 6f 75 6e 74 73 28 73 65 6c 66 2c 20 63 6f 75 6e 74 73 t_successful_counts(self,.counts
5220 2c 20 63 68 61 72 74 2c 20 73 65 6e 74 29 3a 00 00 20 20 20 20 20 20 20 20 63 6f 75 6e 74 73 5b ,.chart,.sent):..........counts[
5240 6e 6f 64 65 2e 6c 61 62 65 6c 2e 72 75 6c 65 5f 69 64 5d 20 2b 3d 20 31 00 20 20 20 20 20 20 66 node.label.rule_id].+=.1.......f
5260 6f 72 20 6e 6f 64 65 20 69 6e 20 63 65 6c 6c 3a 00 20 20 20 20 66 6f 72 20 63 65 6c 6c 20 69 6e or.node.in.cell:.....for.cell.in
5280 20 63 68 61 72 74 2e 76 61 6c 75 65 73 28 29 3a 00 20 20 64 65 66 20 63 6f 6c 6c 65 63 74 5f 61 .chart.values():...def.collect_a
52a0 6c 6c 5f 63 6f 75 6e 74 73 28 73 65 6c 66 2c 20 63 6f 75 6e 74 73 2c 20 63 68 61 72 74 29 3a 00 ll_counts(self,.counts,.chart):.
52c0 00 20 20 20 20 61 73 73 65 72 74 20 46 61 6c 73 65 00 00 20 20 20 20 20 20 72 65 74 75 72 6e 20 .....assert.False........return.
52e0 6d 61 74 63 68 65 73 00 00 20 20 20 20 20 20 20 20 23 6d 61 74 63 68 65 73 2e 61 70 70 65 6e 64 matches..........#matches.append
5300 28 72 75 6c 65 2e 72 75 6c 65 5f 69 64 29 00 20 20 20 20 20 20 20 20 20 20 70 6f 69 6e 74 65 72 (rule.rule_id)...........pointer
5320 5f 73 65 74 73 5f 32 29 29 29 29 00 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 2e 61 70 70 65 _sets_2)))).........matches.appe
5340 6e 64 28 48 79 70 65 72 67 72 61 70 68 28 72 75 6c 65 2c 20 6c 69 73 74 28 69 74 65 72 74 6f 6f nd(Hypergraph(rule,.list(itertoo
5360 6c 73 2e 70 72 6f 64 75 63 74 28 70 6f 69 6e 74 65 72 5f 73 65 74 73 5f 31 2c 00 00 20 20 20 20 ls.product(pointer_sets_1,......
5380 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 00 20 20 20 20 20 20 20 20 69 66 20 6e 6f 74 20 28 70 ......continue.........if.not.(p
53a0 6f 69 6e 74 65 72 5f 73 65 74 73 5f 31 20 61 6e 64 20 70 6f 69 6e 74 65 72 5f 73 65 74 73 5f 32 ointer_sets_1.and.pointer_sets_2
53c0 29 3a 00 00 20 20 20 20 20 20 20 20 20 20 20 20 72 75 6c 65 2e 73 72 63 5b 72 75 6c 65 2e 63 6f ):..............rule.src[rule.co
53e0 69 6e 64 65 78 69 6e 67 5b 31 5d 5b 30 5d 5d 5d 00 20 20 20 20 20 20 20 20 70 6f 69 6e 74 65 72 indexing[1][0]]].........pointer
5400 5f 73 65 74 73 5f 32 20 3d 20 5b 69 20 66 6f 72 20 69 20 69 6e 20 63 68 61 72 74 5b 6e 74 32 5f _sets_2.=.[i.for.i.in.chart[nt2_
5420 73 74 61 72 74 2c 6e 74 32 5f 73 70 61 6e 5d 20 69 66 20 69 2e 6c 61 62 65 6c 2e 73 79 6d 62 6f start,nt2_span].if.i.label.symbo
5440 6c 20 3d 3d 00 20 20 20 20 20 20 20 20 20 20 20 20 72 75 6c 65 2e 73 72 63 5b 72 75 6c 65 2e 63 l.==.............rule.src[rule.c
5460 6f 69 6e 64 65 78 69 6e 67 5b 30 5d 5b 30 5d 5d 5d 00 20 20 20 20 20 20 20 20 70 6f 69 6e 74 65 oindexing[0][0]]].........pointe
5480 72 5f 73 65 74 73 5f 31 20 3d 20 5b 69 20 66 6f 72 20 69 20 69 6e 20 63 68 61 72 74 5b 6e 74 31 r_sets_1.=.[i.for.i.in.chart[nt1
54a0 5f 73 74 61 72 74 2c 6e 74 31 5f 73 70 61 6e 5d 20 69 66 20 69 2e 6c 61 62 65 6c 2e 73 79 6d 62 _start,nt1_span].if.i.label.symb
54c0 6f 6c 20 3d 3d 00 00 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 00 20 20 20 20 20 20 ol.==............continue.......
54e0 20 20 69 66 20 73 65 6e 74 5b 6e 74 32 5f 73 74 61 72 74 2b 6e 74 32 5f 73 70 61 6e 3a 73 74 61 ..if.sent[nt2_start+nt2_span:sta
5500 72 74 2b 73 70 61 6e 5d 20 21 3d 20 72 75 6c 65 2e 73 72 63 5b 62 65 66 6f 72 65 5f 32 5f 64 69 rt+span].!=.rule.src[before_2_di
5520 73 74 2b 31 3a 5d 3a 00 20 20 20 20 20 20 20 20 20 20 63 6f 6e 74 69 6e 75 65 00 20 20 20 20 20 st+1:]:...........continue......
5540 20 20 20 69 66 20 73 65 6e 74 5b 6e 74 31 5f 73 74 61 72 74 2b 6e 74 31 5f 73 70 61 6e 3a 6e 74 ...if.sent[nt1_start+nt1_span:nt
5560 32 5f 73 74 61 72 74 5d 20 21 3d 20 72 75 6c 65 2e 73 72 63 5b 62 65 66 6f 72 65 5f 64 69 73 74 2_start].!=.rule.src[before_dist
5580 2b 31 3a 62 65 66 6f 72 65 5f 32 5f 64 69 73 74 5d 3a 00 20 20 20 20 20 20 20 20 20 20 63 6f 6e +1:before_2_dist]:...........con
55a0 74 69 6e 75 65 00 20 20 20 20 20 20 20 20 69 66 20 73 65 6e 74 5b 73 74 61 72 74 3a 6e 74 31 5f tinue.........if.sent[start:nt1_
55c0 73 74 61 72 74 5d 20 21 3d 20 72 75 6c 65 2e 73 72 63 5b 30 3a 62 65 66 6f 72 65 5f 64 69 73 74 start].!=.rule.src[0:before_dist
55e0 5d 3a 00 00 20 20 20 20 20 20 20 20 6e 74 32 5f 73 70 61 6e 20 3d 20 6e 74 5f 74 6f 74 61 6c 5f ]:..........nt2_span.=.nt_total_
5600 73 70 61 6e 20 2d 20 6e 74 31 5f 73 70 61 6e 00 20 20 20 20 20 20 20 20 6e 74 32 5f 73 74 61 72 span.-.nt1_span.........nt2_star
5620 74 20 3d 20 6e 74 31 5f 73 74 61 72 74 20 2b 20 6e 74 31 5f 73 70 61 6e 20 2b 20 62 65 74 77 65 t.=.nt1_start.+.nt1_span.+.betwe
5640 65 6e 5f 64 69 73 74 00 20 20 20 20 20 20 66 6f 72 20 6e 74 31 5f 73 70 61 6e 20 69 6e 20 72 61 en_dist.......for.nt1_span.in.ra
5660 6e 67 65 28 31 2c 6e 74 5f 74 6f 74 61 6c 5f 73 70 61 6e 29 3a 00 20 20 20 20 20 20 6e 74 31 5f nge(1,nt_total_span):.......nt1_
5680 73 74 61 72 74 20 3d 20 73 74 61 72 74 20 2b 20 62 65 66 6f 72 65 5f 64 69 73 74 00 20 20 20 20 start.=.start.+.before_dist.....
56a0 20 20 20 20 72 65 74 75 72 6e 20 5b 5d 00 20 20 20 20 20 20 69 66 20 6e 74 5f 74 6f 74 61 6c 5f ....return.[].......if.nt_total_
56c0 73 70 61 6e 20 3c 3d 20 30 3a 00 20 20 20 20 20 20 6e 74 5f 74 6f 74 61 6c 5f 73 70 61 6e 20 3d span.<=.0:.......nt_total_span.=
56e0 20 73 70 61 6e 20 2d 20 6c 65 6e 28 72 75 6c 65 2e 73 72 63 29 20 2b 20 32 00 20 20 20 20 20 20 .span.-.len(rule.src).+.2.......
5700 62 65 66 6f 72 65 5f 32 5f 64 69 73 74 20 3d 20 72 75 6c 65 2e 63 6f 69 6e 64 65 78 69 6e 67 5b before_2_dist.=.rule.coindexing[
5720 31 5d 5b 30 5d 00 20 20 20 20 20 20 62 65 74 77 65 65 6e 5f 64 69 73 74 20 3d 20 72 75 6c 65 2e 1][0].......between_dist.=.rule.
5740 63 6f 69 6e 64 65 78 69 6e 67 5b 31 5d 5b 30 5d 20 2d 20 72 75 6c 65 2e 63 6f 69 6e 64 65 78 69 coindexing[1][0].-.rule.coindexi
5760 6e 67 5b 30 5d 5b 30 5d 20 2d 20 31 00 20 20 20 20 20 20 62 65 66 6f 72 65 5f 64 69 73 74 20 3d ng[0][0].-.1.......before_dist.=
5780 20 72 75 6c 65 2e 63 6f 69 6e 64 65 78 69 6e 67 5b 30 5d 5b 30 5d 00 20 20 20 20 20 20 6d 61 74 .rule.coindexing[0][0].......mat
57a0 63 68 65 73 20 3d 20 5b 5d 00 20 20 20 20 65 6c 69 66 20 72 75 6c 65 2e 64 65 67 72 65 65 20 3d ches.=.[].....elif.rule.degree.=
57c0 3d 20 32 3a 00 00 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 48 79 70 65 72 67 72 61 70 68 28 72 =.2:........return.[Hypergraph(r
57e0 75 6c 65 2c 20 5b 28 69 2c 29 20 66 6f 72 20 69 20 69 6e 20 70 6f 69 6e 74 65 72 5f 73 65 74 73 ule,.[(i,).for.i.in.pointer_sets
5800 5d 29 5d 00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 5d 00 20 20 20 20 20 20 69 66 20 6e ])].........return.[].......if.n
5820 6f 74 20 70 6f 69 6e 74 65 72 5f 73 65 74 73 3a 00 20 20 20 20 20 20 23 23 20 20 20 72 65 74 75 ot.pointer_sets:.......##...retu
5840 72 6e 20 5b 5d 00 20 20 20 20 20 20 23 23 20 69 66 20 6e 6f 74 20 63 68 61 72 74 5b 6e 74 5f 73 rn.[].......##.if.not.chart[nt_s
5860 74 61 72 74 2c 20 6e 74 5f 73 70 61 6e 5d 3a 00 20 20 20 20 20 20 20 20 20 20 72 75 6c 65 2e 73 tart,.nt_span]:...........rule.s
5880 72 63 5b 72 75 6c 65 2e 63 6f 69 6e 64 65 78 69 6e 67 5b 30 5d 5b 30 5d 5d 5d 00 20 20 20 20 20 rc[rule.coindexing[0][0]]]......
58a0 20 70 6f 69 6e 74 65 72 5f 73 65 74 73 20 3d 20 5b 69 20 66 6f 72 20 69 20 69 6e 20 63 68 61 72 .pointer_sets.=.[i.for.i.in.char
58c0 74 5b 6e 74 5f 73 74 61 72 74 2c 20 6e 74 5f 73 70 61 6e 5d 20 69 66 20 69 2e 6c 61 62 65 6c 2e t[nt_start,.nt_span].if.i.label.
58e0 73 79 6d 62 6f 6c 20 3d 3d 00 00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 5d 00 20 20 20 symbol.==..........return.[]....
5900 20 20 20 69 66 20 73 65 6e 74 5b 6e 74 5f 73 74 61 72 74 2b 6e 74 5f 73 70 61 6e 3a 73 74 61 72 ...if.sent[nt_start+nt_span:star
5920 74 2b 73 70 61 6e 5d 20 21 3d 20 72 75 6c 65 2e 73 72 63 5b 72 75 6c 65 2e 63 6f 69 6e 64 65 78 t+span].!=.rule.src[rule.coindex
5940 69 6e 67 5b 30 5d 5b 30 5d 2b 31 3a 5d 3a 00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 5d ing[0][0]+1:]:.........return.[]
5960 00 20 20 20 20 20 20 69 66 20 73 65 6e 74 5b 73 74 61 72 74 3a 6e 74 5f 73 74 61 72 74 5d 20 21 .......if.sent[start:nt_start].!
5980 3d 20 72 75 6c 65 2e 73 72 63 5b 30 3a 72 75 6c 65 2e 63 6f 69 6e 64 65 78 69 6e 67 5b 30 5d 5b =.rule.src[0:rule.coindexing[0][
59a0 30 5d 5d 3a 00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 5d 00 20 20 20 20 20 20 69 66 20 0]]:.........return.[].......if.
59c0 6e 74 5f 73 70 61 6e 20 3c 3d 20 30 3a 00 20 20 20 20 20 20 6e 74 5f 73 70 61 6e 20 3d 20 73 70 nt_span.<=.0:.......nt_span.=.sp
59e0 61 6e 20 2d 20 6c 65 6e 28 72 75 6c 65 2e 73 72 63 29 20 2b 20 31 00 20 20 20 20 20 20 6e 74 5f an.-.len(rule.src).+.1.......nt_
5a00 73 74 61 72 74 20 3d 20 73 74 61 72 74 20 2b 20 72 75 6c 65 2e 63 6f 69 6e 64 65 78 69 6e 67 5b start.=.start.+.rule.coindexing[
5a20 30 5d 5b 30 5d 00 20 20 20 20 65 6c 69 66 20 72 75 6c 65 2e 64 65 67 72 65 65 20 3d 3d 20 31 3a 0][0].....elif.rule.degree.==.1:
5a40 00 00 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 48 79 70 65 72 67 72 61 70 68 28 72 75 6c 65 2c ........return.[Hypergraph(rule,
5a60 20 5b 5d 29 5d 00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 5d 00 20 20 20 20 20 20 69 66 .[])].........return.[].......if
5a80 20 73 65 6e 74 5b 73 74 61 72 74 3a 73 74 61 72 74 2b 73 70 61 6e 5d 20 21 3d 20 72 75 6c 65 2e .sent[start:start+span].!=.rule.
5aa0 73 72 63 3a 00 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 20 5b 5d 00 20 20 20 20 20 20 69 66 20 src:.........return.[].......if.
5ac0 73 70 61 6e 20 21 3d 20 6c 65 6e 28 72 75 6c 65 2e 73 72 63 29 3a 00 20 20 20 20 69 66 20 72 75 span.!=.len(rule.src):.....if.ru
5ae0 6c 65 2e 64 65 67 72 65 65 20 3d 3d 20 30 3a 00 00 20 20 64 65 66 20 6d 61 74 63 68 28 73 65 6c le.degree.==.0:....def.match(sel
5b00 66 2c 20 73 65 6e 74 2c 20 72 75 6c 65 2c 20 73 74 61 72 74 2c 20 73 70 61 6e 2c 20 63 68 61 72 f,.sent,.rule,.start,.span,.char
5b20 74 29 3a 00 00 20 20 20 20 20 20 72 65 74 75 72 6e 20 63 68 61 72 74 00 20 20 20 20 20 20 23 6c t):........return.chart.......#l
5b40 6f 67 67 69 6e 67 2e 64 65 62 75 67 28 27 70 61 72 73 65 20 4f 4b 21 27 29 00 20 20 20 20 65 6c ogging.debug('parse.OK!').....el
5b60 73 65 3a 00 20 20 20 20 20 20 72 65 74 75 72 6e 20 4e 6f 6e 65 00 20 20 20 20 20 20 23 6c 6f 67 se:.......return.None.......#log
5b80 67 69 6e 67 2e 64 65 62 75 67 28 27 66 61 69 6c 65 64 20 74 6f 20 70 61 72 73 65 27 29 00 20 20 ging.debug('failed.to.parse')...
5ba0 20 20 69 66 20 6e 6f 74 20 63 68 61 72 74 5b 30 2c 6c 65 6e 28 73 65 6e 74 29 5d 3a 00 00 20 20 ..if.not.chart[0,len(sent)]:....
5bc0 20 20 20 20 20 20 63 68 61 72 74 5b 30 2c 6c 65 6e 28 73 65 6e 74 29 5d 2e 61 70 70 65 6e 64 28 ......chart[0,len(sent)].append(
5be0 48 79 70 65 72 67 72 61 70 68 28 67 6c 75 65 2c 20 70 73 65 74 73 29 29 00 20 20 20 20 20 20 20 Hypergraph(glue,.psets))........
5c00 20 70 73 65 74 73 20 3d 20 5b 28 63 31 2c 20 63 32 29 20 66 6f 72 20 63 31 20 69 6e 20 63 68 61 .psets.=.[(c1,.c2).for.c1.in.cha
5c20 72 74 5b 30 2c 69 5d 20 66 6f 72 20 63 32 20 69 6e 20 63 68 61 72 74 5b 69 2c 6c 65 6e 28 73 65 rt[0,i].for.c2.in.chart[i,len(se
5c40 6e 74 29 2d 69 5d 5d 00 20 20 20 20 20 20 69 66 20 63 68 61 72 74 5b 30 2c 69 5d 20 61 6e 64 20 nt)-i]].......if.chart[0,i].and.
5c60 63 68 61 72 74 5b 69 2c 6c 65 6e 28 73 65 6e 74 29 2d 69 5d 3a 00 20 20 20 20 66 6f 72 20 69 20 chart[i,len(sent)-i]:.....for.i.
5c80 69 6e 20 72 61 6e 67 65 28 31 2c 20 6c 65 6e 28 73 65 6e 74 29 29 3a 00 00 20 20 20 20 20 20 20 in.range(1,.len(sent)):.........
5ca0 20 20 20 63 68 61 72 74 5b 73 74 61 72 74 2c 73 70 61 6e 5d 20 2b 3d 20 6d 61 74 63 68 65 73 00 ...chart[start,span].+=.matches.
5cc0 20 20 20 20 20 20 20 20 20 20 6d 61 74 63 68 65 73 20 3d 20 73 65 6c 66 2e 6d 61 74 63 68 28 73 ..........matches.=.self.match(s
5ce0 65 6e 74 2c 20 72 75 6c 65 2c 20 73 74 61 72 74 2c 20 73 70 61 6e 2c 20 63 68 61 72 74 29 00 20 ent,.rule,.start,.span,.chart)..
5d00 20 20 20 20 20 20 20 66 6f 72 20 72 75 6c 65 20 69 6e 20 67 72 61 6d 6d 61 72 2e 76 61 6c 75 65 .......for.rule.in.grammar.value
5d20 73 28 29 3a 00 20 20 20 20 20 20 20 20 63 68 61 72 74 5b 73 74 61 72 74 2c 73 70 61 6e 5d 20 3d s():.........chart[start,span].=
5d40 20 6c 69 73 74 28 29 00 20 20 20 20 20 20 66 6f 72 20 73 74 61 72 74 20 69 6e 20 72 61 6e 67 65 .list().......for.start.in.range
5d60 28 6c 65 6e 28 73 65 6e 74 29 2b 31 2d 73 70 61 6e 29 3a 00 20 20 20 20 66 6f 72 20 73 70 61 6e (len(sent)+1-span):.....for.span
5d80 20 69 6e 20 72 61 6e 67 65 28 31 2c 20 6c 65 6e 28 73 65 6e 74 29 2b 31 29 3a 00 00 20 20 20 20 .in.range(1,.len(sent)+1):......
5da0 63 68 61 72 74 20 3d 20 64 69 63 74 28 29 00 20 20 64 65 66 20 70 61 72 73 65 28 73 65 6c 66 2c chart.=.dict()...def.parse(self,
5dc0 20 73 65 6e 74 2c 20 67 72 61 6d 6d 61 72 2c 20 67 6c 75 65 29 3a 00 00 20 20 20 20 6f 73 2e 72 .sent,.grammar,.glue):......os.r
5de0 65 6e 61 6d 65 28 6e 65 77 5f 63 6f 6e 66 69 67 5f 70 61 74 68 2c 20 6f 6c 64 5f 63 6f 6e 66 69 ename(new_config_path,.old_confi
5e00 67 5f 70 61 74 68 29 00 20 20 20 20 6f 73 2e 72 65 6e 61 6d 65 28 6e 65 77 5f 72 75 6c 65 5f 74 g_path).....os.rename(new_rule_t
5e20 61 62 6c 65 5f 70 61 74 68 2c 20 6f 6c 64 5f 72 75 6c 65 5f 74 61 62 6c 65 5f 70 61 74 68 29 00 able_path,.old_rule_table_path).
5e40 00 20 20 20 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 20 3e 3e 6e 65 77 5f 63 6f 6e 66 69 67 5f .............print.>>new_config_
5e60 66 2c 20 27 30 2e 32 30 27 00 20 20 20 20 20 20 20 20 20 20 69 66 20 6c 69 6e 65 20 3d 3d 20 27 f,.'0.20'...........if.line.==.'
5e80 5b 77 65 69 67 68 74 2d 74 5d 5c 6e 27 3a 00 20 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 20 3e [weight-t]\n':...........print.>
5ea0 3e 6e 65 77 5f 63 6f 6e 66 69 67 5f 66 2c 20 6c 69 6e 65 2c 00 20 20 20 20 20 20 20 20 20 20 20 >new_config_f,.line,............
5ec0 20 23 6c 69 6e 65 5b 36 5d 20 3d 20 27 36 27 00 20 20 20 20 20 20 20 20 20 20 20 20 6c 69 6e 65 .#line[6].=.'6'.............line
5ee0 20 3d 20 6c 69 6e 65 5b 3a 36 5d 20 2b 20 27 36 27 20 2b 20 6c 69 6e 65 5b 37 3a 5d 00 20 20 20 .=.line[:6].+.'6'.+.line[7:]....
5f00 20 20 20 20 20 20 20 69 66 20 6c 69 6e 65 5b 2d 31 34 3a 2d 31 5d 20 3d 3d 20 27 72 75 6c 65 2d .......if.line[-14:-1].==.'rule-
5f20 74 61 62 6c 65 2e 67 7a 27 3a 00 20 20 20 20 20 20 20 20 66 6f 72 20 6c 69 6e 65 20 69 6e 20 6f table.gz':.........for.line.in.o
5f40 6c 64 5f 63 6f 6e 66 69 67 5f 66 3a 00 20 20 20 20 20 20 77 69 74 68 20 6f 70 65 6e 28 6e 65 77 ld_config_f:.......with.open(new
5f60 5f 63 6f 6e 66 69 67 5f 70 61 74 68 2c 20 27 77 27 29 20 61 73 20 6e 65 77 5f 63 6f 6e 66 69 67 _config_path,.'w').as.new_config
5f80 5f 66 3a 00 20 20 20 20 77 69 74 68 20 6f 70 65 6e 28 6f 6c 64 5f 63 6f 6e 66 69 67 5f 70 61 74 _f:.....with.open(old_config_pat
5fa0 68 29 20 61 73 20 6f 6c 64 5f 63 6f 6e 66 69 67 5f 66 3a 00 20 20 20 20 6e 65 77 5f 63 6f 6e 66 h).as.old_config_f:.....new_conf
5fc0 69 67 5f 70 61 74 68 20 3d 20 27 25 73 2f 6d 6f 64 65 6c 2f 6d 6f 73 65 73 2d 6e 65 77 2e 69 6e ig_path.=.'%s/model/moses-new.in
5fe0 69 27 20 25 20 73 65 6c 66 2e 63 6f 6e 66 69 67 2e 65 78 70 65 72 69 6d 65 6e 74 5f 64 69 72 00 i'.%.self.config.experiment_dir.