Skip to contents

A function reading OBT-tagged files

Usage

read_obt(file = NA)

Arguments

file

character. Path to OBT-tagged file

Value

A data frame with the following variables:

sentenceSentence number
indexToken number in sentence
tokenRaw token, as read by OBT originally
lwrLowercase raw token
lemmaLemmatized token
posPart of Speech
morphMorphological tags

Examples


if (FALSE) { # \dontrun{
sample_text <- read_obt(system.file("extdata", "obt_sample.txt", package = "stortingscrape"))
head(sample_text)
} # }