You will need to know the meaning for sure. English has many words that are spelled the same or sound the same way and have completely different meanings in context. The best example I can come up with right now are the words "Bear" and "Bare". Both sound similar but are spelled differently and both words have more than one meaning.