Code cleanup
Change-Id: I084eb212ae4a1fdbc563e686ea6c9de55fc75914
diff --git a/man/collocationAnalysis-KorAPConnection-method.Rd b/man/collocationAnalysis-KorAPConnection-method.Rd
index 50f4a27..6b13db7 100644
--- a/man/collocationAnalysis-KorAPConnection-method.Rd
+++ b/man/collocationAnalysis-KorAPConnection-method.Rd
@@ -100,10 +100,12 @@
\examples{
\dontrun{
- # Find top collocates of "Packung" inside and outside the sports domain.
- KorAPConnection(verbose = TRUE) |>
- collocationAnalysis("Packung", vc=c("textClass=sport", "textClass!=sport"),
- leftContextSize=1, rightContextSize=1, topCollocatesLimit=20) |>
+# Find top collocates of "Packung" inside and outside the sports domain.
+KorAPConnection(verbose = TRUE) |>
+ collocationAnalysis("Packung",
+ vc = c("textClass=sport", "textClass!=sport"),
+ leftContextSize = 1, rightContextSize = 1, topCollocatesLimit = 20
+ ) |>
dplyr::filter(logDice >= 5)
}
@@ -113,7 +115,8 @@
# Note that, currently, the use of focus function disallows exactFrequencies.
KorAPConnection(verbose = TRUE) |>
collocationAnalysis("focus(in [tt/p=NN] {[tt/l=setzen]})",
- leftContextSize=1, rightContextSize=0, exactFrequencies=FALSE, topCollocatesLimit=20)
+ leftContextSize = 1, rightContextSize = 0, exactFrequencies = FALSE, topCollocatesLimit = 20
+ )
}
}