Add overwrite parameter to fetchAnnotations
Change-Id: I395dbcb44a18e04679232bdc65b4e2912836e4fa
diff --git a/man/fetchAnnotations-KorAPQuery-method.Rd b/man/fetchAnnotations-KorAPQuery-method.Rd
index 5ae4a24..bf75599 100644
--- a/man/fetchAnnotations-KorAPQuery-method.Rd
+++ b/man/fetchAnnotations-KorAPQuery-method.Rd
@@ -5,13 +5,23 @@
\alias{fetchAnnotations}
\title{Fetch annotations for all collected matches}
\usage{
-\S4method{fetchAnnotations}{KorAPQuery}(kqo, foundry = "tt", 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.}
\item{foundry}{string specifying the foundry to use for annotations (default: "tt" for Tree-Tagger)}
+\item{overwrite}{logical; if TRUE, re-fetch and replace any existing
+annotation columns. If FALSE (default), only add missing annotation layers
+and preserve already fetched ones (e.g., keep POS/lemma from a previous
+foundry while adding morph from another).}
+
\item{verbose}{print progress information if true}
}
\value{