def _get_surnames(self):
        """Get the list of surnames.

        :return: A list of surname entries.
        """
        names = self._read_name_file('surnames.json')
        names = self._compute_weights(names)

        return names
Get the list of surnames.

        :return: A list of surname entries.