lazy
lazy copied to clipboard
Handler threw End of file in sentence 0
I formatted the file fed to the decoder the way it is instructed, i.e., two numbers in the first line followed by edges in enumeration. The weird thing is the decoder would tell me Handler threw End of file in sentence 0 whereas if I vim into the file and change nothing and vim out, and run the decoder, the decoder would output some meaningful result. I haven't found a way to work around this without manual intrusion into the file.
Does your file end with a newline? And use UNIX newlines?
It works now. They are UNIX newlines. But I missed the newline at the file end. Thanks!