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

Linking narratives back to the original corpus #103

Open
DrorMarkus opened this issue May 6, 2024 · 0 comments
Open

Linking narratives back to the original corpus #103

DrorMarkus opened this issue May 6, 2024 · 0 comments

Comments

@DrorMarkus
Copy link

I've successfully run the analysis on my corpus using the demo notebook. However, the final step is a saving of the narrative model.

import pickle as pk

with open('mental_health_sample_narrative_model.pkl','wb') as f:
    pk.dump(m,f)

Is it possible to link the narratives found back to the original df - i.e. which narratives were found in which documents?

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