tok_read: Read a tok model

View source: R/tok.R

tok_readR Documentation

Read a tok model

Description

Reads a .tok file. The result can be passed to every other function of the package; they also accept the path of a .tok file or the text of a model directly.

Usage

tok_read(path)

Arguments

path

Path of a .tok file.

Value

An object of class tok_model: a list with the elements text, path and name (the file name without the extension).

Examples

m <- tok_read(system.file("examples", "wypozyczenie.tok", package = "tokr"))
m

tokr documentation built on Nov. 26, 2026, 5:08 p.m.