Read, parse and modify registry file.
name of the CWB corpus
a new value to set
a filename
name of a package
directory of the registry (defaults to CORPUS_Registry environment variable)
registryDir
registry directory
encoding
corpus encoding
txt
registry as character vector
pAttributes
p-attributes
properties
corpus properties
id
corpus id
home
home directory
name
corpus name
info
path to info file
getEncoding()
Get the encoding.
getHome()
Get the home directory of a corpus.
getId()
Get the id of a corpus.
getInfo()
Get path to the info file.
getName()
Get the name of a corpus.
getPAttributes()
Get the pAttributes.
getProperties()
Get corpus properties.
getSAttributes()
Get the sAttributes.
initialize(corpus = NULL, registry = Sys.getenv("CORPUS_REGISTRY"),
package = NULL, filename = NULL)
Initialize a new RegistryFile object.
parse()
Parse the registry file.
read()
Read file from disc, as character vector in field 'txt'.