Search Algorithms, Semantics and Machine Translation