Skip to contents

R-CMD-check License: MIT

Publication-grade R package for ontology-mapped botanical trait extraction, agreement auditing, and leakage-free evaluation.


📦 Installation

# install.packages("remotes")
remotes::install_github("AamnaNaveed/taxaudit")

Quick Start

library(taxaudit)

Load benchmark corpus & extract traits

corpus <- ta_load_corpus() traits <- ta_extract_traits(corpus$text[1])

Audit agreement & baseline comparison

agreement <- ta_audit_agreement(corpus) comparison <- ta_compare_baseline(corpus)

Leakage-free evaluation

eval_results <- ta_split_evaluation(corpus, split_by = “taxon”)

<<<<<<< HEAD ## Features

  • Plant Ontology (PO:0025034) alignment with exact character start/end span tracking.

  • Inter-annotator agreement auditing (ta_audit_agreement).

  • Leakage-free taxon-held-out cross-validation (ta_split_evaluation).

  • Baseline comparison module against naive regex (ta_compare_baseline).

  • Fully passes R CMD check with 0 errors | 0 warnings | 0 notes.

📄 License

MIT © Aamna Naveed