So in general, it's not words that matter, but context. Swearing directed at other players or match officials is considered (OFFINABUS) Offensive, insulting or abusive language. Sanction is a red card.
Essentially, the judgement of what words fit into OFFINABUS is at ref discretion.