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) {
sample_text <- read_obt("./inst/extdata/obt_sample.txt")
head(sample_text)
}