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

cooccurrences issue #44

Closed
PolMine opened this issue Oct 28, 2018 · 1 comment
Closed

cooccurrences issue #44

PolMine opened this issue Oct 28, 2018 · 1 comment

Comments

@PolMine
Copy link
Collaborator

PolMine commented Oct 28, 2018

library(polmineR)
use("GermaParl")
... activating corpus: germaparl
... activating corpus: germaparlmini
foo <- cooccurrences("GERMAPARL", query = "Liebe")

@PolMine
Copy link
Collaborator Author

PolMine commented Dec 7, 2018

There was a problem when a query occuurred at the very beginning or at the very end of the corpus. Then the context window would potentially transgress the beginning / end of the corpus, causing an error or even a crash without being checked. Now, there is a check that prevents this behaviour.

@PolMine PolMine closed this as completed Dec 7, 2018
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

0 participants