Skip to main content

Module analysis

Module analysis 

Source
Expand description

Error analysis and diagnostics for NER evaluation.

Provides tools to understand why a model makes mistakes:

  • Confusion matrix (which types get confused)
  • Error categorization (boundary, type, spurious, missed)
  • Statistical significance testing between systems

Structs§

ConfusionMatrix
Confusion matrix for entity type predictions.
ErrorAnalysis
Error analysis results.
NERError
A single NER error instance.
NERSignificanceTest
Result of paired significance test for NER systems.

Enums§

ErrorType
Categories of NER errors.

Functions§

build_confusion_matrix
Build confusion matrix from predictions and ground truth.
compare_ner_systems
Compare two NER systems with significance testing.