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 cpp_kwic() #2339

Closed
koheiw opened this issue Jan 13, 2024 · 1 comment
Closed

Make cpp_kwic() #2339

koheiw opened this issue Jan 13, 2024 · 1 comment
Assignees

Comments

@koheiw
Copy link
Collaborator

koheiw commented Jan 13, 2024

I should make C++ function to produce concordance views for KWIC. Currently, these commands are failing in Rmd probably because repeated deep-copying of the very long document (whole book).

nrow(kwic(novel_v_toks_lower, pattern = "whale"))
nrow(kwic(novel_v_toks_lower, pattern = "whale*")) # includes words like "whalemen"

@koheiw koheiw self-assigned this Jan 13, 2024
@kbenoit
Copy link
Collaborator

kbenoit commented Jan 13, 2024

Interesting... is it the second one with the glob? or the fact that it's being run twice?

@koheiw koheiw mentioned this issue Jan 14, 2024
@koheiw koheiw closed this as completed Jan 27, 2024
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

2 participants