Defining phonological interactions with string set intersection