useDynLib(corpus, .registration = TRUE, .fixes = "C_")

## Exports
export(as.text)
export(as.text.default)
export(is.text)
export(is.text.default)
export(read_json)
export(sentences)
## export(text) # don't export, clashes with graphics::text
export(text_filter)
export(tokens)

## Methods
S3method(`$`, dataset)
S3method(`[`, dataset)
S3method(`[`, text)
S3method(`[[`, dataset)
S3method(`[[`, text)
S3method(all.equal, text)
S3method(anyNA, text)
S3method(as.character, dataset)
S3method(as.character, text)
S3method(as.complex, text)
S3method(as.Date, text)
S3method(as.double, dataset)
S3method(as.integer, dataset)
S3method(as.list, dataset)
S3method(as.logical, dataset)
S3method(as.logical, text)
S3method(as.text, dataset)
S3method(as.text, default)
S3method(as.text, text)
S3method(dim, dataset)
S3method(dim, text)
S3method(dimnames, dataset)
S3method(is.character, text)
S3method(is.na, text)
S3method(is.text, default)
S3method(format, text)
S3method(length, dataset)
S3method(length, text)
S3method(names, dataset)
S3method(names, text)
S3method(`names<-`, text)
S3method(print, dataset)
S3method(print, text)
S3method(print, text_filter)
S3method(Ops, text)
S3method(summary, text)
