support for corpora with flipped language assignment