If x (or p) is not a profile db, the $n$-gram
profiles of the individual text documents extracted from it are
computed using the profile method and options in p if this is a
profile db, and using the current textcat profile method and
options otherwise. Currently, the following distance methods for $n$-gram profiles
are available.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
For the measures based on distances of frequency distributions,
$n$-grams of the two profiles are combined, and missing
$n$-grams are given a small positive absolute frequency which can
be controlled by option eps, and defaults to 1e-6.
Options given in ... and options are combined, and
merged with the default xdist options specified by the textcat
option xdist_options using exact name matching.