Fix some CRAN policy issues
Change-Id: I6862ea1bfbadbaf5d6090b6655c21ecf66650c16
diff --git a/man/fetchAnnotations-KorAPQuery-method.Rd b/man/fetchAnnotations-KorAPQuery-method.Rd
index 36f28f0..ea00bcb 100644
--- a/man/fetchAnnotations-KorAPQuery-method.Rd
+++ b/man/fetchAnnotations-KorAPQuery-method.Rd
@@ -5,7 +5,8 @@
\alias{fetchAnnotations}
\title{Fetch annotations for all collected matches}
\usage{
-\S4method{fetchAnnotations}{KorAPQuery}(kqo, foundry = "tt", overwrite = FALSE, verbose = kqo@korapConnection@verbose)
+\S4method{fetchAnnotations}{KorAPQuery}(kqo, foundry = "tt", overwrite = FALSE,
+ verbose = kqo@korapConnection@verbose)
}
\arguments{
\item{kqo}{object obtained from \code{\link[=corpusQuery]{corpusQuery()}} with collected matches. Note: the original corpus query should have \code{metadataOnly = FALSE} for annotation parsing to work.}
@@ -61,16 +62,24 @@
fetchAnnotations()
# Access linguistic annotations for match i:
-pos_tags <- q@collectedMatches$pos # Data frame with left/match/right columns for POS tags
-lemmas <- q@collectedMatches$lemma # Data frame with left/match/right columns for lemmas
-morphology <- q@collectedMatches$morph # Data frame with left/match/right columns for morphological tags
-atokens <- q@collectedMatches$atokens # Data frame with left/match/right columns for annotation token text
-raw_snippet <- q@collectedMatches$annotation_snippet[[i]] # Original XML snippet for match i
+pos_tags <- q@collectedMatches$pos
+# Data frame with left/match/right columns for POS tags
+lemmas <- q@collectedMatches$lemma
+# Data frame with left/match/right columns for lemmas
+morphology <- q@collectedMatches$morph
+# Data frame with left/match/right columns for morphological tags
+atokens <- q@collectedMatches$atokens
+# Data frame with left/match/right columns for annotation token text
+raw_snippet <- q@collectedMatches$annotation_snippet[[i]]
+# Original XML snippet for match i
# Access specific components:
-match_pos <- q@collectedMatches$pos$match[[i]] # POS tags for the matched tokens in match i
-left_lemmas <- q@collectedMatches$lemma$left[[i]] # Lemmas for the left context in match i
-right_tokens <- q@collectedMatches$atokens$right[[i]] # Token text for the right context in match i
+match_pos <- q@collectedMatches$pos$match[[i]]
+# POS tags for the matched tokens in match i
+left_lemmas <- q@collectedMatches$lemma$left[[i]]
+# Lemmas for the left context in match i
+right_tokens <- q@collectedMatches$atokens$right[[i]]
+# Token text for the right context in match i
# Use a different foundry (e.g., MarMoT)
q <- KorAPConnection() |>