From Wikipedia
A language coach prepared the cast to differentiate Puerto Rican versus New York accents.