write_conc {mclm}R Documentation

Write a concordance to file.

Description

This function writes an object of class conc to a file.

Usage

write_conc(x, file = "", sep = "\t")

Arguments

x

Object of class conc.

file

Path to output file.

sep

Field separator for the columns in the output file.

Value

Invisibly, x.

See Also

read_conc()

Other writing functions: write_assoc(), write_fnames(), write_freqlist(), write_tokens(), write_txt(), write_types()

Examples

(d <- conc('A very small corpus.', '\\w+', as_text = TRUE))

write_conc(d, "example_data.tab")
(d2 <- read_conc("example_data.tab"))


[Package mclm version 0.2.7 Index]