Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Saving a wordlist with IOObjectWriter does not work
kochan
IOObjectWriter gives me the possibility of saving a WordList object. However, when I run the process I get a NotSerializableException. Is that because WVTWordList does not implement the Serializable interface?
Regards,
Andreas
Find more posts tagged with
AI Studio
Accepted answers
All comments
fischer
Hi Kochan,
in such cases, please always attach stack traces. What is it that is not serializable?
Best,
Simon
fischer
Hi again,
ok, I checked myself. In fact, the WordList which was introduced as an IOObject only in the last version, is serializable. However, the classes in the word vector tool library (over which we do not have control) are not. Hence, you cannot serialize it as "binary". XML serialization, however, works.
For 5.0, when the text plugin moves to the core, we will add full serialization support for the word lists.
Best,
Simon
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups