NotSerializableException
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
When I set the "-save-model" option, I got java.io.NotSerializableException:
at depparsing.io.DepProbWriter.writeToFile(DepProbWriter.java:16)
at depparsing.programs.RunModel.parseCommandLineArguments(RunModel.java:225)
at depparsing.programs.RunModel.main(RunModel.java:187)
It turns out that in the class DepProbMatrix, two member variables, DepCorpus
corpus and NonterminalMap nontermMap, are not serializable.
Original issue reported on code.google.com by tooka...@gmail.com
on 25 Dec 2011 at 12:46