An automatic method for the detection of possible links between dream sources