Local Languages and the Berry-Sethi Algorithm