Skip to contents

Filenames

Class fnames and its functions or methods

as_fnames()
Coerce object to 'fnames'
explore()
Interactively navigate through an object
get_fnames()
Retrieve the names of files in a given path
keep_bool() drop_bool()
Subset an object based on logical criteria
keep_fnames() drop_fnames()
Filter collection of filenames by name
keep_pos() drop_pos()
Subset an object by index
keep_re() drop_re()
Subset an object based on regular expressions
keep_types() drop_types()
Subset an object based on a selection of types
fnames_merge() fnames_merge_all()
Merge filenames collections
n_fnames()
Count number of items in an 'fnames' object
read_fnames()
Read a collection of filenames from a text file
write_fnames()
Write a collection of filenames to a text file
drop_path() drop_extension() short_names()
Shorten filenames

Frequency lists

Class freqlist and its functions or methods

as_freqlist()
Coerce table to a frequency list
explore()
Interactively navigate through an object
freqlist()
Build the frequency list of a corpus
freqlist_diff()
Subtract frequency lists
keep_bool() drop_bool()
Subset an object based on logical criteria
keep_pos() drop_pos()
Subset an object by index
keep_re() drop_re()
Subset an object based on regular expressions
keep_types() drop_types()
Subset an object based on a selection of types
freqlist_merge() freqlist_merge_all()
Merge frequency lists
n_tokens()
Count tokens
n_types()
Count types
orig_ranks() `orig_ranks<-`()
Retrieve or set original ranks
ranks()
Retrieve the current ranks for frequency counts.
read_freqlist()
Read a frequency list from a csv file
tot_n_tokens() `tot_n_tokens<-`()
Retrieve or set the total number of tokens
type_names()
Return the names of the types in an object
write_freqlist()
Write a frequency list to a csv file
type_freqs() type_freq()
Retrieve frequencies from 'freqlist' object

Concordances

Class conc and its functions or methods

as_conc()
Coerce data frame to a concordance object
conc()
Build a concordance for the matches of a regex
explore()
Interactively navigate through an object
import_conc()
Import a concordance
merge_conc()
Merge concordances
read_conc()
Read a concordance from a file
write_conc()
Write a concordance to file.
print_kwic()
Print a concordance in KWIC format

Types

Class types and its functions or methods

as_types()
Coerce object to a vector of types
explore()
Interactively navigate through an object
keep_bool() drop_bool()
Subset an object based on logical criteria
keep_pos() drop_pos()
Subset an object by index
keep_re() drop_re()
Subset an object based on regular expressions
keep_types() drop_types()
Subset an object based on a selection of types
types_merge() types_merge_all()
Merge 'types' objects
n_types()
Count types
read_types()
Read a vector of types from a text file
types()
Build a 'types' object
write_types()
Write a vector of types to a text file

Association scores

Class assoc_scores and its functions or methods

assoc_scores() assoc_abcd()
Association scores used in collocation analysis and keyword analysis
explore()
Interactively navigate through an object
n_types()
Count types
read_assoc()
Read association scores from file
type_names()
Return the names of the types in an object
write_assoc()
Write association scores to file
surf_cooc() text_cooc()
Build collocation frequencies.

Tokens

Class tokens and its functions or methods

as_character()
Coerce object to character
as_tokens()
Coerce object to class tokens
explore()
Interactively navigate through an object
keep_bool() drop_bool()
Subset an object based on logical criteria
keep_pos() drop_pos()
Subset an object by index
keep_re() drop_re()
Subset an object based on regular expressions
keep_types() drop_types()
Subset an object based on a selection of types
tokens_merge() tokens_merge_all()
Merge tokens objects
n_tokens()
Count tokens
n_types()
Count types
read_tokens()
Read a tokens object from a text file
tokenize()
Create or coerce an object into class tokens
tot_n_tokens() `tot_n_tokens<-`()
Retrieve or set the total number of tokens
trunc_at()
Truncate a sequence of character data
write_tokens()
Write a tokens object to a text file

Regular expressions

Class re and its functions or methods

re() as_re() as.re()
Build a regular expression
re_retrieve_first() re_retrieve_last() re_retrieve_all() re_has_matches() re_which() re_replace_first() re_replace_all()
Convenience functions in support of regular expressions
perl_flavor() `perl_flavor<-`()
Retrieve or set the flavor of a regular expression
cat_re()
Print a regular expression to the console
keep_re() drop_re()
Subset an object based on regular expressions
scan_re() scan_re2()
Scan a regular expression from console

Stable lexical marker analysis

Class slma and its functions or methods

details()
Details on a specific item
slma()
Stable lexical marker analysis

Utils

Other utility functions

row_pcoord() col_pcoord() xlim4ca() ylim4ca()
Helpers for plotting ca objects
read_txt()
Read a text file into a character vector
scan_txt() scan_txt2()
Scan a character string from console
write_txt()
Write a character vector to a text file
zero_plus()
Make all values strictly higher than zero
as_character()
Coerce object to character
as_numeric()
Coerce object to a numeric vector
drop_empty_rc()
Drop empty rows and columns from a matrix
find_xpath()
Run XPath query
mclm_xml_text()
Get text from xml node
cleanup_spaces()
Clean up the use of whitespace in a character vector