Type: Package
Package: idiolect
Title: Forensic Authorship Analysis
Version: 1.2.0
Authors@R: c(
    person("Andrea", "Nini", , "andrea.nini@manchester.ac.uk", role = c("aut", "cre", "cph"),
           comment = c(ORCID = "0000-0003-4218-5130")),
    person("David", "van Leeuwen", role = ("cph"), 
           comment = "Author of some bundled functions from package ROC")
    )
Description: Carry out comparative authorship analysis of disputed and undisputed texts within the Likelihood Ratio Framework for expressing evidence in forensic science. This package contains implementations of well-known algorithms for comparative authorship analysis, such as Smith and Aldridge's (2011) Cosine Delta <doi:10.1080/09296174.2011.533591> or Koppel and Winter's (2014) Impostors Method <doi:10.1002/asi.22954>, as well as functions to measure their performance and to calibrate their outputs into Log-Likelihood Ratios.
License: GPL (>= 2)
URL: https://github.com/andreanini/idiolect,
        https://andreanini.github.io/idiolect/
BugReports: https://github.com/andreanini/idiolect/issues
Depends: quanteda, R (>= 4.1.0)
Imports: caret, dplyr, fdrtool, ggplot2, kgrams, pbapply, pROC, proxy,
        quanteda.textstats, spacyr, stringr
Suggests: knitr, readtext, rmarkdown, testthat (>= 3.0.0)
Config/testthat/edition: 3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.2
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2026-02-28 18:31:16 UTC; mzjssan4
Author: Andrea Nini [aut, cre, cph] (ORCID:
    <https://orcid.org/0000-0003-4218-5130>),
  David van Leeuwen [cph] (Author of some bundled functions from package
    ROC)
Maintainer: Andrea Nini <andrea.nini@manchester.ac.uk>
Repository: CRAN
Date/Publication: 2026-02-28 18:50:02 UTC
Built: R 4.6.0; ; 2026-04-30 12:34:20 UTC; unix
