Ambiguity analyzer