Skip to content

Duplicated condition

Is it normal to have twice the same condition:

(pos_1 == "commonNoun" and pos_2 == "adjective") or (pos_1 == "commonNoun" and pos_2 == "adjective")

https://gitlab.unige.ch/dh/fonetik/-/blob/main/bin/phonetize.py?ref_type=heads#L201