Skip to main content

Module validation

Module validation 

Source
Expand description

Validation utilities for NER evaluation.

Provides validation for:

  • Ground truth entity spans (bounds checking, non-overlapping)
  • Entity type consistency
  • Text bounds validation
  • Overlapping entity detection

Structs§

ValidationResult
Validation result for ground truth entities.

Functions§

validate_entity_type_consistency
Validate entity type consistency across test cases.
validate_ground_truth_entities
Validate ground truth entities against text.