In "preprocess.py", line 331
l_location.append(len(sources))
should be revised to
l_location.append(len(sources)+1)
otherwise last sentence would be missing.
l_location's element always follows base index of 1 (lua), and the last element of l_location should point to len(sources), which is len(source) + 1 in lua.
In "preprocess.py", line 331
l_location.append(len(sources))
should be revised tol_location.append(len(sources)+1)
otherwise last sentence would be missing. l_location's element always follows base index of 1 (lua), and the last element of l_location should point to len(sources), which is len(source) + 1 in lua.