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.comon 25 Dec 2011 at 12:46