copied over expectation code, sliced in Flemish for Spanish in flemish.py