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

Allow for pickling/deepcopy of wordnet objects #84

Open
goodmami opened this issue Jan 19, 2021 · 0 comments
Open

Allow for pickling/deepcopy of wordnet objects #84

goodmami opened this issue Jan 19, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@goodmami
Copy link
Owner

Context: nltk/wordnet#28

Currently objects like Synset cannot be deepcopied or pickled because they store a connection to the database. Removing that allows them to be copied/pickled, but these objects still contain database rowids which means they cannot be stored and loaded on some other build of the database (e.g., another machine). Either we stop storing the rowids (hopefully without too big a performance hit) or we write a custom deepcopy method.

@goodmami goodmami added the enhancement New feature or request label Jan 19, 2021
@goodmami goodmami changed the title Allow for pickling/deepcopy of wordent objects Allow for pickling/deepcopy of wordnet objects Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant