improve handling of compounds in legacy; switch off use_legacy at the start of each text