Semantic Distance Evaluator
Use this skill when a task needs the semantic-distance mechanism described as a planned WordNet use. It operates on taxonomy dictionaries with synsets and semantic pointers.
Inputs
- A taxonomy with synset ids and relation endpoints.
- Synset-id pairs and a near/far threshold.
Outputs
- Shortest path distance, synset path, relation-label trace, and near/far classification.
Workflow
- Convert semantic pointers into a traversal graph while preserving relation labels.
- Use breadth-first search for shortest concept distance.
- Return no finite distance for disconnected concepts.
- Classify pairs with a configured or learned threshold.
- Log distances and classifications when used as recovery evidence.
Validation
Run python tests/test_semantic_distance.py or validate the skill tree with tests enabled.
Limitations
Directional pointers are traversed bidirectionally for distance estimation in the reduced proxy while labels remain visible in the path trace.