Assimilation as Attraction: Computing Distance, Similarity, and Locality in Phonology · Study