Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save automaton to file #6

Open
lujea opened this issue Jul 21, 2017 · 0 comments
Open

Save automaton to file #6

lujea opened this issue Jul 21, 2017 · 0 comments

Comments

@lujea
Copy link

lujea commented Jul 21, 2017

Hi Mensa author,

I have used Mensa for matching strings and it works very well. I am trying build a large automaton with several millions words. As this takes time I would like to save the automaton once it is built so that I can reuse it on multiple projects.

Mensa seems to rely on Java Generics which seem to have difficulties with serialization/deserialization. I have added "implements Serializable" to several classes in the project and that did the work to save a machine. The problem is I cannot deserialize the machine when once it is saved in a file.
Can you please help me to fix that issue ? Or give me some elements that will help me find a solution.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant