Context.
Some words have different parts of speech that are identical to each other. For example, "out" can be accompanied by a verb or it can be a preposition or an adverb. How to differentiate these parts of speeches?
Context.
You also need to know that writers are not always in agreement on this.
Allow for, for example, is called a verb + preposition in one of my books, a prepositional verb in another, and a phrasal verb in a couple of others.
Context is important. Please provide enough for us to be able to deal effectively with your question.
Your thread title should include all or part of the word/phrase being discussed.
If you just want to know the meaning of a word, try OneLook Dictionary Search first.