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§
- Validation
Result - 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.