YOU SAID:
I can't sleep there's a ghost in my closet
INTO JAPANESE
眠れないクローゼットの中に幽霊がいる
BACK INTO ENGLISH
There is a ghost in the closet that cannot sleep
INTO JAPANESE
クローゼットの中に眠れない幽霊がいる
BACK INTO ENGLISH
There is a ghost that cannot sleep in the closet
INTO JAPANESE
クローゼットの中で眠れない幽霊がいる
BACK INTO ENGLISH
There is a ghost that cannot sleep in the closet
That didn't even make that much sense in English.