read_txt: Read a Text File with Linguistic Data

Description Usage Arguments Value

View source: R/read_txt.R

Description

File must comply with the following format: 3 lines per data, first line is the sentence in the language with morphological segmentation, second line is the gloss and third line is the translation. This function will therefore reject files with a not divisible by three count of lines.

Usage

1
read_txt(txt.file)

Arguments

txt.file

Text file containing the data.

Value

A data frame with three columns: language, gloss and translation


jpcyrino/ocunR documentation built on Dec. 21, 2021, 3:12 a.m.