
Convert a verbal description of an FFT into an FFTrees object
Source: R/fftrees_wordstofftrees.R
fftrees_wordstofftrees.Rdfftrees_wordstofftrees converts a verbal description
of an FFT (provided as a string of text) into
a tree definition (of an FFTrees object).
Thus, fftrees_wordstofftrees provides a simple
natural language parser for FFTs.
fftrees_wordstofftrees is the complement function to
fftrees_ffttowords, which converts an abstract tree definition
(of an FFTrees object) into a verbal description
(i.e., provides natural language output).
To increase robustness, the parsing of fftrees_wordstofftrees
allows for lower- or uppercase spellings (but not typographical variants)
and ignores the else-part of the final sentence (i.e., the part
beginning with "otherwise").
See also
fftrees_ffttowords for converting FFTs into verbal descriptions;
print.FFTrees for printing FFTs;
plot.FFTrees for plotting FFTs;
summary.FFTrees for summarizing FFTs;
FFTrees for creating FFTs from and applying them to data.