{
  "_id": "6acbafb9fe5cc25786e92557",
  "Type": "Package",
  "Package": "idiolect",
  "Title": "Forensic Authorship Analysis",
  "Version": "1.2.0.9000",
  "Authors@R": "c(\nperson(\"Andrea\", \"Nini\", , \"andrea.nini@manchester.ac.uk\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-4218-5130\")),\nperson(\"David\", \"van Leeuwen\", role = (\"cph\"),\ncomment = \"Author of some bundled functions from package ROC\")\n)",
  "Description": "Carry out comparative authorship analysis of disputed and\nundisputed texts within the Likelihood Ratio Framework for\nexpressing evidence in forensic science. This package contains\nimplementations of well-known algorithms for comparative\nauthorship analysis, such as Smith and Aldridge's (2011) Cosine\nDelta <doi:10.1080/09296174.2011.533591> or Koppel and Winter's\n(2014) Impostors Method <doi:10.1002/asi.22954>, as well as\nfunctions to measure their performance and to calibrate their\noutputs into Log-Likelihood Ratios.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/andreanini/idiolect,\nhttps://andreanini.github.io/idiolect/",
  "BugReports": "https://github.com/andreanini/idiolect/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libpng-dev libxml2-dev python3",
  "Repository": "https://andreanini.r-universe.dev",
  "Date/Publication": "2026-09-10 15:02:37 UTC",
  "RemoteUrl": "https://github.com/andreanini/idiolect",
  "RemoteRef": "HEAD",
  "RemoteSha": "00e08b4a9667c6ac5067b0dbbe8e6e2295df7bd2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-11 15:40:30 UTC",
    "User": "root"
  },
  "Author": "Andrea Nini [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-4218-5130>),\nDavid van Leeuwen [cph] (Author of some bundled functions from package\nROC)",
  "Maintainer": "Andrea Nini <andrea.nini@manchester.ac.uk>",
  "_user": "andreanini",
  "_type": "src",
  "_file": "idiolect_1.2.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/607cd26ee2624e616999db9850de8f6a928891b609eed133391b90bbb10deb53",
  "_filesize": 669405,
  "_sha256": "607cd26ee2624e616999db9850de8f6a928891b609eed133391b90bbb10deb53",
  "_expires": "2027-01-19T15:48:07.000Z",
  "_created": "2026-10-11T15:40:30.000Z",
  "_published": "2026-10-11T15:48:09.646Z",
  "_buildurl": "https://github.com/r-universe/andreanini/actions/runs/38151970701",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114508044260,
      "time": 333,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11707342173"
    },
    {
      "job": 114508044309,
      "time": 259,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707037574"
    },
    {
      "job": 114508044282,
      "time": 332,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11706848147"
    },
    {
      "job": 114508044257,
      "time": 326,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11706922909"
    },
    {
      "job": 114507171437,
      "time": 249,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11706713526"
    },
    {
      "job": 114508044256,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11707790039"
    },
    {
      "job": 114508044297,
      "time": 249,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11707082434"
    },
    {
      "job": 114508044287,
      "time": 234,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11707860067"
    },
    {
      "job": 114508044351,
      "time": 297,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11706723897"
    }
  ],
  "_upstream": "https://github.com/andreanini/idiolect",
  "_commit": {
    "id": "00e08b4a9667c6ac5067b0dbbe8e6e2295df7bd2",
    "author": "Andrea <and.nini@gmail.com>",
    "committer": "Andrea <and.nini@gmail.com>",
    "message": "add sqrt and hapax corrections to lambdaG\n",
    "time": 1789052557
  },
  "_maintainer": {
    "name": "Andrea Nini",
    "email": "andrea.nini@manchester.ac.uk",
    "login": "andreanini",
    "mastodon": "@andreanini@mastodon.social",
    "twitter": "@and_nini",
    "description": "Senior Lecturer in Linguistics and English Language at the University of Manchester | Forensic Linguist",
    "uuid": 6013401,
    "orcid": "0000-0003-4218-5130"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "quanteda",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "fdrtool",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "kgrams",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "proxy",
      "role": "Imports"
    },
    {
      "package": "quanteda.textstats",
      "role": "Imports"
    },
    {
      "package": "spacyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "andreanini",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 7
    },
    {
      "week": "2026-01",
      "n": 4
    },
    {
      "week": "2026-03",
      "n": 6
    },
    {
      "week": "2026-09",
      "n": 8
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 5
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 4
    },
    {
      "week": "2026-20",
      "n": 2
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.1.1",
      "date": "2025-12-03"
    },
    {
      "name": "v1.2.0",
      "date": "2026-02-28"
    }
  ],
  "_stars": 20,
  "_contributors": [
    {
      "user": "andreanini",
      "count": 179,
      "uuid": 6013401
    },
    {
      "user": "claude",
      "count": 2,
      "uuid": 81847
    },
    {
      "user": "lpmi-13",
      "count": 1,
      "uuid": 5070516
    },
    {
      "user": "hadley",
      "count": 1,
      "uuid": 4196
    }
  ],
  "_userbio": {
    "uuid": 6013401,
    "type": "user",
    "name": "Andrea Nini",
    "followers": 29,
    "description": "Senior Lecturer in Linguistics and English Language at the University of Manchester | Forensic Linguist"
  },
  "_downloads": {
    "count": 297,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/idiolect"
  },
  "_devurl": "https://github.com/andreanini/idiolect",
  "_pkgdown": "https://andreanini.github.io/idiolect/",
  "_searchresults": 16,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/idiolect.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/andreanini/idiolect",
  "_realowner": "andreanini",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2024-08-28"
    },
    {
      "version": "1.1.1",
      "date": "2025-12-11"
    },
    {
      "version": "1.2.0",
      "date": "2026-02-28"
    }
  ],
  "_exports": [
    "calibrate_LLR",
    "chunk_texts",
    "concordance",
    "contentmask",
    "create_corpus",
    "delta",
    "density_plot",
    "impostors",
    "lambdaG",
    "lambdaG_visualize",
    "most_similar",
    "ngram_tracing",
    "performance",
    "posterior",
    "tokenize_sents",
    "vectorize"
  ],
  "_datasets": [
    {
      "name": "enron.sample",
      "title": "Enron sample",
      "object": "enron.sample",
      "class": [
        "corpus",
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calibrate_LLR",
      "title": "Calibrate scores into Log-Likelihood Ratios",
      "topics": [
        "calibrate_LLR"
      ]
    },
    {
      "page": "chunk_texts",
      "title": "Chunk a dataset",
      "topics": [
        "chunk_texts"
      ]
    },
    {
      "page": "concordance",
      "title": "Qualitative examination of evidence",
      "topics": [
        "concordance"
      ]
    },
    {
      "page": "contentmask",
      "title": "Content masking",
      "topics": [
        "contentmask"
      ]
    },
    {
      "page": "create_corpus",
      "title": "Create a corpus",
      "topics": [
        "create_corpus"
      ]
    },
    {
      "page": "delta",
      "title": "Delta",
      "topics": [
        "delta"
      ]
    },
    {
      "page": "density_plot",
      "title": "Plot density of TRUE/FALSE distributions",
      "topics": [
        "density_plot"
      ]
    },
    {
      "page": "enron.sample",
      "title": "Enron sample",
      "topics": [
        "enron.sample"
      ]
    },
    {
      "page": "impostors",
      "title": "Impostors Method",
      "topics": [
        "impostors"
      ]
    },
    {
      "page": "lambdaG",
      "title": "Apply the LambdaG algorithm",
      "topics": [
        "lambdaG"
      ]
    },
    {
      "page": "lambdaG_visualize",
      "title": "Visualize the output of the LambdaG algorithm",
      "topics": [
        "lambdaG_visualize"
      ]
    },
    {
      "page": "most_similar",
      "title": "Select the most similar texts to a specific text",
      "topics": [
        "most_similar"
      ]
    },
    {
      "page": "ngram_tracing",
      "title": "N-gram tracing",
      "topics": [
        "ngram_tracing"
      ]
    },
    {
      "page": "performance",
      "title": "Performance evaluation",
      "topics": [
        "performance"
      ]
    },
    {
      "page": "posterior",
      "title": "Posterior prosecution probabilities and odds",
      "topics": [
        "posterior"
      ]
    },
    {
      "page": "tokenize_sents",
      "title": "Tokenize to sentences",
      "topics": [
        "tokenize_sents"
      ]
    },
    {
      "page": "vectorize",
      "title": "Vectorize data",
      "topics": [
        "vectorize"
      ]
    }
  ],
  "_pkglogo": "https://github.com/andreanini/idiolect/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/andreanini/idiolect/raw/HEAD/README.md",
  "_rundeps": [
    "caret",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "fastmatch",
    "fdrtool",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "here",
    "ipred",
    "isoband",
    "ISOcodes",
    "iterators",
    "jsonlite",
    "KernSmooth",
    "kgrams",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "ModelMetrics",
    "nlme",
    "nnet",
    "nsyllable",
    "numDeriv",
    "parallelly",
    "pbapply",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "proxyC",
    "purrr",
    "quanteda",
    "quanteda.textstats",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "RcppTOML",
    "Rdpack",
    "recipes",
    "reshape2",
    "reticulate",
    "rlang",
    "rpart",
    "rprojroot",
    "S7",
    "scales",
    "shape",
    "SnowballC",
    "spacyr",
    "sparsevctrs",
    "SQUAREM",
    "stopwords",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xml2",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "idiolect.Rmd",
      "filename": "idiolect.html",
      "title": "idiolect",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Preparation",
        "Content masking",
        "Data labelling",
        "Vectorisation",
        "Validation",
        "Authorship analysis",
        "Analysis of $Q$",
        "Qualitative examination of evidence",
        "Conclusions",
        "Acknowledgements",
        "References"
      ],
      "created": "2024-04-04 16:47:42",
      "modified": "2026-07-06 16:11:34",
      "commits": 21
    }
  ],
  "_score": 6.827369273053826,
  "_indexed": true,
  "_nocasepkg": "idiolect",
  "_universes": [
    "andreanini"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0.9000",
      "date": "2026-10-11T15:43:32.000Z",
      "distro": "resolute",
      "commit": "00e08b4a9667c6ac5067b0dbbe8e6e2295df7bd2",
      "fileid": "https://r2.ropensci.org/c663d939ce1160e6a92d1ed3526073dc33610f038628146825c0180f6320b25b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andreanini/actions/runs/38151970701"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.0.9000",
      "date": "2026-10-11T15:42:55.000Z",
      "distro": "resolute",
      "commit": "00e08b4a9667c6ac5067b0dbbe8e6e2295df7bd2",
      "fileid": "https://r2.ropensci.org/2b83e8040adfee68a7410c2b4f0eaed28c666cb2a4348aa68d9246bb64a43d48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andreanini/actions/runs/38151970701"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0.9000",
      "date": "2026-10-11T15:44:28.000Z",
      "commit": "00e08b4a9667c6ac5067b0dbbe8e6e2295df7bd2",
      "fileid": "https://r2.ropensci.org/6276248c31d82099d377df14a0de1bc82259cbf2679d457b34491315c5b11992",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andreanini/actions/runs/38151970701"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.0.9000",
      "date": "2026-10-11T15:43:27.000Z",
      "commit": "00e08b4a9667c6ac5067b0dbbe8e6e2295df7bd2",
      "fileid": "https://r2.ropensci.org/7866d532e30e05027d610b7c37164be43b8ede58c6adbf68a4840f96562dd5e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andreanini/actions/runs/38151970701"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0.9000",
      "date": "2026-10-11T15:42:43.000Z",
      "commit": "00e08b4a9667c6ac5067b0dbbe8e6e2295df7bd2",
      "fileid": "https://r2.ropensci.org/595002fb5c446508a5d7b255dc21595b162a18758bcb4083ba208afd9e33aefa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/andreanini/actions/runs/38151970701"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0.9000",
      "date": "2026-10-11T15:41:53.000Z",
      "commit": "00e08b4a9667c6ac5067b0dbbe8e6e2295df7bd2",
      "fileid": "https://r2.ropensci.org/97bc2c039ad82d75e5a81158b2db60e1d0a4b4b8bb918803b0d027448a814bb0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andreanini/actions/runs/38151970701"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0.9000",
      "date": "2026-10-11T15:42:04.000Z",
      "commit": "00e08b4a9667c6ac5067b0dbbe8e6e2295df7bd2",
      "fileid": "https://r2.ropensci.org/47a120641b7d9156309ee5ea3d5d63c5c3b61bfadc265a97856f8503ecac2f04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andreanini/actions/runs/38151970701"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.0.9000",
      "date": "2026-10-11T15:41:52.000Z",
      "commit": "00e08b4a9667c6ac5067b0dbbe8e6e2295df7bd2",
      "fileid": "https://r2.ropensci.org/ecc8f599a1c401acffd92fd42a9432c8dcbe8ccd09a1d0a1c4139b057c1f191e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/andreanini/actions/runs/38151970701"
    }
  ]
}