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

Fix parallel code for quanteda 4.0 #72

Merged
merged 22 commits into from
Apr 7, 2024
Merged

Fix parallel code for quanteda 4.0 #72

merged 22 commits into from
Apr 7, 2024

Conversation

koheiw
Copy link
Collaborator

@koheiw koheiw commented Mar 29, 2024

Update code for quanteda v4.0.

@koheiw koheiw changed the title Fix default value Fix parallel code for quanteda 4.0 Mar 30, 2024
@koheiw koheiw requested a review from kbenoit March 30, 2024 11:30
@kbenoit
Copy link
Contributor

kbenoit commented Apr 1, 2024

Any idea what's causing the segfaults from running this on Ubuntu? Is that because it needs quanteda 4.0?

> dfmat <- corpus_subset(data_corpus_inaugural, Year > 2000) %>%
+     tokens(remove_punct = TRUE) %>%
+     tokens_remove(stopwords("english")) %>%
+     dfm()
> (tstat1 <- textstat_simil(dfmat, method = "cosine", margin = "documents"))
 *** caught segfault ***

@koheiw
Copy link
Collaborator Author

koheiw commented Apr 1, 2024 via email

@kbenoit
Copy link
Contributor

kbenoit commented Apr 1, 2024 via email

Copy link
Contributor

@kbenoit kbenoit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koheiw is this failing on the ubuntu platfoms because it is not getting the newest proxyC yet?

@kbenoit kbenoit merged commit 69e3d4e into master Apr 7, 2024
5 of 6 checks passed
@kbenoit kbenoit deleted the fix-threads branch April 7, 2024 17:49
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.

None yet

2 participants