From alternations to ordered rules : a system for learning derivational phonology