<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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