SMS: Bidirectional Contextual Resolution