Save a CWB corpus in a file in tabular representation

Description

Save a CWB corpus in a file as a dataframe where each column represents an attribute (positional or structural).

Usage

1
2
 ## S3 method for class 'cqp_corpus'
write(corpus, filename, from = 0, to = 1000, ...)

Arguments

corpus

An object created with corpus.

filename

The file to be used.

from

First token to save (token cpos of the first line of the dataframe).

to

Last token to save (token cpos of the last line of the dataframe).

...

Not used.

Author(s)

Bernard Desgraupes - bernard.desgraupes@u-paris10.fr - University Paris-10.
Sylvain Loiseau - sylvain.loiseau@univ-paris13.fr - University Paris-13.

References

http://cwb.sourceforge.net/documentation.php

See Also

corpus, print.cqp_corpus, summary.cqp_corpus.