When Judah came along and saw her, he thought that she was a prostitute, because she had covered her head like prostitutes often did (OR, and sat where prostitutes often sat).