# NOT RUN {
align_local("The answer is blowin' in the wind.",
"As the Bob Dylan song says, the answer is blowing in the wind.")
# Example of matching documents from a corpus
dir <- system.file("extdata/legal", package = "textreuse")
corpus <- TextReuseCorpus(dir = dir, progress = FALSE)
alignment <- align_local(corpus[["ca1851-match"]], corpus[["ny1850-match"]])
str(alignment)
# }
Run the code above in your browser using DataCamp Workspace