I’m pleased to announce the release of version 1 of idiolect, my new package to carry out Forensic Authorship Analysis using R. The website of the package https://andreanini.github.io/idiolect contains a Get Started page with a brief tutorial. The package offers several well-known authorship analysis methods, including our new method LambdaG (https://arxiv.org/abs/2403.08462v1), as well as functions to calibrate Likelihood Ratios so to express the strength of the evidence within the Likelihood Ratio Framework for forensic science.
The package contains functions that cover the typical workflow for authorship analysis for forensic problems:
- Input and preprocess data;
- Carry out an analysis (Delta, N-gram Tracing, the Impostors Method, LambdaG);
- Test the performance of the methods on ground truth data;
- Apply the method to the questioned text and calibrate a Likelihood Ratio;
- Explore the data using feature importance or other visualisations depending on the method, including using concordances.
Let me know if you have any feedback or questions!