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

Make Trie Serializable #38

Closed
wants to merge 1 commit into from
Closed

Make Trie Serializable #38

wants to merge 1 commit into from

Conversation

humanzz
Copy link

@humanzz humanzz commented Aug 21, 2016

Wanting to use ahocorasick in a Spark UDF requires the code used in the UDF to be serializable.

Having found an older code that makes the Trie serializable in this pull request, I started from it but modified it a bit. The biggest change from that code is the omission of using static fields.

- Base implementation on #11
- Update pull request code to work on latest ahocorasick code
- Omit usage of static fields in serialization code
- Reformat/cleanup general code
@humanzz humanzz closed this Sep 17, 2020
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

Successfully merging this pull request may close these issues.

1 participant