The only way to determine functional dependencies is to understand the requirements. This is part of the analysis phase - asking users questions about the relationships between different data items. Of course, some can be deduced using common sense and knowledge of the real world. But there is no "automatic" way to determine FD by inspecting attribute names alone, or even by looking at the data. Looking at the data can imply or disprove FDs, but it cannot prove them. For example, if you only have this:
EmpName Dept DateOfBirth
Smith Accounts 01/12/1970
Jones Accounts 01/12/1970
Brown HR 01/12/1970
You might (if you were silly) think DateOfBirth is functionally dependent on Dept. Of course it isn't, but only knowledge of the real world tells us that.
On the other hand, this data proves that there is NOT a functional dependency of EmpName on Dept, because you can see that a given Dept value corresponds to 2 different EmpName values.