decomp.semantics.predpatt.typing¶
Type definitions and aliases used throughout the PredPatt module.
Type definitions and protocols for the PredPatt semantic extraction system.
This module provides shared type definitions to support static type checking across the PredPatt framework. It defines protocols and type variables that are used throughout the system to avoid circular imports while maintaining type safety.
Classes¶
- HasPosition
Protocol defining objects with a position attribute, used for tokens, predicates, and arguments that have positions in text.
Type Variables¶
- T
Type variable bounded by HasPosition protocol for generic functions that operate on positioned objects.
Type Aliases¶
- UDSchema
Type alias for Universal Dependencies schema classes, supporting both v1 and v2 dependency relation definitions.